Fix for UBSan build
[platform/upstream/doxygen.git] / src / translator_cz.h
1 /******************************************************************************
2  *
3  *
4  *
5  * Copyright (C) 1997-2012 by Dimitri van Heesch.
6  *
7  * Permission to use, copy, modify, and distribute this software and its
8  * documentation under the terms of the GNU General Public License is hereby
9  * granted. No representations are made about the suitability of this software
10  * for any purpose. It is provided "as is" without express or implied warranty.
11  * See the GNU General Public License for more details.
12  *
13  * Documents produced by Doxygen are derivative works derived from the
14  * input used in their production; they are not affected by this license.
15  *
16  */
17
18 #ifndef TRANSLATOR_CZ_H
19 #define TRANSLATOR_CZ_H
20
21 // Updates:
22 // --------
23 // 2012/07/31 - Updates for "new since 1.8.2".
24 // 2012/04/10 - Updates for "new since 1.8.0".
25 // 2011/07/28 - Updates for "new since 1.7.5".
26 // 2010/06/01 - typo
27 // 2010/04/28 - Updates for "new since 1.6.3".
28 // 2009/09/02 - Updates for "new since 1.6.0 (mainly for the new search engine)".
29 // 2008/06/09 - Corrections in trLegendDocs().
30 // 2007/11/13 - Update for "new since 1.5.4 (mainly for Fortran)".
31 // 2007/03/20 - removing decode(), conversion of literals to UTF-8.
32 // 2006/06/13 - translation of the trEnumerationValueDocumentation().
33 //              and clear in the Czech language.
34 //              modified trCallGraph() to make the meaning unambiguous
35 // 2006/05/10 - Update for "new since 1.4.6" -- trCallerGraph(),
36 // 2005/03/08 - Update for "new since 1.4.1" (trOverloadText())
37 // 2005/02/11 - The "never used" methods removed.
38 // 2004/09/14 - The new methods "since 1.3.9" implemented.
39 // 2004/06/16 - The new method "since 1.3.8" implemented.
40 // 2004/02/27 - Text inside the trCallGraph() corrected.
41 // 2004/02/26 - trLegendDocs() updated.
42 // 2003/08/13 - Four new methods "since 1.3.3" implemented.
43 // 2003/06/10 - Two new methods "since 1.3.1" implemented.
44 // 2003/04/28 - Five new methods "since 1.3" implemented.
45 // 2002/10/15 - The new trEvents() and trEventDocumentation() implemented.
46 // 2002/07/29 - The new trDeprecatedList() implemented.
47 // 2002/07/08 - The new trRTFTableOfContents() implemented. (my birthday! ;)
48 // 2002/03/05 - ... forgot to replace TranslatorAdapter... by Translator.
49 // 2002/01/23 - Two new methods "since 1.2.13" implemented.
50 // 2001/11/06 - trReferences() implemented.
51 // 2001/07/16 - trClassDocumentation() updated as in the English translator.
52 // 2001/05/25 - Corrections.
53 // 2001/05/18 - Updates, corrections.
54 // 2001/05/02 - Decode() inline changed to decode(); cleaning.
55 //              level as other translators.
56 //              class Translator.  The English translator is now on the same
57 //              introducing TranslatorAdapter class and the abstract base
58 // 2001/04/20 - Update for "new since 1.2.6-20010422". Experimental version
59 // 2001/04/10 - Updates (1.2.6-20010408), cleaning.
60 // 2001/03/12 - Minor correction of comments (synchronous with translator.h).
61 // 2001/02/26 - Update for "new since 1.2.5" version (trBug(), trBugList()).
62 // 2001/02/15 - trMore() now returns only "..." (ellipsis).
63 // 2001/01/09 - Update for "new since 1.2.4" version.
64 // 2000/10/17 - Update for "new since 1.2.2" version.
65 // 2000/09/11 - Update for "new since 1.2.1" version.
66 // 2000/09/06 - Reimplementation of trInheritsList().
67 // 2000/08/31 - ISOToWin() and WinToISO() moved to the base class.
68 // 2000/08/30 - Macro DECODE replaced by the inline (thanks to Boris Bralo).
69 // 2000/08/24 - Corrections, updates.
70 // 2000/08/02 - Updated for 1.2.0
71 // 2000/07/19 - Updates for "new since 1.1.5"; encoding conversion separated.
72 // 2000/07/10 - Update to 1.1.5; conditionally decoding to iso-8859-2 for UNIX.
73 // 2000/06/20 - Prototype: with diacritics; based on ver. 1.1.4 (from scratch).
74 //
75 // The first translation from English to Czech was started by
76 // Vlastimil Havran (1999--2000). The prototype version of Czech strings
77 // with diacritics was implemented by Petr Prikryl (prikrylp@skil.cz),
78 // 2000/06/20. Vlastimil agreed that Petr be the new maintainer.
79
80 // Todo
81 // ----
82 //  - The trReimplementedFromList() should pass the kind of the
83 //    reimplemented element.  It can be method, typedef or possibly
84 //    something else.  It is difficult to find the general translation
85 //    for all kinds in the Czech language.
86
87 class TranslatorCzech : public Translator
88 {
89   public:
90     // --- Language control methods -------------------
91
92     virtual QCString idLanguage()
93     { return "czech"; }
94
95     virtual QCString latexLanguageSupportCommand()
96     {
97       return "\\usepackage[T2A]{fontenc}\n"
98              "\\usepackage[czech]{babel}\n";
99     }
100
101     /*! return the language charset. This will be used for the HTML output */
102     virtual QCString idLanguageCharset()
103     {
104         return "utf-8";
105     }
106
107     // --- Language translation methods -------------------
108
109     /*! used in the compound documentation before a list of related functions. */
110     virtual QCString trRelatedFunctions()
111     { return "Související funkce"; }
112
113     /*! subscript for the related functions. */
114     virtual QCString trRelatedSubscript()
115     { return "(Uvedené funkce nejsou členskými funkcemi.)"; }
116
117     /*! header that is put before the detailed description of files, classes and namespaces. */
118     virtual QCString trDetailedDescription()
119     { return "Detailní popis"; }
120
121     /*! header that is put before the list of typedefs. */
122     virtual QCString trMemberTypedefDocumentation()
123     { return "Dokumentace k členským typům"; }
124
125     /*! header that is put before the list of enumerations. */
126     virtual QCString trMemberEnumerationDocumentation()
127     { return "Dokumentace k členským výčtům"; }
128
129     /*! header that is put before the list of member functions. */
130     virtual QCString trMemberFunctionDocumentation()
131     { return "Dokumentace k metodám"; }
132
133     /*! header that is put before the list of member attributes. */
134     virtual QCString trMemberDataDocumentation()
135     {
136       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
137       {
138         return "Dokumentace k položkám";
139       }
140       else
141       {
142         return "Dokumentace k datovým členům";
143       }
144     }
145
146     /*! this is the text of a link put after brief descriptions. */
147     virtual QCString trMore()
148     { return "..."; }
149
150     /*! put in the class documentation */
151     virtual QCString trListOfAllMembers()
152     { return "Seznam všech členů"; }
153
154     /*! used as the title of the "list of all members" page of a class */
155     virtual QCString trMemberList()
156     { return "Seznam členů třídy"; }
157
158     /*! this is the first part of a sentence that is followed by a class name */
159     virtual QCString trThisIsTheListOfAllMembers()
160     { return "Zde naleznete úplný seznam členů třídy "; }
161
162     /*! this is the remainder of the sentence after the class name */
163     virtual QCString trIncludingInheritedMembers()
164     { return ", včetně všech zděděných členů."; }
165
166     /*! this is put at the author sections at the bottom of man pages.
167      *  parameter s is name of the project name.
168      */
169     virtual QCString trGeneratedAutomatically(const char *s)
170     { QCString result("Generováno automaticky programem Doxygen "
171                       "ze zdrojových textů");
172       if (s) result += QCString(" projektu ") + s;
173       result += ".";
174       return result;
175     }
176
177     /*! put after an enum name in the list of all members */
178     virtual QCString trEnumName()
179     { return "jméno výčtu"; }
180
181     /*! put after an enum value in the list of all members */
182     virtual QCString trEnumValue()
183     { return "hodnota výčtu"; }
184
185     /*! put after an undocumented member in the list of all members */
186     virtual QCString trDefinedIn()
187     { return "definován v"; }
188
189     // quick reference sections
190
191     /*! This is put above each page as a link to the list of all groups of
192      *  compounds or files (see the \\group command).
193      */
194     virtual QCString trModules()
195     { return "Moduly"; }
196
197     /*! This is put above each page as a link to the class hierarchy */
198     virtual QCString trClassHierarchy()
199     { return "Hierarchie tříd"; }
200
201     /*! This is put above each page as a link to the list of annotated classes */
202     virtual QCString trCompoundList()
203     {
204       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
205       {
206         return "Datové struktury";
207       }
208       else
209       {
210         return "Seznam tříd";
211       }
212     }
213
214     /*! This is put above each page as a link to the list of documented files */
215     virtual QCString trFileList()
216     { return "Seznam souborů"; }
217
218     /*! This is put above each page as a link to all members of compounds. */
219     virtual QCString trCompoundMembers()
220     {
221       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
222       {
223         return "Datové položky";
224       }
225       else
226       {
227         return "Seznam členů tříd";
228       }
229     }
230
231     /*! This is put above each page as a link to all members of files. */
232     virtual QCString trFileMembers()
233     {
234       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
235       {
236         return "Globální symboly";
237       }
238       else
239       {
240         return "Symboly v souborech";
241       }
242     }
243
244     /*! This is put above each page as a link to all related pages. */
245     virtual QCString trRelatedPages()
246     { return "Ostatní stránky"; }
247
248     /*! This is put above each page as a link to all examples. */
249     virtual QCString trExamples()
250     { return "Příklady"; }
251
252     /*! This is put above each page as a link to the search engine. */
253     virtual QCString trSearch()
254     { return "Hledat"; }
255
256     /*! This is an introduction to the class hierarchy. */
257     virtual QCString trClassHierarchyDescription()
258     { return "Zde naleznete seznam, vyjadřující vztah dědičnosti tříd. "
259              "Je seřazen přibližně (ale ne úplně) podle abecedy:";
260     }
261
262     /*! This is an introduction to the list with all files. */
263     virtual QCString trFileListDescription(bool extractAll)
264     {
265       QCString result="Zde naleznete seznam všech ";
266       if (!extractAll) result+="dokumentovaných ";
267       result+="souborů se stručnými popisy:";
268       return result;
269     }
270
271     /*! This is an introduction to the annotated compound list. */
272     virtual QCString trCompoundListDescription()
273     {
274       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
275       {
276         return "Následující seznam obsahuje identifikace datových "
277                       "struktur a jejich stručné popisy:";
278       }
279       else
280       {
281         return "Následující seznam obsahuje především identifikace "
282                       "tříd, ale nacházejí se zde i další netriviální prvky, "
283                       "jako jsou struktury (struct), unie (union) a rozhraní "
284                       "(interface). V seznamu jsou uvedeny jejich stručné "
285                       "popisy:";
286       }
287     }
288
289     /*! This is an introduction to the page with all class members. */
290     virtual QCString trCompoundMembersDescription(bool extractAll)
291     {
292       QCString result= "Zde naleznete seznam všech ";
293       if (!extractAll)
294       {
295         result += "dokumentovaných ";
296       }
297
298       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
299       {
300         result += "položek struktur (struct) a unií (union) ";
301       }
302       else
303       {
304         result += "členů tříd ";
305       }
306
307       result += "s odkazy na ";
308
309       if (extractAll)
310       {
311         if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
312         {
313           result += "dokumentaci struktur/unií, ke kterým příslušejí:";
314         }
315         else
316         {
317           result += "dokumentaci tříd, ke kterým příslušejí:";
318         }
319       }
320       else
321       {
322         if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
323         {
324           result+="struktury/unie, ke kterým příslušejí:";
325         }
326         else
327         {
328           result+="třídy, ke kterým příslušejí:";
329         }
330       }
331
332       return result;
333     }
334
335     /*! This is an introduction to the page with all file members. */
336     virtual QCString trFileMembersDescription(bool extractAll)
337     {
338       QCString result="Zde naleznete seznam všech ";
339       if (!extractAll) result+="dokumentovaných ";
340
341       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
342       {
343         result+="funkcí, proměnných, maker, výčtů a definic typů (typedef) "
344                 "s odkazy na ";
345       }
346       else
347       {
348         result+="symbolů, které jsou definovány na úrovni svých souborů. "
349                 "Pro každý symbol je uveden odkaz na ";
350       }
351
352       if (extractAll)
353         result+="soubory, ke kterým příslušejí:";
354       else
355         result+="dokumentaci:";
356
357       return result;
358     }
359
360     /*! This is an introduction to the page with the list of all examples */
361     virtual QCString trExamplesDescription()
362     { return "Zde naleznete seznam všech příkladů:"; }
363
364     /*! This is an introduction to the page with the list of related pages */
365     virtual QCString trRelatedPagesDescription()
366     { return "Následující seznam odkazuje na další stránky projektu:"; }
367
368     /*! This is an introduction to the page with the list of class/file groups */
369     virtual QCString trModulesDescription()
370     { return "Zde naleznete seznam všech modulů:"; }
371
372     // index titles (the project name is prepended for these)
373
374
375     /*! This is used in HTML as the title of index.html. */
376     virtual QCString trDocumentation()
377     { return "Dokumentace"; }
378
379     /*! This is used in LaTeX as the title of the chapter with the
380      * index of all groups.
381      */
382     virtual QCString trModuleIndex()
383     { return "Rejstřík modulů"; }
384
385     /*! This is used in LaTeX as the title of the chapter with the
386      * class hierarchy.
387      */
388     virtual QCString trHierarchicalIndex()
389     { return "Rejstřík hierarchie tříd"; }
390
391     /*! This is used in LaTeX as the title of the chapter with the
392      * annotated compound index.
393      */
394     virtual QCString trCompoundIndex()
395     {
396       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
397       {
398         return "Rejstřík datových struktur";
399       }
400       else
401       {
402         return "Rejstřík tříd";
403       }
404     }
405
406     /*! This is used in LaTeX as the title of the chapter with the
407      * list of all files.
408      */
409     virtual QCString trFileIndex()
410     { return "Rejstřík souborů"; }
411
412     /*! This is used in LaTeX as the title of the chapter containing
413      *  the documentation of all groups.
414      */
415     virtual QCString trModuleDocumentation()
416     { return "Dokumentace modulů"; }
417
418     /*! This is used in LaTeX as the title of the chapter containing
419      *  the documentation of all classes, structs and unions.
420      */
421     virtual QCString trClassDocumentation()
422     {
423       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
424       {
425         return "Dokumentace datových struktur";
426       }
427       else
428       {
429         return "Dokumentace tříd";
430       }
431     }
432
433     /*! This is used in LaTeX as the title of the chapter containing
434      *  the documentation of all files.
435      */
436     virtual QCString trFileDocumentation()
437     { return "Dokumentace souborů"; }
438
439     /*! This is used in LaTeX as the title of the chapter containing
440      *  the documentation of all examples.
441      */
442     virtual QCString trExampleDocumentation()
443     { return "Dokumentace příkladů"; }
444
445     /*! This is used in LaTeX as the title of the chapter containing
446      *  the documentation of all related pages.
447      */
448     virtual QCString trPageDocumentation()
449     { return "Dokumentace souvisejících stránek"; }
450
451     /*! This is used in LaTeX as the title of the document */
452     virtual QCString trReferenceManual()
453     { return "Referenční příručka"; }
454
455     /*! This is used in the documentation of a file as a header before the
456      *  list of defines
457      */
458     virtual QCString trDefines()
459     { return "Definice maker"; }
460
461     /*! This is used in the documentation of a file as a header before the
462      *  list of function prototypes
463      */
464     virtual QCString trFuncProtos()
465     { return "Prototypy"; }
466
467     /*! This is used in the documentation of a file as a header before the
468      *  list of typedefs
469      */
470     virtual QCString trTypedefs()
471     { return "Definice typů"; }
472
473     /*! This is used in the documentation of a file as a header before the
474      *  list of enumerations
475      */
476     virtual QCString trEnumerations()
477     { return "Výčty"; }
478
479     /*! This is used in the documentation of a file as a header before the
480      *  list of (global) functions
481      */
482     virtual QCString trFunctions()
483     { return "Funkce"; }
484
485     /*! This is used in the documentation of a file as a header before the
486      *  list of (global) variables
487      */
488     virtual QCString trVariables()
489     { return "Proměnné"; }
490
491     /*! This is used in the documentation of a file as a header before the
492      *  list of (global) variables
493      */
494     virtual QCString trEnumerationValues()
495     { return "Hodnoty výčtu"; }
496
497     /*! This is used in the documentation of a file before the list of
498      *  documentation blocks for defines
499      */
500     virtual QCString trDefineDocumentation()
501     { return "Dokumentace k definicím maker"; }
502
503     /*! This is used in the documentation of a file/namespace before the list
504      *  of documentation blocks for function prototypes
505      */
506     virtual QCString trFunctionPrototypeDocumentation()
507     { return "Dokumentace prototypů"; }
508
509     /*! This is used in the documentation of a file/namespace before the list
510      *  of documentation blocks for typedefs
511      */
512     virtual QCString trTypedefDocumentation()
513     { return "Dokumentace definic typů"; }
514
515     /*! This is used in the documentation of a file/namespace before the list
516      *  of documentation blocks for enumeration types
517      */
518     virtual QCString trEnumerationTypeDocumentation()
519     { return "Dokumentace výčtových typů"; }
520
521     /*! This is used in the documentation of a file/namespace before the list
522      *  of documentation blocks for functions
523      */
524     virtual QCString trFunctionDocumentation()
525     { return "Dokumentace funkcí"; }
526
527     /*! This is used in the documentation of a file/namespace before the list
528      *  of documentation blocks for variables
529      */
530     virtual QCString trVariableDocumentation()
531     { return "Dokumentace proměnných"; }
532
533     /*! This is used in the documentation of a file/namespace/group before
534      *  the list of links to documented compounds
535      */
536     virtual QCString trCompounds()
537     {
538       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
539       {
540         return "Datové struktry";
541       }
542       else
543       {
544         return "Třídy";
545       }
546     }
547
548     /*! This is used in the standard footer of each page and indicates when
549      *  the page was generated
550      */
551     virtual QCString trGeneratedAt(const char *date,const char *projName)
552     {
553       QCString result("Generováno ");
554       result += date;
555       if (projName)
556           result += QCString(" pro projekt ") + projName;
557       result += " programem";
558       return result;
559     }
560     /*! This is part of the sentence used in the standard footer of each page.
561      */
562     virtual QCString trWrittenBy()
563     {
564       return " -- autor ";
565     }
566
567     /*! this text is put before a class diagram */
568     virtual QCString trClassDiagram(const char *clName)
569     {
570       return QCString("Diagram dědičnosti pro třídu ") + clName;
571     }
572
573     /*! this text is generated when the \\internal command is used. */
574     virtual QCString trForInternalUseOnly()
575     { return "Pouze pro vnitřní použití."; }
576
577     /*! this text is generated when the \\warning command is used. */
578     virtual QCString trWarning()
579     { return "Pozor"; }
580
581     /*! this text is generated when the \\version command is used. */
582     virtual QCString trVersion()
583     { return "Verze"; }
584
585     /*! this text is generated when the \\date command is used. */
586     virtual QCString trDate()
587     { return "Datum"; }
588
589     /*! this text is generated when the \\return command is used. */
590     virtual QCString trReturns()
591     { return "Návratová hodnota"; }
592
593     /*! this text is generated when the \\sa command is used. */
594     virtual QCString trSeeAlso()
595     { return "Viz také"; }
596
597     /*! this text is generated when the \\param command is used. */
598     virtual QCString trParameters()
599     { return "Parametry"; }
600
601     /*! this text is generated when the \\exception command is used. */
602     virtual QCString trExceptions()
603     { return "Výjimky"; }
604
605     /*! this text is used in the title page of a LaTeX document. */
606     virtual QCString trGeneratedBy()
607     { return "Generováno programem"; }
608
609     // new since 0.49-990307
610
611     /*! used as the title of page containing all the index of all namespaces. */
612     virtual QCString trNamespaceList()
613     { return "Seznam prostorů jmen"; }
614
615     /*! used as an introduction to the namespace list */
616     virtual QCString trNamespaceListDescription(bool extractAll)
617     {
618       QCString result="Zde naleznete seznam všech ";
619       if (!extractAll) result+="dokumentovaných ";
620       result+="prostorů jmen se stručným popisem:";
621       return result;
622     }
623
624     /*! used in the class documentation as a header before the list of all
625      *  friends of a class
626      */
627     virtual QCString trFriends()
628     { return "Friends"; }
629
630 //////////////////////////////////////////////////////////////////////////
631 // new since 0.49-990405
632 //////////////////////////////////////////////////////////////////////////
633
634     /*! used in the class documentation as a header before the list of all
635      * related classes
636      */
637     virtual QCString trRelatedFunctionDocumentation()
638     { return "Dokumentace k friends"; }
639
640 //////////////////////////////////////////////////////////////////////////
641 // new since 0.49-990425
642 //////////////////////////////////////////////////////////////////////////
643
644     /*! used as the title of the HTML page of a class/struct/union */
645     virtual QCString trCompoundReference(const char *clName,
646                                     ClassDef::CompoundType compType,
647                                     bool isTemplate)
648     {
649       QCString result("Dokumentace ");
650       if (isTemplate) result += "šablony ";
651       switch(compType)
652       {
653         case ClassDef::Class:      result += "třídy "; break;
654         case ClassDef::Struct:     result += "struktury "; break;
655         case ClassDef::Union:      result += "unie "; break;
656         case ClassDef::Interface:  result += "rozhraní "; break;
657         case ClassDef::Protocol:   result += "protokolu "; break;
658         case ClassDef::Category:   result += "kategorie "; break;
659         case ClassDef::Exception:  result += "výjimky "; break;
660       }
661       result += clName;
662       return result;
663     }
664
665     /*! used as the title of the HTML page of a file */
666     virtual QCString trFileReference(const char *fileName)
667     {
668       QCString result("Dokumentace souboru ");
669       result+=fileName;
670       return result;
671     }
672
673     /*! used as the title of the HTML page of a namespace */
674     virtual QCString trNamespaceReference(const char *namespaceName)
675     {
676       QCString result("Dokumentace prostoru jmen ");
677       result+=namespaceName;
678       return result;
679     }
680
681     /*
682      *  these are for the member sections of a class, struct or union
683      */
684     virtual QCString trPublicMembers()
685     { return "Veřejné metody"; }
686     virtual QCString trPublicSlots()
687     { return "Veřejné sloty"; }
688     virtual QCString trSignals()
689     { return "Signály"; }
690     virtual QCString trStaticPublicMembers()
691     { return "Statické veřejné metody"; }
692     virtual QCString trProtectedMembers()
693     { return "Chráněné metody"; }
694     virtual QCString trProtectedSlots()
695     { return "Chráněné sloty"; }
696     virtual QCString trStaticProtectedMembers()
697     { return "Statické chráněné metody"; }
698     virtual QCString trPrivateMembers()
699     { return "Privátní metody"; }
700     virtual QCString trPrivateSlots()
701     { return "Privátní sloty"; }
702     virtual QCString trStaticPrivateMembers()
703     { return "Statické privátní metody"; }
704
705     /*! this function is used to produce a comma-separated list of items.
706      *  use generateMarker(i) to indicate where item i should be put.
707      */
708     virtual QCString trWriteList(int numEntries)
709     {
710       QCString result;
711       int i;
712       // the inherits list contain `numEntries' classes
713       for (i=0;i<numEntries;i++)
714       {
715         // use generateMarker to generate placeholders for the class links!
716         result+=generateMarker(i); // generate marker for entry i in the list
717                                    // (order is left to right)
718
719         if (i!=numEntries-1)  // not the last entry, so we need a separator
720         {
721           if (i<numEntries-2) // not the fore last entry
722             result+=", ";
723           else                // the fore last entry
724             result+=" a ";
725         }
726       }
727       return result;
728     }
729
730     /*! used in class documentation to produce a list of base classes,
731      *  if class diagrams are disabled.
732      */
733     virtual QCString trInheritsList(int numEntries)
734     {
735       QCString result("Dědí z ");
736       result += (numEntries == 1) ? "bázové třídy " : "bázových tříd ";
737       result += trWriteList(numEntries) + ".";
738       return result;
739     }
740
741     /*! used in class documentation to produce a list of super classes,
742      *  if class diagrams are disabled.
743      */
744     virtual QCString trInheritedByList(int numEntries)
745     {
746       QCString result("Zděděna ");
747       result += (numEntries == 1) ? "třídou " : "třídami ";
748       result += trWriteList(numEntries) + ".";
749       return result;
750     }
751
752     /*! used in member documentation blocks to produce a list of
753      *  members that are hidden by this one.
754      */
755     virtual QCString trReimplementedFromList(int numEntries)
756     {
757       QCString result("Reimplementuje stejnojmenný prvek z ");
758       result += trWriteList(numEntries) + ".";
759       return result;
760     }
761
762     /*! used in member documentation blocks to produce a list of
763      *  all member that overwrite the implementation of this member.
764      */
765     virtual QCString trReimplementedInList(int numEntries)
766     {
767       QCString result("Reimplementováno v ");
768       result += trWriteList(numEntries) + ".";
769       return result;
770     }
771
772     /*! This is put above each page as a link to all members of namespaces. */
773     virtual QCString trNamespaceMembers()
774     { return "Symboly v prostorech jmen"; }
775
776     /*! This is an introduction to the page with all namespace members */
777     virtual QCString trNamespaceMemberDescription(bool extractAll)
778     {
779       QCString result="Zde naleznete seznam všech ";
780       if (!extractAll) result+="dokumentovaných ";
781       result+="symbolů, které jsou definovány ve svých prostorech jmen. "
782               "U každého je uveden odkaz na ";
783       if (extractAll)
784         result+="dokumentaci příslušného prostoru jmen:";
785       else
786         result+="příslušný prostor jmen:";
787       return result;
788     }
789     /*! This is used in LaTeX as the title of the chapter with the
790      *  index of all namespaces.
791      */
792     virtual QCString trNamespaceIndex()
793     { return "Rejstřík prostorů jmen"; }
794
795     /*! This is used in LaTeX as the title of the chapter containing
796      *  the documentation of all namespaces.
797      */
798     virtual QCString trNamespaceDocumentation()
799     { return "Dokumentace prostorů jmen"; }
800
801 //////////////////////////////////////////////////////////////////////////
802 // new since 0.49-990522
803 //////////////////////////////////////////////////////////////////////////
804
805     /*! This is used in the documentation before the list of all
806      *  namespaces in a file.
807      */
808     virtual QCString trNamespaces()
809     { return "Prostory jmen"; }
810
811 //////////////////////////////////////////////////////////////////////////
812 // new since 0.49-990728
813 //////////////////////////////////////////////////////////////////////////
814
815     /*! This is put at the bottom of a class documentation page and is
816      *  followed by a list of files that were used to generate the page.
817      */
818     virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
819         bool single)
820     { // here s is one of " Class", " Struct" or " Union"
821       // single is true implies a single file
822       QCString result=(QCString)"Dokumentace pro ";
823       switch(compType)
824       {
825         case ClassDef::Class:      result+="tuto třídu"; break;
826         case ClassDef::Struct:     result+="tuto strukturu (struct)"; break;
827         case ClassDef::Union:      result+="tuto unii (union)"; break;
828         case ClassDef::Interface:  result+="toto rozhraní"; break;
829         case ClassDef::Protocol:   result+="tento protokol "; break;
830         case ClassDef::Category:   result+="tuto kategorii "; break;
831         case ClassDef::Exception:  result+="tuto výjimku"; break;
832       }
833       result+=" byla generována z ";
834       if (single) result+="následujícího souboru:";
835       else        result+="následujících souborů:";
836       return result;
837     }
838
839     /*! This is in the (quick) index as a link to the alphabetical compound
840      * list.
841      */
842     virtual QCString trAlphabeticalList()
843     { return "Rejstřík tříd"; }
844
845 //////////////////////////////////////////////////////////////////////////
846 // new since 0.49-990901
847 //////////////////////////////////////////////////////////////////////////
848
849     /*! This is used as the heading text for the retval command. */
850     virtual QCString trReturnValues()
851     { return "Vracené hodnoty"; }
852
853     /*! This is in the (quick) index as a link to the main page (index.html)
854      */
855     virtual QCString trMainPage()
856     { return "Hlavní stránka"; }
857
858     /*! This is used in references to page that are put in the LaTeX
859      *  documentation. It should be an abbreviation of the word page.
860      */
861     virtual QCString trPageAbbreviation()
862     { return "s."; }
863
864 //////////////////////////////////////////////////////////////////////////
865 // new since 0.49-991003
866 //////////////////////////////////////////////////////////////////////////
867
868     virtual QCString trDefinedAtLineInSourceFile()
869     {
870       return "Definice je uvedena na řádku @0 v souboru @1.";
871     }
872     virtual QCString trDefinedInSourceFile()
873     {
874       return "Definice v souboru @0.";
875     }
876
877 //////////////////////////////////////////////////////////////////////////
878 // new since 0.49-991205
879 //////////////////////////////////////////////////////////////////////////
880
881     virtual QCString trDeprecated()
882     {
883       return "Zastaralé";
884     }
885
886 //////////////////////////////////////////////////////////////////////////
887 // new since 1.0.0
888 //////////////////////////////////////////////////////////////////////////
889
890     /*! this text is put before a collaboration diagram */
891     virtual QCString trCollaborationDiagram(const char *clName)
892     {
893       return (QCString)"Diagram tříd pro "+clName+":";
894     }
895     /*! this text is put before an include dependency graph */
896     virtual QCString trInclDepGraph(const char *fName)
897     {
898       return (QCString)"Graf závislostí na vkládaných souborech "
899                     "pro "+fName+":";
900     }
901     /*! header that is put before the list of constructor/destructors. */
902     virtual QCString trConstructorDocumentation()
903     {
904       return "Dokumentace konstruktoru a destruktoru";
905     }
906     /*! Used in the file documentation to point to the corresponding sources. */
907     virtual QCString trGotoSourceCode()
908     {
909       return "Zobrazit zdrojový text tohoto souboru.";
910     }
911     /*! Used in the file sources to point to the corresponding documentation. */
912     virtual QCString trGotoDocumentation()
913     {
914       return "Zobrazit dokumentaci tohoto souboru.";
915     }
916     /*! Text for the \\pre command */
917     virtual QCString trPrecondition()
918     {
919       return "Precondition";
920     }
921     /*! Text for the \\post command */
922     virtual QCString trPostcondition()
923     {
924       return "Postcondition";
925     }
926     /*! Text for the \\invariant command */
927     virtual QCString trInvariant()
928     {
929       return "Invariant";
930     }
931     /*! Text shown before a multi-line variable/enum initialization */
932     virtual QCString trInitialValue()
933     {
934       return "Initializer:";
935     }
936     /*! Text used the source code in the file index */
937     virtual QCString trCode()
938     {
939       return "zdrojový text";
940     }
941     virtual QCString trGraphicalHierarchy()
942     {
943       return "Grafické zobrazení hierarchie tříd";
944     }
945     virtual QCString trGotoGraphicalHierarchy()
946     {
947       return "Zobrazit grafickou podobu hierarchie tříd";
948     }
949     virtual QCString trGotoTextualHierarchy()
950     {
951       return "Zobrazit textovou podobu hierarchie tříd";
952     }
953     virtual QCString trPageIndex()
954     {
955       return "Rejstřík stránek";
956     }
957
958 //////////////////////////////////////////////////////////////////////////
959 // new since 1.1.0
960 //////////////////////////////////////////////////////////////////////////
961
962     virtual QCString trNote()
963     {
964       return "Poznámka";
965     }
966     virtual QCString trPublicTypes()
967     {
968       return "Veřejné typy";
969     }
970     virtual QCString trPublicAttribs()
971     {
972       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
973       {
974         return "Datové položky";
975       }
976       else
977       {
978         return "Veřejné atributy";
979       }
980     }
981     virtual QCString trStaticPublicAttribs()
982     {
983       return "Statické veřejné atributy";
984     }
985     virtual QCString trProtectedTypes()
986     {
987       return "Chráněné typy";
988     }
989     virtual QCString trProtectedAttribs()
990     {
991       return "Chráněné atributy";
992     }
993     virtual QCString trStaticProtectedAttribs()
994     {
995       return "Statické chráněné atributy";
996     }
997     virtual QCString trPrivateTypes()
998     {
999       return "Privátní typy";
1000     }
1001     virtual QCString trPrivateAttribs()
1002     {
1003       return "Privátní atributy";
1004     }
1005     virtual QCString trStaticPrivateAttribs()
1006     {
1007       return "Statické privátní atributy";
1008     }
1009
1010 //////////////////////////////////////////////////////////////////////////
1011 // new since 1.1.3
1012 //////////////////////////////////////////////////////////////////////////
1013
1014     /*! Used as a marker that is put before a todo item */
1015     virtual QCString trTodo()
1016     {
1017       return "Plánované úpravy";
1018     }
1019     /*! Used as the header of the todo list */
1020     virtual QCString trTodoList()
1021     {
1022       return "Seznam plánovaných úprav";
1023     }
1024
1025 //////////////////////////////////////////////////////////////////////////
1026 // new since 1.1.4
1027 //////////////////////////////////////////////////////////////////////////
1028
1029     virtual QCString trReferencedBy()
1030     {
1031       return "Používá se v";
1032     }
1033     virtual QCString trRemarks()
1034     {
1035       return "Poznámky"; // ??? not checked in a context
1036     }
1037     virtual QCString trAttention()
1038     {
1039       return "Upozornění"; // ??? not checked in a context
1040     }
1041     virtual QCString trInclByDepGraph()
1042     {
1043       return "Následující graf ukazuje, které soubory přímo nebo "
1044              "nepřímo vkládají tento soubor:";
1045     }
1046     virtual QCString trSince()
1047     {
1048       return "Od"; // ??? not checked in a context
1049     }
1050
1051 ////////////////////////////////////////////////////////////////////////////
1052 // new since 1.1.5
1053 //////////////////////////////////////////////////////////////////////////
1054
1055     /*! title of the graph legend page */
1056     virtual QCString trLegendTitle()
1057     {
1058       return "Vysvětlivky ke grafu";
1059     }
1060     /*! page explaining how the dot graph's should be interpreted */
1061     virtual QCString trLegendDocs()
1062     {
1063       return
1064         "Zde naleznete vysvětlení, jak mají být interpretovány grafy, "
1065         "které byly generovány programem doxygen.<p>\n"
1066         "Uvažujte následující příklad:\n"
1067         "\\code\n"
1068         "/*! Neviditelná třída, která se v grafu nezobrazuje, protože "
1069         "došlo k ořezání grafu. */\n"
1070         "class Invisible { };\n\n"
1071         "/*! Třída, u které došlo k ořezání grafu. Vztah dědičnosti "
1072         "je skryt. */\n"
1073         "class Truncated : public Invisible { };\n\n"
1074         "/* Třída, která není dokumentována komentáři programu doxygen. */\n"
1075         "class Undocumented { };\n\n"
1076         "/*! Bázová třída děděná veřejně (public inheritance). */\n"
1077         "class PublicBase : public Truncated { };\n\n"
1078         "/*! Šablona třídy. */\n"
1079         "template<class T> class Templ { };\n\n"
1080         "/*! Bázová třída, použitá pro chráněné dědění "
1081         "(protected inheritance). */\n"
1082         "class ProtectedBase { };\n\n"
1083         "/*! Bázová třída, využitá pro privátní dědění "
1084         "(private inheritance). */\n"
1085         "class PrivateBase { };\n\n"
1086         "/*! Třída, která je využívána třídou Inherited. */\n"
1087         "class Used { };\n\n"
1088         "/*! Odvozená třída, která dědí z více tříd. */\n"
1089         "class Inherited : public PublicBase,\n"
1090         "                  protected ProtectedBase,\n"
1091         "                  private PrivateBase,\n"
1092         "                  public Undocumented,\n"
1093         "                  public Templ<int>\n"
1094         "{\n"
1095         "  private:\n"
1096         "    Used *m_usedClass;\n"
1097         "};\n"
1098         "\\endcode\n"
1099         "K výše uvedenému bude vygenerován následující graf:"
1100         "<p><center><img src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
1101         "<p>\n"
1102         "Bloky (tj. uzly) v uvedeném grafu mají následující význam:\n"
1103         "<ul>\n"
1104         "<li>Šedě vyplněný obdélník reprezentuje strukturu nebo třídu, "
1105             "pro kterou byl graf generován.\n"
1106         "<li>Obdélník s černým obrysem označuje dokumentovanou "
1107             "strukturu nebo třídu.\n"
1108         "<li>Obdélník s šedým obrysem označuje nedokumentovanou "
1109             "strukturu nebo třídu.\n"
1110         "<li>Obdélník s červeným obrysem označuje dokumentovanou "
1111             "strukturu nebo třídu, pro kterou\n"
1112             "nejsou zobrazeny všechny vztahy dědičnosti nebo obsažení. "
1113             "Graf je ořezán v případě, kdy jej\n"
1114             "není možné umístit do vymezeného prostoru.\n"
1115         "</ul>\n"
1116         "Šipky (tj. hrany grafu) mají následující význam:\n"
1117         "<ul>\n"
1118         "<li>Tmavě modrá šipka se používá pro označení vztahu veřejné "
1119             "dědičnosti (public) mezi dvěma třídami.\n"
1120         "<li>Tmavě zelená šipka označuje vztah chráněné dědičnosti "
1121             "(protected).\n"
1122         "<li>Tmavě červená šipka označuje vztah privátní dědičnosti "
1123             "(private).\n"
1124         "<li>Purpurová šipka kreslená čárkovaně se používá v případě, "
1125             "kdy je třída obsažena v jiné třídě,\n"
1126             "nebo kdy je používána jinou třídou. Je označena identifikátorem "
1127             "jedné nebo více proměných, přes které\n"
1128             "je třída nebo struktura zpřístupněna.\n"
1129         "<li>Žlutá šipka kreslená čárkovaně vyjadřuje vztah mezi instancí šablony "
1130             "a šablonou třídy, na základě které byla\n"
1131             "instance šablony vytvořena. V popisu šipky jsou uvedeny  příslušné"
1132             " parametry šablony.\n"
1133         "</ul>\n";
1134     }
1135     /*! text for the link to the legend page */
1136     virtual QCString trLegend()
1137     {
1138       return "vysvětlivky";
1139     }
1140
1141 //////////////////////////////////////////////////////////////////////////
1142 // new since 1.2.0
1143 //////////////////////////////////////////////////////////////////////////
1144
1145     /*! Used as a marker that is put before a test item */
1146     virtual QCString trTest()
1147     {
1148       return "Test";
1149     }
1150
1151     /*! Used as the header of the test list */
1152     virtual QCString trTestList()
1153     {
1154       return "Seznam testů";
1155     }
1156
1157 //////////////////////////////////////////////////////////////////////////
1158 // new since 1.2.1
1159 //////////////////////////////////////////////////////////////////////////
1160
1161     /*! Used as a section header for KDE-2 IDL methods */
1162     virtual QCString trDCOPMethods()
1163     {
1164       return "Metody DCOP";
1165     }
1166
1167 //////////////////////////////////////////////////////////////////////////
1168 // new since 1.2.2
1169 //////////////////////////////////////////////////////////////////////////
1170
1171     /*! Used as a section header for IDL properties */
1172     virtual QCString trProperties()
1173     {
1174       return "Vlastnosti";
1175     }
1176     /*! Used as a section header for IDL property documentation */
1177     virtual QCString trPropertyDocumentation()
1178     {
1179       return "Dokumentace k vlastnosti";
1180     }
1181 //////////////////////////////////////////////////////////////////////////
1182 // new since 1.2.4
1183 //////////////////////////////////////////////////////////////////////////
1184
1185     /*! Used for Java classes in the summary section of Java packages */
1186     virtual QCString trClasses()
1187     {
1188       return "Třídy";
1189     }
1190     /*! Used as the title of a Java package */
1191     virtual QCString trPackage(const char *name)
1192     {
1193       return QCString("Balík ") + name;
1194     }
1195     /*! Title of the package index page */
1196     virtual QCString trPackageList()
1197     {
1198       return "Seznam balíků";
1199     }
1200     /*! The description of the package index page */
1201     virtual QCString trPackageListDescription()
1202     {
1203       return "Zde naleznete seznam balíků se stručným popisem "
1204                     "(pokud byl uveden):";
1205     }
1206     /*! The link name in the Quick links header for each page */
1207     virtual QCString trPackages()
1208     {
1209       return "Balíky";
1210     }
1211     /*! Text shown before a multi-line define */
1212     virtual QCString trDefineValue()
1213     {
1214       return "Hodnota:";
1215     }
1216
1217 //////////////////////////////////////////////////////////////////////////
1218 // new since 1.2.5
1219 //////////////////////////////////////////////////////////////////////////
1220
1221     /*! Used as a marker that is put before a \\bug item */
1222     virtual QCString trBug()
1223     {
1224       return "Chyba";
1225     }
1226     /*! Used as the header of the bug list */
1227     virtual QCString trBugList()
1228     {
1229       return "Seznam chyb";
1230     }
1231
1232 //////////////////////////////////////////////////////////////////////////
1233 // new since 1.2.6-20010422
1234 //////////////////////////////////////////////////////////////////////////
1235
1236     /*! Used as ansicpg for RTF file */
1237     virtual QCString trRTFansicp()
1238     {
1239       return "1250";
1240     }
1241
1242     /*! Used as ansicpg for RTF fcharset */
1243     virtual QCString trRTFCharSet()
1244     {
1245       return "238";
1246     }
1247
1248     /*! Used as header RTF general index */
1249     virtual QCString trRTFGeneralIndex()
1250     {
1251       return "Rejstřík";
1252     }
1253
1254     /*! This is used for translation of the word that will possibly
1255      *  be followed by a single name or by a list of names
1256      *  of the category.
1257      */
1258     virtual QCString trClass(bool first_capital, bool singular)
1259     {
1260       QCString result((first_capital ? "Tříd" : "tříd"));
1261       result += singular ? "a" : "y";
1262       return result;
1263     }
1264
1265     /*! This is used for translation of the word that will possibly
1266      *  be followed by a single name or by a list of names
1267      *  of the category.
1268      */
1269     virtual QCString trFile(bool first_capital, bool singular)
1270     {
1271       QCString result((first_capital ? "Soubor" : "soubor"));
1272       if (!singular)  result+="y";
1273       return result;
1274     }
1275
1276     /*! This is used for translation of the word that will possibly
1277      *  be followed by a single name or by a list of names
1278      *  of the category.
1279      */
1280     virtual QCString trNamespace(bool first_capital, bool singular)
1281     {
1282       QCString result((first_capital ? "Prostor" : "prostor"));
1283       if (!singular)  result+="y";
1284       result+=" jmen";
1285       return result;
1286     }
1287
1288     /*! This is used for translation of the word that will possibly
1289      *  be followed by a single name or by a list of names
1290      *  of the category.
1291      */
1292     virtual QCString trGroup(bool first_capital, bool singular)
1293     {
1294       QCString result((first_capital ? "Skupin" : "skupin"));
1295       result += singular ? "a" : "y";
1296       return result;
1297     }
1298
1299     /*! This is used for translation of the word that will possibly
1300      *  be followed by a single name or by a list of names
1301      *  of the category.
1302      */
1303     virtual QCString trPage(bool first_capital, bool singular)
1304     {
1305       QCString result((first_capital ? "Stránk" : "stránk"));
1306       result += singular ? "a" : "y";
1307       return result;
1308     }
1309
1310     /*! This is used for translation of the word that will possibly
1311      *  be followed by a single name or by a list of names
1312      *  of the category.
1313      */
1314     virtual QCString trMember(bool first_capital, bool singular)
1315     {
1316       QCString result((first_capital ? "Člen" : "člen"));
1317       if (!singular)
1318           result += "y";
1319       return result;
1320     }
1321
1322     /*! ??? Jak to prelozit? Bylo by dobre, kdyby se ozval nekdo,
1323      * kdo to pouziva.
1324      */
1325     virtual QCString trGlobal(bool first_capital, bool singular)
1326     {
1327       QCString result((first_capital ? "Global" : "global"));
1328       if (!singular)  result+="s";
1329       return result;
1330     }
1331
1332 //////////////////////////////////////////////////////////////////////////
1333 // new since 1.2.7
1334 //////////////////////////////////////////////////////////////////////////
1335
1336     /*! This text is generated when the \\author command is used and
1337      *  for the author section in man pages. */
1338     virtual QCString trAuthor(bool first_capital, bool singular)
1339     {
1340       QCString result((first_capital ? "Auto" : "auto"));
1341       result += (singular) ? "r" : "ři";
1342       return result;
1343     }
1344
1345 //////////////////////////////////////////////////////////////////////////
1346 // new since 1.2.11
1347 //////////////////////////////////////////////////////////////////////////
1348
1349     /*! This text is put before the list of members referenced by a member
1350      */
1351     virtual QCString trReferences()
1352     {
1353       return "Odkazuje se na";
1354     }
1355
1356 //////////////////////////////////////////////////////////////////////////
1357 // new since 1.2.13
1358 //////////////////////////////////////////////////////////////////////////
1359
1360     /*! used in member documentation blocks to produce a list of
1361      *  members that are implemented by this one.
1362      */
1363     virtual QCString trImplementedFromList(int numEntries)
1364     {
1365       return "Implementuje "+trWriteList(numEntries)+".";
1366     }
1367
1368     /*! used in member documentation blocks to produce a list of
1369      *  all members that implement this member.
1370      */
1371     virtual QCString trImplementedInList(int numEntries)
1372     {
1373       return "Implementováno v "+trWriteList(numEntries)+".";
1374     }
1375
1376 //////////////////////////////////////////////////////////////////////////
1377 // new since 1.2.16
1378 //////////////////////////////////////////////////////////////////////////
1379
1380     /*! used in RTF documentation as a heading for the Table
1381      *  of Contents.
1382      */
1383     virtual QCString trRTFTableOfContents()
1384     {
1385       return "Obsah";
1386     }
1387
1388 //////////////////////////////////////////////////////////////////////////
1389 // new since 1.2.17
1390 //////////////////////////////////////////////////////////////////////////
1391
1392     /*! Used as the header of the list of item that have been
1393      *  flagged deprecated
1394      */
1395     virtual QCString trDeprecatedList()
1396     {
1397       return "Seznam zastaralých prvků";
1398     }
1399
1400 //////////////////////////////////////////////////////////////////////////
1401 // new since 1.2.18
1402 //////////////////////////////////////////////////////////////////////////
1403
1404     /*! Used as a header for declaration section of the events found in
1405      * a C# program
1406      */
1407     virtual QCString trEvents()
1408     {
1409       return "Události";
1410     }
1411     /*! Header used for the documentation section of a class' events. */
1412     virtual QCString trEventDocumentation()
1413     {
1414       return "Dokumentace událostí";
1415     }
1416
1417 //////////////////////////////////////////////////////////////////////////
1418 // new since 1.3
1419 //////////////////////////////////////////////////////////////////////////
1420
1421     /*! Used as a heading for a list of Java class types with package scope.
1422      */
1423     virtual QCString trPackageTypes()
1424     {
1425       return "Typy v balíku";
1426     }
1427     /*! Used as a heading for a list of Java class functions with package
1428      * scope.
1429      */
1430     virtual QCString trPackageMembers()
1431     {
1432       return "Funkce v balíku";
1433     }
1434     /*! Used as a heading for a list of static Java class functions with
1435      *  package scope.
1436      */
1437     virtual QCString trStaticPackageMembers()
1438     {
1439       return "Statické funkce v balíku";
1440     }
1441     /*! Used as a heading for a list of Java class variables with package
1442      * scope.
1443      */
1444     virtual QCString trPackageAttribs()
1445     {
1446       return "Atributy balíku";
1447     }
1448     /*! Used as a heading for a list of static Java class variables with
1449      * package scope.
1450      */
1451     virtual QCString trStaticPackageAttribs()
1452     {
1453       return "Statické atributy balíku";
1454     }
1455
1456 //////////////////////////////////////////////////////////////////////////
1457 // new since 1.3.1
1458 //////////////////////////////////////////////////////////////////////////
1459
1460     /*! Used in the quick index of a class/file/namespace member list page
1461      *  to link to the unfiltered list of all members.
1462      */
1463     virtual QCString trAll()
1464     {
1465       return "Vše";
1466     }
1467     /*! Put in front of the call graph for a function. */
1468     virtual QCString trCallGraph()
1469     {
1470       return "Tato funkce volá...";
1471     }
1472
1473 //////////////////////////////////////////////////////////////////////////
1474 // new since 1.3.3
1475 //////////////////////////////////////////////////////////////////////////
1476
1477     /*! When the search engine is enabled this text is put in the index
1478      *  of each page before the search field.
1479      */
1480     virtual QCString trSearchForIndex()
1481     {
1482       return "Vyhledat";
1483     }
1484     /*! This string is used as the title for the page listing the search
1485      *  results.
1486      */
1487     virtual QCString trSearchResultsTitle()
1488     {
1489       return "Výsledky vyhledávání";
1490     }
1491     /*! This string is put just before listing the search results. The
1492      *  text can be different depending on the number of documents found.
1493      *  Inside the text you can put the special marker $num to insert
1494      *  the number representing the actual number of search results.
1495      *  The @a numDocuments parameter can be either 0, 1 or 2, where the
1496      *  value 2 represents 2 or more matches. HTML markup is allowed inside
1497      *  the returned string.
1498      */
1499     virtual QCString trSearchResults(int numDocuments)
1500     {
1501       if (numDocuments==0)
1502       {
1503         return "Lituji. Vašemu dotazu neodpovídá žádný dokument.";
1504       }
1505       else if (numDocuments==1)
1506       {
1507         return "Nalezen jediný dokument, který vyhovuje vašemu dotazu.";
1508       }
1509       else
1510       {
1511         return "Nalezeno <b>$num</b> dokumentů, které vyhovují vašemu "
1512                       "dotazu. Nejlépe odpovídající dokumenty jsou zobrazeny "
1513                       "jako první.";
1514       }
1515     }
1516     /*! This string is put before the list of matched words, for each search
1517      *  result. What follows is the list of words that matched the query.
1518      */
1519     virtual QCString trSearchMatches()
1520     {
1521       return "Nalezená slova:";
1522     }
1523
1524 //////////////////////////////////////////////////////////////////////////
1525 // new since 1.3.8
1526 //////////////////////////////////////////////////////////////////////////
1527
1528     /*! This is used in HTML as the title of page with source code for file filename
1529      */
1530     virtual QCString trSourceFile(QCString& filename)
1531     {
1532       return QCString("Zdrojový soubor ") + filename;
1533     }
1534
1535
1536 //////////////////////////////////////////////////////////////////////////
1537 // new since 1.3.9
1538 //////////////////////////////////////////////////////////////////////////
1539
1540
1541     /*! This is used as the name of the chapter containing the directory
1542      *  hierarchy.
1543      */
1544     virtual QCString trDirIndex()
1545     { return "Hierarchie adresářů"; }
1546
1547     /*! This is used as the name of the chapter containing the documentation
1548      *  of the directories.
1549      */
1550     virtual QCString trDirDocumentation()
1551     { return "Dokumentace k adresářům"; }
1552
1553     /*! This is used as the title of the directory index and also in the
1554      *  Quick links of a HTML page, to link to the directory hierarchy.
1555      */
1556     virtual QCString trDirectories()
1557     { return "Adresáře"; }
1558
1559     /*! This returns a sentences that introduces the directory hierarchy.
1560      *  and the fact that it is sorted alphabetically per level
1561      */
1562     virtual QCString trDirDescription()
1563     {
1564         return "Následující hierarchie adresářů je zhruba, "
1565                       "ale ne úplně, řazena podle abecedy:";
1566     }
1567
1568     /*! This returns the title of a directory page. The name of the
1569      *  directory is passed via \a dirName.
1570      */
1571     virtual QCString trDirReference(const char *dirName)
1572     {
1573         QCString result = "Reference k adresáři ";
1574         result += dirName;
1575         return result;
1576     }
1577
1578     /*! This returns the word directory with or without starting capital
1579      *  (\a first_capital) and in sigular or plural form (\a singular).
1580      */
1581     virtual QCString trDir(bool first_capital, bool singular)
1582     {
1583         QCString result((first_capital ? "Adresář" : "adresář"));
1584         if ( ! singular)
1585             result += "e";
1586         return result;
1587     }
1588
1589 //////////////////////////////////////////////////////////////////////////
1590 // new since 1.4.1
1591 //////////////////////////////////////////////////////////////////////////
1592
1593     /*! This text is added to the documentation when the \\overload command
1594      *  is used for a overloaded function.
1595      */
1596     virtual QCString trOverloadText()
1597     {
1598        return "Jde o přetíženou (overloaded) metodu, "
1599               "která má usnadnit používání. Od výše uvedené metody se liší "
1600               "pouze jinak zadávanými argumenty.";
1601     }
1602
1603 //////////////////////////////////////////////////////////////////////////
1604 // new since 1.4.6
1605 //////////////////////////////////////////////////////////////////////////
1606
1607     virtual QCString trCallerGraph()
1608     {
1609       return "Tuto funkci volají...";
1610     }
1611
1612
1613     /*! This is used in the documentation of a file/namespace before the list
1614      *  of documentation blocks for enumeration values
1615      */
1616     virtual QCString trEnumerationValueDocumentation()
1617     {
1618       return "Dokumentace výčtových hodnot";
1619     }
1620
1621 //////////////////////////////////////////////////////////////////////////
1622 // new since 1.5.4 (mainly for Fortran)
1623 //////////////////////////////////////////////////////////////////////////
1624
1625     /*! header that is put before the list of member subprograms (Fortran). */
1626     virtual QCString trMemberFunctionDocumentationFortran()
1627     { return "Dokumentace členských funkcí/podprogramů"; }
1628
1629     /*! This is put above each page as a link to the list of annotated data types (Fortran). */
1630     virtual QCString trCompoundListFortran()
1631     { return "Seznam datových typů"; }
1632
1633     /*! This is put above each page as a link to all members of compounds (Fortran). */
1634     virtual QCString trCompoundMembersFortran()
1635     { return "Datová pole"; }
1636
1637     /*! This is an introduction to the annotated compound list (Fortran). */
1638     virtual QCString trCompoundListDescriptionFortran()
1639     { return "Datové typy se stručnými popisy:"; }
1640
1641     /*! This is an introduction to the page with all data types (Fortran). */
1642     virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
1643     {
1644
1645       QCString result="Následuje seznam všech ";
1646       if (!extractAll)
1647       {
1648         result+="dokumentovaných ";
1649       }
1650       result+="složek datových typů";
1651       result+=" s odkazy na ";
1652       if (!extractAll)
1653       {
1654          result+="dokumentaci datové struktury pro každou složku:";
1655       }
1656       else
1657       {
1658           result+="příslušné datové typy:";
1659       }
1660       return result;
1661     }
1662
1663     /*! This is used in LaTeX as the title of the chapter with the
1664      * annotated compound index (Fortran).
1665      */
1666     virtual QCString trCompoundIndexFortran()
1667     { return "Rejstřík datových typů"; }
1668
1669     /*! This is used in LaTeX as the title of the chapter containing
1670      *  the documentation of all data types (Fortran).
1671      */
1672     virtual QCString trTypeDocumentation()
1673     { return "Dokumentace k datovým typům"; }
1674
1675     /*! This is used in the documentation of a file as a header before the
1676      *  list of (global) subprograms (Fortran).
1677      */
1678     virtual QCString trSubprograms()
1679     { return "Funkce/podprogramy"; }
1680
1681     /*! This is used in the documentation of a file/namespace before the list
1682      *  of documentation blocks for subprograms (Fortran)
1683      */
1684     virtual QCString trSubprogramDocumentation()
1685     { return "Dokumentace funkce/podprogramu"; }
1686
1687     /*! This is used in the documentation of a file/namespace/group before
1688      *  the list of links to documented compounds (Fortran)
1689      */
1690      virtual QCString trDataTypes()
1691     { return "Datové typy"; }
1692
1693     /*! used as the title of page containing all the index of all modules (Fortran). */
1694     virtual QCString trModulesList()
1695     { return "Seznam modulů"; }
1696
1697     /*! used as an introduction to the modules list (Fortran) */
1698     virtual QCString trModulesListDescription(bool extractAll)
1699     {
1700       QCString result="Následuje seznam všech ";
1701       if (!extractAll) result+="dokumentovaných ";
1702       result+="modulů se stručnými popisy:";
1703       return result;
1704     }
1705
1706     /*! used as the title of the HTML page of a module/type (Fortran) */
1707     virtual QCString trCompoundReferenceFortran(const char *clName,
1708                                     ClassDef::CompoundType compType,
1709                                     bool isTemplate)
1710     {
1711       QCString result("Dokumentace ");
1712       if (isTemplate) result += "šablony ";
1713       switch(compType)
1714       {
1715         case ClassDef::Class:      result += "třídy "; break;
1716         case ClassDef::Struct:     result += "typu "; break;
1717         case ClassDef::Union:      result += "unie "; break;
1718         case ClassDef::Interface:  result += "rozhraní "; break;
1719         case ClassDef::Protocol:   result += "protokolu "; break;
1720         case ClassDef::Category:   result += "kategorie "; break;
1721         case ClassDef::Exception:  result += "výjimky "; break;
1722       }
1723       result += clName;
1724       return result;
1725
1726     }
1727     /*! used as the title of the HTML page of a module (Fortran) */
1728     virtual QCString trModuleReference(const char *namespaceName)
1729     {
1730       QCString result="Dokumentace modulu ";
1731       result += namespaceName;
1732       return result;
1733     }
1734
1735     /*! This is put above each page as a link to all members of modules. (Fortran) */
1736     virtual QCString trModulesMembers()
1737     { return "Části modulu"; }
1738
1739     /*! This is an introduction to the page with all modules members (Fortran) */
1740     virtual QCString trModulesMemberDescription(bool extractAll)
1741     {
1742       QCString result="Následuje seznam všech ";
1743       if (!extractAll) result+="dokumentovaných ";
1744       result+="částí modulů s odkazy ";
1745       if (extractAll)
1746       {
1747         result+="na dokumentaci modulu pro danou část:";
1748       }
1749       else
1750       {
1751         result+="na moduly, ke kterým část patří:";
1752       }
1753       return result;
1754     }
1755
1756     /*! This is used in LaTeX as the title of the chapter with the
1757      *  index of all modules (Fortran).
1758      */
1759     virtual QCString trModulesIndex()
1760     { return "Rejstřík modulů"; }
1761
1762     /*! This is used for translation of the word that will possibly
1763      *  be followed by a single name or by a list of names
1764      *  of the category.
1765      */
1766     virtual QCString trModule(bool first_capital, bool singular)
1767     {
1768       QCString result((first_capital ? "Modul" : "modul"));
1769       if (!singular)  result+="y";
1770       return result;
1771     }
1772     /*! This is put at the bottom of a module documentation page and is
1773      *  followed by a list of files that were used to generate the page.
1774      */
1775     virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
1776         bool single)
1777     { // here s is one of " Module", " Struct" or " Union"
1778       // single is true implies a single file
1779       QCString result=(QCString)"Dokumentace ";
1780       switch(compType)
1781       {
1782         case ClassDef::Class:      result+="k tomuto modulu"; break;
1783         case ClassDef::Struct:     result+="k tomuto typu"; break;
1784         case ClassDef::Union:      result+="k této unii"; break;
1785         case ClassDef::Interface:  result+="k tomuto rozhraní"; break;
1786         case ClassDef::Protocol:   result+="k tomuto protokolu"; break;
1787         case ClassDef::Category:   result+="k této kategorii"; break;
1788         case ClassDef::Exception:  result+="k této výjimce"; break;
1789       }
1790       result+=" byla vygenerována z ";
1791       if (single) result+="následujícího souboru:";
1792       else result+="následujících souborů:";
1793       return result;
1794     }
1795     /*! This is used for translation of the word that will possibly
1796      *  be followed by a single name or by a list of names
1797      *  of the category.
1798      */
1799     virtual QCString trType(bool first_capital, bool singular)
1800     {
1801       QCString result((first_capital ? "Typ" : "typ"));
1802       if (!singular)  result+="y";
1803       return result;
1804     }
1805     /*! This is used for translation of the word that will possibly
1806      *  be followed by a single name or by a list of names
1807      *  of the category.
1808      */
1809     virtual QCString trSubprogram(bool first_capital, bool singular)
1810     {
1811       QCString result((first_capital ? "Podprogram" : "podprogram"));
1812       if (!singular)  result+="y";
1813       return result;
1814     }
1815
1816     /*! C# Type Contraint list */
1817     virtual QCString trTypeConstraints()
1818     {
1819       return "Omezení typů (Type Constraints)";
1820     }
1821
1822 //////////////////////////////////////////////////////////////////////////
1823 // new since 1.6.0 (mainly for the new search engine)
1824 //////////////////////////////////////////////////////////////////////////
1825
1826     /*! directory relation for \a name */
1827     virtual QCString trDirRelation(const char *name)
1828     {
1829       return "Relace " + QCString(name);
1830     }
1831
1832     /*! Loading message shown when loading search results */
1833     virtual QCString trLoading()
1834     {
1835       return "Načítám...";
1836     }
1837
1838     /*! Label used for search results in the global namespace */
1839     virtual QCString trGlobalNamespace()
1840     {
1841       return "Globální prostor jmen";
1842     }
1843
1844     /*! Message shown while searching */
1845     virtual QCString trSearching()
1846     {
1847       return "Vyhledávám...";
1848     }
1849
1850     /*! Text shown when no search results are found */
1851     virtual QCString trNoMatches()
1852     {
1853       return "Nic se nenašlo";
1854     }
1855
1856 //////////////////////////////////////////////////////////////////////////
1857 // new since 1.6.3 (missing items for the directory pages)
1858 //////////////////////////////////////////////////////////////////////////
1859
1860     /*! introduction text for the directory dependency graph */
1861     virtual QCString trDirDependency(const char *name)
1862     {
1863       return (QCString)"Graf závislosti adresářů pro "+name;
1864     }
1865
1866     /*! when clicking a directory dependency label, a page with a
1867      *  table is shown. The heading for the first column mentions the
1868      *  source file that has a relation to another file.
1869      */
1870     virtual QCString trFileIn(const char *name)
1871     {
1872       return (QCString)"Soubor v "+name;
1873     }
1874
1875     /*! when clicking a directory dependency label, a page with a
1876      *  table is shown. The heading for the second column mentions the
1877      *  destination file that is included.
1878      */
1879     virtual QCString trIncludesFileIn(const char *name)
1880     {
1881       return (QCString)"Vkládá (include) soubor z "+name;
1882     }
1883
1884     /** Compiles a date string.
1885      *  @param year Year in 4 digits
1886      *  @param month Month of the year: 1=January
1887      *  @param day Day of the Month: 1..31
1888      *  @param dayOfWeek Day of the week: 1=Monday..7=Sunday
1889      *  @param hour Hour of the day: 0..23
1890      *  @param minutes Minutes in the hour: 0..59
1891      *  @param seconds Seconds within the minute: 0..59
1892      *  @param includeTime Include time in the result string?
1893      */
1894     virtual QCString trDateTime(int year,int month,int day,int dayOfWeek,
1895                                 int hour,int minutes,int seconds,
1896                                 bool includeTime)
1897     {
1898       static const char *days[]   = { "po","út","st","čt","pá","so","ne" };
1899       static const char *months[] = { "led","úno","bře","dub","kvě","čer","čec","srp","zář","říj","lis","pro" };
1900       QCString sdate;
1901       sdate.sprintf("%s %d. %s %d",days[dayOfWeek-1],day,months[month-1],year);
1902       if (includeTime)
1903       {
1904         QCString stime;
1905         stime.sprintf(" %.2d.%.2d:%.2d",hour,minutes,seconds);
1906         sdate+=stime;
1907       }
1908       return sdate;
1909     }
1910
1911 //////////////////////////////////////////////////////////////////////////
1912 // new since 1.7.5
1913 //////////////////////////////////////////////////////////////////////////
1914
1915     /*! Header for the page with bibliographic citations */
1916     virtual QCString trCiteReferences()
1917     { return "Odkazy na literaturu"; }
1918
1919     /*! Text for copyright paragraph */
1920     virtual QCString trCopyright()
1921     { return "Copyright"; }
1922
1923     /*! Header for the graph showing the directory dependencies */
1924     virtual QCString trDirDepGraph(const char *name)
1925     { return QCString("Graf závislosti na adresářích pro  ")+name+":"; }
1926
1927 //////////////////////////////////////////////////////////////////////////
1928 // new since 1.8.0
1929 //////////////////////////////////////////////////////////////////////////
1930
1931     /*! Detail level selector shown for hierarchical indices */
1932     virtual QCString trDetailLevel()
1933     { return "úroveň detailů"; }
1934
1935     /*! Section header for list of template parameters */
1936     virtual QCString trTemplateParameters()
1937     { return "Parametry šablon"; }
1938
1939     /*! Used in dot graph when UML_LOOK is enabled and there are many fields */
1940     virtual QCString trAndMore(const QCString &number)
1941     { return "a "+number+" další(ch)..."; }
1942
1943     /*! Used file list for a Java enum */
1944     virtual QCString trEnumGeneratedFromFiles(bool single)
1945     { QCString result = "Dokumentace pro tento výčet byla generována z ";
1946       if (single)
1947           result += "následujícího souboru:";
1948       else
1949           result += "následujících souborů:";
1950       return result;
1951     }
1952
1953     /*! Header of a Java enum page (Java enums are represented as classes). */
1954     virtual QCString trEnumReference(const char *name)
1955     { return "Reference k výčtu "+QCString(name); }
1956
1957     /*! Used for a section containing inherited members */
1958     virtual QCString trInheritedFrom(const char *members,const char *what)
1959     { return QCString(members)+" dědí se z "+what; }
1960
1961     /*! Header of the sections with inherited members specific for the
1962      *  base class(es)
1963      */
1964     virtual QCString trAdditionalInheritedMembers()
1965     { return "Další zděděné členy"; }
1966
1967 //////////////////////////////////////////////////////////////////////////
1968 // new since 1.8.2
1969 //////////////////////////////////////////////////////////////////////////
1970
1971     /*! Used as a tooltip for the toggle button that appears in the
1972      *  navigation tree in the HTML output when GENERATE_TREEVIEW is
1973      *  enabled. This tooltip explains the meaning of the button.
1974      */
1975     virtual QCString trPanelSynchronisationTooltip(bool enable)
1976     {
1977       QCString opt = enable ? "povolit" : "zakázat";
1978       return opt + " synchronizaci panelů";
1979     }
1980
1981     /*! Used in a method of an Objective-C class that is declared in a
1982      *  a category. Note that the @1 marker is required and is replaced
1983      *  by a link.
1984      */
1985     virtual QCString trProvidedByCategory()
1986     {
1987       return "Deklarováno v kategorii @1.";
1988     }
1989
1990     /*! Used in a method of an Objective-C category that extends a class.
1991      *  Note that the @1 marker is required and is replaced by a link to
1992      *  the class method.
1993      */
1994     virtual QCString trExtendsClass()
1995     {
1996       return "Rozšiřuje třídu @1.";
1997     }
1998
1999     /*! Used as the header of a list of class methods in Objective-C.
2000      *  These are similar to static public member functions in C++.
2001      */
2002     virtual QCString trClassMethods()
2003     {
2004       return "Metody třídy";
2005     }
2006
2007     /*! Used as the header of a list of instance methods in Objective-C.
2008      *  These are similar to public member functions in C++.
2009      */
2010     virtual QCString trInstanceMethods()
2011     {
2012       return "Metody instance";
2013     }
2014
2015     /*! Used as the header of the member functions of an Objective-C class.
2016      */
2017     virtual QCString trMethodDocumentation()
2018     {
2019       return "Dokumentace metody";
2020     }
2021
2022     /*! Used as the title of the design overview picture created for the
2023      *  VHDL output.
2024      */
2025     virtual QCString trDesignOverview()
2026     {
2027       return "Návrhové schéma";
2028     }
2029
2030 //////////////////////////////////////////////////////////////////////////
2031
2032 };
2033
2034 #endif // TRANSLATOR_CZ_H