1 /******************************************************************************
5 * Copyright (C) 1997-2012 by Dimitri van Heesch.
7 * Permission to use, copy, modify, and distribute this software and its
8 * documentation under the terms of the GNU General Public License is hereby
9 * granted. No representations are made about the suitability of this software
10 * for any purpose. It is provided "as is" without express or implied warranty.
11 * See the GNU General Public License for more details.
13 * Documents produced by Doxygen are derivative works derived from the
14 * input used in their production; they are not affected by this license.
18 #ifndef TRANSLATOR_SC_H
19 #define TRANSLATOR_SC_H
22 When defining a translator class for the new language, follow
23 the description in the documentation. One of the steps says
24 that you should copy the translator_en.h (this) file to your
25 translator_xx.h new file. Your new language should use the
26 Translator class as the base class. This means that you need to
27 implement exactly the same (pure virtual) methods as the
28 TranslatorEnglish does. Because of this, it is a good idea to
29 start with the copy of TranslatorEnglish and replace the strings
32 It is not necessary to include "translator.h" or
33 "translator_adapter.h" here. The files are included in the
34 language.cpp correctly. Not including any of the mentioned
35 files frees the maintainer from thinking about whether the
36 first, the second, or both files should be included or not, and
37 why. This holds namely for localized translators because their
38 base class is changed occasionaly to adapter classes when the
39 Translator class changes the interface, or back to the
40 Translator class (by the local maintainer) when the localized
41 translator is made up-to-date again.
43 class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0
47 // --- Language control methods -------------------
49 /*! Used for identification of the language. The identification
50 * should not be translated. It should be replaced by the name
51 * of the language in English using lower-case characters only
52 * (e.g. "czech", "japanese", "russian", etc.). It should be equal to
53 * the identification used in language.cpp.
55 virtual QCString idLanguage()
56 { return "serbiancyr"; }
58 /*! Used to get the LaTeX command(s) for the language support.
59 * This method should return string with commands that switch
60 * LaTeX to the desired language. For example
61 * <pre>"\\usepackage[german]{babel}\n"
64 * <pre>"\\usepackage{polski}\n"
65 * "\\usepackage[latin2]{inputenc}\n"
66 * "\\usepackage[T1]{fontenc}\n"
69 * The English LaTeX does not use such commands. Because of this
70 * the empty string is returned in this implementation.
72 virtual QCString latexLanguageSupportCommand()
77 /*! return the language charset. This will be used for the HTML output */
78 virtual QCString idLanguageCharset()
83 // --- Language translation methods -------------------
85 /*! used in the compound documentation before a list of related functions. */
86 virtual QCString trRelatedFunctions()
87 { return "Повезане функције"; }
89 /*! subscript for the related functions. */
90 virtual QCString trRelatedSubscript()
91 { return "(Напомињемо да ово нису функције чланице.)"; }
93 /*! header that is put before the detailed description of files, classes and namespaces. */
94 virtual QCString trDetailedDescription()
95 { return "Опширније"; }
97 /*! header that is put before the list of typedefs. */
98 virtual QCString trMemberTypedefDocumentation()
99 { return "Документација дефиниције типа"; }
101 /*! header that is put before the list of enumerations. */
102 virtual QCString trMemberEnumerationDocumentation()
103 { return "Документација члана набрајања"; }
105 /*! header that is put before the list of member functions. */
106 virtual QCString trMemberFunctionDocumentation()
107 { return "Документација функције чланице"; }
109 /*! header that is put before the list of member attributes. */
110 virtual QCString trMemberDataDocumentation()
112 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
114 return "Документација поља";
118 return "Документација атрибута";
122 /*! this is the text of a link put after brief descriptions. */
123 virtual QCString trMore()
126 /*! put in the class documentation */
127 virtual QCString trListOfAllMembers()
128 { return "Списак свих чланова"; }
130 /*! used as the title of the "list of all members" page of a class */
131 virtual QCString trMemberList()
132 { return "Списак чланова"; }
134 /*! this is the first part of a sentence that is followed by a class name */
135 virtual QCString trThisIsTheListOfAllMembers()
136 { return "Ово је списак свих чланова од "; }
138 /*! this is the remainder of the sentence after the class name */
139 virtual QCString trIncludingInheritedMembers()
140 { return ", укључујући све наслеђене чланове."; }
142 /*! this is put at the author sections at the bottom of man pages.
143 * parameter s is name of the project name.
145 virtual QCString trGeneratedAutomatically(const char *s)
146 { QCString result="Аутоматски направљено помоћу Doxygen-а";
147 if (s) result+=(QCString)" за "+s;
148 result+=" из изворног кода.";
152 /*! put after an enum name in the list of all members */
153 virtual QCString trEnumName()
154 { return "назив набрајања"; }
156 /*! put after an enum value in the list of all members */
157 virtual QCString trEnumValue()
158 { return "вредност набрајања"; }
160 /*! put after an undocumented member in the list of all members */
161 virtual QCString trDefinedIn()
162 { return "дефинисано у"; }
164 // quick reference sections
166 /*! This is put above each page as a link to the list of all groups of
167 * compounds or files (see the \\group command).
169 virtual QCString trModules()
172 /*! This is put above each page as a link to the class hierarchy */
173 virtual QCString trClassHierarchy()
174 { return "Хијерархија класа"; }
176 /*! This is put above each page as a link to the list of annotated classes */
177 virtual QCString trCompoundList()
179 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
185 return "Списак класа";
189 /*! This is put above each page as a link to the list of documented files */
190 virtual QCString trFileList()
191 { return "Списак датотека"; }
193 /*! This is put above each page as a link to all members of compounds. */
194 virtual QCString trCompoundMembers()
196 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
202 return "Чланови класе";
206 /*! This is put above each page as a link to all members of files. */
207 virtual QCString trFileMembers()
209 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
215 return "Чланови датотеке";
219 /*! This is put above each page as a link to all related pages. */
220 virtual QCString trRelatedPages()
221 { return "Повезане странице"; }
223 /*! This is put above each page as a link to all examples. */
224 virtual QCString trExamples()
225 { return "Примери"; }
227 /*! This is put above each page as a link to the search engine. */
228 virtual QCString trSearch()
231 /*! This is an introduction to the class hierarchy. */
232 virtual QCString trClassHierarchyDescription()
233 { return "Овај списак наслеђивања је уређен "
237 /*! This is an introduction to the list with all files. */
238 virtual QCString trFileListDescription(bool extractAll)
240 QCString result="Овде је списак свих ";
241 if (!extractAll) result+="документованих ";
242 result+="датотека са кратким описима:";
246 /*! This is an introduction to the annotated compound list. */
247 virtual QCString trCompoundListDescription()
250 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
252 return "Овде су структуре са кратким описима:";
256 return "Овде су класе, структуре, "
257 "уније и интерфејси са кратким описима:";
261 /*! This is an introduction to the page with all class members. */
262 virtual QCString trCompoundMembersDescription(bool extractAll)
264 QCString result="Овде је списак свих ";
267 result+="документованих ";
269 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
271 result+="поља структура и унија";
275 result+="чланова класа";
277 result+=" са везама ка ";
280 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
282 result+="документацији структуре/уније за свако поље:";
286 result+="документацији класе за сваки члан:";
291 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
293 result+="структури/унији којој припадају:";
297 result+="класи којој припадају:";
303 /*! This is an introduction to the page with all file members. */
304 virtual QCString trFileMembersDescription(bool extractAll)
306 QCString result="Овде је списак свих ";
307 if (!extractAll) result+="документованих ";
309 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
311 result+="фрункција, променљивих, макро замена, набрајања, и дефиниција типова";
315 result+="чланова датотеке";
317 result+=" са везама ка ";
319 result+="датотекама којима припадају:";
321 result+="документацији:";
325 /*! This is an introduction to the page with the list of all examples */
326 virtual QCString trExamplesDescription()
327 { return "Овде је списак свих примера:"; }
329 /*! This is an introduction to the page with the list of related pages */
330 virtual QCString trRelatedPagesDescription()
331 { return "Овде је списак свих повезаних страница документације:"; }
333 /*! This is an introduction to the page with the list of class/file groups */
334 virtual QCString trModulesDescription()
335 { return "Овде је списак свих модула:"; }
337 // index titles (the project name is prepended for these)
339 /*! This is used in HTML as the title of index.html. */
340 virtual QCString trDocumentation()
341 { return "Документација"; }
343 /*! This is used in LaTeX as the title of the chapter with the
344 * index of all groups.
346 virtual QCString trModuleIndex()
347 { return "Индекс модула"; }
349 /*! This is used in LaTeX as the title of the chapter with the
352 virtual QCString trHierarchicalIndex()
353 { return "Хијерархијски индекс"; }
355 /*! This is used in LaTeX as the title of the chapter with the
356 * annotated compound index.
358 virtual QCString trCompoundIndex()
360 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
362 return "Индекс структура";
366 return "Индекс класа";
370 /*! This is used in LaTeX as the title of the chapter with the
373 virtual QCString trFileIndex()
374 { return "Индекс датотека"; }
376 /*! This is used in LaTeX as the title of the chapter containing
377 * the documentation of all groups.
379 virtual QCString trModuleDocumentation()
380 { return "Документација модула"; }
382 /*! This is used in LaTeX as the title of the chapter containing
383 * the documentation of all classes, structs and unions.
385 virtual QCString trClassDocumentation()
387 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
389 return "Документација структуре";
393 return "Документација класе";
397 /*! This is used in LaTeX as the title of the chapter containing
398 * the documentation of all files.
400 virtual QCString trFileDocumentation()
401 { return "Документација датотеке"; }
403 /*! This is used in LaTeX as the title of the chapter containing
404 * the documentation of all examples.
406 virtual QCString trExampleDocumentation()
407 { return "Документација примера"; }
409 /*! This is used in LaTeX as the title of the chapter containing
410 * the documentation of all related pages.
412 virtual QCString trPageDocumentation()
413 { return "Документација странице"; }
415 /*! This is used in LaTeX as the title of the document */
416 virtual QCString trReferenceManual()
417 { return "Приручник"; }
419 /*! This is used in the documentation of a file as a header before the
422 virtual QCString trDefines()
423 { return "Дефиниције"; }
425 /*! This is used in the documentation of a file as a header before the
426 * list of function prototypes
428 virtual QCString trFuncProtos()
429 { return "Декларације функција"; }
431 /*! This is used in the documentation of a file as a header before the
434 virtual QCString trTypedefs()
435 { return "Дефиниције типова"; }
437 /*! This is used in the documentation of a file as a header before the
438 * list of enumerations
440 virtual QCString trEnumerations()
441 { return "Набрајања"; }
443 /*! This is used in the documentation of a file as a header before the
444 * list of (global) functions
446 virtual QCString trFunctions()
447 { return "Функције"; }
449 /*! This is used in the documentation of a file as a header before the
450 * list of (global) variables
452 virtual QCString trVariables()
453 { return "Променљиве"; }
455 /*! This is used in the documentation of a file as a header before the
456 * list of (global) variables
458 virtual QCString trEnumerationValues()
459 { return "Вредности набрајања"; }
461 /*! This is used in the documentation of a file before the list of
462 * documentation blocks for defines
464 virtual QCString trDefineDocumentation()
465 { return "Документација дефиниције"; }
467 /*! This is used in the documentation of a file/namespace before the list
468 * of documentation blocks for function prototypes
470 virtual QCString trFunctionPrototypeDocumentation()
471 { return "Документација декларације функције"; }
473 /*! This is used in the documentation of a file/namespace before the list
474 * of documentation blocks for typedefs
476 virtual QCString trTypedefDocumentation()
477 { return "Документација дефиниције типа"; }
479 /*! This is used in the documentation of a file/namespace before the list
480 * of documentation blocks for enumeration types
482 virtual QCString trEnumerationTypeDocumentation()
483 { return "Документација набрајања"; }
485 /*! This is used in the documentation of a file/namespace before the list
486 * of documentation blocks for functions
488 virtual QCString trFunctionDocumentation()
489 { return "Документација функције"; }
491 /*! This is used in the documentation of a file/namespace before the list
492 * of documentation blocks for variables
494 virtual QCString trVariableDocumentation()
495 { return "Документација променљиве"; }
497 /*! This is used in the documentation of a file/namespace/group before
498 * the list of links to documented compounds
500 virtual QCString trCompounds()
502 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
512 /*! This is used in the standard footer of each page and indicates when
513 * the page was generated
515 virtual QCString trGeneratedAt(const char *date,const char *projName)
517 QCString result=(QCString)"Направљено "+date;
518 if (projName) result+=(QCString)" за "+projName;
519 result+=(QCString)" помоћу";
522 /*! This is part of the sentence used in the standard footer of each page.
524 virtual QCString trWrittenBy()
529 /*! this text is put before a class diagram */
530 virtual QCString trClassDiagram(const char *clName)
532 return (QCString)"Дијаграм наслеђивања за "+clName+":";
535 /*! this text is generated when the \\internal command is used. */
536 virtual QCString trForInternalUseOnly()
537 { return "Само за унутрашњу употребу."; }
539 /*! this text is generated when the \\warning command is used. */
540 virtual QCString trWarning()
541 { return "Упозорење"; }
543 /*! this text is generated when the \\version command is used. */
544 virtual QCString trVersion()
545 { return "Верзија"; }
547 /*! this text is generated when the \\date command is used. */
548 virtual QCString trDate()
551 /*! this text is generated when the \\return command is used. */
552 virtual QCString trReturns()
555 /*! this text is generated when the \\sa command is used. */
556 virtual QCString trSeeAlso()
559 /*! this text is generated when the \\param command is used. */
560 virtual QCString trParameters()
561 { return "Параметри"; }
563 /*! this text is generated when the \\exception command is used. */
564 virtual QCString trExceptions()
565 { return "Изизеци"; }
567 /*! this text is used in the title page of a LaTeX document. */
568 virtual QCString trGeneratedBy()
569 { return "Направљено помоћу"; }
571 //////////////////////////////////////////////////////////////////////////
572 // new since 0.49-990307
573 //////////////////////////////////////////////////////////////////////////
575 /*! used as the title of page containing all the index of all namespaces. */
576 virtual QCString trNamespaceList()
577 { return "Списак простора имена"; }
579 /*! used as an introduction to the namespace list */
580 virtual QCString trNamespaceListDescription(bool extractAll)
582 QCString result="Овде је списак свих ";
583 if (!extractAll) result+="документованих ";
584 result+="простора имена са кратким описима:";
588 /*! used in the class documentation as a header before the list of all
591 virtual QCString trFriends()
592 { return "Пријатељи"; }
594 //////////////////////////////////////////////////////////////////////////
595 // new since 0.49-990405
596 //////////////////////////////////////////////////////////////////////////
598 /*! used in the class documentation as a header before the list of all
601 virtual QCString trRelatedFunctionDocumentation()
602 { return "Документација за пријатеље и повезане функције"; }
604 //////////////////////////////////////////////////////////////////////////
605 // new since 0.49-990425
606 //////////////////////////////////////////////////////////////////////////
608 /*! used as the title of the HTML page of a class/struct/union */
609 virtual QCString trCompoundReference(const char *clName,
610 ClassDef::CompoundType compType,
613 QCString result=(QCString)clName;
618 case ClassDef::Class: result+="ска класа"; break;
619 case ClassDef::Struct: result+="ска структура"; break;
620 case ClassDef::Union: result+="ска унија"; break;
621 case ClassDef::Interface: result+="ски интерфејс"; break;
622 case ClassDef::Protocol: result+="ски протокол"; break;
623 case ClassDef::Category: result+="ска категорија"; break;
624 case ClassDef::Exception: result+="ски изузетак"; break;
627 result+=" Референца";
630 case ClassDef::Class: result+=" класе"; break;
631 case ClassDef::Struct: result+=" структуре"; break;
632 case ClassDef::Union: result+=" уније"; break;
633 case ClassDef::Interface: result+=" интерфејса"; break;
634 case ClassDef::Protocol: result+=" протокола"; break;
635 case ClassDef::Category: result+=" категорије"; break;
636 case ClassDef::Exception: result+=" изузетка"; break;
642 /*! used as the title of the HTML page of a file */
643 virtual QCString trFileReference(const char *fileName)
645 QCString result=fileName;
646 result+=" Референца датотеке";
650 /*! used as the title of the HTML page of a namespace */
651 virtual QCString trNamespaceReference(const char *namespaceName)
653 QCString result=namespaceName;
654 result+=" Референца простора имена";
658 virtual QCString trPublicMembers()
659 { return "Јавне функције чланице"; }
660 virtual QCString trPublicSlots()
661 { return "Јавни слотови"; }
662 virtual QCString trSignals()
663 { return "Сигнали"; }
664 virtual QCString trStaticPublicMembers()
665 { return "Статичке јавне функције чланице"; }
666 virtual QCString trProtectedMembers()
667 { return "Заштићене функције чланице"; }
668 virtual QCString trProtectedSlots()
669 { return "Заштићени слотови"; }
670 virtual QCString trStaticProtectedMembers()
671 { return "Статичке заштићене функције чланице"; }
672 virtual QCString trPrivateMembers()
673 { return "Приватне функције чланице"; }
674 virtual QCString trPrivateSlots()
675 { return "Приватни слотови"; }
676 virtual QCString trStaticPrivateMembers()
677 { return "Статичке приватне функције чланице"; }
679 /*! this function is used to produce a comma-separated list of items.
680 * use generateMarker(i) to indicate where item i should be put.
682 virtual QCString trWriteList(int numEntries)
686 // the inherits list contain `numEntries' classes
687 for (i=0;i<numEntries;i++)
689 // use generateMarker to generate placeholders for the class links!
690 result+=generateMarker(i); // generate marker for entry i in the list
691 // (order is left to right)
693 if (i!=numEntries-1) // not the last entry, so we need a separator
695 if (i<numEntries-2) // not the fore last entry
697 else // the fore last entry
704 /*! used in class documentation to produce a list of base classes,
705 * if class diagrams are disabled.
707 virtual QCString trInheritsList(int numEntries)
709 return "Наслеђује "+trWriteList(numEntries)+".";
712 /*! used in class documentation to produce a list of super classes,
713 * if class diagrams are disabled.
715 virtual QCString trInheritedByList(int numEntries)
717 return "Наслеђују "+trWriteList(numEntries)+".";
720 /*! used in member documentation blocks to produce a list of
721 * members that are hidden by this one.
723 virtual QCString trReimplementedFromList(int numEntries)
725 return "Поново имплементирано од "+trWriteList(numEntries)+".";
728 /*! used in member documentation blocks to produce a list of
729 * all member that overwrite the implementation of this member.
731 virtual QCString trReimplementedInList(int numEntries)
733 return "Поново имплементирано у "+trWriteList(numEntries)+".";
736 /*! This is put above each page as a link to all members of namespaces. */
737 virtual QCString trNamespaceMembers()
738 { return "Чланови простора имена"; }
740 /*! This is an introduction to the page with all namespace members */
741 virtual QCString trNamespaceMemberDescription(bool extractAll)
743 QCString result="Овде је списак свих ";
744 if (!extractAll) result+="документованих ";
745 result+="чланова простора имена са везама ка ";
747 result+="документацији простора имена за сваки члан:";
749 result+="просторима имена којима припадају:";
752 /*! This is used in LaTeX as the title of the chapter with the
753 * index of all namespaces.
755 virtual QCString trNamespaceIndex()
756 { return "Индекс простора имена"; }
758 /*! This is used in LaTeX as the title of the chapter containing
759 * the documentation of all namespaces.
761 virtual QCString trNamespaceDocumentation()
762 { return "Документација простора имена"; }
764 //////////////////////////////////////////////////////////////////////////
765 // new since 0.49-990522
766 //////////////////////////////////////////////////////////////////////////
768 /*! This is used in the documentation before the list of all
769 * namespaces in a file.
771 virtual QCString trNamespaces()
772 { return "Простори имена"; }
774 //////////////////////////////////////////////////////////////////////////
775 // new since 0.49-990728
776 //////////////////////////////////////////////////////////////////////////
778 /*! This is put at the bottom of a class documentation page and is
779 * followed by a list of files that were used to generate the page.
781 virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
783 { // here s is one of " Class", " Struct" or " Union"
784 // single is true implies a single file
785 QCString result=(QCString)"Документација за ";
788 case ClassDef::Class: result+="ову класу"; break;
789 case ClassDef::Struct: result+="ову структуру"; break;
790 case ClassDef::Union: result+="ову унију"; break;
791 case ClassDef::Interface: result+="овај интерфејс"; break;
792 case ClassDef::Protocol: result+="овај протокол"; break;
793 case ClassDef::Category: result+="ову категорију"; break;
794 case ClassDef::Exception: result+="овај изузетак"; break;
796 result+=" је произведена из";
797 if (single) result+="следеће датотеке:"; else result+="следећих датотека:";
801 /*! This is in the (quick) index as a link to the alphabetical compound
804 virtual QCString trAlphabeticalList()
805 { return "Абецедни списак"; }
807 //////////////////////////////////////////////////////////////////////////
808 // new since 0.49-990901
809 //////////////////////////////////////////////////////////////////////////
811 /*! This is used as the heading text for the retval command. */
812 virtual QCString trReturnValues()
813 { return "Враћене вредности"; }
815 /*! This is in the (quick) index as a link to the main page (index.html)
817 virtual QCString trMainPage()
818 { return "Главна страница"; }
820 /*! This is used in references to page that are put in the LaTeX
821 * documentation. It should be an abbreviation of the word page.
823 virtual QCString trPageAbbreviation()
826 //////////////////////////////////////////////////////////////////////////
827 // new since 0.49-991003
828 //////////////////////////////////////////////////////////////////////////
830 virtual QCString trDefinedAtLineInSourceFile()
832 return "Дефиниција у линији @0 датотеке @1.";
834 virtual QCString trDefinedInSourceFile()
836 return "Дефиниција у датотеци @0.";
839 //////////////////////////////////////////////////////////////////////////
840 // new since 0.49-991205
841 //////////////////////////////////////////////////////////////////////////
843 virtual QCString trDeprecated()
848 //////////////////////////////////////////////////////////////////////////
850 //////////////////////////////////////////////////////////////////////////
852 /*! this text is put before a collaboration diagram */
853 virtual QCString trCollaborationDiagram(const char *clName)
855 return (QCString)"Дијаграм сарадње за "+clName+":";
857 /*! this text is put before an include dependency graph */
858 virtual QCString trInclDepGraph(const char *fName)
860 return (QCString)"Дијаграм зависности укључивања за "+fName+":";
862 /*! header that is put before the list of constructor/destructors. */
863 virtual QCString trConstructorDocumentation()
865 return "Документација конструктора и деструктора";
867 /*! Used in the file documentation to point to the corresponding sources. */
868 virtual QCString trGotoSourceCode()
870 return "Иди на изворни код овог фајла.";
872 /*! Used in the file sources to point to the corresponding documentation. */
873 virtual QCString trGotoDocumentation()
875 return "Иди на документацију овог фајла.";
877 /*! Text for the \\pre command */
878 virtual QCString trPrecondition()
882 /*! Text for the \\post command */
883 virtual QCString trPostcondition()
885 return "Услов после";
887 /*! Text for the \\invariant command */
888 virtual QCString trInvariant()
890 return "Инваријанта";
892 /*! Text shown before a multi-line variable/enum initialization */
893 virtual QCString trInitialValue()
895 return "Почетна вредност:";
897 /*! Text used the source code in the file index */
898 virtual QCString trCode()
902 virtual QCString trGraphicalHierarchy()
904 return "Графичка хијерархија класа";
906 virtual QCString trGotoGraphicalHierarchy()
908 return "Иди на графичку хијерархију класа";
910 virtual QCString trGotoTextualHierarchy()
912 return "Иди на текстуалну хијерархију класа";
914 virtual QCString trPageIndex()
916 return "Индекс страна";
919 //////////////////////////////////////////////////////////////////////////
921 //////////////////////////////////////////////////////////////////////////
923 virtual QCString trNote()
927 virtual QCString trPublicTypes()
929 return "Јавни типови";
931 virtual QCString trPublicAttribs()
933 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
939 return "Јавни атрибути";
942 virtual QCString trStaticPublicAttribs()
944 return "Статички јавни атрибути";
946 virtual QCString trProtectedTypes()
948 return "Заштићени типови";
950 virtual QCString trProtectedAttribs()
952 return "Заштићени атрибути";
954 virtual QCString trStaticProtectedAttribs()
956 return "Статички заштићени атрибути";
958 virtual QCString trPrivateTypes()
960 return "Приватни типови";
962 virtual QCString trPrivateAttribs()
964 return "Приватни атрибути";
966 virtual QCString trStaticPrivateAttribs()
968 return "Статички приватни атрибути";
971 //////////////////////////////////////////////////////////////////////////
973 //////////////////////////////////////////////////////////////////////////
975 /*! Used as a marker that is put before a \\todo item */
976 virtual QCString trTodo()
980 /*! Used as the header of the todo list */
981 virtual QCString trTodoList()
983 return "Подсетник шта још урадити";
986 //////////////////////////////////////////////////////////////////////////
988 //////////////////////////////////////////////////////////////////////////
990 virtual QCString trReferencedBy()
992 return "Референцирано од";
994 virtual QCString trRemarks()
998 virtual QCString trAttention()
1002 virtual QCString trInclByDepGraph()
1004 return "Овај граф показује које датотеке директно или "
1005 "или индиректно укључују овај фајл:";
1007 virtual QCString trSince()
1012 //////////////////////////////////////////////////////////////////////////
1014 //////////////////////////////////////////////////////////////////////////
1016 /*! title of the graph legend page */
1017 virtual QCString trLegendTitle()
1019 return "Легенда графова";
1021 /*! page explaining how the dot graph's should be interpreted
1022 * The %A in the text below are to prevent link to classes called "A".
1024 virtual QCString trLegendDocs()
1027 "Ова страница објашњава како тумачити графове који су направљени "
1029 "Размотримо следећи пример:\n"
1031 "/*! Невидљива класа због одсецања */\n"
1032 "class Invisible { };\n\n"
1033 "/*! Одсечена класа, веза наслеђивања је скривена */\n"
1034 "class Truncated : public Invisible { };\n\n"
1035 "/* Класа која није документована doxygen коментарима */\n"
1036 "class Undocumented { };\n\n"
1037 "/*! Класа која је наслеђена јавним наслеђивањем */\n"
1038 "class PublicBase : public Truncated { };\n\n"
1039 "/*! Шаблонска класа */\n"
1040 "template<class T> class Templ { };\n\n"
1041 "/*! Класа која је наслеђена заштићеним наслеђивањем */\n"
1042 "class ProtectedBase { };\n\n"
1043 "/*! Класа која је наслеђена јавним наслеђивањем */\n"
1044 "class PrivateBase { };\n\n"
1045 "/*! Класа коју користи наслеђена класа */\n"
1046 "class Used { };\n\n"
1047 "/*! Надкласа која наслеђује неки број других класа */\n"
1048 "class Inherited : public PublicBase,\n"
1049 " protected ProtectedBase,\n"
1050 " private PrivateBase,\n"
1051 " public Undocumented,\n"
1052 " public Templ<int>\n"
1055 " Used *m_usedClass;\n"
1058 "Ако је \\c MAX_DOT_GRAPH_HEIGHT таг у конфигурационој датотеци "
1059 "подешен на 240, то ће резултовати на следећи начин:"
1060 "<p><center><img alt=\"\" src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
1062 "Правоугаоници имају следеће значење:\n"
1064 "<li>%Пуни сиви правоугаоник представља структуру или класу за коју је "
1066 "<li>%Правоугаоник са црним оквиром означава документовану структуру или класу.\n"
1067 "<li>%Правоугаоник са сивим оквиром означава недокументовану структуру или класу.\n"
1068 "<li>%Правоугаоник са црвеним оквиром означава документовану структуру или класу за"
1069 "за коју нису све релације наслеђивања/садржавања приказане. %Граф је "
1070 "одсечен ако излази из специфицираних оквира.\n"
1072 "Стрелице имају следећа значења:\n"
1074 "<li>%Тамноплава стрелица се користи да прикаже релацију јавног извођења "
1075 "између двеју класа.\n"
1076 "<li>%Тамнозелена стрелица се користи за заштићено наслеђивање.\n"
1077 "<li>%Тамноцрвена стрелица се користи за приватно наслеђивање.\n"
1078 "<li>%Љубичаста испрекидана стрелица се користи ако класа садржи или користи "
1079 "друга класа. Стрелица је означена променљивом/променљивама "
1080 "кроз које је показивана класа или структура доступна.\n"
1081 "<li>%Жута испрекидана стрелица означава везу између примерка шаблона и "
1082 "и шаблонске класе из које је инстанцирана. Стрелица је означена "
1083 "параметрима примерка шаблона.\n"
1086 /*! text for the link to the legend page */
1087 virtual QCString trLegend()
1092 //////////////////////////////////////////////////////////////////////////
1094 //////////////////////////////////////////////////////////////////////////
1096 /*! Used as a marker that is put before a test item */
1097 virtual QCString trTest()
1101 /*! Used as the header of the test list */
1102 virtual QCString trTestList()
1104 return "Списак тестова";
1107 //////////////////////////////////////////////////////////////////////////
1109 //////////////////////////////////////////////////////////////////////////
1111 /*! Used as a section header for KDE-2 IDL methods */
1112 virtual QCString trDCOPMethods()
1114 return "DCOP функције чланице";
1117 //////////////////////////////////////////////////////////////////////////
1119 //////////////////////////////////////////////////////////////////////////
1121 /*! Used as a section header for IDL properties */
1122 virtual QCString trProperties()
1126 /*! Used as a section header for IDL property documentation */
1127 virtual QCString trPropertyDocumentation()
1129 return "Документација свосјтва";
1132 //////////////////////////////////////////////////////////////////////////
1134 //////////////////////////////////////////////////////////////////////////
1136 /*! Used for Java classes in the summary section of Java packages */
1137 virtual QCString trClasses()
1139 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
1148 /*! Used as the title of a Java package */
1149 virtual QCString trPackage(const char *name)
1151 return (QCString)"Пакет "+name;
1153 /*! Title of the package index page */
1154 virtual QCString trPackageList()
1156 return "Списак пакета";
1158 /*! The description of the package index page */
1159 virtual QCString trPackageListDescription()
1161 return "Овде су пакети са кратким описима (ако су доступни):";
1163 /*! The link name in the Quick links header for each page */
1164 virtual QCString trPackages()
1168 /*! Text shown before a multi-line define */
1169 virtual QCString trDefineValue()
1174 //////////////////////////////////////////////////////////////////////////
1176 //////////////////////////////////////////////////////////////////////////
1178 /*! Used as a marker that is put before a \\bug item */
1179 virtual QCString trBug()
1183 /*! Used as the header of the bug list */
1184 virtual QCString trBugList()
1186 return "Списак грешака";
1189 //////////////////////////////////////////////////////////////////////////
1191 //////////////////////////////////////////////////////////////////////////
1193 /*! Used as ansicpg for RTF file
1195 * The following table shows the correlation of Charset name, Charset Value and
1198 * Charset Name Charset Value(hex) Codepage number
1199 * ------------------------------------------------------
1200 * DEFAULT_CHARSET 1 (x01)
1201 * SYMBOL_CHARSET 2 (x02)
1202 * OEM_CHARSET 255 (xFF)
1203 * ANSI_CHARSET 0 (x00) 1252
1204 * RUSSIAN_CHARSET 204 (xCC) 1251
1205 * EE_CHARSET 238 (xEE) 1250
1206 * GREEK_CHARSET 161 (xA1) 1253
1207 * TURKISH_CHARSET 162 (xA2) 1254
1208 * BALTIC_CHARSET 186 (xBA) 1257
1209 * HEBREW_CHARSET 177 (xB1) 1255
1210 * ARABIC _CHARSET 178 (xB2) 1256
1211 * SHIFTJIS_CHARSET 128 (x80) 932
1212 * HANGEUL_CHARSET 129 (x81) 949
1213 * GB2313_CHARSET 134 (x86) 936
1214 * CHINESEBIG5_CHARSET 136 (x88) 950
1218 virtual QCString trRTFansicp()
1224 /*! Used as ansicpg for RTF fcharset
1225 * \see trRTFansicp() for a table of possible values.
1227 virtual QCString trRTFCharSet()
1232 /*! Used as header RTF general index */
1233 virtual QCString trRTFGeneralIndex()
1238 /*! This is used for translation of the word that will possibly
1239 * be followed by a single name or by a list of names
1242 virtual QCString trClass(bool first_capital, bool singular)
1244 QCString result((first_capital ? "Клас" : "клас"));
1245 if (!singular) result+="e"; else result+="a";
1249 /*! This is used for translation of the word that will possibly
1250 * be followed by a single name or by a list of names
1253 virtual QCString trFile(bool first_capital, bool singular)
1255 QCString result((first_capital ? "Датотек" : "датотек"));
1256 if (!singular) result+="e"; else result+="a";
1260 /*! This is used for translation of the word that will possibly
1261 * be followed by a single name or by a list of names
1264 virtual QCString trNamespace(bool first_capital, bool singular)
1266 QCString result((first_capital ? "Простор" : "простор"));
1267 if (!singular) result+="и имена"; else result+=" имена";
1271 /*! This is used for translation of the word that will possibly
1272 * be followed by a single name or by a list of names
1275 virtual QCString trGroup(bool first_capital, bool singular)
1277 QCString result((first_capital ? "Груп" : "груп"));
1278 if (!singular) result+="е"; else result+="a";
1282 /*! This is used for translation of the word that will possibly
1283 * be followed by a single name or by a list of names
1286 virtual QCString trPage(bool first_capital, bool singular)
1288 QCString result((first_capital ? "Страниц" : "страниц"));
1289 if (!singular) result+="е"; else result += "a";
1293 /*! This is used for translation of the word that will possibly
1294 * be followed by a single name or by a list of names
1297 virtual QCString trMember(bool first_capital, bool singular)
1299 QCString result((first_capital ? "Члан" : "члан"));
1300 if (!singular) result+="ови";
1304 /*! This is used for translation of the word that will possibly
1305 * be followed by a single name or by a list of names
1308 virtual QCString trGlobal(bool first_capital, bool singular)
1310 QCString result((first_capital ? "Глобалн" : "глобалн"));
1311 if (!singular) result+="а"; else result+="о";
1315 //////////////////////////////////////////////////////////////////////////
1317 //////////////////////////////////////////////////////////////////////////
1319 /*! This text is generated when the \\author command is used and
1320 * for the author section in man pages. */
1321 virtual QCString trAuthor(bool first_capital, bool singular)
1323 QCString result((first_capital ? "Аутор" : "аутор"));
1324 if (!singular) result+="и";
1328 //////////////////////////////////////////////////////////////////////////
1330 //////////////////////////////////////////////////////////////////////////
1332 /*! This text is put before the list of members referenced by a member
1334 virtual QCString trReferences()
1339 //////////////////////////////////////////////////////////////////////////
1341 //////////////////////////////////////////////////////////////////////////
1343 /*! used in member documentation blocks to produce a list of
1344 * members that are implemented by this one.
1346 virtual QCString trImplementedFromList(int numEntries)
1348 return "Имплементира "+trWriteList(numEntries)+".";
1351 /*! used in member documentation blocks to produce a list of
1352 * all members that implement this abstract member.
1354 virtual QCString trImplementedInList(int numEntries)
1356 return "Имплементирано у "+trWriteList(numEntries)+".";
1359 //////////////////////////////////////////////////////////////////////////
1361 //////////////////////////////////////////////////////////////////////////
1363 /*! used in RTF documentation as a heading for the Table
1366 virtual QCString trRTFTableOfContents()
1371 //////////////////////////////////////////////////////////////////////////
1373 //////////////////////////////////////////////////////////////////////////
1375 /*! Used as the header of the list of item that have been
1376 * flagged deprecated
1378 virtual QCString trDeprecatedList()
1380 return "Списак застарелог";
1383 //////////////////////////////////////////////////////////////////////////
1385 //////////////////////////////////////////////////////////////////////////
1387 /*! Used as a header for declaration section of the events found in
1390 virtual QCString trEvents()
1394 /*! Header used for the documentation section of a class' events. */
1395 virtual QCString trEventDocumentation()
1397 return "Документација догажаја";
1400 //////////////////////////////////////////////////////////////////////////
1402 //////////////////////////////////////////////////////////////////////////
1404 /*! Used as a heading for a list of Java class types with package scope.
1406 virtual QCString trPackageTypes()
1408 return "Типови пакета";
1410 /*! Used as a heading for a list of Java class functions with package
1413 virtual QCString trPackageMembers()
1415 return "Функције пакета";
1417 /*! Used as a heading for a list of static Java class functions with
1420 virtual QCString trStaticPackageMembers()
1422 return "Статичке функције пакета";
1424 /*! Used as a heading for a list of Java class variables with package
1427 virtual QCString trPackageAttribs()
1429 return "Атрибути пакета";
1431 /*! Used as a heading for a list of static Java class variables with
1434 virtual QCString trStaticPackageAttribs()
1436 return "Статички атрибути пакета";
1439 //////////////////////////////////////////////////////////////////////////
1441 //////////////////////////////////////////////////////////////////////////
1443 /*! Used in the quick index of a class/file/namespace member list page
1444 * to link to the unfiltered list of all members.
1446 virtual QCString trAll()
1450 /*! Put in front of the call graph for a function. */
1451 virtual QCString trCallGraph()
1453 return "Овде је граф позивања за ову функцију:";
1456 //////////////////////////////////////////////////////////////////////////
1458 //////////////////////////////////////////////////////////////////////////
1460 /*! When the search engine is enabled this text is put in the header
1461 * of each page before the field where one can enter the text to search
1464 virtual QCString trSearchForIndex()
1468 /*! This string is used as the title for the page listing the search
1471 virtual QCString trSearchResultsTitle()
1473 return "Резултати претраге";
1475 /*! This string is put just before listing the search results. The
1476 * text can be different depending on the number of documents found.
1477 * Inside the text you can put the special marker $num to insert
1478 * the number representing the actual number of search results.
1479 * The @a numDocuments parameter can be either 0, 1 or 2, where the
1480 * value 2 represents 2 or more matches. HTML markup is allowed inside
1481 * the returned string.
1483 virtual QCString trSearchResults(int numDocuments)
1485 if (numDocuments==0)
1487 return "Жао ми је, али нема докумената који одговарају упиту.";
1489 else if (numDocuments==1)
1491 return "Пронађен <b>1</b> документ који одговара упиту.";
1493 else if (numDocuments==2)
1495 return "Пронађена <b>а</b> документа која одговарају упиту.";
1497 else if (numDocuments==3)
1499 return "Пронађена <b>3</b> документа која одговарају упиту.";
1501 else if (numDocuments==4)
1503 return "Пронађена <b>4</b> документа која одговарају упиту.";
1507 return "Пронађено <b>$num</b> докумената који одговарају упиту. "
1508 "Приказују се прво најбољи поготци.";
1511 /*! This string is put before the list of matched words, for each search
1512 * result. What follows is the list of words that matched the query.
1514 virtual QCString trSearchMatches()
1519 //////////////////////////////////////////////////////////////////////////
1521 //////////////////////////////////////////////////////////////////////////
1523 /*! This is used in HTML as the title of page with source code for file filename
1525 virtual QCString trSourceFile(QCString& filename)
1527 return filename + " Изворна датотека";
1530 //////////////////////////////////////////////////////////////////////////
1532 //////////////////////////////////////////////////////////////////////////
1534 /*! This is used as the name of the chapter containing the directory
1537 virtual QCString trDirIndex()
1538 { return "Хијерархија директоријума"; }
1540 /*! This is used as the name of the chapter containing the documentation
1541 * of the directories.
1543 virtual QCString trDirDocumentation()
1544 { return "Документација директоријума"; }
1546 /*! This is used as the title of the directory index and also in the
1547 * Quick links of an HTML page, to link to the directory hierarchy.
1549 virtual QCString trDirectories()
1550 { return "Директоријуми"; }
1552 /*! This returns a sentences that introduces the directory hierarchy.
1553 * and the fact that it is sorted alphabetically per level
1555 virtual QCString trDirDescription()
1556 { return "Ова хијерархија директоријума је уређена "
1557 "приближно по абецеди:";
1560 /*! This returns the title of a directory page. The name of the
1561 * directory is passed via \a dirName.
1563 virtual QCString trDirReference(const char *dirName)
1564 { QCString result=dirName; result+=" Референца директоријума"; return result; }
1566 /*! This returns the word directory with or without starting capital
1567 * (\a first_capital) and in sigular or plural form (\a singular).
1569 virtual QCString trDir(bool first_capital, bool singular)
1571 QCString result((first_capital ? "Директоријум" : "директоријум"));
1572 if (singular) result+=""; else result+="и";
1576 //////////////////////////////////////////////////////////////////////////
1578 //////////////////////////////////////////////////////////////////////////
1580 /*! This text is added to the documentation when the \\overload command
1581 * is used for a overloaded function.
1583 virtual QCString trOverloadText()
1585 return "Ово је преоптерећена функција чланица. "
1586 "Разликује се од наведене само по врсти аргумената кое прихвата";
1589 //////////////////////////////////////////////////////////////////////////
1591 //////////////////////////////////////////////////////////////////////////
1593 /*! This is used to introduce a caller (or called-by) graph */
1594 virtual QCString trCallerGraph()
1596 return "Ово је граф функција које позивају ову функцију:";
1599 /*! This is used in the documentation of a file/namespace before the list
1600 * of documentation blocks for enumeration values
1602 virtual QCString trEnumerationValueDocumentation()
1603 { return "Документација вредности набрајања"; }
1605 //////////////////////////////////////////////////////////////////////////
1606 // new since 1.5.4 (mainly for Fortran)
1607 //////////////////////////////////////////////////////////////////////////
1609 /*! header that is put before the list of member subprograms (Fortran). */
1610 virtual QCString trMemberFunctionDocumentationFortran()
1611 { return "Документацијаr функције чланице, односно потпрограма члана"; }
1613 /*! This is put above each page as a link to the list of annotated data types (Fortran). */
1614 virtual QCString trCompoundListFortran()
1615 { return "Списак типова података"; }
1617 /*! This is put above each page as a link to all members of compounds (Fortran). */
1618 virtual QCString trCompoundMembersFortran()
1621 /*! This is an introduction to the annotated compound list (Fortran). */
1622 virtual QCString trCompoundListDescriptionFortran()
1623 { return "Овде су типови података са кратким описима:"; }
1625 /*! This is an introduction to the page with all data types (Fortran). */
1626 virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
1628 QCString result="Овде је списак свих ";
1631 result+="документованих ";
1633 result+="чланова типова података";
1634 result+=" са везама ка ";
1637 result+="документацији структуре података за сваки члан";
1641 result+="типовима података којима припадају:";
1646 /*! This is used in LaTeX as the title of the chapter with the
1647 * annotated compound index (Fortran).
1649 virtual QCString trCompoundIndexFortran()
1650 { return "Индекс типова података"; }
1652 /*! This is used in LaTeX as the title of the chapter containing
1653 * the documentation of all data types (Fortran).
1655 virtual QCString trTypeDocumentation()
1656 { return "Документација типова података"; }
1658 /*! This is used in the documentation of a file as a header before the
1659 * list of (global) subprograms (Fortran).
1661 virtual QCString trSubprograms()
1662 { return "Функције/потпрограми"; }
1664 /*! This is used in the documentation of a file/namespace before the list
1665 * of documentation blocks for subprograms (Fortran)
1667 virtual QCString trSubprogramDocumentation()
1668 { return "Документација функције/потпрограма"; }
1670 /*! This is used in the documentation of a file/namespace/group before
1671 * the list of links to documented compounds (Fortran)
1673 virtual QCString trDataTypes()
1674 { return "Типови података"; }
1676 /*! used as the title of page containing all the index of all modules (Fortran). */
1677 virtual QCString trModulesList()
1678 { return "Списак модула"; }
1680 /*! used as an introduction to the modules list (Fortran) */
1681 virtual QCString trModulesListDescription(bool extractAll)
1683 QCString result="Овде је списак свих ";
1684 if (!extractAll) result+="документованих ";
1685 result+="модула са кратким описима:";
1689 /*! used as the title of the HTML page of a module/type (Fortran) */
1690 virtual QCString trCompoundReferenceFortran(const char *clName,
1691 ClassDef::CompoundType compType,
1694 QCString result=(QCString)clName;
1695 if (isTemplate) result+=" Шаблон";
1696 result+=" Референца";
1699 case ClassDef::Class: result+=" модула"; break;
1700 case ClassDef::Struct: result+=" типа"; break;
1701 case ClassDef::Union: result+=" уније"; break;
1702 case ClassDef::Interface: result+=" интерфејса"; break;
1703 case ClassDef::Protocol: result+=" протокола"; break;
1704 case ClassDef::Category: result+=" категорије"; break;
1705 case ClassDef::Exception: result+=" изузетка"; break;
1709 /*! used as the title of the HTML page of a module (Fortran) */
1710 virtual QCString trModuleReference(const char *namespaceName)
1712 QCString result=namespaceName;
1713 result+=" Референца модула";
1717 /*! This is put above each page as a link to all members of modules. (Fortran) */
1718 virtual QCString trModulesMembers()
1719 { return "Чланови модула"; }
1721 /*! This is an introduction to the page with all modules members (Fortran) */
1722 virtual QCString trModulesMemberDescription(bool extractAll)
1724 QCString result="Овде је списак свих ";
1725 if (!extractAll) result+="документованих ";
1726 result+="чланова модула са везама ка ";
1729 result+="документацији модула за сваки члан:";
1733 result+="модулима којима припадају:";
1738 /*! This is used in LaTeX as the title of the chapter with the
1739 * index of all modules (Fortran).
1741 virtual QCString trModulesIndex()
1742 { return "Индекс модула"; }
1744 /*! This is used for translation of the word that will possibly
1745 * be followed by a single name or by a list of names
1748 virtual QCString trModule(bool first_capital, bool singular)
1750 QCString result((first_capital ? "Модул" : "модул"));
1751 if (!singular) result+="и";
1754 /*! This is put at the bottom of a module documentation page and is
1755 * followed by a list of files that were used to generate the page.
1757 virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
1759 { // here s is one of " Module", " Struct" or " Union"
1760 // single is true implies a single file
1761 QCString result=(QCString)"Документација за ";
1764 case ClassDef::Class: result+="овај модул"; break;
1765 case ClassDef::Struct: result+="овај тип"; break;
1766 case ClassDef::Union: result+="ову унију"; break;
1767 case ClassDef::Interface: result+="овај интерфејс"; break;
1768 case ClassDef::Protocol: result+="овај протокол"; break;
1769 case ClassDef::Category: result+="ову категорију"; break;
1770 case ClassDef::Exception: result+="овај изузетак"; break;
1772 result+=" је направљен из следећ";
1773 if (single) result+="е датотеке:"; else result+="их датотека:";
1776 /*! This is used for translation of the word that will possibly
1777 * be followed by a single name or by a list of names
1780 virtual QCString trType(bool first_capital, bool singular)
1782 QCString result((first_capital ? "Тип" : "тип"));
1783 if (!singular) result+="ови";
1786 /*! This is used for translation of the word that will possibly
1787 * be followed by a single name or by a list of names
1790 virtual QCString trSubprogram(bool first_capital, bool singular)
1792 QCString result((first_capital ? "Потпрограм" : "потпрограм"));
1793 if (!singular) result+="и";
1797 /*! C# Type Constraint list */
1798 virtual QCString trTypeConstraints()
1800 return "Ограничења типова";