/****************************************************************************** * * * * 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. * */ #ifndef TRANSLATOR_CZ_H #define TRANSLATOR_CZ_H // Updates: // -------- // 2022/08/25 - Updated for "new since 1.9.4" by: // removed all implicit conversion from QCString to const char *, // fixed issues: #7434, #8404, #9192, // fixed typo and spacing in: `trLegendDocs()`, // fixed plural in: `trTemplateParameters()`, // better translation considering the context: `trMemberTypedefDocumentation()`, // `trMemberEnumerationDocumentation()`, `trMemberFunctionDocumentation()`, // `trMemberDataDocumentation()`, `trDefineDocumentation()`, `trDirDocumentation()`, // `trTypeDocumentation()`. // updated translation in context of non OO languages: `trHierarchicalIndex()` // `trGotoGraphicalHierarchy()`, `trGotoTextualHierarchy()`, `trCompoundMembersFortran()`. // updated translation in: `trNoMatches()`, trPackageAttribs(), trStaticPackageAttribs(). // fixed wrong translation in: `trCompoundReferenceFortran()` of `case ClassDef::Class:`. // unified translation string in: `trGeneratedFromFilesFortran` according to `trGeneratedFromFiles()`. // fixed wrong wording in: `trCompoundReferenceSlice` of `case ClassDef::Interface:` when `isLocal==true`. // minor spacing and comments changes for better convergence to the reference file: `translator_en.h`. // all unclear or fuzzy czech translations marked with ???. // 2021/08/31 - Updated for "new since 1.9.3" by: . // 2021/01/22 - Updated for "new since 1.9.2" by: . // 2013/04/11 - Updates for "new since 1.8.4". // 2012/07/31 - Updates for "new since 1.8.2". // 2012/04/10 - Updates for "new since 1.8.0". // 2011/07/28 - Updates for "new since 1.7.5". // 2010/06/01 - typo // 2010/04/28 - Updates for "new since 1.6.3". // 2009/09/02 - Updates for "new since 1.6.0 (mainly for the new search engine)". // 2008/06/09 - Corrections in trLegendDocs(). // 2007/11/13 - Update for "new since 1.5.4 (mainly for Fortran)". // 2007/03/20 - removing decode(), conversion of literals to UTF-8. // 2006/06/13 - translation of the trEnumerationValueDocumentation(). // and clear in the Czech language. // modified trCallGraph() to make the meaning unambiguous // 2006/05/10 - Update for "new since 1.4.6" -- trCallerGraph(), // 2005/03/08 - Update for "new since 1.4.1" (trOverloadText()) // 2005/02/11 - The "never used" methods removed. // 2004/09/14 - The new methods "since 1.3.9" implemented. // 2004/06/16 - The new method "since 1.3.8" implemented. // 2004/02/27 - Text inside the trCallGraph() corrected. // 2004/02/26 - trLegendDocs() updated. // 2003/08/13 - Four new methods "since 1.3.3" implemented. // 2003/06/10 - Two new methods "since 1.3.1" implemented. // 2003/04/28 - Five new methods "since 1.3" implemented. // 2002/10/15 - The new trEvents() and trEventDocumentation() implemented. // 2002/07/29 - The new trDeprecatedList() implemented. // 2002/07/08 - The new trRTFTableOfContents() implemented. (my birthday! ;) // 2002/03/05 - ... forgot to replace TranslatorAdapter... by Translator. // 2002/01/23 - Two new methods "since 1.2.13" implemented. // 2001/11/06 - trReferences() implemented. // 2001/07/16 - trClassDocumentation() updated as in the English translator. // 2001/05/25 - Corrections. // 2001/05/18 - Updates, corrections. // 2001/05/02 - Decode() inline changed to decode(); cleaning. // level as other translators. // class Translator. The English translator is now on the same // introducing TranslatorAdapter class and the abstract base // 2001/04/20 - Update for "new since 1.2.6-20010422". Experimental version // 2001/04/10 - Updates (1.2.6-20010408), cleaning. // 2001/03/12 - Minor correction of comments (synchronous with translator.h). // 2001/02/26 - Update for "new since 1.2.5" version (trBug(), trBugList()). // 2001/02/15 - trMore() now returns only "..." (ellipsis). // 2001/01/09 - Update for "new since 1.2.4" version. // 2000/10/17 - Update for "new since 1.2.2" version. // 2000/09/11 - Update for "new since 1.2.1" version. // 2000/09/06 - Reimplementation of trInheritsList(). // 2000/08/31 - ISOToWin() and WinToISO() moved to the base class. // 2000/08/30 - Macro DECODE replaced by the inline (thanks to Boris Bralo). // 2000/08/24 - Corrections, updates. // 2000/08/02 - Updated for 1.2.0 // 2000/07/19 - Updates for "new since 1.1.5"; encoding conversion separated. // 2000/07/10 - Update to 1.1.5; conditionally decoding to iso-8859-2 for UNIX. // 2000/06/20 - Prototype: with diacritics; based on ver. 1.1.4 (from scratch). // // The first translation from English to Czech was started by // Vlastimil Havran (1999--2000). The prototype version of Czech strings // with diacritics was implemented by Petr Prikryl (prikrylp@skil.cz), // 2000/06/20. Vlastimil agreed that Petr be the new maintainer. // Todo // ---- // - The trReimplementedFromList() should pass the kind of the // reimplemented element. It can be method, typedef or possibly // something else. It is difficult to find the general translation // for all kinds in the Czech language. /*! When defining a translator class for the new language, follow the description in the documentation. One of the steps says that you should copy the translator_en.h (this) file to your translator_xx.h new file. Your new language should use the Translator class as the base class. This means that you need to implement exactly the same (pure virtual) methods as the TranslatorEnglish does. Because of this, it is a good idea to start with the copy of TranslatorEnglish and replace the strings one by one. It is not necessary to include "translator.h" or "translator_adapter.h" here. The files are included in the language.cpp correctly. Not including any of the mentioned files frees the maintainer from thinking about whether the first, the second, or both files should be included or not, and why. This holds namely for localized translators because their base class is changed occasionally to adapter classes when the Translator class changes the interface, or back to the Translator class (by the local maintainer) when the localized translator is made up-to-date again. */ class TranslatorCzech : public Translator { public: // --- Language control methods ------------------- /*! 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 * the identification used in language.cpp. */ virtual QCString idLanguage() { return "czech"; } /*! 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 *
"\\usepackage[german]{babel}\n"
     *  
