diff options
author | Petr Prikryl <prikryl@atlas.cz> | 2013-06-25 09:57:37 (GMT) |
---|---|---|
committer | Petr Prikryl <prikryl@atlas.cz> | 2013-06-25 09:57:37 (GMT) |
commit | c84e679ca11f8945f449b8b8ad6d93c05d97839e (patch) | |
tree | a6fa55863e72439cd3f81b0f72fe01193ee9064a /src/translator_sr.h | |
parent | d274d6cf193b4e719804965671f23ab9c41f7727 (diff) | |
download | Doxygen-c84e679ca11f8945f449b8b8ad6d93c05d97839e.zip Doxygen-c84e679ca11f8945f449b8b8ad6d93c05d97839e.tar.gz Doxygen-c84e679ca11f8945f449b8b8ad6d93c05d97839e.tar.bz2 |
idLanguageCharset() method removed from all translator classes
Diffstat (limited to 'src/translator_sr.h')
-rw-r--r-- | src/translator_sr.h | 444 |
1 files changed, 219 insertions, 225 deletions
diff --git a/src/translator_sr.h b/src/translator_sr.h index 86c2777..04ae216 100644 --- a/src/translator_sr.h +++ b/src/translator_sr.h @@ -1,12 +1,12 @@ /****************************************************************************** * - * + * * * Copyright (C) 1997-2013 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its - * documentation under the terms of the GNU General Public License is hereby - * granted. No representations are made about the suitability of this software + * documentation under the terms of the GNU General Public License is hereby + * granted. No representations are made about the suitability of this software * for any purpose. It is provided "as is" without express or implied warranty. * See the GNU General Public License for more details. * @@ -14,7 +14,7 @@ * input used in their production; they are not affected by this license. * */ - + #ifndef TRANSLATOR_SR_H #define TRANSLATOR_SR_H @@ -25,23 +25,23 @@ // translation update by Andrija M. Bosnjakovic <andrija@etf.bg.ac.yu> class TranslatorSerbian : public TranslatorAdapter_1_6_0 -{ +{ public: // --- Language control methods ------------------- - - /*! Used for identification of the language. The identification - * should not be translated. It should be replaced by the name + + /*! Used for identification of the language. The identification + * should not be translated. It should be replaced by the name * of the language in English using lower-case characters only - * (e.g. "czech", "japanese", "russian", etc.). It should be equal to + * (e.g. "czech", "japanese", "russian", etc.). It should be equal to * the identification used in language.cpp. */ virtual QCString idLanguage() { return "serbian"; } - - /*! Used to get the LaTeX command(s) for the language support. + + /*! Used to get the LaTeX command(s) for the language support. * This method should return string with commands that switch - * LaTeX to the desired language. For example + * LaTeX to the desired language. For example * <pre>"\\usepackage[german]{babel}\n" * </pre> * or @@ -49,7 +49,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 * "\\usepackage[latin2]{inputenc}\n" * "\\usepackage[T1]{fontenc}\n" * </pre> - * + * * The English LaTeX does not use such commands. Because of this * the empty string is returned in this implementation. */ @@ -59,23 +59,17 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 return result; } - /*! return the language charset. This will be used for the HTML output */ - virtual QCString idLanguageCharset() - { - return "utf-8"; - } - // --- Language translation methods ------------------- /*! used in the compound documentation before a list of related functions. */ virtual QCString trRelatedFunctions() - //! Čini se da je ovako manje loše nego "Povezane funkcije", + //! Čini se da je ovako manje loše nego "Povezane funkcije", //! što uopšte ne izgleda dobro jer ta kartica sadrži prijatelje i globalne funkcije - { return "Relevantne funkcije"; } + { return "Relevantne funkcije"; } /*! subscript for the related functions. */ virtual QCString trRelatedSubscript() - { return "(To nisu funkcije članice.)"; } + { return "(To nisu funkcije članice.)"; } /*! header that is put before the detailed description of files, classes and namespaces. */ virtual QCString trDetailedDescription() @@ -84,31 +78,31 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 /*! header that is put before the list of typedefs. */ virtual QCString trMemberTypedefDocumentation() { return "Dokumentacija unutrašnjih definicija tipa"; } - + /*! header that is put before the list of enumerations. */ virtual QCString trMemberEnumerationDocumentation() //! Ovo je u skladu sa "unutrašnja klasa" što se može videti u knjizi. { return "Dokumentacija unutrašnjih nabrajanja"; } - + /*! header that is put before the list of member functions. */ virtual QCString trMemberFunctionDocumentation() { return "Dokumentacija funkcija članica"; } - + /*! header that is put before the list of member attributes. */ virtual QCString trMemberDataDocumentation() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Dokumentacija polja"; + return "Dokumentacija polja"; } else { - return "Dokumentacija atributa"; + return "Dokumentacija atributa"; } } /*! this is the text of a link put after brief descriptions. */ - virtual QCString trMore() + virtual QCString trMore() { return "Još..."; } /*! put in the class documentation */ @@ -126,81 +120,81 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 /*! this is the remainder of the sentence after the class name */ virtual QCString trIncludingInheritedMembers() { return ", uključujući nasleđene članove."; } - + /*! this is put at the author sections at the bottom of man pages. * parameter s is name of the project name. */ virtual QCString trGeneratedAutomatically(const char *s) { QCString result="Napravljeno automatski korišćenjem alata Doxygen"; if( s ) result+=(QCString)" za projekat " + s; - result+=" od izvornog koda."; + result+=" od izvornog koda."; return result; } /*! put after an enum name in the list of all members */ virtual QCString trEnumName() { return "ime nabrajanja "; } - + /*! put after an enum value in the list of all members */ virtual QCString trEnumValue() { return "vrednost nabrojane konstante"; } - + /*! put after an undocumented member in the list of all members */ virtual QCString trDefinedIn() { return "definicija u"; } // quick reference sections - /*! This is put above each page as a link to the list of all groups of + /*! This is put above each page as a link to the list of all groups of * compounds or files (see the \\group command). */ virtual QCString trModules() { return "Moduli"; } - + /*! This is put above each page as a link to the class hierarchy */ virtual QCString trClassHierarchy() { return "Hijerarhija klasa"; } - + /*! This is put above each page as a link to the list of annotated classes */ virtual QCString trCompoundList() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "Spisak struktura"; } else { - return "Spisak klasa"; + return "Spisak klasa"; } } - + /*! This is put above each page as a link to the list of documented files */ virtual QCString trFileList() { return "Spisak datoteka"; } /*! This is put above each page as a link to all members of compounds. */ virtual QCString trCompoundMembers() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Sva polja struktura"; + return "Sva polja struktura"; } else { - return "Svi članovi klasa"; + return "Svi članovi klasa"; } } /*! This is put above each page as a link to all members of files. */ virtual QCString trFileMembers() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Članovi datoteke"; + return "Članovi datoteke"; } else { - return "Članovi datoteke"; + return "Članovi datoteke"; } } @@ -231,11 +225,11 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 /*! This is an introduction to the annotated compound list. */ virtual QCString trCompoundListDescription() - { - + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Spisak struktura sa kratkim opisima:"; + return "Spisak struktura sa kratkim opisima:"; } else { @@ -260,18 +254,18 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 result+="članova klasa"; } result+=" sa vezama ka "; - if (extractAll) + if (extractAll) { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - result+="dokumentaciji svakog polja strukture/unije:"; + result+="dokumentaciji svakog polja strukture/unije:"; } else { - result+="dokumentaciji svakog člana klase:"; + result+="dokumentaciji svakog člana klase:"; } } - else + else { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { @@ -279,7 +273,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 } else { - result+="klasama kojima pripadaju:"; + result+="klasama kojima pripadaju:"; } } return result; @@ -290,19 +284,19 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 { QCString result="Spisak svih "; if (!extractAll) result+="dokumentovanih "; - + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { result+="funkcija, promenljivih, makro zamena, nabrajanja i definicija tipa"; } else { - result+="članova"; + result+="članova"; } result+=" sa vezama ka "; - if (extractAll) + if (extractAll) result+="datotekama u kojima se nalaze:"; - else + else result+="dokumentaciji:"; return result; } @@ -319,43 +313,43 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 virtual QCString trModulesDescription() { return "Spisak svih modula:"; } - // index titles (the project name is prepended for these) + // index titles (the project name is prepended for these) /*! This is used in HTML as the title of index.html. */ virtual QCString trDocumentation() { return "Dokumentacija"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all groups. */ virtual QCString trModuleIndex() { return "Indeks modula"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * class hierarchy. */ virtual QCString trHierarchicalIndex() { return "Hijerarhijski sadržaj"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index. */ virtual QCString trCompoundIndex() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { - return "Spisak struktura/unija"; + { + return "Spisak struktura/unija"; } else { - return "Spisak klasa"; + return "Spisak klasa"; } } /*! This is used in LaTeX as the title of the chapter with the * list of all files. */ - virtual QCString trFileIndex() + virtual QCString trFileIndex() { return "Indeks datoteka"; } /*! This is used in LaTeX as the title of the chapter containing @@ -368,14 +362,14 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 * the documentation of all classes, structs and unions. */ virtual QCString trClassDocumentation() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Dokumentacija stuktura/unija"; + return "Dokumentacija stuktura/unija"; } else { - return "Dokumentacija klasa"; + return "Dokumentacija klasa"; } } @@ -400,105 +394,105 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 /*! This is used in LaTeX as the title of the document */ virtual QCString trReferenceManual() { return "Priručnik"; } - - /*! This is used in the documentation of a file as a header before the + + /*! This is used in the documentation of a file as a header before the * list of defines */ virtual QCString trDefines() { return "Makro zamene"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of function prototypes */ virtual QCString trFuncProtos() { return "Deklaracije funkcija"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() { return "Definicije tipa"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of enumerations */ virtual QCString trEnumerations() { return "Nabrajanja"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) functions */ virtual QCString trFunctions() { return "Funkcije"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trVariables() { return "Promenljive"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trEnumerationValues() { return "Vrednosti nabrojanih konstanti"; } - + /*! This is used in the documentation of a file before the list of * documentation blocks for defines */ virtual QCString trDefineDocumentation() { return "Dokumentacija makro zamene"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for function prototypes */ virtual QCString trFunctionPrototypeDocumentation() { return "Dokumentacija deklaracije funkcije"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() { return "Dokumentacija definicije tipa"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration types */ virtual QCString trEnumerationTypeDocumentation() { return "Dokumentacija nabrajanja"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for functions */ virtual QCString trFunctionDocumentation() { return "Dokumentacija funkcije"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for variables */ virtual QCString trVariableDocumentation() { return "Dokumentacija promenljive"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds */ virtual QCString trCompounds() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Strukture i unije"; + return "Strukture i unije"; } else { - return "Klase, strukture i unije"; + return "Klase, strukture i unije"; } } - /*! This is used in the standard footer of each page and indicates when - * the page was generated + /*! This is used in the standard footer of each page and indicates when + * the page was generated */ virtual QCString trGeneratedAt(const char *date,const char *projName) - { + { QCString result=(QCString)"[" + date + "] Napravljeno automatski "; if ( projName ) result+=(QCString)" za projekat " + projName; result+=(QCString)" upotrebom "; @@ -516,7 +510,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 { return QCString("Dijagram nasleđivanja za klasu ") + clName + ":"; } - + /*! this text is generated when the \\internal command is used. */ virtual QCString trForInternalUseOnly() { return "Samo za unutrašnju upotrebu."; } @@ -548,7 +542,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 /*! this text is generated when the \\exception command is used. */ virtual QCString trExceptions() { return "Izuzeci"; } - + /*! this text is used in the title page of a LaTeX document. */ virtual QCString trGeneratedBy() { return "Napravio"; } @@ -556,7 +550,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 ////////////////////////////////////////////////////////////////////////// // new since 0.49-990307 ////////////////////////////////////////////////////////////////////////// - + /*! used as the title of page containing all the index of all namespaces. */ virtual QCString trNamespaceList() { return "Spisak prostora imena"; } @@ -575,17 +569,17 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 */ virtual QCString trFriends() { return "Prijatelji"; } - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 ////////////////////////////////////////////////////////////////////////// - + /*! used in the class documentation as a header before the list of all - * related classes + * related classes */ virtual QCString trRelatedFunctionDocumentation() { return "Dokumentacija prijatelja i relevantnih funkcija"; } - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// @@ -594,8 +588,8 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 virtual QCString trCompoundReference(const char *clName, ClassDef::CompoundType compType, bool isTemplate) - { - QCString result( "Dokumentacija " ); + { + QCString result( "Dokumentacija " ); switch(compType) { case ClassDef::Class: result+="klase "; break; @@ -607,7 +601,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 case ClassDef::Exception: result+="izuzetka "; break; default: break; } - if (isTemplate) result += "šablona "; + if (isTemplate) result += "šablona "; result += clName; return result; } @@ -616,7 +610,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 virtual QCString trFileReference(const char *fileName) { QCString result = "Opis datoteke "; - result += fileName; + result += fileName; return result; } @@ -627,7 +621,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 result += namespaceName; return result; } - + virtual QCString trPublicMembers() { return "Javni članovi"; } virtual QCString trPublicSlots() @@ -648,7 +642,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 { return "Privatni slotovi"; } virtual QCString trStaticPrivateMembers() { return "Zajednički privatni članovi"; } - + /*! this function is used to produce a comma-separated list of items. * use generateMarker(i) to indicate where item i should be put. */ @@ -657,23 +651,23 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 QCString result; int i; // the inherits list contain `numEntries' classes - for (i=0;i<numEntries;i++) + for (i=0;i<numEntries;i++) { // use generateMarker to generate placeholders for the class links! - result+=generateMarker(i); // generate marker for entry i in the list + result+=generateMarker(i); // generate marker for entry i in the list // (order is left to right) - + if (i!=numEntries-1) // not the last entry, so we need a separator { - if (i<numEntries-2) // not the fore last entry + if (i<numEntries-2) // not the fore last entry result+=", "; else // the fore last entry result+=" i "; } } - return result; + return result; } - + /*! used in class documentation to produce a list of base classes, * if class diagrams are disabled. */ @@ -690,7 +684,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 return "Spisak izvedenih klasa: "; } - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are hidden by this one. */ virtual QCString trReimplementedFromList(int numEntries) @@ -712,17 +706,17 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 /*! This is an introduction to the page with all namespace members */ virtual QCString trNamespaceMemberDescription(bool extractAll) - { + { QCString result="Spisak svih "; if (!extractAll) result+="dokumentovanih "; result+="članova prostora imena sa vezama prema "; - if (extractAll) + if (extractAll) result+="dokumentaciji svakog člana prostora imena: "; - else + else result+="prostorima imena kojima pripadaju: "; return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all namespaces. */ virtual QCString trNamespaceIndex() @@ -791,7 +785,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 virtual QCString trMainPage() { return "Glavna strana"; } - /*! This is used in references to page that are put in the LaTeX + /*! This is used in references to page that are put in the LaTeX * documentation. It should be an abbreviation of the word page. */ virtual QCString trPageAbbreviation() @@ -836,7 +830,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 /*! header that is put before the list of constructor/destructors. */ virtual QCString trConstructorDocumentation() { - return "Dokumentacija konstruktora i destruktora"; + return "Dokumentacija konstruktora i destruktora"; } /*! Used in the file documentation to point to the corresponding sources. */ virtual QCString trGotoSourceCode() @@ -893,10 +887,10 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 ////////////////////////////////////////////////////////////////////////// // new since 1.1.0 ////////////////////////////////////////////////////////////////////////// - + virtual QCString trNote() { - return "Beleška"; + return "Beleška"; } virtual QCString trPublicTypes() { @@ -906,7 +900,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Polja"; + return "Polja"; } else { @@ -963,7 +957,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 virtual QCString trReferencedBy() { //! Izbegavanje roda. Uskladjivanje sa trReferences - return "Korisnici: "; + return "Korisnici: "; } virtual QCString trRemarks() { @@ -982,7 +976,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 { return "Od"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.1.5 ////////////////////////////////////////////////////////////////////////// @@ -992,7 +986,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 { return "Objašnjenje korišćenih simbola"; } - /*! page explaining how the dot graph's should be interpreted + /*! page explaining how the dot graph's should be interpreted * The %A in the text below are to prevent link to classes called "A". */ virtual QCString trLegendDocs() @@ -1041,7 +1035,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 "<li>Sa sivom ivicom predstavlja strukturu ili klasu bez doxygen komentara.\n" "<li>Sa crvenom ivicom predstavlja dokumentovanu strukturu ili klasu\n" "za koju nisu prikazani svi relevantni grafovi.\n" - "</ul>" + "</ul>" "Strelice imaju sledeća značenja:\n" "<ul>\n" "<li>Tamnoplava strelica označava javno izvođenje.\n" @@ -1061,11 +1055,11 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 { return "Objašnjenje korišćenih simbola"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.0 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a test item */ virtual QCString trTest() { @@ -1143,11 +1137,11 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 { return "Vrednost:"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.5 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a \\bug item */ virtual QCString trBug() { @@ -1163,9 +1157,9 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 // new since 1.2.6 ////////////////////////////////////////////////////////////////////////// - /*! Used as ansicpg for RTF file - * - * The following table shows the correlation of Charset name, Charset Value and + /*! Used as ansicpg for RTF file + * + * The following table shows the correlation of Charset name, Charset Value and * <pre> * Codepage number: * Charset Name Charset Value(hex) Codepage number @@ -1186,15 +1180,15 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 * GB2313_CHARSET 134 (x86) 936 * CHINESEBIG5_CHARSET 136 (x88) 950 * </pre> - * + * */ virtual QCString trRTFansicp() { return "1252"; } - - /*! Used as ansicpg for RTF fcharset + + /*! Used as ansicpg for RTF fcharset * \see trRTFansicp() for a table of possible values. */ virtual QCString trRTFCharSet() @@ -1207,83 +1201,83 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 { return "Sadržaj"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trClass(bool first_capital, bool singular) - { + { QCString result( (first_capital ? "Klas" : "klas") ); result+= (singular ? "a" : "e"); - return result; + return result; } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trFile(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Datotek" : "datotek")); result+= (singular ? "a" : "e"); - return result; + return result; } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trNamespace(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Prostor" : "prostor")); - result += (singular ? "" : "i"); + result += (singular ? "" : "i"); result += " imena"; - return result; + return result; } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGroup(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Grup" : "grup")); result+= (singular ? "a" : "e"); - return result; + return result; } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trPage(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Stran" : "stran")); result+= (singular ? "a" : "e"); - return result; + return result; } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trMember(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Član" : "član")); result+= (singular ? "" : "ovi"); - return result; + return result; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGlobal(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Globalni " : "globalni ")); result+= (singular ? "podatak" : "podaci"); - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1293,10 +1287,10 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 /*! This text is generated when the \\author command is used and * for the author section in man pages. */ virtual QCString trAuthor(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Autor" : "autor")); result+= (singular ? "" : "i"); - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1314,7 +1308,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 // new since 1.2.13 ////////////////////////////////////////////////////////////////////////// - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are implemented by this one. */ virtual QCString trImplementedFromList(int /*numEntries*/) @@ -1341,24 +1335,24 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 { return "Sadržaj"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.17 ////////////////////////////////////////////////////////////////////////// - /*! Used as the header of the list of item that have been - * flagged deprecated + /*! Used as the header of the list of item that have been + * flagged deprecated */ virtual QCString trDeprecatedList() { return "Spisak zastarelih stvari"; - } + } ////////////////////////////////////////////////////////////////////////// // new since 1.2.18 ////////////////////////////////////////////////////////////////////////// - /*! Used as a header for declaration section of the events found in + /*! Used as a header for declaration section of the events found in * a C# program */ virtual QCString trEvents() @@ -1378,43 +1372,43 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 /*! Used as a heading for a list of Java class types with package scope. */ virtual QCString trPackageTypes() - { + { return "Tipovi u paketu"; } - /*! Used as a heading for a list of Java class functions with package - * scope. + /*! Used as a heading for a list of Java class functions with package + * scope. */ virtual QCString trPackageMembers() - { + { return "Funkcije u paketu"; } - /*! Used as a heading for a list of static Java class functions with + /*! Used as a heading for a list of static Java class functions with * package scope. */ virtual QCString trStaticPackageMembers() - { + { return "Statičke funkcije u paketu"; // Zajednicke funkcije u paketu } - /*! Used as a heading for a list of Java class variables with package + /*! Used as a heading for a list of Java class variables with package * scope. */ virtual QCString trPackageAttribs() - { + { return "Atributi u paketu"; // Clanovi u paketu } - /*! Used as a heading for a list of static Java class variables with + /*! Used as a heading for a list of static Java class variables with * package scope. */ virtual QCString trStaticPackageAttribs() - { + { return "Statički atributi u paketu"; // Zajednicki clanovi u paketu } - + ////////////////////////////////////////////////////////////////////////// // new since 1.3.1 ////////////////////////////////////////////////////////////////////////// - /*! Used in the quick index of a class/file/namespace member list page + /*! Used in the quick index of a class/file/namespace member list page * to link to the unfiltered list of all members. */ virtual QCString trAll() @@ -1431,9 +1425,9 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. + /*! When the search engine is enabled this text is put in the header + * of each page before the field where one can enter the text to search + * for. */ virtual QCString trSearchForIndex() { @@ -1450,7 +1444,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 * text can be different depending on the number of documents found. * Inside the text you can put the special marker $num to insert * the number representing the actual number of search results. - * The @a numDocuments parameter can be either 0, 1 or 2, where the + * The @a numDocuments parameter can be either 0, 1 or 2, where the * value 2 represents 2 or more matches. HTML markup is allowed inside * the returned string. */ @@ -1462,7 +1456,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 } else if (numDocuments==1) { return "Nađen je <b>1</b> dokument koji odgovara vašem upitu."; } - else if (numDocuments<5) + else if (numDocuments<5) { return "Nađena su <b>$num</b> dokumenta koji odgovaraju vašem upitu." " Najbolji su prikazani prvi."; } else @@ -1470,7 +1464,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 " Najbolji su prikazani prvi."; } } - /*! This string is put before the list of matched words, for each search + /*! This string is put before the list of matched words, for each search * result. What follows is the list of words that matched the query. */ virtual QCString trSearchMatches() @@ -1511,7 +1505,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 virtual QCString trDirectories() { return "Direktorijumi"; } - /*! This returns a sentences that introduces the directory hierarchy. + /*! This returns a sentences that introduces the directory hierarchy. * and the fact that it is sorted alphabetically per level */ virtual QCString trDirDescription() @@ -1527,10 +1521,10 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 * (\a first_capital) and in sigular or plural form (\a singular). */ virtual QCString trDir(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Direktorijum" : "direktorijum")); - if (!singular) result+="i"; - return result; + if (!singular) result+="i"; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1556,7 +1550,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 return "Graf funkcija koje pozivaju ovu funkciju:"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration values */ virtual QCString trEnumerationValueDocumentation() @@ -1565,12 +1559,12 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 ////////////////////////////////////////////////////////////////////////// // new since 1.5.4 (mainly for Fortran) ////////////////////////////////////////////////////////////////////////// - + /*! header that is put before the list of member subprograms (Fortran). */ virtual QCString trMemberFunctionDocumentationFortran() { return "Dokumentacija funkcija i procedura"; } - /*! This is put above each page as a link to the list of annotated data types (Fortran). */ + /*! This is put above each page as a link to the list of annotated data types (Fortran). */ /* TODO: Koji je prevod za Compound u Fortran kontekstu */ virtual QCString trCompoundListFortran() { return "Složeni tipovi podataka"; } @@ -1593,18 +1587,18 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 } result+="polja složenih tipova podataka"; result+=" sa vezama ka "; - if (!extractAll) + if (!extractAll) { result+="dokumentaciji strukture podataka za svakog člana"; } - else + else { result+="složenim tipovima podataka kojima pripadaju:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index (Fortran). */ virtual QCString trCompoundIndexFortran() @@ -1616,24 +1610,24 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 virtual QCString trTypeDocumentation() { return "Dokumentacija tipova podataka"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) subprograms (Fortran). */ virtual QCString trSubprograms() { return "Funkcije i procedure"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for subprograms (Fortran) */ virtual QCString trSubprogramDocumentation() { return "Dokumentacija funkcija i procedura"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds (Fortran) */ virtual QCString trDataTypes() { return "Složeni tipovi podataka"; } - + /*! used as the title of page containing all the index of all modules (Fortran). */ virtual QCString trModulesList() { return "Spisak modula"; } @@ -1672,46 +1666,46 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 virtual QCString trModuleReference(const char *namespaceName) { QCString result=namespaceName; - result+=" - sažet pregled modula"; + result+=" - sažet pregled modula"; return result; } - + /*! This is put above each page as a link to all members of modules. (Fortran) */ virtual QCString trModulesMembers() { return "Članovi modula"; } /*! This is an introduction to the page with all modules members (Fortran) */ virtual QCString trModulesMemberDescription(bool extractAll) - { + { QCString result="Spisak svih "; if (!extractAll) result+="dokumentovanih "; result+="članova modula sa vezama ka "; - if (extractAll) + if (extractAll) { result+="dokumentaciji za svakog člana modula:"; } - else + else { result+="modulima kojima pripadaju:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all modules (Fortran). */ virtual QCString trModulesIndex() { return "Spisak modula"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trModule(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Modul" : "modul")); if (!singular) result+="i"; - return result; + return result; } /*! This is put at the bottom of a module documentation page and is * followed by a list of files that were used to generate the page. @@ -1737,24 +1731,24 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 return result; } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trType(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Tip" : "tip")); if (!singular) result+="ovi"; - return result; + return result; } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trSubprogram(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Procedura" : "procedura")); if (!singular) result = (first_capital ? "Procedure" : "procedure"); - return result; + return result; } /*! C# Type Constraint list */ @@ -1762,7 +1756,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 { return "Ograničenja tipova"; } - + ////////////////////////////////////////////////////////////////////////// // following methods have no corresponding entry in translator_en.h ////////////////////////////////////////////////////////////////////////// @@ -1770,51 +1764,51 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 // /*! This is put above each page as a link to the list of all verbatim headers */ // virtual QCString trHeaderFiles() // { return "Zaglavlja"; } -// +// // /*! This is an introduction to the page with the list of all header files. */ // virtual QCString trHeaderFilesDescription() // { return "Zaglavlja koje izgraduju API:"; } -// +// // /*! This sentences is used in the annotated class/file lists if no brief -// * description is given. +// * description is given. // */ // virtual QCString trNoDescriptionAvailable() // { return "Opis nije dostupan"; } -// +// // /*! this text is generated when the \\reimp command is used. */ // virtual QCString trReimplementedForInternalReasons() // { return decode("Preuradeno zbog unutrasnjih razloga; Nema uticaja na API." ); } -// +// // /*! this text is generated when the \\bug command is used. */ // virtual QCString trBugsAndLimitations() // { return "Greske i ogranicenja"; } -// +// // virtual QCString trSources() // { // return decode("Izvorne datoteke" ); // } -// +// // /*! Used for Java interfaces in the summary section of Java packages */ // virtual QCString trInterfaces() // { // return "Interfejsi"; //!< Radna okruzenja. Ali to je dve reci. // } -// +// // /*! Used as a chapter title for Latex & RTF output */ // virtual QCString trPackageDocumentation() // { // return "Dokumentacija paketa"; // } -// +// // /*! This is used for translation of the word that will possibly -// * be followed by a single name or by a list of names +// * be followed by a single name or by a list of names // * of the category. // */ // virtual QCString trField(bool first_capital, bool singular) -// { +// { // QCString result((first_capital ? "Polj" : "polj")); // result+= (singular ? "e" : "a"); -// return result; +// return result; // } }; |