translator_hr.h

Go to the documentation of this file.
00001 /******************************************************************************
00002  *
00003  * 
00004  *
00005  * Copyright (C) 1997-2008 by Dimitri van Heesch.
00006  *
00007  * Permission to use, copy, modify, and distribute this software and its
00008  * documentation under the terms of the GNU General Public License is hereby 
00009  * granted. No representations are made about the suitability of this software 
00010  * for any purpose. It is provided "as is" without express or implied warranty.
00011  * See the GNU General Public License for more details.
00012  *
00013  * Documents produced by Doxygen are derivative works derived from the
00014  * input used in their production; they are not affected by this license.
00015  *
00016 */
00017 // translation by Boris Bralo <boris.bralo@zg.htnet.hr>
00018 // Updates:
00019 // --------
00020 // 2000/08/20 
00021 //  - Better handling of ISO-8859-2/ WIN 1250 stuff based on (actualy stolen from :-)) Czech translations
00022 //    implemented by Petr Prikryl (prikrylp@skil.cz).
00023 //    As opposed to Czech translation this one assumes that Doxygen strings are written in Linux ( it's true,
00024 //    I don't have QT pro licence ) , and uses ISOToWin function when built in WIN32
00025 //
00026 // 2000/09/18
00027 // - Added strings from 1.2.1
00028 // - Removed unneeeded decode() calls
00029 // - Changed some CS terminology
00030 // 
00031 // 2001/01/22
00032 // - Added strings from 1.2.4
00033 //
00034 // 2001/05/25
00035 // - Added strings and up to and including 1.2.7_20010524
00036 // - Removed obsolete method trFiles()
00037 // - Removed obsolete method trAuthor()
00038 // - Removed obsolete method trAuthor()
00039 // - Removed obsolete method trVerbatimHeadert()
00040 // - Method latexBabelPackage() removed, ude latexLanguageSupportCommand
00041 //
00042 // 2001/11/13
00043 // - inherits from Translator 
00044 // - Added strings for 1.2.11
00045 // - better output for C documentation (trCompoundMembersDescription(), trClassDocumentation()) 
00046 //
00047 // 2001/11/13
00048 // - Added strings for 1.2.13
00049 //
00050 // 2003/02/26
00051 // - Added strings for 1.2.18
00052 //
00053 // 2003/04/29
00054 // - Added strings for 1.3.0
00055 //
00056 // 2004/06/21
00057 // - Added strings for 1.3.8
00058 //
00059 // 2004/09/15
00060 // - Added strings for 1.3.9
00061 //
00062 // 2005/02/28
00063 // - Removed obsolete (unused) methods
00064 //
00065 // 2005/03/21
00066 // - Added strings for 1.4.1
00067 //
00068 // 2006/06/11
00069 // - Added strings for 1.4.6
00070 //
00071 #ifndef TRANSLATOR_HR_H
00072 #define TRANSLATOR_HR_H
00073 
00074 class TranslatorCroatian : public Translator
00075 {
00076   private:
00078         inline QCString decode(const QCString& sInput)
00079         { 
00080           //if (Config_getBool("USE_WINDOWS_ENCODING"))
00081           //{
00082           //  return ISO88592ToWin1250(sInput);
00083           //}
00084           //else
00085           //{
00086             return sInput;
00087           //}
00088         }
00089   
00090   public:
00091     QCString idLanguage()
00092     { return "croatian"; }
00093     QCString idLanguageCharset()
00094     {
00095       //if (Config_getBool("USE_WINDOWS_ENCODING"))
00096       //{
00097       //  return "windows-1250"; 
00098       //}
00099       //else
00100       //{
00101         return "iso-8859-2";
00102       //}
00103     }
00104     QCString latexLanguageSupportCommand()
00105     { return "\\usepackage[croatian]{babel}\n"; }
00106     QCString trRelatedFunctions()
00107     { return "Povezane funkcije"; }
00108     QCString trRelatedSubscript()
00109     { return "(To nisu member funkcije.)"; }
00110     QCString trDetailedDescription()
00111     { return decode("Detaljno objašnjenje"); }
00112     QCString trMemberTypedefDocumentation()
00113     { return decode("Dokumentacija typedef članova"); }
00114     QCString trMemberEnumerationDocumentation()
00115     { return decode("Dokumentacija enumeracijskih članova"); }
00116     QCString trMemberFunctionDocumentation()
00117     { return "Dokumentacija funkcija"; }
00118     QCString trMemberDataDocumentation()
00119     { return "Documentacija varijabli"; }
00120     QCString trMore()
00121     { return decode("Opširnije..."); }
00122     QCString trListOfAllMembers()
00123     { return decode("Popis svih članova."); }
00124     QCString trMemberList()
00125     { return decode("Popis članova."); }
00126     QCString trThisIsTheListOfAllMembers()
00127     { return decode("Ovo je popis svih članova"); }
00128     QCString trIncludingInheritedMembers()
00129     { return decode(", uključujuęi nasliješene članove."); }
00130     QCString trGeneratedAutomatically(const char *s)
00131     { QCString result=decode("generirano automatski Doxygen-om"); 
00132       if (s) result+=(QCString)" za "+s;
00133       result+=" iz programskog koda."; 
00134       return decode(result);
00135     }
00136     QCString trEnumName()
00137     { return decode("enum ime"); }
00138     QCString trEnumValue()
00139     { return decode("enum vrijednost"); }
00140     QCString trDefinedIn()
00141     { return decode("definirano u"); }
00142     QCString trModules()
00143     { return "Moduli"; }
00144     QCString trClassHierarchy()
00145     { return "Stablo klasa"; }
00146     QCString trCompoundList()
00147         {
00148                 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
00149                 {
00150                         return "Sve strukture";
00151                 }
00152                 else
00153                 {
00154                         return "Sve klase"; 
00155                 }
00156         }
00157     QCString trFileList()
00158     { return "Popis datoteka"; }
00159     QCString trCompoundMembers()
00160         {
00161                 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
00162                         return decode("Svi članovi struktura"); 
00163                 else
00164                         return decode("Svi članovi klasa"); 
00165         }
00166     QCString trFileMembers()
00167     { return decode("Članovi klasa u datoteci"); }
00168     QCString trRelatedPages()
00169     { return decode("Stranice povezane s ovom"); }
00170     QCString trExamples()
00171     { return "Primjeri"; }
00172     QCString trSearch()
00173     { return decode("Traži"); }
00174     QCString trClassHierarchyDescription()
00175     { return decode("Stablo nasliješivanja je složeno "
00176                                         "približno po abecedi:");
00177     }
00178     QCString trFileListDescription(bool extractAll)
00179     {
00180       QCString result="Popis svih ";
00181       if (!extractAll) result+="dokumentiranih ";
00182       result+="datoteka, s kratkim opisom:";
00183       return decode(result);
00184     }
00185     QCString trCompoundListDescription()
00186     { return "Popis svih klasa, unija i struktura "
00187                   "s kratkim opisom :"; 
00188     }
00189     QCString trCompoundMembersDescription(bool extractAll)
00190     {
00191       QCString result="Popis svih ";
00192       if (!extractAll)
00193                   result+="dokumentiranih ";
00194 
00195           if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
00196                   result+="članova klasa s linkovima na ";
00197           else
00198                   result+="članova struktura s linkovima na ";
00199                   
00200       if (!extractAll)
00201           {
00202                   result+="dokumentaciju svakog člana:";
00203       }
00204           else
00205           {
00206                   if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
00207                           result+="dokumentaciju klase :";
00208                   else
00209                           result +="dokumentaciju strukture";
00210           }
00211       return decode(result);
00212     }
00213     QCString trFileMembersDescription(bool extractAll)
00214     {
00215       QCString result="Popis svih ";
00216       if (!extractAll)
00217                   result+="dokumentiranih ";
00218       result+="članova s linkovima na ";
00219       if (extractAll)
00220                   result+="dokumentaciju datoteke u kojima se nalaze:";
00221       else
00222                   result+="datoteke u kojima se nalaze:";
00223       return decode(result);
00224     }
00225     QCString trExamplesDescription()
00226     { return "Popis primjera :"; }
00227     QCString trRelatedPagesDescription()
00228     { return "Popis povezanih stranica:"; }
00229     QCString trModulesDescription()
00230     { return "Popis svih modula:"; }
00231 
00232     QCString trDocumentation()
00233     { return "Dokumentacija"; }
00234     QCString trModuleIndex()
00235     { return "Kazalo modula"; }
00236     QCString trHierarchicalIndex()
00237     { return "Hijerarhijsko kazalo"; }
00238     QCString trCompoundIndex()
00239     {
00240       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
00241       { 
00242         return "Kazalo struktura podataka";
00243       }
00244       else
00245       {
00246                 return "Skupno kazalo ";
00247       }
00248         }
00249     QCString trFileIndex() 
00250     { return "Kazalo datoteka"; }
00251     QCString trModuleDocumentation()
00252     { return "Dokumentacija modula"; }
00253     QCString trClassDocumentation()
00254     {
00255                 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
00256                 {
00257                         return "Dokumentacija struktura podataka"; 
00258                 }
00259                 else
00260                 {
00261                         return "Dokumentacija klasa";
00262                 }
00263         }
00264     QCString trFileDocumentation()
00265     { return "Dokumentacija datoteka"; }
00266     QCString trExampleDocumentation()
00267     { return "Dokumentacija primjera"; }
00268     QCString trPageDocumentation()
00269     { return "Dokumentacija vezane stranice"; }
00270     QCString trReferenceManual()
00271     { return decode("Priručnik"); }
00272 
00273     QCString trDefines()
00274     { return "Definicije"; }
00275     QCString trFuncProtos()
00276     { return "Prototipi funkcija"; }
00277     QCString trTypedefs()
00278     { return "Typedef-ovi"; }
00279     QCString trEnumerations()
00280     { return "Enumeracije"; }
00281     QCString trFunctions()
00282     { return "Funkcije"; }
00283     QCString trVariables()
00284     { return "Varijable"; }
00285     QCString trEnumerationValues()
00286     { return "Vrijednosti enumeracija"; }
00287     QCString trDefineDocumentation()
00288     { return "Dokumentacija definicija"; }
00289     QCString trFunctionPrototypeDocumentation()
00290     { return "Dokumentacija prototipa funkcije"; }
00291     QCString trTypedefDocumentation()
00292     { return "Dokumentacija typedef-a"; }
00293     QCString trEnumerationTypeDocumentation()
00294     { return "Dokumentacija enumeracijskog tipa"; }
00295     QCString trFunctionDocumentation()
00296     { return "Dokumentacije funkcija"; }
00297     QCString trVariableDocumentation()
00298     { return "Dokumentacija varijable"; }
00299     QCString trCompounds()
00300     { return "Strukture"; }
00301     QCString trGeneratedAt(const char *date,const char *projName)
00302     { 
00303       QCString result=(QCString)"Generirano "+date;
00304       if (projName) result+=(QCString)" projekt: "+projName;
00305       result+=" generator: ";
00306       return decode(result);
00307     }
00308     QCString trWrittenBy()
00309     {
00310       return decode("napisao ");
00311     }
00312     QCString trClassDiagram(const char *clName)
00313     {
00314       return decode("Dijagram klasa za ")+clName;
00315     }
00316     QCString trForInternalUseOnly()
00317     { return decode("Isključivo za internu uporabu."); }
00318     QCString trWarning()
00319     { return "Upozorenje"; }
00320     QCString trVersion()
00321     { return "Verzija"; }
00322     QCString trDate()
00323     { return "Datum"; }
00324     QCString trReturns()
00325     { return "Povratne vrijednosti"; }
00326     QCString trSeeAlso()
00327     { return decode("Vidi takošer"); }
00328     QCString trParameters()
00329     { return "Parametri"; }
00330     QCString trExceptions()
00331     { return "Iznimke"; }
00332     QCString trGeneratedBy()
00333     { return "Generirao"; }
00334     
00336 // new since 0.49-990307 
00338     
00339     QCString trNamespaceList()
00340     { return "Popis imenika"; }
00341     QCString trNamespaceListDescription(bool extractAll)
00342     {
00343       QCString result="Popis svih ";
00344       if (!extractAll) result+="dokumentiranih ";
00345       result+="imenika s kratkim opisom:";
00346       return decode(result);
00347     }
00348     QCString trFriends()
00349     { return decode("Friend-ovi "); }
00350 
00352 // new since 0.49-990405
00354     
00355     QCString trRelatedFunctionDocumentation()
00356     { return "Dokumentacija povezanih funkcija"; }
00357     
00359 // new since 0.49-990425
00361 
00362     QCString trCompoundReference(const char *clName,
00363                                     ClassDef::CompoundType compType,
00364                                     bool /*isTemplate*/)
00365       // used as the title of the HTML page of a class/struct/union
00366     {
00367       QCString result="Opis ";
00368       switch(compType)
00369       {
00370         case ClassDef::Class:  result+=" klase "; break;
00371         case ClassDef::Struct: result+=" strukture "; break;
00372         case ClassDef::Union:  result+=" unije "; break;
00373         case ClassDef::Interface:  result+=" sučelja (interface) "; break;
00374         case ClassDef::Protocol:   result+=" protokola "; break; 
00375         case ClassDef::Category:   result+=" kategorije "; break; 
00376         case ClassDef::Exception:  result+=" iznimke (exception) "; break;
00377       }
00378           result += clName;
00379       
00380       return decode(result);
00381     }
00382     QCString trFileReference(const char *fileName)
00383       // used as the title of the HTML page of a file
00384     {
00385       QCString result="Opis datoteke "; 
00386           result+=fileName;
00387           return decode(result);
00388     }
00389     QCString trNamespaceReference(const char *namespaceName)
00390       // used as the title of the HTML page of a namespace
00391     {
00392       QCString result ="Opis imenika ";
00393           result+=namespaceName;
00394       
00395       return decode(result);
00396     }
00397     
00398     // these are for the member sections of a class, struct or union 
00399     QCString trPublicMembers()
00400     { return decode("Public članovi"); }
00401     QCString trPublicSlots()
00402     { return "Public slotovi"; }
00403     QCString trSignals()
00404     { return "Signali"; }
00405     QCString trStaticPublicMembers()
00406     { return decode("Static public članovi"); }
00407     QCString trProtectedMembers()
00408     { return decode("Protected članovi"); }
00409     QCString trProtectedSlots()
00410     { return "Protected slotovi"; }
00411     QCString trStaticProtectedMembers()
00412     { return decode("Static protected članovi"); }
00413     QCString trPrivateMembers()
00414     { return decode("Privatni članovi"); }
00415     QCString trPrivateSlots()
00416     { return decode("Privatni slotovi"); }
00417     QCString trStaticPrivateMembers()
00418     { return decode("Statični privatni članovi"); }
00419     // end of member sections 
00420     
00421     QCString trWriteList(int numEntries)
00422     {
00423       // this function is used to produce a comma-separated list of items.
00424       // use generateMarker(i) to indicate where item i should be put.
00425       QCString result;
00426       int i;
00427       // the inherits list contain `numEntries' classes
00428       for (i=0;i<numEntries;i++) 
00429       {
00430         // use generateMarker to generate placeholders for the class links!
00431         result+=generateMarker(i); // generate marker for entry i in the list 
00432                                    // (order is left to right)
00433         
00434         if (i!=numEntries-1)  // not the last entry, so we need a separator
00435         {
00436           if (i<numEntries-2) // not the fore last entry 
00437             result+=", ";
00438           else                // the fore last entry
00439             result+="";
00440         }
00441       }
00442       return result; 
00443     }
00444     
00445     QCString trInheritsList(int numEntries)
00446       // used in class documentation to produce a list of base classes,
00447       // if class diagrams are disabled.
00448     {
00449       return decode("Nasliješuje od "+trWriteList(numEntries)+".");
00450     }
00451     QCString trInheritedByList(int numEntries)
00452       // used in class documentation to produce a list of super classes,
00453       // if class diagrams are disabled.
00454     {
00455       return decode("Nasliješena u "+trWriteList(numEntries)+".");
00456     }
00457     QCString trReimplementedFromList(int numEntries)
00458       // used in member documentation blocks to produce a list of 
00459       // members that are hidden by this one.
00460     {
00461       return decode("Reimplementirano od  "+trWriteList(numEntries)+".");
00462     }
00463     QCString trReimplementedInList(int numEntries)
00464     {
00465       // used in member documentation blocks to produce a list of
00466       // all member that overwrite the implementation of this member.
00467       return decode("Reimplementacija u "+trWriteList(numEntries)+".");
00468     }
00469 
00470     QCString trNamespaceMembers()
00471       // This is put above each page as a link to all members of namespaces.
00472     { return decode("Članovi imenika"); }
00473     QCString trNamespaceMemberDescription(bool extractAll)
00474       // This is an introduction to the page with all namespace members
00475     { 
00476       QCString result="Lista svih ";
00477       if (!extractAll) result+="dokumentiranih ";
00478       result+="članova imenika s linkovima na ";
00479       if (extractAll) 
00480         result+="imeničku dokumentaciju svakog člana:";
00481       else 
00482         result+="imenike kojima pripadaju:";
00483       return decode(result);
00484     }
00485     QCString trNamespaceIndex()
00486       // This is used in LaTeX as the title of the chapter with the 
00487       // index of all namespaces.
00488     { return "Kazalo imenika"; }
00489     QCString trNamespaceDocumentation()
00490       // This is used in LaTeX as the title of the chapter containing
00491       // the documentation of all namespaces.
00492     { return "Dokumentacija namespace-a"; }
00493 
00495 // new since 0.49-990522
00497 
00501     QCString trNamespaces()
00502     {
00503       return "Imenici";
00504     }
00505 
00507 // new since 0.49-990728
00509 
00513     QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
00514         bool single)
00515     { // here s is one of " Class", " Struct" or " Union"
00516       // single is true implies a single file
00517       QCString result="Dokumentacija ";
00518       switch(compType)
00519       {
00520         case ClassDef::Class:      result+="klase"; break;
00521         case ClassDef::Struct:     result+="strukture"; break;
00522         case ClassDef::Union:      result+="unije"; break;
00523         case ClassDef::Interface:  result+="sučelja (interface)"; break;
00524         case ClassDef::Protocol:   result+="protokola"; break; 
00525         case ClassDef::Category:   result+="kategorije"; break; 
00526         case ClassDef::Exception:  result+="iznimke (exception)"; break;
00527       }
00528       result+=" je generirana iz " + trFile(FALSE, single) + ": ";
00529           return decode(result);
00530     }
00531 
00535     QCString trAlphabeticalList()
00536     { return "Abecedni popis"; }
00537 
00539 // new since 0.49-990901
00541 
00543     QCString trReturnValues()
00544     { return "Povratna vrijednost"; }
00545 
00548     QCString trMainPage()
00549     { return "Glavna stranica"; }
00550 
00554     QCString trPageAbbreviation()
00555     { return "str."; }
00556 
00558 // new since 0.49-991106
00560 
00561     QCString trDefinedAtLineInSourceFile()
00562     {
00563       return "Definirano u liniji @0 datoteke @1.";
00564     }
00565     QCString trDefinedInSourceFile()
00566     {
00567       return "Definirano u datoteci @0.";
00568     }
00569 
00571 // new since 0.49-991205
00573 
00574     QCString trDeprecated()
00575     {
00576       return "Zastarjelo";
00577     }
00578 
00580 // new since 1.0.0
00582 
00584     QCString trCollaborationDiagram(const char *clName)
00585     {
00586       return decode( (QCString)"Kolaboracijski dijagram za "+clName+ ":");
00587     }
00589     QCString trInclDepGraph(const char *fName)
00590     {
00591       return decode((QCString)"Graf include mešuovisnosti za "+fName+":");
00592     }
00594     QCString trConstructorDocumentation()
00595     {
00596       return "Dokumentacija konstruktora i destruktora "; 
00597     }
00599     QCString trGotoSourceCode()
00600     {
00601       return "Izvorni kod";
00602     }
00604     QCString trGotoDocumentation()
00605     {
00606       return "Dokumenacija za ovu datoteku.";
00607     }
00609     QCString trPrecondition()
00610     {
00611       return "Preduvjeti";
00612     }
00614     QCString trPostcondition()
00615     {
00616       return "Postuvjeti";
00617     }
00619     QCString trInvariant()
00620     {
00621       return "Invarijanta";
00622     }
00624     QCString trInitialValue()
00625     {
00626       return decode("Početna vrijednost:");
00627     }
00629     QCString trCode()
00630     {
00631       return "kod";
00632     }
00633     QCString trGraphicalHierarchy()
00634     {
00635       return decode("Grafičko stablo klasa");
00636     }
00637     QCString trGotoGraphicalHierarchy()
00638     {
00639       return decode("Grafičko stablo klasa");
00640     }
00641     QCString trGotoTextualHierarchy()
00642     {
00643       return "Tekstualno stablo klasa";
00644     }
00645     QCString trPageIndex()
00646     {
00647       return "Indeks stranice";
00648     }
00649 
00651 // new since 1.1.0
00653     
00654     QCString trNote()
00655     {
00656       return "Primjedba";
00657     }
00658     QCString trPublicTypes()
00659     {
00660       return "Public tipovi";
00661     }
00662     QCString trPublicAttribs()
00663     {
00664       return "Public atributi";
00665     }
00666     QCString trStaticPublicAttribs()
00667     {
00668       return "Static public atributi";
00669     }
00670     QCString trProtectedTypes()
00671     {
00672       return "Protected tipovi";
00673     }
00674     QCString trProtectedAttribs()
00675     {
00676       return "Protected atributi";
00677     }
00678     QCString trStaticProtectedAttribs()
00679     {
00680       return "Static protected atributi";
00681     }
00682     QCString trPrivateTypes()
00683     {
00684       return "Private tipovi";
00685     }
00686     QCString trPrivateAttribs()
00687     {
00688       return "Private atributi";
00689     }
00690     QCString trStaticPrivateAttribs()
00691     {
00692       return "Static private atributi";
00693     }
00695 // new since 1.1.3
00697 
00699     virtual QCString trTodo()
00700     {
00701       return "Za uraditi";
00702     }
00704     virtual QCString trTodoList()
00705     {
00706       return "Ostalo za uraditi";
00707     }
00708 
00710 // new since 1.1.4
00712 
00713     virtual QCString trReferencedBy()
00714     {
00715       return "Referencirano od";
00716     }
00717     virtual QCString trRemarks()
00718     {
00719       return "Napomene";
00720     }
00721     virtual QCString trAttention()
00722     {
00723         return decode("Pažnja");
00724     }
00725     virtual QCString trInclByDepGraph()
00726     {
00727       return decode("Ovaj graf pokazuje koje datoteke izravno "
00728                             "ili neizravno uključuju ovu datoteku:");
00729     }
00730     virtual QCString trSince()
00731     {
00732       return "Od";
00733     }
00734 
00736 // new since 1.1.5
00738 
00740     virtual QCString trLegendTitle()
00741     {
00742       return "Legenda";
00743     }
00745     virtual QCString trLegendDocs()
00746     {
00747       return 
00748         decode( "Ova stranica objašnjava kako interpretirati grafikone koje je generirao "
00749         "doxygen.<p>\n"
00750         "Na primjer:\n"
00751         "\\code\n"
00752         "/*! Nevidljiva klasa (neęe stati na graf date visine) */\n"
00753         "class Invisible { };\n\n"
00754         "/*! Odrezana klasa, inheritance je skriven (klase se vidi na grafu, ali ne i sve bazne klase) */\n"
00755         "class Truncated : public Invisible { };\n\n"
00756         "/* Nedokumentirana klasa */\n"
00757         "class Undocumented { };\n\n"
00758         "/*! Klasa koja je nasliješena public  */\n"
00759         "class PublicBase : public Truncated { };\n\n"
00760         "/*! A template class */\n"
00761         "template<class T> class Templ { };\n\n"
00762         "/*! Klasa koje je nasliješena protected */\n"
00763         "class ProtectedBase { };\n\n"
00764         "/*! Klasa koje je nasliješena private */\n"
00765         "class PrivateBase { };\n\n"
00766         "/*! Klasa koja se koristi agregacijom  */\n"
00767         "class Used { };\n\n"
00768         "/*! Super klasa koja nasliješuje/koristi ostale */\n"
00769         "class Inherited : public PublicBase,\n"
00770         "                  protected ProtectedBase,\n"
00771         "                  private PrivateBase,\n"
00772         "                  public Undocumented,\n"
00773         "                  public Templ<int>\n"
00774         "{\n"
00775         "  private:\n"
00776         "    Used *m_usedClass;\n"
00777         "};\n"
00778         "\\endcode\n"
00779         "Ako je \\c MAX_DOT_GRAPH_HEIGHT tag u konfiguracijskoj datoteci "
00780         "postavljen na  200 gornje veze ęe rezultirati grafikonom:"
00781         "<p><center><img src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
00782         "<p>\n"
00783         "Pravokutnici imaju slijedeęe značenje:\n"
00784         "<ul>\n"
00785         "<li>Puni crni predstavlja klasu za koji je generiran graf.\n"
00786         "<li>Pravokutnik s crnim rubom predstavlja dokumentiranu klasu.\n"
00787         "<li>Pravokutnik s sivim rubom predstavlja nedokumentiranu klasu.\n"
00788         "<li>Pravokutnik s crvenim rubom predstavlja dokumentiranu klasu\n"
00789         "Za koju nije prikazan graf nasliješivanja. Graf je odrezan "
00790         "ako ne stane unutar odrešenih granica."
00791         "</ul>\n"
00792         "Strelice imaju slijedeęe značenje:\n"
00793         "<ul>\n"
00794         "<li>Tamnoplava strelica označava public nasliješivanje.\n"
00795         "<li>Tamnozelena strelica označava protected nasliješivanje.\n"
00796         "<li>Tamnocrvena strelica označava private nasliješivanje.\n"
00797         "<li>Ljubičasta isprekidana strelica se koristi za agregate vezu. "
00798         "Strelica je označena imenom varijable.\n"
00799         "</ul>\n");
00800     }
00802     virtual QCString trLegend()
00803     {
00804       return "legenda";
00805     }
00807 // new since 1.2.0
00809     
00811     virtual QCString trTest()
00812     {
00813       return "Test";
00814     }
00816     virtual QCString trTestList()
00817     {
00818       return "Test lista";
00819     }
00820 
00822 // new since 1.2.1
00824 
00826     virtual QCString trDCOPMethods()
00827     {
00828       return "DCOP metode";
00829     }
00831 // new since 1.2.2
00833 
00835     virtual QCString trProperties()
00836     {
00837       return "Svojstva (property)";
00838     }
00840     virtual QCString trPropertyDocumentation()
00841     {
00842       return "Dokumentacija svojstava";
00843     }
00844 
00846 // new since 1.2.4
00848 
00850     virtual QCString trClasses()
00851     {
00852       return "Klase";
00853     }
00855     virtual QCString trPackage(const char *name)
00856     {
00857       return decode((QCString)"Paket "+name);
00858     }
00860     virtual QCString trPackageList()
00861     {
00862       return "Lista paketa";
00863     }
00865     virtual QCString trPackageListDescription()
00866     {
00867       return "Paketi s kratkim opisom (ukoliko postoji):";
00868     }
00870     virtual QCString trPackages()
00871     {
00872       return "Paketi";
00873     }
00875     virtual QCString trDefineValue()
00876     {
00877       return "Vrijednost:";
00878     }
00879 
00881 // new since 1.2.5
00883     
00885     virtual QCString trBug()
00886     {
00887       return decode("Greška");
00888     }
00890     virtual QCString trBugList()
00891     {
00892       return decode("Popis grešaka");
00893     }
00894 
00896 // new since 1.2.6
00898 
00899     virtual QCString trRTFansicp()
00900     {
00901       return "1252";
00902     }
00904     virtual QCString trRTFCharSet()
00905     {
00906       return "238";
00907     }
00909     virtual QCString trRTFGeneralIndex()
00910     {
00911       return decode("Sadržaj");
00912     }
00913    
00918     virtual QCString trClass(bool first_capital, bool singular)
00919     { 
00920       QCString result((first_capital ? "Klas" : "klas"));
00921       result+= (singular ? "a" : "e");
00922       return result; 
00923     }
00924 
00929     virtual QCString trFile(bool first_capital, bool singular)
00930     { 
00931       QCString result((first_capital ? "Datotek" : "datotek"));
00932       result+= (singular ? "a" : "e");
00933       return result; 
00934     }
00935 
00940     virtual QCString trNamespace(bool first_capital, bool singular)
00941     { 
00942                 QCString result;
00943                 if (singular)
00944                         result = ((first_capital ? "Imenik" : "imenik"));
00945                 else
00946                         result = ((first_capital ? "Imenici" : "imenici"));
00947       return result; 
00948     }
00949 
00954     virtual QCString trGroup(bool first_capital, bool singular)
00955     { 
00956       QCString result((first_capital ? "Grup" : "grup"));
00957       result+= (singular ? "a" : "e");
00958       return result; 
00959     }
00960 
00965     virtual QCString trPage(bool first_capital, bool singular)
00966     { 
00967       QCString result((first_capital ? "Stranic" : "stranic"));
00968       result+= (singular ? "a" : "e");
00969       return result; 
00970     }
00971 
00976     virtual QCString trMember(bool first_capital, bool singular)
00977     { 
00978       QCString result((first_capital ? "Član" : "član"));
00979       if (!singular)  result+="ovi";
00980       return decode(result); 
00981     }
00982    
00987     virtual QCString trGlobal(bool first_capital, bool singular)
00988     { 
00989       QCString result((first_capital ? "G" : "g"));
00990           if( singular )
00991                   result += "lobalna varijabla";
00992           else
00993                   result += "lobalne varijable";
00994 
00995           return result; 
00996     }
00997 
00999 // new since 1.2.7
01001 
01004     virtual QCString trAuthor(bool first_capital, bool singular)
01005     {                                                                         
01006       QCString result((first_capital ? "Autor" : "autor"));
01007       if (!singular)  result+="i";
01008       return result; 
01009     }
01010 
01012 // new since 1.2.11
01014 
01017     virtual QCString trReferences()
01018     {
01019       return "Reference";
01020     }
01022 // new since 1.2.13
01024 
01028     virtual QCString trImplementedFromList(int numEntries)
01029     {
01030       return "Implementira "+trWriteList(numEntries)+".";
01031     }
01032 
01036     virtual QCString trImplementedInList(int numEntries)
01037     {
01038       return "Implementirano u "+trWriteList(numEntries)+".";
01039     }
01041 // new since 1.2.16
01043 
01047     virtual QCString trRTFTableOfContents()
01048     {
01049       return decode("Sadržaj");
01050     }
01052 // new since 1.2.17
01054 
01058     virtual QCString trDeprecatedList()
01059     {
01060       return "Popis zastarjelih metoda";
01061     }
01063 // new since 1.2.18
01065 
01069     virtual QCString trEvents()
01070     {
01071       return decode("Dogašaji");
01072     }
01074     virtual QCString trEventDocumentation()
01075     {
01076       return decode("Dokumentacija dogašaja");
01077     }
01079 // new since 1.3
01081 
01084     virtual QCString trPackageTypes()
01085     { 
01086       return "Tipovi u paketu";
01087     }
01091     virtual QCString trPackageMembers()
01092     { 
01093       return "Funkcije u paketu";
01094     }
01098     virtual QCString trStaticPackageMembers()
01099     { 
01100       return decode("Statičke funkcije u paketu");
01101     }
01105     virtual QCString trPackageAttribs()
01106     { 
01107       return "Atributi u paketu";
01108     }
01112     virtual QCString trStaticPackageAttribs()
01113     { 
01114       return decode("Statički atributi u paketu");
01115     }
01117         // new since 1.3.1
01119 
01123         virtual QCString trAll()
01124         {
01125                 return "Sve";
01126         }
01128         virtual QCString trCallGraph()
01129         {
01130                 return "Ovo je dijagram poziva za ovu funkciju:";
01131         }
01132 
01134         // new since 1.3.3
01136 
01141         virtual QCString trSearchForIndex()
01142         {
01143                 return decode("Traži");
01144         }
01148         virtual QCString trSearchResultsTitle()
01149         {
01150                 return "Rezultati pretrage";
01151         }
01160         virtual QCString trSearchResults(int numDocuments)
01161         {
01162                 if (numDocuments==0)
01163                 {
01164                         return decode("Nema dokumenta koji odgovaraju vašem upitu");
01165                 }
01166                 else if (numDocuments==1)
01167                 {
01168                         return decode("Našen <b>1</b> dokument koji odgovara vašem upitu.");
01169                 }
01170                 else if (numDocuments<5) 
01171                 {
01172                         // croatian handle numbers up to 5 differently 
01173                         // For those of you who like to read comments :
01174                         // There are only 4 men in the world in croatian.
01175                         // We say 1 čovjek (man), 2 čovjeka, 3 čovjeka , 4 čovjeka , but 5, 6, 7 ... ljudi (people)
01176                         // That's deep, isn't it :-)?
01177                         return decode("Našena <b>$num</b> dokumenta koji odgovaraju vašem upitu."
01178                                 "Najbolji su prikazani prvi.");
01179                 }
01180                 else 
01181                 {
01182                         return decode("Našeno <b>$num</b> dokumenata koji odgovaraju vašem upitu."
01183                                 "Najbolji su prikazani prvi.");
01184                 }
01185         }
01189         virtual QCString trSearchMatches()
01190         {
01191                 return decode("Pronašeno:");
01192         }
01193 
01195 // new since 1.3.8
01197 
01200     virtual QCString trSourceFile(QCString& filename)
01201     {
01202       return "Izvorni kod datoteke " + filename;
01203     }
01204 
01206 // new since 1.3.9
01208 
01212     virtual QCString trDirIndex()
01213     { return "Stablo direktorija"; }
01214 
01218     virtual QCString trDirDocumentation()
01219     { return "Dokumentacija direktorija"; }
01220 
01224     virtual QCString trDirectories()
01225     { return "Direktoriji"; }
01226 
01230     virtual QCString trDirDescription()
01231     { return "Stablo direktorija sortirano abecednim redom:"; }
01232 
01236     virtual QCString trDirReference(const char *dirName)
01237     { QCString result= "Opis direktorija "; result += dirName; return result; }
01238 
01242     virtual QCString trDir(bool first_capital, bool singular)
01243     { 
01244       QCString result((first_capital ? "Direktorij" : "direktorij"));
01245       if (!singular) result+="i"; 
01246       return result; 
01247     }
01249 // new since 1.4.1
01251 
01255     virtual QCString trOverloadText()
01256     {
01257        return decode("Ovo je preoptereęena funkcija (overload). "
01258               "Razlikuje se od navedene metode "
01259               "samo po vrsti argumenata koje prihvata.");
01260     }
01261 
01263 // new since 1.4.6
01265 
01267     virtual QCString trCallerGraph()
01268     {
01269       return "Ovo je graf funkcija koje pozivaju ovu funkciju:";
01270     }
01271 
01275     virtual QCString trEnumerationValueDocumentation()
01276     { return "Dokumentacija enumeracija"; }
01278 // new since 1.5.4 (mainly for Fortran)
01280 
01282     virtual QCString trMemberFunctionDocumentationFortran()
01283     { return "Dokumentacija member funkcija/subrutina"; }
01284 
01286     virtual QCString trCompoundListFortran()
01287     { return "Lista tipova podataka"; }
01288 
01290     virtual QCString trCompoundMembersFortran()
01291     { return "Polja"; }
01292 
01294     virtual QCString trCompoundListDescriptionFortran()
01295     { return "Tipovi podataka s kratkim opisom:"; }
01296 
01298     virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
01299     {
01300       QCString result="Lista svih ";
01301       if (!extractAll)
01302       {
01303         result+="dokumentiranih ";
01304       }
01305       result+="polja";
01306       result+=" s linkovima na ";
01307       if (!extractAll) 
01308       {
01309         result+="dokumentaciju struktura podataka za svako polje";
01310       }
01311       else 
01312       {
01313         result+="strukture kojima pripadaju:";
01314       }
01315       return result;
01316     }
01317 
01321     virtual QCString trCompoundIndexFortran()
01322     { return "Kazalo data tipova"; }
01323 
01327     virtual QCString trTypeDocumentation()
01328     { return "Dokumentacija tipova podataka"; }
01329 
01333     virtual QCString trSubprograms()
01334     { return "Funkcije/Subrutine"; }
01335 
01339     virtual QCString trSubprogramDocumentation()
01340     { return "Documentacija funkcija/subrutina"; }
01341 
01345     virtual QCString trDataTypes()
01346     { return "Tipovi podataka"; }
01347 
01349     virtual QCString trModulesList()
01350     { return "Popis modula"; }
01351 
01353     virtual QCString trModulesListDescription(bool extractAll)
01354     {
01355       QCString result="Lista svih ";
01356       if (!extractAll) result+="dokumentiranih ";
01357       result+="modula s kratkim opisom:";
01358       return result;
01359     }
01360 
01362     virtual QCString trCompoundReferenceFortran(const char *clName,
01363       ClassDef::CompoundType compType,
01364       bool isTemplate)
01365     {
01366       QCString result=(QCString)clName;
01367       switch(compType)
01368       {
01369       case ClassDef::Class:      result+=" Modul"; break;
01370       case ClassDef::Struct:     result+=" Tip"; break;
01371       case ClassDef::Union:      result+=" Unija"; break;
01372       case ClassDef::Interface:  result+=" Sučelje"; break;
01373       case ClassDef::Protocol:   result+=" Protokol"; break;
01374       case ClassDef::Category:   result+=" Kategorija"; break;
01375       case ClassDef::Exception:  result+=" Iznimka"; break;
01376       }
01377       if (isTemplate) result+=" Predložak";
01378       result+=" Referenca";
01379       return result;
01380     }
01382     virtual QCString trModuleReference(const char *namespaceName)
01383     {
01384       QCString result=namespaceName;
01385       result+=" - Sadržaj modula";        
01386       return result;
01387     }
01388 
01390     virtual QCString trModulesMembers()
01391     { return "Članovi modula"; }
01392 
01394     virtual QCString trModulesMemberDescription(bool extractAll)
01395     { 
01396       QCString result="Lista svih ";
01397       if (!extractAll) result+="dokumentiranih ";
01398       result+="članova modula s linkovima na ";
01399       if (extractAll) 
01400       {
01401         result+="dokumentaciju modula za svaki član:";
01402       }
01403       else 
01404       {
01405         result+="modul kojem pripadaju:";
01406       }
01407       return result;
01408     }
01409 
01413     virtual QCString trModulesIndex()
01414     { return "Kazalo modula"; }
01415 
01420     virtual QCString trModule(bool first_capital, bool singular)
01421     {       
01422       QCString result((first_capital ? "Modul" : "modul"));
01423       if (!singular)  result+="i";
01424       return result; 
01425     }
01429     virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
01430       bool)
01431     { // here s is one of " Module", " Struct" or " Union"
01432       // single is true implies a single file
01433       QCString result=(QCString)"Dokumentacija ovog ";
01434       switch(compType)
01435       {
01436       case ClassDef::Class:      result+="modula"; break;
01437       case ClassDef::Struct:     result+="tipa"; break;
01438       case ClassDef::Union:      result+="unije"; break;
01439       case ClassDef::Interface:  result+="sučelja"; break;
01440       case ClassDef::Protocol:   result+="protokola"; break;
01441       case ClassDef::Category:   result+="kategorije"; break;
01442       case ClassDef::Exception:  result+="iznimke"; break;
01443       }
01444       result+=" je generirana iz :";
01445       return result;
01446     }
01451     virtual QCString trType(bool first_capital, bool singular)
01452     { 
01453       QCString result((first_capital ? "Tip" : "tip"));
01454       if (!singular)  result+="ovi";
01455       return result; 
01456     }
01461     virtual QCString trSubprogram(bool first_capital, bool singular)
01462     { 
01463       QCString result((first_capital ? "Subprogram" : "subprogram"));
01464       if (!singular)  result+="i";
01465       return result; 
01466     }
01467 
01469     virtual QCString trTypeConstraints()
01470     {
01471       return "Ograničenja za tip podataka";
01472     }
01473 };
01474 
01475 #endif
01476 
01477 



Generated on Mon Mar 31 10:58:46 2008 by  doxygen 1.5.1