1 /******************************************************************************
5 * Copyright (C) 1997-2015 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 TranslatorSerbianCyrillic : 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 "serbian-cyrillic"; }
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 // --- Language translation methods -------------------
79 /*! used in the compound documentation before a list of related functions. */
80 virtual QCString trRelatedFunctions()
81 { return "Повезане функције"; }
83 /*! subscript for the related functions. */
84 virtual QCString trRelatedSubscript()
85 { return "(Напомињемо да ово нису функције чланице.)"; }
87 /*! header that is put before the detailed description of files, classes and namespaces. */
88 virtual QCString trDetailedDescription()
89 { return "Опширније"; }
91 /*! header that is put before the list of typedefs. */
92 virtual QCString trMemberTypedefDocumentation()
93 { return "Документација дефиниције типа"; }
95 /*! header that is put before the list of enumerations. */
96 virtual QCString trMemberEnumerationDocumentation()
97 { return "Документација члана набрајања"; }
99 /*! header that is put before the list of member functions. */
100 virtual QCString trMemberFunctionDocumentation()
101 { return "Документација функције чланице"; }
103 /*! header that is put before the list of member attributes. */
104 virtual QCString trMemberDataDocumentation()
106 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
108 return "Документација поља";
112 return "Документација атрибута";
116 /*! this is the text of a link put after brief descriptions. */
117 virtual QCString trMore()
120 /*! put in the class documentation */
121 virtual QCString trListOfAllMembers()
122 { return "Списак свих чланова"; }
124 /*! used as the title of the "list of all members" page of a class */
125 virtual QCString trMemberList()
126 { return "Списак чланова"; }
128 /*! this is the first part of a sentence that is followed by a class name */
129 virtual QCString trThisIsTheListOfAllMembers()
130 { return "Ово је списак свих чланова од "; }
132 /*! this is the remainder of the sentence after the class name */
133 virtual QCString trIncludingInheritedMembers()
134 { return ", укључујући све наслеђене чланове."; }
136 /*! this is put at the author sections at the bottom of man pages.
137 * parameter s is name of the project name.
139 virtual QCString trGeneratedAutomatically(const char *s)
140 { QCString result="Аутоматски направљено помоћу Doxygen-а";
141 if (s) result+=(QCString)" за "+s;
142 result+=" из изворног кода.";
146 /*! put after an enum name in the list of all members */
147 virtual QCString trEnumName()
148 { return "назив набрајања"; }
150 /*! put after an enum value in the list of all members */
151 virtual QCString trEnumValue()
152 { return "вредност набрајања"; }
154 /*! put after an undocumented member in the list of all members */
155 virtual QCString trDefinedIn()
156 { return "дефинисано у"; }
158 // quick reference sections
160 /*! This is put above each page as a link to the list of all groups of
161 * compounds or files (see the \\group command).
163 virtual QCString trModules()
166 /*! This is put above each page as a link to the class hierarchy */
167 virtual QCString trClassHierarchy()
168 { return "Хијерархија класа"; }
170 /*! This is put above each page as a link to the list of annotated classes */
171 virtual QCString trCompoundList()
173 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
179 return "Списак класа";
183 /*! This is put above each page as a link to the list of documented files */
184 virtual QCString trFileList()
185 { return "Списак датотека"; }
187 /*! This is put above each page as a link to all members of compounds. */
188 virtual QCString trCompoundMembers()
190 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
196 return "Чланови класе";
200 /*! This is put above each page as a link to all members of files. */
201 virtual QCString trFileMembers()
203 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
209 return "Чланови датотеке";
213 /*! This is put above each page as a link to all related pages. */
214 virtual QCString trRelatedPages()
215 { return "Повезане странице"; }
217 /*! This is put above each page as a link to all examples. */
218 virtual QCString trExamples()
219 { return "Примери"; }
221 /*! This is put above each page as a link to the search engine. */
222 virtual QCString trSearch()
225 /*! This is an introduction to the class hierarchy. */
226 virtual QCString trClassHierarchyDescription()
227 { return "Овај списак наслеђивања је уређен "
231 /*! This is an introduction to the list with all files. */
232 virtual QCString trFileListDescription(bool extractAll)
234 QCString result="Овде је списак свих ";
235 if (!extractAll) result+="документованих ";
236 result+="датотека са кратким описима:";
240 /*! This is an introduction to the annotated compound list. */
241 virtual QCString trCompoundListDescription()
244 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
246 return "Овде су структуре са кратким описима:";
250 return "Овде су класе, структуре, "
251 "уније и интерфејси са кратким описима:";
255 /*! This is an introduction to the page with all class members. */
256 virtual QCString trCompoundMembersDescription(bool extractAll)
258 QCString result="Овде је списак свих ";
261 result+="документованих ";
263 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
265 result+="поља структура и унија";
269 result+="чланова класа";
271 result+=" са везама ка ";
274 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
276 result+="документацији структуре/уније за свако поље:";
280 result+="документацији класе за сваки члан:";
285 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
287 result+="структури/унији којој припадају:";
291 result+="класи којој припадају:";
297 /*! This is an introduction to the page with all file members. */
298 virtual QCString trFileMembersDescription(bool extractAll)
300 QCString result="Овде је списак свих ";
301 if (!extractAll) result+="документованих ";
303 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
305 result+="фрункција, променљивих, макро замена, набрајања, и дефиниција типова";
309 result+="чланова датотеке";
311 result+=" са везама ка ";
313 result+="датотекама којима припадају:";
315 result+="документацији:";
319 /*! This is an introduction to the page with the list of all examples */
320 virtual QCString trExamplesDescription()
321 { return "Овде је списак свих примера:"; }
323 /*! This is an introduction to the page with the list of related pages */
324 virtual QCString trRelatedPagesDescription()
325 { return "Овде је списак свих повезаних страница документације:"; }
327 /*! This is an introduction to the page with the list of class/file groups */
328 virtual QCString trModulesDescription()
329 { return "Овде је списак свих модула:"; }
331 // index titles (the project name is prepended for these)
333 /*! This is used in HTML as the title of index.html. */
334 virtual QCString trDocumentation()
335 { return "Документација"; }
337 /*! This is used in LaTeX as the title of the chapter with the
338 * index of all groups.
340 virtual QCString trModuleIndex()
341 { return "Индекс модула"; }
343 /*! This is used in LaTeX as the title of the chapter with the
346 virtual QCString trHierarchicalIndex()
347 { return "Хијерархијски индекс"; }
349 /*! This is used in LaTeX as the title of the chapter with the
350 * annotated compound index.
352 virtual QCString trCompoundIndex()
354 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
356 return "Индекс структура";
360 return "Индекс класа";
364 /*! This is used in LaTeX as the title of the chapter with the
367 virtual QCString trFileIndex()
368 { return "Индекс датотека"; }
370 /*! This is used in LaTeX as the title of the chapter containing
371 * the documentation of all groups.
373 virtual QCString trModuleDocumentation()
374 { return "Документација модула"; }
376 /*! This is used in LaTeX as the title of the chapter containing
377 * the documentation of all classes, structs and unions.
379 virtual QCString trClassDocumentation()
381 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
383 return "Документација структуре";
387 return "Документација класе";
391 /*! This is used in LaTeX as the title of the chapter containing
392 * the documentation of all files.
394 virtual QCString trFileDocumentation()
395 { return "Документација датотеке"; }
397 /*! This is used in LaTeX as the title of the chapter containing
398 * the documentation of all examples.
400 virtual QCString trExampleDocumentation()
401 { return "Документација примера"; }
403 /*! This is used in LaTeX as the title of the chapter containing
404 * the documentation of all related pages.
406 virtual QCString trPageDocumentation()
407 { return "Документација странице"; }
409 /*! This is used in LaTeX as the title of the document */
410 virtual QCString trReferenceManual()
411 { return "Приручник"; }
413 /*! This is used in the documentation of a file as a header before the
416 virtual QCString trDefines()
417 { return "Дефиниције"; }
419 /*! This is used in the documentation of a file as a header before the
422 virtual QCString trTypedefs()
423 { return "Дефиниције типова"; }
425 /*! This is used in the documentation of a file as a header before the
426 * list of enumerations
428 virtual QCString trEnumerations()
429 { return "Набрајања"; }
431 /*! This is used in the documentation of a file as a header before the
432 * list of (global) functions
434 virtual QCString trFunctions()
435 { return "Функције"; }
437 /*! This is used in the documentation of a file as a header before the
438 * list of (global) variables
440 virtual QCString trVariables()
441 { return "Променљиве"; }
443 /*! This is used in the documentation of a file as a header before the
444 * list of (global) variables
446 virtual QCString trEnumerationValues()
447 { return "Вредности набрајања"; }
449 /*! This is used in the documentation of a file before the list of
450 * documentation blocks for defines
452 virtual QCString trDefineDocumentation()
453 { return "Документација дефиниције"; }
455 /*! This is used in the documentation of a file/namespace before the list
456 * of documentation blocks for typedefs
458 virtual QCString trTypedefDocumentation()
459 { return "Документација дефиниције типа"; }
461 /*! This is used in the documentation of a file/namespace before the list
462 * of documentation blocks for enumeration types
464 virtual QCString trEnumerationTypeDocumentation()
465 { return "Документација набрајања"; }
467 /*! This is used in the documentation of a file/namespace before the list
468 * of documentation blocks for functions
470 virtual QCString trFunctionDocumentation()
471 { return "Документација функције"; }
473 /*! This is used in the documentation of a file/namespace before the list
474 * of documentation blocks for variables
476 virtual QCString trVariableDocumentation()
477 { return "Документација променљиве"; }
479 /*! This is used in the documentation of a file/namespace/group before
480 * the list of links to documented compounds
482 virtual QCString trCompounds()
484 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
494 /*! This is used in the standard footer of each page and indicates when
495 * the page was generated
497 virtual QCString trGeneratedAt(const char *date,const char *projName)
499 QCString result=(QCString)"Направљено "+date;
500 if (projName) result+=(QCString)" за "+projName;
501 result+=(QCString)" помоћу";
505 /*! this text is put before a class diagram */
506 virtual QCString trClassDiagram(const char *clName)
508 return (QCString)"Дијаграм наслеђивања за "+clName+":";
511 /*! this text is generated when the \\internal command is used. */
512 virtual QCString trForInternalUseOnly()
513 { return "Само за унутрашњу употребу."; }
515 /*! this text is generated when the \\warning command is used. */
516 virtual QCString trWarning()
517 { return "Упозорење"; }
519 /*! this text is generated when the \\version command is used. */
520 virtual QCString trVersion()
521 { return "Верзија"; }
523 /*! this text is generated when the \\date command is used. */
524 virtual QCString trDate()
527 /*! this text is generated when the \\return command is used. */
528 virtual QCString trReturns()
531 /*! this text is generated when the \\sa command is used. */
532 virtual QCString trSeeAlso()
535 /*! this text is generated when the \\param command is used. */
536 virtual QCString trParameters()
537 { return "Параметри"; }
539 /*! this text is generated when the \\exception command is used. */
540 virtual QCString trExceptions()
541 { return "Изизеци"; }
543 /*! this text is used in the title page of a LaTeX document. */
544 virtual QCString trGeneratedBy()
545 { return "Направљено помоћу"; }
547 //////////////////////////////////////////////////////////////////////////
548 // new since 0.49-990307
549 //////////////////////////////////////////////////////////////////////////
551 /*! used as the title of page containing all the index of all namespaces. */
552 virtual QCString trNamespaceList()
553 { return "Списак простора имена"; }
555 /*! used as an introduction to the namespace list */
556 virtual QCString trNamespaceListDescription(bool extractAll)
558 QCString result="Овде је списак свих ";
559 if (!extractAll) result+="документованих ";
560 result+="простора имена са кратким описима:";
564 /*! used in the class documentation as a header before the list of all
567 virtual QCString trFriends()
568 { return "Пријатељи"; }
570 //////////////////////////////////////////////////////////////////////////
571 // new since 0.49-990405
572 //////////////////////////////////////////////////////////////////////////
574 /*! used in the class documentation as a header before the list of all
577 virtual QCString trRelatedFunctionDocumentation()
578 { return "Документација за пријатеље и повезане функције"; }
580 //////////////////////////////////////////////////////////////////////////
581 // new since 0.49-990425
582 //////////////////////////////////////////////////////////////////////////
584 /*! used as the title of the HTML page of a class/struct/union */
585 virtual QCString trCompoundReference(const char *clName,
586 ClassDef::CompoundType compType,
589 QCString result=(QCString)clName;
595 case ClassDef::Class: result+="ска класа"; break;
596 case ClassDef::Struct: result+="ска структура"; break;
597 case ClassDef::Union: result+="ска унија"; break;
598 case ClassDef::Interface: result+="ски интерфејс"; break;
599 case ClassDef::Protocol: result+="ски протокол"; break;
600 case ClassDef::Category: result+="ска категорија"; break;
601 case ClassDef::Exception: result+="ски изузетак"; break;
607 result+=" Референца";
610 case ClassDef::Class: result+=" класе"; break;
611 case ClassDef::Struct: result+=" структуре"; break;
612 case ClassDef::Union: result+=" уније"; break;
613 case ClassDef::Interface: result+=" интерфејса"; break;
614 case ClassDef::Protocol: result+=" протокола"; break;
615 case ClassDef::Category: result+=" категорије"; break;
616 case ClassDef::Exception: result+=" изузетка"; break;
623 /*! used as the title of the HTML page of a file */
624 virtual QCString trFileReference(const char *fileName)
626 QCString result=fileName;
627 result+=" Референца датотеке";
631 /*! used as the title of the HTML page of a namespace */
632 virtual QCString trNamespaceReference(const char *namespaceName)
634 QCString result=namespaceName;
635 result+=" Референца простора имена";
639 virtual QCString trPublicMembers()
640 { return "Јавне функције чланице"; }
641 virtual QCString trPublicSlots()
642 { return "Јавни слотови"; }
643 virtual QCString trSignals()
644 { return "Сигнали"; }
645 virtual QCString trStaticPublicMembers()
646 { return "Статичке јавне функције чланице"; }
647 virtual QCString trProtectedMembers()
648 { return "Заштићене функције чланице"; }
649 virtual QCString trProtectedSlots()
650 { return "Заштићени слотови"; }
651 virtual QCString trStaticProtectedMembers()
652 { return "Статичке заштићене функције чланице"; }
653 virtual QCString trPrivateMembers()
654 { return "Приватне функције чланице"; }
655 virtual QCString trPrivateSlots()
656 { return "Приватни слотови"; }
657 virtual QCString trStaticPrivateMembers()
658 { return "Статичке приватне функције чланице"; }
660 /*! this function is used to produce a comma-separated list of items.
661 * use generateMarker(i) to indicate where item i should be put.
663 virtual QCString trWriteList(int numEntries)
667 // the inherits list contain `numEntries' classes
668 for (i=0;i<numEntries;i++)
670 // use generateMarker to generate placeholders for the class links!
671 result+=generateMarker(i); // generate marker for entry i in the list
672 // (order is left to right)
674 if (i!=numEntries-1) // not the last entry, so we need a separator
676 if (i<numEntries-2) // not the fore last entry
678 else // the fore last entry
685 /*! used in class documentation to produce a list of base classes,
686 * if class diagrams are disabled.
688 virtual QCString trInheritsList(int numEntries)
690 return "Наслеђује "+trWriteList(numEntries)+".";
693 /*! used in class documentation to produce a list of super classes,
694 * if class diagrams are disabled.
696 virtual QCString trInheritedByList(int numEntries)
698 return "Наслеђују "+trWriteList(numEntries)+".";
701 /*! used in member documentation blocks to produce a list of
702 * members that are hidden by this one.
704 virtual QCString trReimplementedFromList(int numEntries)
706 return "Поново имплементирано од "+trWriteList(numEntries)+".";
709 /*! used in member documentation blocks to produce a list of
710 * all member that overwrite the implementation of this member.
712 virtual QCString trReimplementedInList(int numEntries)
714 return "Поново имплементирано у "+trWriteList(numEntries)+".";
717 /*! This is put above each page as a link to all members of namespaces. */
718 virtual QCString trNamespaceMembers()
719 { return "Чланови простора имена"; }
721 /*! This is an introduction to the page with all namespace members */
722 virtual QCString trNamespaceMemberDescription(bool extractAll)
724 QCString result="Овде је списак свих ";
725 if (!extractAll) result+="документованих ";
726 result+="чланова простора имена са везама ка ";
728 result+="документацији простора имена за сваки члан:";
730 result+="просторима имена којима припадају:";
733 /*! This is used in LaTeX as the title of the chapter with the
734 * index of all namespaces.
736 virtual QCString trNamespaceIndex()
737 { return "Индекс простора имена"; }
739 /*! This is used in LaTeX as the title of the chapter containing
740 * the documentation of all namespaces.
742 virtual QCString trNamespaceDocumentation()
743 { return "Документација простора имена"; }
745 //////////////////////////////////////////////////////////////////////////
746 // new since 0.49-990522
747 //////////////////////////////////////////////////////////////////////////
749 /*! This is used in the documentation before the list of all
750 * namespaces in a file.
752 virtual QCString trNamespaces()
753 { return "Простори имена"; }
755 //////////////////////////////////////////////////////////////////////////
756 // new since 0.49-990728
757 //////////////////////////////////////////////////////////////////////////
759 /*! This is put at the bottom of a class documentation page and is
760 * followed by a list of files that were used to generate the page.
762 virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
764 { // here s is one of " Class", " Struct" or " Union"
765 // single is true implies a single file
766 QCString result=(QCString)"Документација за ";
769 case ClassDef::Class: result+="ову класу"; break;
770 case ClassDef::Struct: result+="ову структуру"; break;
771 case ClassDef::Union: result+="ову унију"; break;
772 case ClassDef::Interface: result+="овај интерфејс"; break;
773 case ClassDef::Protocol: result+="овај протокол"; break;
774 case ClassDef::Category: result+="ову категорију"; break;
775 case ClassDef::Exception: result+="овај изузетак"; break;
778 result+=" је произведена из";
779 if (single) result+="следеће датотеке:"; else result+="следећих датотека:";
783 //////////////////////////////////////////////////////////////////////////
784 // new since 0.49-990901
785 //////////////////////////////////////////////////////////////////////////
787 /*! This is used as the heading text for the retval command. */
788 virtual QCString trReturnValues()
789 { return "Враћене вредности"; }
791 /*! This is in the (quick) index as a link to the main page (index.html)
793 virtual QCString trMainPage()
794 { return "Главна страница"; }
796 /*! This is used in references to page that are put in the LaTeX
797 * documentation. It should be an abbreviation of the word page.
799 virtual QCString trPageAbbreviation()
802 //////////////////////////////////////////////////////////////////////////
803 // new since 0.49-991003
804 //////////////////////////////////////////////////////////////////////////
806 virtual QCString trDefinedAtLineInSourceFile()
808 return "Дефиниција у линији @0 датотеке @1.";
810 virtual QCString trDefinedInSourceFile()
812 return "Дефиниција у датотеци @0.";
815 //////////////////////////////////////////////////////////////////////////
816 // new since 0.49-991205
817 //////////////////////////////////////////////////////////////////////////
819 virtual QCString trDeprecated()
824 //////////////////////////////////////////////////////////////////////////
826 //////////////////////////////////////////////////////////////////////////
828 /*! this text is put before a collaboration diagram */
829 virtual QCString trCollaborationDiagram(const char *clName)
831 return (QCString)"Дијаграм сарадње за "+clName+":";
833 /*! this text is put before an include dependency graph */
834 virtual QCString trInclDepGraph(const char *fName)
836 return (QCString)"Дијаграм зависности укључивања за "+fName+":";
838 /*! header that is put before the list of constructor/destructors. */
839 virtual QCString trConstructorDocumentation()
841 return "Документација конструктора и деструктора";
843 /*! Used in the file documentation to point to the corresponding sources. */
844 virtual QCString trGotoSourceCode()
846 return "Иди на изворни код овог фајла.";
848 /*! Used in the file sources to point to the corresponding documentation. */
849 virtual QCString trGotoDocumentation()
851 return "Иди на документацију овог фајла.";
853 /*! Text for the \\pre command */
854 virtual QCString trPrecondition()
858 /*! Text for the \\post command */
859 virtual QCString trPostcondition()
861 return "Услов после";
863 /*! Text for the \\invariant command */
864 virtual QCString trInvariant()
866 return "Инваријанта";
868 /*! Text shown before a multi-line variable/enum initialization */
869 virtual QCString trInitialValue()
871 return "Почетна вредност:";
873 /*! Text used the source code in the file index */
874 virtual QCString trCode()
878 virtual QCString trGraphicalHierarchy()
880 return "Графичка хијерархија класа";
882 virtual QCString trGotoGraphicalHierarchy()
884 return "Иди на графичку хијерархију класа";
886 virtual QCString trGotoTextualHierarchy()
888 return "Иди на текстуалну хијерархију класа";
890 virtual QCString trPageIndex()
892 return "Индекс страна";
895 //////////////////////////////////////////////////////////////////////////
897 //////////////////////////////////////////////////////////////////////////
899 virtual QCString trNote()
903 virtual QCString trPublicTypes()
905 return "Јавни типови";
907 virtual QCString trPublicAttribs()
909 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
915 return "Јавни атрибути";
918 virtual QCString trStaticPublicAttribs()
920 return "Статички јавни атрибути";
922 virtual QCString trProtectedTypes()
924 return "Заштићени типови";
926 virtual QCString trProtectedAttribs()
928 return "Заштићени атрибути";
930 virtual QCString trStaticProtectedAttribs()
932 return "Статички заштићени атрибути";
934 virtual QCString trPrivateTypes()
936 return "Приватни типови";
938 virtual QCString trPrivateAttribs()
940 return "Приватни атрибути";
942 virtual QCString trStaticPrivateAttribs()
944 return "Статички приватни атрибути";
947 //////////////////////////////////////////////////////////////////////////
949 //////////////////////////////////////////////////////////////////////////
951 /*! Used as a marker that is put before a \\todo item */
952 virtual QCString trTodo()
956 /*! Used as the header of the todo list */
957 virtual QCString trTodoList()
959 return "Подсетник шта још урадити";
962 //////////////////////////////////////////////////////////////////////////
964 //////////////////////////////////////////////////////////////////////////
966 virtual QCString trReferencedBy()
968 return "Референцирано од";
970 virtual QCString trRemarks()
974 virtual QCString trAttention()
978 virtual QCString trInclByDepGraph()
980 return "Овај граф показује које датотеке директно или "
981 "или индиректно укључују овај фајл:";
983 virtual QCString trSince()
988 //////////////////////////////////////////////////////////////////////////
990 //////////////////////////////////////////////////////////////////////////
992 /*! title of the graph legend page */
993 virtual QCString trLegendTitle()
995 return "Легенда графова";
997 /*! page explaining how the dot graph's should be interpreted
998 * The %A in the text below are to prevent link to classes called "A".
1000 virtual QCString trLegendDocs()
1003 "Ова страница објашњава како тумачити графове који су направљени "
1005 "Размотримо следећи пример:\n"
1007 "/*! Невидљива класа због одсецања */\n"
1008 "class Invisible { };\n\n"
1009 "/*! Одсечена класа, веза наслеђивања је скривена */\n"
1010 "class Truncated : public Invisible { };\n\n"
1011 "/* Класа која није документована doxygen коментарима */\n"
1012 "class Undocumented { };\n\n"
1013 "/*! Класа која је наслеђена јавним наслеђивањем */\n"
1014 "class PublicBase : public Truncated { };\n\n"
1015 "/*! Шаблонска класа */\n"
1016 "template<class T> class Templ { };\n\n"
1017 "/*! Класа која је наслеђена заштићеним наслеђивањем */\n"
1018 "class ProtectedBase { };\n\n"
1019 "/*! Класа која је наслеђена јавним наслеђивањем */\n"
1020 "class PrivateBase { };\n\n"
1021 "/*! Класа коју користи наслеђена класа */\n"
1022 "class Used { };\n\n"
1023 "/*! Надкласа која наслеђује неки број других класа */\n"
1024 "class Inherited : public PublicBase,\n"
1025 " protected ProtectedBase,\n"
1026 " private PrivateBase,\n"
1027 " public Undocumented,\n"
1028 " public Templ<int>\n"
1031 " Used *m_usedClass;\n"
1034 "Ако је \\c MAX_DOT_GRAPH_HEIGHT таг у конфигурационој датотеци "
1035 "подешен на 240, то ће резултовати на следећи начин:"
1036 "<p><center><img alt=\"\" src=\"graph_legend."+getDotImageExtension()+"\"></center>\n"
1038 "Правоугаоници имају следеће значење:\n"
1040 "<li>%Пуни сиви правоугаоник представља структуру или класу за коју је "
1042 "<li>%Правоугаоник са црним оквиром означава документовану структуру или класу.\n"
1043 "<li>%Правоугаоник са сивим оквиром означава недокументовану структуру или класу.\n"
1044 "<li>%Правоугаоник са црвеним оквиром означава документовану структуру или класу за"
1045 "за коју нису све релације наслеђивања/садржавања приказане. %Граф је "
1046 "одсечен ако излази из специфицираних оквира.\n"
1048 "Стрелице имају следећа значења:\n"
1050 "<li>%Тамноплава стрелица се користи да прикаже релацију јавног извођења "
1051 "између двеју класа.\n"
1052 "<li>%Тамнозелена стрелица се користи за заштићено наслеђивање.\n"
1053 "<li>%Тамноцрвена стрелица се користи за приватно наслеђивање.\n"
1054 "<li>%Љубичаста испрекидана стрелица се користи ако класа садржи или користи "
1055 "друга класа. Стрелица је означена променљивом/променљивама "
1056 "кроз које је показивана класа или структура доступна.\n"
1057 "<li>%Жута испрекидана стрелица означава везу између примерка шаблона и "
1058 "и шаблонске класе из које је инстанцирана. Стрелица је означена "
1059 "параметрима примерка шаблона.\n"
1062 /*! text for the link to the legend page */
1063 virtual QCString trLegend()
1068 //////////////////////////////////////////////////////////////////////////
1070 //////////////////////////////////////////////////////////////////////////
1072 /*! Used as a marker that is put before a test item */
1073 virtual QCString trTest()
1077 /*! Used as the header of the test list */
1078 virtual QCString trTestList()
1080 return "Списак тестова";
1083 //////////////////////////////////////////////////////////////////////////
1085 //////////////////////////////////////////////////////////////////////////
1087 /*! Used as a section header for IDL properties */
1088 virtual QCString trProperties()
1092 /*! Used as a section header for IDL property documentation */
1093 virtual QCString trPropertyDocumentation()
1095 return "Документација свосјтва";
1098 //////////////////////////////////////////////////////////////////////////
1100 //////////////////////////////////////////////////////////////////////////
1102 /*! Used for Java classes in the summary section of Java packages */
1103 virtual QCString trClasses()
1105 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
1114 /*! Used as the title of a Java package */
1115 virtual QCString trPackage(const char *name)
1117 return (QCString)"Пакет "+name;
1119 /*! Title of the package index page */
1120 virtual QCString trPackageList()
1122 return "Списак пакета";
1124 /*! The description of the package index page */
1125 virtual QCString trPackageListDescription()
1127 return "Овде су пакети са кратким описима (ако су доступни):";
1129 /*! The link name in the Quick links header for each page */
1130 virtual QCString trPackages()
1134 /*! Text shown before a multi-line define */
1135 virtual QCString trDefineValue()
1140 //////////////////////////////////////////////////////////////////////////
1142 //////////////////////////////////////////////////////////////////////////
1144 /*! Used as a marker that is put before a \\bug item */
1145 virtual QCString trBug()
1149 /*! Used as the header of the bug list */
1150 virtual QCString trBugList()
1152 return "Списак грешака";
1155 //////////////////////////////////////////////////////////////////////////
1157 //////////////////////////////////////////////////////////////////////////
1159 /*! Used as ansicpg for RTF file
1161 * The following table shows the correlation of Charset name, Charset Value and
1164 * Charset Name Charset Value(hex) Codepage number
1165 * ------------------------------------------------------
1166 * DEFAULT_CHARSET 1 (x01)
1167 * SYMBOL_CHARSET 2 (x02)
1168 * OEM_CHARSET 255 (xFF)
1169 * ANSI_CHARSET 0 (x00) 1252
1170 * RUSSIAN_CHARSET 204 (xCC) 1251
1171 * EE_CHARSET 238 (xEE) 1250
1172 * GREEK_CHARSET 161 (xA1) 1253
1173 * TURKISH_CHARSET 162 (xA2) 1254
1174 * BALTIC_CHARSET 186 (xBA) 1257
1175 * HEBREW_CHARSET 177 (xB1) 1255
1176 * ARABIC _CHARSET 178 (xB2) 1256
1177 * SHIFTJIS_CHARSET 128 (x80) 932
1178 * HANGEUL_CHARSET 129 (x81) 949
1179 * GB2313_CHARSET 134 (x86) 936
1180 * CHINESEBIG5_CHARSET 136 (x88) 950
1184 virtual QCString trRTFansicp()
1190 /*! Used as ansicpg for RTF fcharset
1191 * \see trRTFansicp() for a table of possible values.
1193 virtual QCString trRTFCharSet()
1198 /*! Used as header RTF general index */
1199 virtual QCString trRTFGeneralIndex()
1204 /*! This is used for translation of the word that will possibly
1205 * be followed by a single name or by a list of names
1208 virtual QCString trClass(bool first_capital, bool singular)
1210 QCString result((first_capital ? "Клас" : "клас"));
1211 if (!singular) result+="e"; else result+="a";
1215 /*! This is used for translation of the word that will possibly
1216 * be followed by a single name or by a list of names
1219 virtual QCString trFile(bool first_capital, bool singular)
1221 QCString result((first_capital ? "Датотек" : "датотек"));
1222 if (!singular) result+="e"; else result+="a";
1226 /*! This is used for translation of the word that will possibly
1227 * be followed by a single name or by a list of names
1230 virtual QCString trNamespace(bool first_capital, bool singular)
1232 QCString result((first_capital ? "Простор" : "простор"));
1233 if (!singular) result+="и имена"; else result+=" имена";
1237 /*! This is used for translation of the word that will possibly
1238 * be followed by a single name or by a list of names
1241 virtual QCString trGroup(bool first_capital, bool singular)
1243 QCString result((first_capital ? "Груп" : "груп"));
1244 if (!singular) result+="е"; else result+="a";
1248 /*! This is used for translation of the word that will possibly
1249 * be followed by a single name or by a list of names
1252 virtual QCString trPage(bool first_capital, bool singular)
1254 QCString result((first_capital ? "Страниц" : "страниц"));
1255 if (!singular) result+="е"; else result += "a";
1259 /*! This is used for translation of the word that will possibly
1260 * be followed by a single name or by a list of names
1263 virtual QCString trMember(bool first_capital, bool singular)
1265 QCString result((first_capital ? "Члан" : "члан"));
1266 if (!singular) result+="ови";
1270 /*! This is used for translation of the word that will possibly
1271 * be followed by a single name or by a list of names
1274 virtual QCString trGlobal(bool first_capital, bool singular)
1276 QCString result((first_capital ? "Глобалн" : "глобалн"));
1277 if (!singular) result+="а"; else result+="о";
1281 //////////////////////////////////////////////////////////////////////////
1283 //////////////////////////////////////////////////////////////////////////
1285 /*! This text is generated when the \\author command is used and
1286 * for the author section in man pages. */
1287 virtual QCString trAuthor(bool first_capital, bool singular)
1289 QCString result((first_capital ? "Аутор" : "аутор"));
1290 if (!singular) result+="и";
1294 //////////////////////////////////////////////////////////////////////////
1296 //////////////////////////////////////////////////////////////////////////
1298 /*! This text is put before the list of members referenced by a member
1300 virtual QCString trReferences()
1305 //////////////////////////////////////////////////////////////////////////
1307 //////////////////////////////////////////////////////////////////////////
1309 /*! used in member documentation blocks to produce a list of
1310 * members that are implemented by this one.
1312 virtual QCString trImplementedFromList(int numEntries)
1314 return "Имплементира "+trWriteList(numEntries)+".";
1317 /*! used in member documentation blocks to produce a list of
1318 * all members that implement this abstract member.
1320 virtual QCString trImplementedInList(int numEntries)
1322 return "Имплементирано у "+trWriteList(numEntries)+".";
1325 //////////////////////////////////////////////////////////////////////////
1327 //////////////////////////////////////////////////////////////////////////
1329 /*! used in RTF documentation as a heading for the Table
1332 virtual QCString trRTFTableOfContents()
1337 //////////////////////////////////////////////////////////////////////////
1339 //////////////////////////////////////////////////////////////////////////
1341 /*! Used as the header of the list of item that have been
1342 * flagged deprecated
1344 virtual QCString trDeprecatedList()
1346 return "Списак застарелог";
1349 //////////////////////////////////////////////////////////////////////////
1351 //////////////////////////////////////////////////////////////////////////
1353 /*! Used as a header for declaration section of the events found in
1356 virtual QCString trEvents()
1360 /*! Header used for the documentation section of a class' events. */
1361 virtual QCString trEventDocumentation()
1363 return "Документација догажаја";
1366 //////////////////////////////////////////////////////////////////////////
1368 //////////////////////////////////////////////////////////////////////////
1370 /*! Used as a heading for a list of Java class types with package scope.
1372 virtual QCString trPackageTypes()
1374 return "Типови пакета";
1376 /*! Used as a heading for a list of Java class functions with package
1379 virtual QCString trPackageMembers()
1381 return "Функције пакета";
1383 /*! Used as a heading for a list of static Java class functions with
1386 virtual QCString trStaticPackageMembers()
1388 return "Статичке функције пакета";
1390 /*! Used as a heading for a list of Java class variables with package
1393 virtual QCString trPackageAttribs()
1395 return "Атрибути пакета";
1397 /*! Used as a heading for a list of static Java class variables with
1400 virtual QCString trStaticPackageAttribs()
1402 return "Статички атрибути пакета";
1405 //////////////////////////////////////////////////////////////////////////
1407 //////////////////////////////////////////////////////////////////////////
1409 /*! Used in the quick index of a class/file/namespace member list page
1410 * to link to the unfiltered list of all members.
1412 virtual QCString trAll()
1416 /*! Put in front of the call graph for a function. */
1417 virtual QCString trCallGraph()
1419 return "Овде је граф позивања за ову функцију:";
1422 //////////////////////////////////////////////////////////////////////////
1424 //////////////////////////////////////////////////////////////////////////
1426 /*! This string is used as the title for the page listing the search
1429 virtual QCString trSearchResultsTitle()
1431 return "Резултати претраге";
1433 /*! This string is put just before listing the search results. The
1434 * text can be different depending on the number of documents found.
1435 * Inside the text you can put the special marker $num to insert
1436 * the number representing the actual number of search results.
1437 * The @a numDocuments parameter can be either 0, 1 or 2, where the
1438 * value 2 represents 2 or more matches. HTML markup is allowed inside
1439 * the returned string.
1441 virtual QCString trSearchResults(int numDocuments)
1443 if (numDocuments==0)
1445 return "Жао ми је, али нема докумената који одговарају упиту.";
1447 else if (numDocuments==1)
1449 return "Пронађен <b>1</b> документ који одговара упиту.";
1451 else if (numDocuments==2)
1453 return "Пронађена <b>а</b> документа која одговарају упиту.";
1455 else if (numDocuments==3)
1457 return "Пронађена <b>3</b> документа која одговарају упиту.";
1459 else if (numDocuments==4)
1461 return "Пронађена <b>4</b> документа која одговарају упиту.";
1465 return "Пронађено <b>$num</b> докумената који одговарају упиту. "
1466 "Приказују се прво најбољи поготци.";
1469 /*! This string is put before the list of matched words, for each search
1470 * result. What follows is the list of words that matched the query.
1472 virtual QCString trSearchMatches()
1477 //////////////////////////////////////////////////////////////////////////
1479 //////////////////////////////////////////////////////////////////////////
1481 /*! This is used in HTML as the title of page with source code for file filename
1483 virtual QCString trSourceFile(QCString& filename)
1485 return filename + " Изворна датотека";
1488 //////////////////////////////////////////////////////////////////////////
1490 //////////////////////////////////////////////////////////////////////////
1492 /*! This is used as the name of the chapter containing the directory
1495 virtual QCString trDirIndex()
1496 { return "Хијерархија директоријума"; }
1498 /*! This is used as the name of the chapter containing the documentation
1499 * of the directories.
1501 virtual QCString trDirDocumentation()
1502 { return "Документација директоријума"; }
1504 /*! This is used as the title of the directory index and also in the
1505 * Quick links of an HTML page, to link to the directory hierarchy.
1507 virtual QCString trDirectories()
1508 { return "Директоријуми"; }
1510 /*! This returns a sentences that introduces the directory hierarchy.
1511 * and the fact that it is sorted alphabetically per level
1513 virtual QCString trDirDescription()
1514 { return "Ова хијерархија директоријума је уређена "
1515 "приближно по абецеди:";
1518 /*! This returns the title of a directory page. The name of the
1519 * directory is passed via \a dirName.
1521 virtual QCString trDirReference(const char *dirName)
1522 { QCString result=dirName; result+=" Референца директоријума"; return result; }
1524 /*! This returns the word directory with or without starting capital
1525 * (\a first_capital) and in sigular or plural form (\a singular).
1527 virtual QCString trDir(bool first_capital, bool singular)
1529 QCString result((first_capital ? "Директоријум" : "директоријум"));
1530 if (singular) result+=""; else result+="и";
1534 //////////////////////////////////////////////////////////////////////////
1536 //////////////////////////////////////////////////////////////////////////
1538 /*! This text is added to the documentation when the \\overload command
1539 * is used for a overloaded function.
1541 virtual QCString trOverloadText()
1543 return "Ово је преоптерећена функција чланица. "
1544 "Разликује се од наведене само по врсти аргумената кое прихвата";
1547 //////////////////////////////////////////////////////////////////////////
1549 //////////////////////////////////////////////////////////////////////////
1551 /*! This is used to introduce a caller (or called-by) graph */
1552 virtual QCString trCallerGraph()
1554 return "Ово је граф функција које позивају ову функцију:";
1557 /*! This is used in the documentation of a file/namespace before the list
1558 * of documentation blocks for enumeration values
1560 virtual QCString trEnumerationValueDocumentation()
1561 { return "Документација вредности набрајања"; }
1563 //////////////////////////////////////////////////////////////////////////
1564 // new since 1.5.4 (mainly for Fortran)
1565 //////////////////////////////////////////////////////////////////////////
1567 /*! header that is put before the list of member subprograms (Fortran). */
1568 virtual QCString trMemberFunctionDocumentationFortran()
1569 { return "Документацијаr функције чланице, односно потпрограма члана"; }
1571 /*! This is put above each page as a link to the list of annotated data types (Fortran). */
1572 virtual QCString trCompoundListFortran()
1573 { return "Списак типова података"; }
1575 /*! This is put above each page as a link to all members of compounds (Fortran). */
1576 virtual QCString trCompoundMembersFortran()
1579 /*! This is an introduction to the annotated compound list (Fortran). */
1580 virtual QCString trCompoundListDescriptionFortran()
1581 { return "Овде су типови података са кратким описима:"; }
1583 /*! This is an introduction to the page with all data types (Fortran). */
1584 virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
1586 QCString result="Овде је списак свих ";
1589 result+="документованих ";
1591 result+="чланова типова података";
1592 result+=" са везама ка ";
1595 result+="документацији структуре података за сваки члан";
1599 result+="типовима података којима припадају:";
1604 /*! This is used in LaTeX as the title of the chapter with the
1605 * annotated compound index (Fortran).
1607 virtual QCString trCompoundIndexFortran()
1608 { return "Индекс типова података"; }
1610 /*! This is used in LaTeX as the title of the chapter containing
1611 * the documentation of all data types (Fortran).
1613 virtual QCString trTypeDocumentation()
1614 { return "Документација типова података"; }
1616 /*! This is used in the documentation of a file as a header before the
1617 * list of (global) subprograms (Fortran).
1619 virtual QCString trSubprograms()
1620 { return "Функције/потпрограми"; }
1622 /*! This is used in the documentation of a file/namespace before the list
1623 * of documentation blocks for subprograms (Fortran)
1625 virtual QCString trSubprogramDocumentation()
1626 { return "Документација функције/потпрограма"; }
1628 /*! This is used in the documentation of a file/namespace/group before
1629 * the list of links to documented compounds (Fortran)
1631 virtual QCString trDataTypes()
1632 { return "Типови података"; }
1634 /*! used as the title of page containing all the index of all modules (Fortran). */
1635 virtual QCString trModulesList()
1636 { return "Списак модула"; }
1638 /*! used as an introduction to the modules list (Fortran) */
1639 virtual QCString trModulesListDescription(bool extractAll)
1641 QCString result="Овде је списак свих ";
1642 if (!extractAll) result+="документованих ";
1643 result+="модула са кратким описима:";
1647 /*! used as the title of the HTML page of a module/type (Fortran) */
1648 virtual QCString trCompoundReferenceFortran(const char *clName,
1649 ClassDef::CompoundType compType,
1652 QCString result=(QCString)clName;
1653 if (isTemplate) result+=" Шаблон";
1654 result+=" Референца";
1657 case ClassDef::Class: result+=" модула"; break;
1658 case ClassDef::Struct: result+=" типа"; break;
1659 case ClassDef::Union: result+=" уније"; break;
1660 case ClassDef::Interface: result+=" интерфејса"; break;
1661 case ClassDef::Protocol: result+=" протокола"; break;
1662 case ClassDef::Category: result+=" категорије"; break;
1663 case ClassDef::Exception: result+=" изузетка"; break;
1668 /*! used as the title of the HTML page of a module (Fortran) */
1669 virtual QCString trModuleReference(const char *namespaceName)
1671 QCString result=namespaceName;
1672 result+=" Референца модула";
1676 /*! This is put above each page as a link to all members of modules. (Fortran) */
1677 virtual QCString trModulesMembers()
1678 { return "Чланови модула"; }
1680 /*! This is an introduction to the page with all modules members (Fortran) */
1681 virtual QCString trModulesMemberDescription(bool extractAll)
1683 QCString result="Овде је списак свих ";
1684 if (!extractAll) result+="документованих ";
1685 result+="чланова модула са везама ка ";
1688 result+="документацији модула за сваки члан:";
1692 result+="модулима којима припадају:";
1697 /*! This is used in LaTeX as the title of the chapter with the
1698 * index of all modules (Fortran).
1700 virtual QCString trModulesIndex()
1701 { return "Индекс модула"; }
1703 /*! This is used for translation of the word that will possibly
1704 * be followed by a single name or by a list of names
1707 virtual QCString trModule(bool first_capital, bool singular)
1709 QCString result((first_capital ? "Модул" : "модул"));
1710 if (!singular) result+="и";
1713 /*! This is put at the bottom of a module documentation page and is
1714 * followed by a list of files that were used to generate the page.
1716 virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
1718 { // here s is one of " Module", " Struct" or " Union"
1719 // single is true implies a single file
1720 QCString result=(QCString)"Документација за ";
1723 case ClassDef::Class: result+="овај модул"; break;
1724 case ClassDef::Struct: result+="овај тип"; break;
1725 case ClassDef::Union: result+="ову унију"; break;
1726 case ClassDef::Interface: result+="овај интерфејс"; break;
1727 case ClassDef::Protocol: result+="овај протокол"; break;
1728 case ClassDef::Category: result+="ову категорију"; break;
1729 case ClassDef::Exception: result+="овај изузетак"; break;
1732 result+=" је направљен из следећ";
1733 if (single) result+="е датотеке:"; else result+="их датотека:";
1736 /*! This is used for translation of the word that will possibly
1737 * be followed by a single name or by a list of names
1740 virtual QCString trType(bool first_capital, bool singular)
1742 QCString result((first_capital ? "Тип" : "тип"));
1743 if (!singular) result+="ови";
1746 /*! This is used for translation of the word that will possibly
1747 * be followed by a single name or by a list of names
1750 virtual QCString trSubprogram(bool first_capital, bool singular)
1752 QCString result((first_capital ? "Потпрограм" : "потпрограм"));
1753 if (!singular) result+="и";
1757 /*! C# Type Constraint list */
1758 virtual QCString trTypeConstraints()
1760 return "Ограничења типова";