* or *
"\\usepackage{polski}\n"
     *  "\\usepackage[latin2]{inputenc}\n"
     *  "\\usepackage[T1]{fontenc}\n"
     *  
* * The English LaTeX does not use such commands. Because of this * the empty string is returned in this implementation. */ virtual QCString latexLanguageSupportCommand() { return "\\usepackage[T2A]{fontenc}\n" "\\usepackage[czech]{babel}\n" "\\usepackage{regexpatch}\n" "\\makeatletter\n" "% Change the `-` delimiter to an active character\n" "\\xpatchparametertext\\@@@cmidrule{-}{\\cA-}{}{}\n" "\\xpatchparametertext\\@cline{-}{\\cA-}{}{}\n" "\\makeatother\n"; } virtual QCString trISOLang() { return "cs"; } virtual QCString getLanguageString() { return "0x405 Czech"; } // --- Language translation methods ------------------- /*! used in the compound documentation before a list of related functions. */ virtual QCString trRelatedFunctions() { return "Související funkce"; } /*! subscript for the related functions. */ virtual QCString trRelatedSubscript() { return "(Uvedené funkce nejsou členskými funkcemi.)"; } /*! 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 "Dokumentace členských typů"; } /*! header that is put before the list of enumerations. */ virtual QCString trMemberEnumerationDocumentation() { return "Dokumentace členských výčtů"; } /*! header that is put before the list of member functions. */ virtual QCString trMemberFunctionDocumentation() { return "Dokumentace členských funkcí"; } /*! header that is put before the list of member attributes. */ virtual QCString trMemberDataDocumentation() { if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) { return "Dokumentace položek"; } else { return "Dokumentace datových členů"; } } /*! this is the text of a link put after brief descriptions. */ virtual QCString trMore() { return "..."; } /*! put in the class documentation */ virtual QCString trListOfAllMembers() { return "Seznam všech členů"; } /*! used as the title of the "list of all members" page of a class */ virtual QCString trMemberList() { return "Seznam členů třídy"; } /*! this is the first part of a sentence that is followed by a class name */ virtual QCString trThisIsTheListOfAllMembers() { return "Zde naleznete úplný seznam členů třídy "; } /*! this is the remainder of the sentence after the class name */ virtual QCString trIncludingInheritedMembers() { return ", včetně všech zděděných členů."; } /*! 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 QCString &s) { QCString result="Vygenerováno automaticky programem Doxygen " "ze zdrojových textů"; if (!s.isEmpty()) result+=" projektu "+s; result+="."; return result; } /*! put after an enum name in the list of all members */ virtual QCString trEnumName() { return "jméno výčtu"; } /*! put after an enum value in the list of all members */ virtual QCString trEnumValue() { return "hodnota výčtu"; } /*! put after an undocumented member in the list of all members */ virtual QCString trDefinedIn() { return "definován 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 "Hierarchie tříd"; } /*! 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 "Datové struktury"; } else { return "Seznam tříd"; } } /*! This is put above each page as a link to the list of documented files */ virtual QCString trFileList() { return "Seznam souborů"; } /*! 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 "Datové položky"; } else { return "Seznam členů tříd"; } } /*! 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ální symboly"; } else { return "Symboly v souborech"; } } /*! 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 "Příklady"; } /*! This is put above each page as a link to the search engine. */ virtual QCString trSearch() { return "Hledat"; } /*! This is an introduction to the class hierarchy. */ virtual QCString trClassHierarchyDescription() { if (Config_getBool(OPTIMIZE_OUTPUT_VHDL)) { return "Zde je hierarchický seznam všech entit:"; } else { return "Zde naleznete seznam, vyjadřující vztah dědičnosti tříd. " "Je seřazen přibližně (ale ne úplně) podle abecedy:"; } } /*! This is an introduction to the list with all files. */ virtual QCString trFileListDescription(bool extractAll) { QCString result="Zde naleznete seznam všech "; if (!extractAll) result+="dokumentovaných "; result+="souborů se stručnými popisy:"; return result; } /*! This is an introduction to the annotated compound list. */ virtual QCString trCompoundListDescription() { if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) { return "Následující seznam obsahuje identifikace datových " "struktur a jejich stručné popisy:"; } else if (Config_getBool(OPTIMIZE_OUTPUT_SLICE)) { return "Následující seznam obsahuje identifikace tříd. " "V seznamu jsou uvedeny jejich stručné popisy:"; } else { return "Následující seznam obsahuje především identifikace " "tříd, ale nacházejí se zde i další netriviální prvky, " "jako jsou struktury (struct), unie (union) a rozhraní " "(interface). V seznamu jsou uvedeny jejich stručné " "popisy:"; } } /*! This is an introduction to the page with all class members. */ virtual QCString trCompoundMembersDescription(bool extractAll) { QCString result="Zde naleznete seznam všech "; if (!extractAll) { result+="dokumentovaných "; } if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) { result+="položek struktur (struct) a unií (union)"; } else { result+="členů tříd"; } result+=" s odkazy na "; if (!extractAll) { if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) { result+="struktury/unie, ke kterým příslušejí:"; } else { result+="třídy, ke kterým příslušejí:"; } } else { if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) { result+="dokumentaci struktur/unií, ke kterým příslušejí:"; } else { result+="dokumentaci tříd, ke kterým příslušejí:"; } } return result; } /*! This is an introduction to the page with all file members. */ virtual QCString trFileMembersDescription(bool extractAll) { QCString result="Zde naleznete seznam všech "; if (!extractAll) result+="dokumentovaných "; if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) { result+="funkcí, proměnných, maker, výčtů a definic typů (typedef) " "s odkazy"; } else { result+="symbolů, které jsou definovány na úrovni svých souborů. " "Pro každý symbol je uveden odkaz"; } result+=" na "; if (extractAll) result+="soubory, ke kterým příslušejí:"; else result+="dokumentaci:"; return result; } /*! This is an introduction to the page with the list of all examples */ virtual QCString trExamplesDescription() { return "Zde naleznete seznam všech příkladů:"; } /*! This is an introduction to the page with the list of related pages */ virtual QCString trRelatedPagesDescription() { return "Následující seznam odkazuje na další stránky projektu:"; } /*! This is an introduction to the page with the list of class/file groups */ virtual QCString trModulesDescription() { return "Zde naleznete seznam všech modulů:"; } // index titles (the project name is prepended for these) /*! This is used in HTML as the title of index.html. */ virtual QCString trDocumentation() { return "Dokumentace"; } /*! This is used in LaTeX as the title of the chapter with the * index of all groups. */ virtual QCString trModuleIndex() { return "Rejstřík modulů"; } /*! This is used in LaTeX as the title of the chapter with the * class hierarchy. */ virtual QCString trHierarchicalIndex() { return "Rejstřík hierarchie"; } /*! 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 "Rejstřík datových struktur"; } else { return "Rejstřík tříd"; } } /*! This is used in LaTeX as the title of the chapter with the * list of all files. */ virtual QCString trFileIndex() { return "Rejstřík souborů"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all groups. */ virtual QCString trModuleDocumentation() { return "Dokumentace modulů"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all classes, structs and unions. */ virtual QCString trClassDocumentation() { if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) { return "Dokumentace datových struktur"; } else if (Config_getBool(OPTIMIZE_OUTPUT_VHDL)) { return trDesignUnitDocumentation(); } else { return "Dokumentace tříd"; } } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all files. */ virtual QCString trFileDocumentation() { return "Dokumentace souborů"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all examples. */ virtual QCString trExampleDocumentation() { return "Dokumentace příkladů"; } /*! This is used in LaTeX as the title of the document */ virtual QCString trReferenceManual() { return "Referenční příručka"; } /*! This is used in the documentation of a file as a header before the * list of defines */ virtual QCString trDefines() { return "Definice maker"; } /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() { return "Definice typů"; } /*! This is used in the documentation of a file as a header before the * list of enumerations */ virtual QCString trEnumerations() { return "Výčty"; } /*! This is used in the documentation of a file as a header before the * list of (global) functions */ virtual QCString trFunctions() { return "Funkce"; } /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trVariables() { return "Proměnné"; } /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trEnumerationValues() { return "Hodnoty výčtu"; } /*! This is used in the documentation of a file before the list of * documentation blocks for defines */ virtual QCString trDefineDocumentation() { return "Dokumentace definic maker"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() { return "Dokumentace definic typů"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration types */ virtual QCString trEnumerationTypeDocumentation() { return "Dokumentace výčtových typů"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for functions */ virtual QCString trFunctionDocumentation() { return "Dokumentace funkcí"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for variables */ virtual QCString trVariableDocumentation() { return "Dokumentace proměnný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 "Datové struktury"; } else { return "Třídy"; } } /*! This is used in the standard footer of each page and indicates when * the page was generated */ virtual QCString trGeneratedAt(const QCString &date,const QCString &projName) { QCString result="Vygenerováno dne: "+date; if (!projName.isEmpty()) result +=", pro projekt: "+projName; result+=", programem"; return result; } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const QCString &clName) { return "Diagram dědičnosti pro třídu "+clName+":"; } /*! 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 "Verze"; } /*! this text is generated when the \\date command is used. */ virtual QCString trDate() { return "Datum"; } /*! 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 také"; } /*! this text is generated when the \\param command is used. */ virtual QCString trParameters() { return "Parametry"; } /*! this text is generated when the \\exception command is used. */ virtual QCString trExceptions() { return "Výjimky"; } /*! this text is used in the title page of a LaTeX document. */ virtual QCString trGeneratedBy() { return "Vygenerováno programem"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990307 ////////////////////////////////////////////////////////////////////////// /*! used as the title of page containing all the index of all namespaces. */ virtual QCString trNamespaceList() { return "Seznam jmenných prostorů"; } /*! used as an introduction to the namespace list */ virtual QCString trNamespaceListDescription(bool extractAll) { QCString result="Zde naleznete seznam všech "; if (!extractAll) result+="dokumentovaných "; result+="jmenných prostorů se stručným popisem:"; return result; } /*! used in the class documentation as a header before the list of all * friends of a class */ virtual QCString trFriends() { return "Přátelé třídy"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 ////////////////////////////////////////////////////////////////////////// /*! used in the class documentation as a header before the list of all * related classes */ virtual QCString trRelatedFunctionDocumentation() { return "Dokumentace přátel a souvisejících funkcí třídy"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// /*! used as the title of the HTML page of a class/struct/union */ virtual QCString trCompoundReference(const QCString &clName, ClassDef::CompoundType compType, bool isTemplate) { QCString result="Dokumentace "; if (isTemplate) result += "šablony "; switch(compType) { case ClassDef::Class: result+="třídy "; break; case ClassDef::Struct: result+="struktury "; break; case ClassDef::Union: result+="unie "; break; case ClassDef::Interface: result+="rozhraní "; break; case ClassDef::Protocol: result+="protokolu "; break; case ClassDef::Category: result+="kategorie "; break; case ClassDef::Exception: result+="výjimky "; break; default: break; } result += clName; return result; } /*! used as the title of the HTML page of a file */ virtual QCString trFileReference(const QCString &fileName) { QCString result="Dokumentace souboru "; result+=fileName; return result; } /*! used as the title of the HTML page of a namespace */ virtual QCString trNamespaceReference(const QCString &namespaceName) { QCString result="Dokumentace jmenného prostoru "; result+=namespaceName; return result; } /* * these are for the member sections of a class, struct or union */ virtual QCString trPublicMembers() { return "Veřejné metody"; } virtual QCString trPublicSlots() { return "Veřejné sloty"; } virtual QCString trSignals() { return "Signály"; } virtual QCString trStaticPublicMembers() { return "Statické veřejné metody"; } virtual QCString trProtectedMembers() { return "Chráněné metody"; } virtual QCString trProtectedSlots() { return "Chráněné sloty"; } virtual QCString trStaticProtectedMembers() { return "Statické chráněné metody"; } virtual QCString trPrivateMembers() { return "Privátní metody"; } virtual QCString trPrivateSlots() { return "Privátní sloty"; } virtual QCString trStaticPrivateMembers() { return "Statické privátní metody"; } /*! 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