summaryrefslogtreecommitdiffstats
path: root/src/translator_sr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/translator_sr.h')
-rw-r--r--src/translator_sr.h144
1 files changed, 79 insertions, 65 deletions
diff --git a/src/translator_sr.h b/src/translator_sr.h
index 71d66d5..1934084 100644
--- a/src/translator_sr.h
+++ b/src/translator_sr.h
@@ -20,7 +20,7 @@
// translation by Dejan D. M. Milosavljevic <dmilos@email.com>;<dmilosx@ptt.yu>
-class TranslatorSerbian : public TranslatorAdapter_1_2_16
+class TranslatorSerbian : public TranslatorAdapter_1_2_17
{
QCString decode(const QCString& sInput)
{
@@ -98,40 +98,40 @@ class TranslatorSerbian : public TranslatorAdapter_1_2_16
/*! header that is put before the list of member functions. */
virtual QCString trMemberFunctionDocumentation()
- { return "Dokumentacija funkcija članica"; }
+ { return decode( "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 članova";
+ return decode( "Dokumentacija članova" );
}
else
{
- return "Documentacija javnoh članova";
+ return decode( "Dokumentacija javnih članova" );
}
}
/*! this is the text of a link put after brief descriptions. */
virtual QCString trMore()
- { return "Još..."; }
+ { return decode( "Još..." ); }
/*! put in the class documentation */
virtual QCString trListOfAllMembers()
- { return "Spisak svih članova."; }
+ { return decode( "Spisak svih članova." ); }
/*! used as the title of the "list of all members" page of a class */
virtual QCString trMemberList()
- { return "Spisak članova"; }
+ { return decode( "Spisak članova" ); }
/*! this is the first part of a sentence that is followed by a class name */
virtual QCString trThisIsTheListOfAllMembers()
- { return "Ovo je spisak svih članova "; }
+ { return decode( "Ovo je spisak svih članova " ); }
/*! this is the remainder of the sentence after the class name */
virtual QCString trIncludingInheritedMembers()
- { return ", uključujući nasleđene članove."; }
+ { return decode( ", 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.
@@ -193,11 +193,11 @@ class TranslatorSerbian : public TranslatorAdapter_1_2_16
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
- return "Svi članovi struktura";
- }
+ return decode( "Svi članovi struktura" );
+ }
else
{
- return "Svi članovi klasa";
+ return decode( "Svi članovi klasa" );
}
}
@@ -206,29 +206,29 @@ class TranslatorSerbian : public TranslatorAdapter_1_2_16
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
- return "Globalni";
+ return decode("Članovi fajla");
}
else
{
- return "Lokalni";
+ return decode("Članovi fajla");
}
}
/*! This is put above each page as a link to all related pages. */
virtual QCString trRelatedPages()
- { return "Stranice povezane s ovom"; }
+ { return decode( "Stranice povezane sa ovom" ); }
/*! This is put above each page as a link to all examples. */
virtual QCString trExamples()
- { return "Primeri"; }
+ { return decode( "Primeri" ); }
/*! This is put above each page as a link to the search engine. */
virtual QCString trSearch()
- { return "Traži"; }
+ { return decode( "Traži" ); }
/*! This is an introduction to the class hierarchy. */
virtual QCString trClassHierarchyDescription()
- { return "Stablo nasleđivanja je složeno ""približno po abecedi:"; }
+ { return decode( "Stablo nasleđivanja je složeno ""približno po abecedi:" ); }
/*! This is an introduction to the list with all files. */
virtual QCString trFileListDescription(bool extractAll)
@@ -236,7 +236,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_2_16
QCString result="Spisak svih ";
if (!extractAll) result+="dokumetovanih ";
result+="fajlova, sa kratkim opisom:";
- return result;
+ return decode( result );
}
/*! This is an introduction to the annotated compound list. */
@@ -245,11 +245,11 @@ class TranslatorSerbian : public TranslatorAdapter_1_2_16
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
- return "Spisak struktura sa kratkim opisom:";
+ return decode( "Spisak struktura sa kratkim opisom:" );
}
else
{
- return "Spisak klasa, struktura, unija i interjfejsa sa kratkim opisom:";
+ return decode( "Spisak klasa, struktura, unija i interjfejsa sa kratkim opisom:" );
}
}
@@ -293,7 +293,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_2_16
result+="klase koje pripadaju:";
}
}
- return result;
+ return decode( result );
}
/*! This is an introduction to the page with all file members. */
@@ -359,7 +359,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_2_16
* class hierarchy.
*/
virtual QCString trHierarchicalIndex()
- { return "Hijerarhijski sadžraj"; }
+ { return decode( "Hijerarhijski sadžraj" ); }
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index.
@@ -423,7 +423,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_2_16
/*! This is used in LaTeX as the title of the document */
virtual QCString trReferenceManual()
- { return decode("Priručnik"); }
+ { return decode( "Priručnik" ); }
/*! This is used in the documentation of a file as a header before the
* list of defines
@@ -549,11 +549,11 @@ class TranslatorSerbian : public TranslatorAdapter_1_2_16
/*! this text is generated when the \\internal command is used. */
virtual QCString trForInternalUseOnly()
- { return decode( "Samo za unutrasnju upotrebu." ); }
+ { return decode( "Samo za unutrašnju upotrebu." ); }
/*! this text is generated when the \\reimp command is used. */
virtual QCString trReimplementedForInternalReasons()
- { return decode("Preurađeno zbog internih razloga; Nema uticaja na API." ); }
+ { return decode("Preurađeno zbog unutrašnjih razloga; Nema uticaja na API." ); }
/*! this text is generated when the \\warning command is used. */
virtual QCString trWarning()
@@ -573,11 +573,11 @@ class TranslatorSerbian : public TranslatorAdapter_1_2_16
/*! this text is generated when the \\return command is used. */
virtual QCString trReturns()
- { return decode( "Vraćenene vrednosti" ); }
+ { return decode( "Vraćene vrednosti" ); }
/*! this text is generated when the \\sa command is used. */
virtual QCString trSeeAlso()
- { return "Takođe pogledati"; }
+ { return decode( "Takođe pogledati" ); }
/*! this text is generated when the \\param command is used. */
virtual QCString trParameters()
@@ -643,7 +643,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_2_16
case ClassDef::Interface: result+="interfejsa "; break;
case ClassDef::Exception: result+="izuzetka "; break;
}
- if (isTemplate) result+="švablona ";
+ if (isTemplate) result += "šablona ";
result += clName;
return decode( result );
@@ -652,16 +652,16 @@ class TranslatorSerbian : public TranslatorAdapter_1_2_16
/*! used as the title of the HTML page of a file */
virtual QCString trFileReference(const char *fileName)
{
- QCString result=fileName;
- result+=" Opis fajla";
+ QCString result = "Opis fajla ";
+ result += fileName;
return result;
}
/*! used as the title of the HTML page of a namespace */
virtual QCString trNamespaceReference(const char *namespaceName)
{
- QCString result=namespaceName;
- result+=" Opis prostora imena";
+ QCString result="Opis prostora imena ";
+ result += namespaceName;
return result;
}
@@ -674,9 +674,9 @@ class TranslatorSerbian : public TranslatorAdapter_1_2_16
virtual QCString trStaticPublicMembers()
{ return decode("Zajednički javni članovi"); }
virtual QCString trProtectedMembers()
- { return decode("Zastićeni članovi"); }
+ { return decode("Zaštićeni članovi"); }
virtual QCString trProtectedSlots()
- { return decode("Zastićeni slotovi"); }
+ { return decode("Zaštićeni slotovi"); }
virtual QCString trStaticProtectedMembers()
{ return decode("Zajednički zaštićeni članovi"); }
virtual QCString trPrivateMembers()
@@ -757,7 +757,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_2_16
result+="dokumentaciju svakog člana prostora imena: ";
else
result+="prostor imena kojima pripadaju: ";
- return result;
+ return decode( result );
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all namespaces.
@@ -792,16 +792,16 @@ class TranslatorSerbian : public TranslatorAdapter_1_2_16
bool single)
{ // here s is one of " Class", " Struct" or " Union"
// single is true implies a single file
- QCString result=(QCString)"Dokumentacija ove ";
+ QCString result=(QCString)"Dokumentacija ";
switch(compType)
{
- case ClassDef::Class: result+="klase"; break;
- case ClassDef::Struct: result+="strukture"; break;
- case ClassDef::Union: result+="unije"; break;
- case ClassDef::Interface: result+="interfejsa"; break;
- case ClassDef::Exception: result+="izuzetka"; break;
+ case ClassDef::Class: result+="ove klase"; break;
+ case ClassDef::Struct: result+="ove strukture"; break;
+ case ClassDef::Union: result+="ove unije"; break;
+ case ClassDef::Interface: result+="ovog interfejsa"; break;
+ case ClassDef::Exception: result+="ovog izuzetka"; break;
}
- result+=" je napravljen iz ";
+ result+=" je napravljena iz ";
if (single) result+=":"; else result+=":";
return result;
}
@@ -818,7 +818,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_2_16
/*! This is used as the heading text for the retval command. */
virtual QCString trReturnValues()
- { return "Vraćena vrednost"; }
+ { return decode( "Vraćena vrednost" ); }
/*! This is in the (quick) index as a link to the main page (index.html)
*/
@@ -904,7 +904,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_2_16
/*! Text shown before a multi-line variable/enum initialization */
virtual QCString trInitialValue()
{
- return decode("Početna vriednost:");
+ return decode( "Početna vriednost:" );
}
/*! Text used the source code in the file index */
virtual QCString trCode()
@@ -913,15 +913,15 @@ class TranslatorSerbian : public TranslatorAdapter_1_2_16
}
virtual QCString trGraphicalHierarchy()
{
- return decode("Grafičko prikaz stablo klasa");
+ return decode("Grafički prikaz stabla klasa");
}
virtual QCString trGotoGraphicalHierarchy()
{
- return decode("Prikaži grafičko stablo klasa");
+ return decode("Prikaži stablo klasa u grafičkom obliku");
}
virtual QCString trGotoTextualHierarchy()
{
- return decode( "Prikaži tekstualno stablo klasa" );
+ return decode( "Prikaži stablo klasa u tekstualnom obliku" );
}
virtual QCString trPageIndex()
{
@@ -944,11 +944,11 @@ class TranslatorSerbian : public TranslatorAdapter_1_2_16
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
- return "Član";
+ return decode( "Član" );
}
else
{
- return "Javni član";
+ return decode( "Javni član" );
}
}
virtual QCString trStaticPublicAttribs()
@@ -973,11 +973,11 @@ class TranslatorSerbian : public TranslatorAdapter_1_2_16
}
virtual QCString trPrivateAttribs()
{
- return "Privatni članovi";
+ return decode( "Privatni članovi" );
}
virtual QCString trStaticPrivateAttribs()
{
- return decode("Zajednički privatni članovi");
+ return decode( "Zajednički privatni članovi" );
}
//////////////////////////////////////////////////////////////////////////
@@ -1001,7 +1001,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_2_16
virtual QCString trReferencedBy()
{
- return decode( "Korišćno od" );
+ return decode( "Korišćeno od" );
}
virtual QCString trRemarks()
{
@@ -1028,7 +1028,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_2_16
/*! title of the graph legend page */
virtual QCString trLegendTitle()
{
- return decode( "Objasnjenje koriscenih simbola" );
+ return decode( "Objašnjenje korišćenih simbola" );
}
/*! page explaining how the dot graph's should be interpreted
* The %A in the text below are to prevent link to classes called "A".
@@ -1056,7 +1056,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_2_16
"class PrivateBase { };\n\n"
"/*! Klasa koja je korišćena od drugih klasa*/\n"
"class Used { };\n\n"
- "/*! Super klasa koja naslijeđuje/koristi ostale */\n"
+ "/*! Nadklasa koja nasleđuje/koristi ostale */\n"
"class Inherited : public PublicBase,\n"
" protected ProtectedBase,\n"
" private PrivateBase,\n"
@@ -1078,9 +1078,9 @@ class TranslatorSerbian : public TranslatorAdapter_1_2_16
"<li>Sa crnom ivicom predstavlja dokumentovanu strukturu ili klasu.\n"
"<li>Sa sivom icivom predstavlja nedokumentovanu strukturu ili klasu.\n"
"<li>Sa crvenom ivicom predstavlja dokumentovanu strukturu ili klasu\n"
- "za koju nije prikazan graf naslijeđivanja/korišćenja. Graf je odsečen "
+ "za koju nije prikazan graf nasleđivanja/korišćenja. Graf je odsečen "
"ako ne stane unutar određenih granica."
-
+ "</ul>"
"Strelice imaju sledeća značenja:\n"
"<ul>\n"
"<li>Tamnoplava strelica označava javno nasleđivanje.\n"
@@ -1098,7 +1098,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_2_16
/*! text for the link to the legend page */
virtual QCString trLegend()
{
- return decode( "Objačnjenje koričćenih simbola" );
+ return decode( "Objašnjenje korišćenih simbola" );
}
//////////////////////////////////////////////////////////////////////////
@@ -1367,7 +1367,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_2_16
*/
virtual QCString trReferences()
{
- return "Pogledati";
+ return "Koristi";
}
//////////////////////////////////////////////////////////////////////////
@@ -1379,7 +1379,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_2_16
*/
virtual QCString trImplementedFromList(int numEntries)
{
- return "Definiše "+trWriteList(numEntries)+".";
+ return decode( "Definiše "+trWriteList(numEntries)+"." );
}
/*! used in member documentation blocks to produce a list of
@@ -1387,14 +1387,28 @@ class TranslatorSerbian : public TranslatorAdapter_1_2_16
*/
virtual QCString trImplementedInList(int numEntries)
{
- return "Definisano u "+trWriteList(numEntries)+".";
+ return "Definisano u " + trWriteList(numEntries) + "." ;
}
+//////////////////////////////////////////////////////////////////////////
+// new since 1.2.16
+//////////////////////////////////////////////////////////////////////////
+
+ /*! used in RTF documentation as a heading for the Table
+ * of Contents.
+ */
+ virtual QCString trRTFTableOfContents()
+ {
+ return decode( "Sadržaj" );
+ }
+
+
+
};
#endif
-// sh - š
-// dj - đ
+// sh - š - shashavo
+// dj - đ - djordje
// ch - č - chasha
-// cc - ć - vicc
-// zz - ž
+// cc - ć - cciccifu
+// zz - ž - zzaba