/****************************************************************************** * * * * Copyright (C) 1997-2015 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. * * ----------------------------------------------------------------------------*/ // Updates: // -------- // 2013/05/14 - Updates for "new since 1.8.4". // 2012/08/02 - Updates for "new since 1.8.2". // 2012/04/18 - Updates for "new since 1.8.0". // 2011/07/28 - Updates for "new since 1.7.5". // 2010/06/04 - big leap from 1.2.18 to 1.6.3+ // // Slovak translation started by Stanislav Kudlac (skudlac at pobox dot sk). // He resigned in March 2008 (thanks for the work). Until a "native Slovak" // maintainer is found, the TranslatorSlovak is maintained by Petr Prikryl with // Slovak speaking Kali and Laco Švec. // ---------------------------------------------------------------------------- #ifndef TRANSLATOR_SK_H #define TRANSLATOR_SK_H class TranslatorSlovak : public Translator { public: // --- Language control methods ------------------- virtual QCString idLanguage() { return "slovak"; } virtual QCString latexLanguageSupportCommand() { return "\\usepackage[slovak]{babel}\n"; } // --- Language translation methods ------------------- /*! used in the compound documentation before a list of related functions. */ virtual QCString trRelatedFunctions() { return "Súvisiace funkcie"; } /*! subscript for the related functions. */ virtual QCString trRelatedSubscript() { return "(Uvedené funkcie niesú členskými funkciami.)"; } /*! header that is put before the detailed description of files, classes and namespaces. */ virtual QCString trDetailedDescription() { return "Detailný popis"; } /*! header that is put before the list of typedefs. */ virtual QCString trMemberTypedefDocumentation() { return "Dokumentácia k členským typom"; } /*! header that is put before the list of enumerations. */ virtual QCString trMemberEnumerationDocumentation() { return "Dokumentácia k členským enumeráciám"; } /*! header that is put before the list of member functions. */ virtual QCString trMemberFunctionDocumentation() { return "Dokumentácia k metódam"; } /*! header that is put before the list of member attributes. */ virtual QCString trMemberDataDocumentation() { if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) { return "Dokumentácia k položkám"; } else { return "Dokumentácia k dátovým členom"; } } /*! this is the text of a link put after brief descriptions. */ virtual QCString trMore() { return "..."; } /*! put in the class documentation */ virtual QCString trListOfAllMembers() { return "Zoznam všetkých členov"; } /*! used as the title of the "list of all members" page of a class */ virtual QCString trMemberList() { return "Zoznam členov triedy"; } /*! this is the first part of a sentence that is followed by a class name */ virtual QCString trThisIsTheListOfAllMembers() { return "Tu nájdete úplný zoznam členov triedy "; } /*! this is the remainder of the sentence after the class name */ virtual QCString trIncludingInheritedMembers() { return ", vrátane všetkých zdedených členov."; } /*! 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("Generované automaticky programom Doxygen " "zo zdrojových textov"); if (s) result+=(QCString)" projektu "+s; result+="."; return result; } /*! put after an enum name in the list of all members */ virtual QCString trEnumName() { return "meno enumerácie"; } /*! put after an enum value in the list of all members */ virtual QCString trEnumValue() { return "hodnota enumerácie"; } /*! put after an undocumented member in the list of all members */ virtual QCString trDefinedIn() { return "definovaný v"; } // quick reference sections /*! 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 "Moduly"; } /*! This is put above each page as a link to the class hierarchy */ virtual QCString trClassHierarchy() { return "Hierarchia tried"; } /*! 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 "Dátové štruktúry"; } else { return "Zoznam tried"; } } /*! This is put above each page as a link to the list of documented files */ virtual QCString trFileList() { return "Zoznam súborov"; } /*! 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 "Dátové položky"; } else { return "Zoznam členov tried"; } } /*! 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 "Globálne symboly"; } else { return "Symboly v súboroch"; } } /*! This is put above each page as a link to all related pages. */ virtual QCString trRelatedPages() { return "Ostatné stránky"; } /*! This is put above each page as a link to all examples. */ virtual QCString trExamples() { return "Príklady"; } /*! This is put above each page as a link to the search engine. */ virtual QCString trSearch() { return "Hľadať"; } /*! This is an introduction to the class hierarchy. */ virtual QCString trClassHierarchyDescription() { return "Tu nájdete zoznam, vyjadrujúci vzťah dedičnosti tried. " "Je zoradený približne (ale nie úplne) podľa abecedy:"; } /*! This is an introduction to the list with all files. */ virtual QCString trFileListDescription(bool extractAll) { QCString result("Tu nájdete zoznam všetkých "); if (!extractAll) result+="dokumentovaných "; result+="súborov so stručnými popismi:"; return result; } /*! This is an introduction to the annotated compound list. */ virtual QCString trCompoundListDescription() { if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) { return "Nasledujúci zoznam obsahuje identifikáciu dátových " "štruktúr a ich stručné popisy:"; } else { return "Nasledujúci zoznam obsahuje predovšetkým identifikáciu " "tried, ale nachádzajú sa tu i ďalšie netriviálne prvky, " "ako sú štruktúry (struct), uniony (union) a rozhrania " "(interface). V zozname sú uvedené ich stručné " "popisy:"; } } /*! This is an introduction to the page with all class members. */ virtual QCString trCompoundMembersDescription(bool extractAll) { QCString result= "Tu nájdete zoznam všetkých "; if (!extractAll) { result += "dokumentovaných "; } if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) { result += "položiek štruktúr (struct) a unionov (union) "; } else { result += "členov tried "; } result += "s odkazmi na "; if (!extractAll) { if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) { result += "dokumentáciu štruktúr/unionov, ku ktorým prislúchajú:"; } else { result += "dokumentáciu tried, ku ktorým prislúchajú:"; } } else { if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) { result+="štruktúry/uniony, ku ktorým prislúchajú:"; } else { result+="triedy, ku ktorým prislúchajú:"; } } return result; } /*! This is an introduction to the page with all file members. */ virtual QCString trFileMembersDescription(bool extractAll) { QCString result="Tu nájdete zoznam všetkých "; if (!extractAll) result+="dokumentovaných "; if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) { result+="funkcií, premenných, makier, enumerácií a definícií typov (typedef) " "s odkazmi na "; } else { result+="symbolov, ktoré sú definované na úrovni svojich súborov. " "Pre každý symbol je uvedený odkaz na "; } if (extractAll) result+="súbory, ku ktorým prislúchajú:"; else result+="dokumentáciu:"; return result; } /*! This is an introduction to the page with the list of all examples */ virtual QCString trExamplesDescription() { return "Tu nájdete zoznam všetkých príkladov:"; } /*! This is an introduction to the page with the list of related pages */ virtual QCString trRelatedPagesDescription() { return "Nasledujúci zoznam odkazuje na ďalšie stránky projektu, " "ktoré majú charakter usporiadaných zoznamov informácií, " "pozbieraných z rôznych miest v zdrojových súboroch:"; } /*! This is an introduction to the page with the list of class/file groups */ virtual QCString trModulesDescription() { return "Tu nájdete zoznam všetkých modulov:"; } // index titles (the project name is prepended for these) /*! This is used in HTML as the title of index.html. */ virtual QCString trDocumentation() { return "Dokumentácia"; } /*! This is used in LaTeX as the title of the chapter with the * index of all groups. */ virtual QCString trModuleIndex() { return "Register modulov"; } /*! This is used in LaTeX as the title of the chapter with the * class hierarchy. */ virtual QCString trHierarchicalIndex() { return "Register hierarchie tried"; } /*! 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 "Register dátových štruktúr"; } else { return "Register tried"; } } /*! This is used in LaTeX as the title of the chapter with the * list of all files. */ virtual QCString trFileIndex() { return "Register súborov"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all groups. */ virtual QCString trModuleDocumentation() { return "Dokumentácia modulov"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all classes, structs and unions. */ virtual QCString trClassDocumentation() { return "Dokumentácia tried"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all files. */ virtual QCString trFileDocumentation() { return "Dokumentácia súborov"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all examples. */ virtual QCString trExampleDocumentation() { return "Dokumentácia príkladov"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all related pages. */ virtual QCString trPageDocumentation() { return "Dokumentácia súvisiacich stránok"; } /*! This is used in LaTeX as the title of the document */ virtual QCString trReferenceManual() { return "Referenčná príručka"; } /*! This is used in the documentation of a file as a header before the * list of defines */ virtual QCString trDefines() { return "Definícia makier"; } /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() { return "Definícia typov"; } /*! This is used in the documentation of a file as a header before the * list of enumerations */ virtual QCString trEnumerations() { return "Enumerácie"; } /*! This is used in the documentation of a file as a header before the * list of (global) functions */ virtual QCString trFunctions() { return "Funkcie"; } /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trVariables() { return "Premenné"; } /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trEnumerationValues() { return "Hodnoty enumerácií"; } /*! This is used in the documentation of a file before the list of * documentation blocks for defines */ virtual QCString trDefineDocumentation() { return "Dokumentácia k definíciám makier"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() { return "Dokumentácia definícií typov"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration types */ virtual QCString trEnumerationTypeDocumentation() { return "Dokumentácia enumeračných typov"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for functions */ virtual QCString trFunctionDocumentation() { return "Dokumentácia funkcií"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for variables */ virtual QCString trVariableDocumentation() { return "Dokumentácia premenných"; } /*! 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 "Dátové štruktúry"; } else { return "Triedy"; } } /*! 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)"Generované "+date; if (projName) result+=(QCString)" pre projekt "+projName; result+=(QCString)" programom"; return result; } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) { return (QCString)"Diagram dedičnosti pre triedu "+clName; } /*! this text is generated when the \\internal command is used. */ virtual QCString trForInternalUseOnly() { return "Iba pre interné použitie."; } /*! this text is generated when the \\warning command is used. */ virtual QCString trWarning() { return "Pozor"; } /*! this text is generated when the \\version command is used. */ virtual QCString trVersion() { return "Verzia"; } /*! this text is generated when the \\date command is used. */ virtual QCString trDate() { return "Dátum"; } /*! this text is generated when the \\return command is used. */ virtual QCString trReturns() { return "Návratová hodnota"; } /*! this text is generated when the \\sa command is used. */ virtual QCString trSeeAlso() { return "Viz tiež"; } /*! this text is generated when the \\param command is used. */ virtual QCString trParameters() { return "Parametre"; } /*! this text is generated when the \\exception command is used. */ virtual QCString trExceptions() { return "Výnimky"; } /*! this text is used in the title page of a LaTeX document. */ virtual QCString trGeneratedBy() { return "Generované programom"; } // new since 0.49-990307 /*! used as the title of page containing all the index of all namespaces. */ virtual QCString trNamespaceList() { return "Zoznam priestorov mien"; } /*! used as an introduction to the namespace list */ virtual QCString trNamespaceListDescription(bool extractAll) { QCString result="Tu nájdete zoznam všetkých "; if (!extractAll) result+="dokumentovaných "; result+="priestorov mien so stručným popisom:"; return result; } /*! used in the class documentation as a header before the list of all * friends of a class */ virtual QCString trFriends() { return "Priatelia (friends)"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 ////////////////////////////////////////////////////////////////////////// /*! used in the class documentation as a header before the list of all * related classes */ virtual QCString trRelatedFunctionDocumentation() { return "Dokumentácia k priateľom (friends)"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// /*! used as the title of the HTML page of a class/struct/union */ virtual QCString trCompoundReference(const char *clName, ClassDef::CompoundType compType, bool isTemplate) { QCString result("Dokumentácia "); if (isTemplate) result+="šablóny "; switch(compType) { case ClassDef::Class: result+="triedy "; break; case ClassDef::Struct: result+="štruktúry "; break; case ClassDef::Union: result+="unionu "; break; case ClassDef::Interface: result+="rozhrania "; break; case ClassDef::Protocol: result+="protokol "; break; case ClassDef::Category: result+="kategória "; break; case ClassDef::Exception: result+="výnimky "; break; default: break; } result+=clName; return result; } /*! used as the title of the HTML page of a file */ virtual QCString trFileReference(const char *fileName) { QCString result("Dokumentácia súboru "); result+=fileName; return result; } /*! used as the title of the HTML page of a namespace */ virtual QCString trNamespaceReference(const char *namespaceName) { QCString result("Dokumentácia priestoru mien "); result+=namespaceName; return result; } /* these are for the member sections of a class, struct or union */ virtual QCString trPublicMembers() { return "Verejné metódy"; } virtual QCString trPublicSlots() { return "Verejné sloty"; } virtual QCString trSignals() { return "Signály"; } virtual QCString trStaticPublicMembers() { return "Statické verejné metódy"; } virtual QCString trProtectedMembers() { return "Chránené metódy"; } virtual QCString trProtectedSlots() { return "Chránené sloty"; } virtual QCString trStaticProtectedMembers() { return "Statické chránené metódy"; } virtual QCString trPrivateMembers() { return "Privátne metódy"; } virtual QCString trPrivateSlots() { return "Privátne sloty"; } virtual QCString trStaticPrivateMembers() { return "Statické privátne metódy"; } /*! this function is used to produce a comma-separated list of items. * use generateMarker(i) to indicate where item i should be put. */ virtual QCString trWriteList(int numEntries) { QCString result; int i; // the inherits list contain `numEntries' classes for (i=0;i