diff -r 932c358ece3e -r d8fccb2cd802 Orb/Doxygen/src/translator_hr.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Orb/Doxygen/src/translator_hr.h Fri Apr 23 20:47:58 2010 +0100 @@ -0,0 +1,1483 @@ +/****************************************************************************** + * + * + * + * Copyright (C) 1997-2008 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 + * for any purpose. It is provided "as is" without express or implied warranty. + * See the GNU General Public License for more details. + * + * Documents produced by Doxygen are derivative works derived from the + * input used in their production; they are not affected by this license. + * +*/ +// translation by Boris Bralo +// Updates: +// -------- +// 2000/08/20 +// - Better handling of ISO-8859-2/ WIN 1250 stuff based on (actualy stolen from :-)) Czech translations +// implemented by Petr Prikryl (prikrylp@skil.cz). +// As opposed to Czech translation this one assumes that Doxygen strings are written in Linux ( it's true, +// I don't have QT pro licence ) , and uses ISOToWin function when built in WIN32 +// +// 2000/09/18 +// - Added strings from 1.2.1 +// - Removed unneeeded decode() calls +// - Changed some CS terminology +// +// 2001/01/22 +// - Added strings from 1.2.4 +// +// 2001/05/25 +// - Added strings and up to and including 1.2.7_20010524 +// - Removed obsolete method trFiles() +// - Removed obsolete method trAuthor() +// - Removed obsolete method trAuthor() +// - Removed obsolete method trVerbatimHeadert() +// - Method latexBabelPackage() removed, ude latexLanguageSupportCommand +// +// 2001/11/13 +// - inherits from Translator +// - Added strings for 1.2.11 +// - better output for C documentation (trCompoundMembersDescription(), trClassDocumentation()) +// +// 2001/11/13 +// - Added strings for 1.2.13 +// +// 2003/02/26 +// - Added strings for 1.2.18 +// +// 2003/04/29 +// - Added strings for 1.3.0 +// +// 2004/06/21 +// - Added strings for 1.3.8 +// +// 2004/09/15 +// - Added strings for 1.3.9 +// +// 2005/02/28 +// - Removed obsolete (unused) methods +// +// 2005/03/21 +// - Added strings for 1.4.1 +// +// 2006/06/11 +// - Added strings for 1.4.6 +// +// 2009/01/09 +// - Updated trLegendDocs +// +#ifndef TRANSLATOR_HR_H +#define TRANSLATOR_HR_H + +class TranslatorCroatian : public TranslatorAdapter_1_6_0 +{ + private: + /*! to avoid macro redefinition from translator_cz.h */ + inline QCString decode(const QCString& sInput) + { + //if (Config_getBool("USE_WINDOWS_ENCODING")) + //{ + // return ISO88592ToWin1250(sInput); + //} + //else + //{ + return sInput; + //} + } + + public: + QCString idLanguage() + { return "croatian"; } + QCString idLanguageCharset() + { + //if (Config_getBool("USE_WINDOWS_ENCODING")) + //{ + // return "windows-1250"; + //} + //else + //{ + return "iso-8859-2"; + //} + } + QCString latexLanguageSupportCommand() + { return "\\usepackage[croatian]{babel}\n"; } + QCString trRelatedFunctions() + { return "Povezane funkcije"; } + QCString trRelatedSubscript() + { return "(To nisu member funkcije.)"; } + QCString trDetailedDescription() + { return decode("Detaljno objašnjenje"); } + QCString trMemberTypedefDocumentation() + { return decode("Dokumentacija typedef članova"); } + QCString trMemberEnumerationDocumentation() + { return decode("Dokumentacija enumeracijskih članova"); } + QCString trMemberFunctionDocumentation() + { return "Dokumentacija funkcija"; } + QCString trMemberDataDocumentation() + { return "Documentacija varijabli"; } + QCString trMore() + { return decode("Opširnije..."); } + QCString trListOfAllMembers() + { return decode("Popis svih članova."); } + QCString trMemberList() + { return decode("Popis članova."); } + QCString trThisIsTheListOfAllMembers() + { return decode("Ovo je popis svih članova"); } + QCString trIncludingInheritedMembers() + { return decode(", uključujući naslijeđene članove."); } + QCString trGeneratedAutomatically(const char *s) + { QCString result=decode("generirano automatski Doxygen-om"); + if (s) result+=(QCString)" za "+s; + result+=" iz programskog koda."; + return decode(result); + } + QCString trEnumName() + { return decode("enum ime"); } + QCString trEnumValue() + { return decode("enum vrijednost"); } + QCString trDefinedIn() + { return decode("definirano u"); } + QCString trModules() + { return "Moduli"; } + QCString trClassHierarchy() + { return "Stablo klasa"; } + QCString trCompoundList() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Sve strukture"; + } + else + { + return "Sve klase"; + } + } + QCString trFileList() + { return "Popis datoteka"; } + QCString trCompoundMembers() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + return decode("Svi članovi struktura"); + else + return decode("Svi članovi klasa"); + } + QCString trFileMembers() + { return decode("Članovi klasa u datoteci"); } + QCString trRelatedPages() + { return decode("Stranice povezane s ovom"); } + QCString trExamples() + { return "Primjeri"; } + QCString trSearch() + { return decode("Traži"); } + QCString trClassHierarchyDescription() + { return decode("Stablo naslijeđivanja je složeno " + "približno po abecedi:"); + } + QCString trFileListDescription(bool extractAll) + { + QCString result="Popis svih "; + if (!extractAll) result+="dokumentiranih "; + result+="datoteka, s kratkim opisom:"; + return decode(result); + } + QCString trCompoundListDescription() + { return "Popis svih klasa, unija i struktura " + "s kratkim opisom :"; + } + QCString trCompoundMembersDescription(bool extractAll) + { + QCString result="Popis svih "; + if (!extractAll) + result+="dokumentiranih "; + + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + result+="članova klasa s linkovima na "; + else + result+="članova struktura s linkovima na "; + + if (!extractAll) + { + result+="dokumentaciju svakog člana:"; + } + else + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + result+="dokumentaciju klase :"; + else + result +="dokumentaciju strukture"; + } + return decode(result); + } + QCString trFileMembersDescription(bool extractAll) + { + QCString result="Popis svih "; + if (!extractAll) + result+="dokumentiranih "; + result+="članova s linkovima na "; + if (extractAll) + result+="dokumentaciju datoteke u kojima se nalaze:"; + else + result+="datoteke u kojima se nalaze:"; + return decode(result); + } + QCString trExamplesDescription() + { return "Popis primjera :"; } + QCString trRelatedPagesDescription() + { return "Popis povezanih stranica:"; } + QCString trModulesDescription() + { return "Popis svih modula:"; } + + QCString trDocumentation() + { return "Dokumentacija"; } + QCString trModuleIndex() + { return "Kazalo modula"; } + QCString trHierarchicalIndex() + { return "Hijerarhijsko kazalo"; } + QCString trCompoundIndex() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Kazalo struktura podataka"; + } + else + { + return "Skupno kazalo "; + } + } + QCString trFileIndex() + { return "Kazalo datoteka"; } + QCString trModuleDocumentation() + { return "Dokumentacija modula"; } + QCString trClassDocumentation() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Dokumentacija struktura podataka"; + } + else + { + return "Dokumentacija klasa"; + } + } + QCString trFileDocumentation() + { return "Dokumentacija datoteka"; } + QCString trExampleDocumentation() + { return "Dokumentacija primjera"; } + QCString trPageDocumentation() + { return "Dokumentacija vezane stranice"; } + QCString trReferenceManual() + { return decode("Priručnik"); } + + QCString trDefines() + { return "Definicije"; } + QCString trFuncProtos() + { return "Prototipi funkcija"; } + QCString trTypedefs() + { return "Typedef-ovi"; } + QCString trEnumerations() + { return "Enumeracije"; } + QCString trFunctions() + { return "Funkcije"; } + QCString trVariables() + { return "Varijable"; } + QCString trEnumerationValues() + { return "Vrijednosti enumeracija"; } + QCString trDefineDocumentation() + { return "Dokumentacija definicija"; } + QCString trFunctionPrototypeDocumentation() + { return "Dokumentacija prototipa funkcije"; } + QCString trTypedefDocumentation() + { return "Dokumentacija typedef-a"; } + QCString trEnumerationTypeDocumentation() + { return "Dokumentacija enumeracijskog tipa"; } + QCString trFunctionDocumentation() + { return "Dokumentacije funkcija"; } + QCString trVariableDocumentation() + { return "Dokumentacija varijable"; } + QCString trCompounds() + { return "Strukture"; } + QCString trGeneratedAt(const char *date,const char *projName) + { + QCString result=(QCString)"Generirano "+date; + if (projName) result+=(QCString)" projekt: "+projName; + result+=" generator: "; + return decode(result); + } + QCString trWrittenBy() + { + return decode("napisao "); + } + QCString trClassDiagram(const char *clName) + { + return decode("Dijagram klasa za ")+clName; + } + QCString trForInternalUseOnly() + { return decode("Isključivo za internu uporabu."); } + QCString trWarning() + { return "Upozorenje"; } + QCString trVersion() + { return "Verzija"; } + QCString trDate() + { return "Datum"; } + QCString trReturns() + { return "Povratne vrijednosti"; } + QCString trSeeAlso() + { return decode("Vidi također"); } + QCString trParameters() + { return "Parametri"; } + QCString trExceptions() + { return "Iznimke"; } + QCString trGeneratedBy() + { return "Generirao"; } + +////////////////////////////////////////////////////////////////////////// +// new since 0.49-990307 +////////////////////////////////////////////////////////////////////////// + + QCString trNamespaceList() + { return "Popis imenika"; } + QCString trNamespaceListDescription(bool extractAll) + { + QCString result="Popis svih "; + if (!extractAll) result+="dokumentiranih "; + result+="imenika s kratkim opisom:"; + return decode(result); + } + QCString trFriends() + { return decode("Friend-ovi "); } + +////////////////////////////////////////////////////////////////////////// +// new since 0.49-990405 +////////////////////////////////////////////////////////////////////////// + + QCString trRelatedFunctionDocumentation() + { return "Dokumentacija povezanih funkcija"; } + +////////////////////////////////////////////////////////////////////////// +// new since 0.49-990425 +////////////////////////////////////////////////////////////////////////// + + QCString trCompoundReference(const char *clName, + ClassDef::CompoundType compType, + bool /*isTemplate*/) + // used as the title of the HTML page of a class/struct/union + { + QCString result="Opis "; + switch(compType) + { + case ClassDef::Class: result+=" klase "; break; + case ClassDef::Struct: result+=" strukture "; break; + case ClassDef::Union: result+=" unije "; break; + case ClassDef::Interface: result+=" sučelja (interface) "; break; + case ClassDef::Protocol: result+=" protokola "; break; + case ClassDef::Category: result+=" kategorije "; break; + case ClassDef::Exception: result+=" iznimke (exception) "; break; + } + result += clName; + + return decode(result); + } + QCString trFileReference(const char *fileName) + // used as the title of the HTML page of a file + { + QCString result="Opis datoteke "; + result+=fileName; + return decode(result); + } + QCString trNamespaceReference(const char *namespaceName) + // used as the title of the HTML page of a namespace + { + QCString result ="Opis imenika "; + result+=namespaceName; + + return decode(result); + } + + // these are for the member sections of a class, struct or union + QCString trPublicMembers() + { return decode("Public članovi"); } + QCString trPublicSlots() + { return "Public slotovi"; } + QCString trSignals() + { return "Signali"; } + QCString trStaticPublicMembers() + { return decode("Static public članovi"); } + QCString trProtectedMembers() + { return decode("Protected članovi"); } + QCString trProtectedSlots() + { return "Protected slotovi"; } + QCString trStaticProtectedMembers() + { return decode("Static protected članovi"); } + QCString trPrivateMembers() + { return decode("Privatni članovi"); } + QCString trPrivateSlots() + { return decode("Privatni slotovi"); } + QCString trStaticPrivateMembers() + { return decode("Statični privatni članovi"); } + // end of member sections + + QCString trWriteList(int numEntries) + { + // this function is used to produce a comma-separated list of items. + // use generateMarker(i) to indicate where item i should be put. + QCString result; + int i; + // the inherits list contain `numEntries' classes + for (i=0;i