Imported Upstream version 1.9.8
[platform/upstream/doxygen.git] / src / translator_sk.h
1 /******************************************************************************
2  *
3  *
4  *
5  * Copyright (C) 1997-2015 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 // Updates:
19 // --------
20 // 2013/05/14 - Updates for "new since 1.8.4".
21 // 2012/08/02 - Updates for "new since 1.8.2".
22 // 2012/04/18 - Updates for "new since 1.8.0".
23 // 2011/07/28 - Updates for "new since 1.7.5".
24 // 2010/06/04 - big leap from 1.2.18 to 1.6.3+
25 //
26 // Slovak translation started by Stanislav Kudlac (skudlac at pobox dot sk).
27 // He resigned in March 2008 (thanks for the work).  Until a "native Slovak"
28 // maintainer is found, the TranslatorSlovak is maintained by Petr Prikryl with
29 // Slovak speaking Kali and Laco Švec.
30 // ----------------------------------------------------------------------------
31
32 #ifndef TRANSLATOR_SK_H
33 #define TRANSLATOR_SK_H
34
35 class TranslatorSlovak : public TranslatorAdapter_1_8_15
36 {
37   public:
38     // --- Language control methods -------------------
39
40     virtual QCString idLanguage()
41     { return "slovak"; }
42
43     virtual QCString latexLanguageSupportCommand()
44     { return "\\usepackage[slovak]{babel}\n"
45              "\\usepackage{regexpatch}\n"
46              "\\makeatletter\n"
47              "% Change the `-` delimiter to an active character\n"
48              "\\xpatchparametertext\\@@@cmidrule{-}{\\cA-}{}{}\n"
49              "\\xpatchparametertext\\@cline{-}{\\cA-}{}{}\n"
50              "\\makeatother\n";
51     }
52     virtual QCString trISOLang()
53     {
54       return "sk";
55     }
56     virtual QCString getLanguageString()
57     {
58       return "0x41B Slovak";
59     }
60     // --- Language translation methods -------------------
61
62     /*! used in the compound documentation before a list of related functions. */
63     virtual QCString trRelatedFunctions()
64     { return "Súvisiace funkcie"; }
65
66     /*! subscript for the related functions. */
67     virtual QCString trRelatedSubscript()
68     { return "(Uvedené funkcie niesú členskými funkciami.)"; }
69
70     /*! header that is put before the detailed description of files, classes and namespaces. */
71     virtual QCString trDetailedDescription()
72     { return "Detailný popis"; }
73
74     /*! header that is used when the summary tag is missing inside the details tag */
75     virtual QCString trDetails()
76     { return "Podrobnosti"; }
77
78     /*! header that is put before the list of typedefs. */
79     virtual QCString trMemberTypedefDocumentation()
80     { return "Dokumentácia k členským typom"; }
81
82     /*! header that is put before the list of enumerations. */
83     virtual QCString trMemberEnumerationDocumentation()
84     { return "Dokumentácia k členským enumeráciám"; }
85
86     /*! header that is put before the list of member functions. */
87     virtual QCString trMemberFunctionDocumentation()
88     { return "Dokumentácia k metódam"; }
89
90     /*! header that is put before the list of member attributes. */
91     virtual QCString trMemberDataDocumentation()
92     {
93       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
94       {
95         return "Dokumentácia k položkám";
96       }
97       else
98       {
99         return "Dokumentácia k dátovým členom";
100       }
101     }
102
103     /*! this is the text of a link put after brief descriptions. */
104     virtual QCString trMore()
105     { return "..."; }
106
107     /*! put in the class documentation */
108     virtual QCString trListOfAllMembers()
109     { return "Zoznam všetkých členov"; }
110
111     /*! used as the title of the "list of all members" page of a class */
112     virtual QCString trMemberList()
113     { return "Zoznam členov triedy"; }
114
115     /*! this is the first part of a sentence that is followed by a class name */
116     virtual QCString trThisIsTheListOfAllMembers()
117     { return "Tu nájdete úplný zoznam členov triedy "; }
118
119     /*! this is the remainder of the sentence after the class name */
120     virtual QCString trIncludingInheritedMembers()
121     { return ", vrátane všetkých zdedených členov."; }
122
123     /*! this is put at the author sections at the bottom of man pages.
124      *  parameter s is name of the project name.
125      */
126     virtual QCString trGeneratedAutomatically(const QCString &s)
127     { QCString result("Generované automaticky programom Doxygen "
128                       "zo zdrojových textov");
129       if (!s.isEmpty())
130           result+=" projektu "+s;
131       result+=".";
132       return result;
133     }
134
135     /*! put after an enum name in the list of all members */
136     virtual QCString trEnumName()
137     { return "meno enumerácie"; }
138
139     /*! put after an enum value in the list of all members */
140     virtual QCString trEnumValue()
141     { return "hodnota enumerácie"; }
142
143     /*! put after an undocumented member in the list of all members */
144     virtual QCString trDefinedIn()
145     { return "definovaný v"; }
146
147     // quick reference sections
148
149     /*! This is put above each page as a link to the list of all groups of
150      *  compounds or files (see the \\group command).
151      */
152     virtual QCString trModules()
153     { return "Moduly"; }
154
155     /*! This is put above each page as a link to the class hierarchy */
156     virtual QCString trClassHierarchy()
157     { return "Hierarchia tried"; }
158
159     /*! This is put above each page as a link to the list of annotated classes */
160     virtual QCString trCompoundList()
161     {
162       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
163       {
164         return "Dátové štruktúry";
165       }
166       else
167       {
168         return "Zoznam tried";
169       }
170     }
171
172     /*! This is put above each page as a link to the list of documented files */
173     virtual QCString trFileList()
174     { return "Zoznam súborov"; }
175
176     /*! This is put above each page as a link to all members of compounds. */
177     virtual QCString trCompoundMembers()
178     {
179       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
180       {
181         return "Dátové položky";
182       }
183       else
184       {
185         return "Zoznam členov tried";
186       }
187     }
188
189     /*! This is put above each page as a link to all members of files. */
190     virtual QCString trFileMembers()
191     {
192       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
193       {
194         return "Globálne symboly";
195       }
196       else
197       {
198         return "Symboly v súboroch";
199       }
200     }
201
202     /*! This is put above each page as a link to all related pages. */
203     virtual QCString trRelatedPages()
204     { return "Ostatné stránky"; }
205
206     /*! This is put above each page as a link to all examples. */
207     virtual QCString trExamples()
208     { return "Príklady"; }
209
210     /*! This is put above each page as a link to the search engine. */
211     virtual QCString trSearch()
212     { return "Hľadať"; }
213
214     /*! This is an introduction to the class hierarchy. */
215     virtual QCString trClassHierarchyDescription()
216     { return "Tu nájdete zoznam, vyjadrujúci vzťah dedičnosti tried. "
217              "Je zoradený približne (ale nie úplne) podľa abecedy:";
218     }
219
220     /*! This is an introduction to the list with all files. */
221     virtual QCString trFileListDescription(bool extractAll)
222     {
223         QCString result("Tu nájdete zoznam všetkých ");
224         if (!extractAll) result+="dokumentovaných ";
225         result+="súborov so stručnými popismi:";
226         return result;
227     }
228
229     /*! This is an introduction to the annotated compound list. */
230     virtual QCString trCompoundListDescription()
231     {
232       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
233       {
234         return "Nasledujúci zoznam obsahuje identifikáciu dátových "
235                "štruktúr a ich stručné popisy:";
236       }
237       else
238       {
239         return "Nasledujúci zoznam obsahuje predovšetkým identifikáciu "
240                "tried, ale nachádzajú sa tu i ďalšie netriviálne prvky, "
241                "ako sú štruktúry (struct), uniony (union) a rozhrania "
242                "(interface). V zozname sú uvedené ich stručné "
243                "popisy:";
244       }
245     }
246
247     /*! This is an introduction to the page with all class members. */
248     virtual QCString trCompoundMembersDescription(bool extractAll)
249     {
250       QCString result= "Tu nájdete zoznam všetkých ";
251       if (!extractAll)
252       {
253         result += "dokumentovaných ";
254       }
255
256       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
257       {
258         result += "položiek štruktúr (struct) a unionov (union) ";
259       }
260       else
261       {
262         result += "členov tried ";
263       }
264
265       result += "s odkazmi na ";
266
267       if (!extractAll)
268       {
269         if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
270         {
271           result += "dokumentáciu štruktúr/unionov, ku ktorým prislúchajú:";
272         }
273         else
274         {
275           result += "dokumentáciu tried, ku ktorým prislúchajú:";
276         }
277       }
278       else
279       {
280         if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
281         {
282           result+="štruktúry/uniony, ku ktorým prislúchajú:";
283         }
284         else
285         {
286           result+="triedy, ku ktorým prislúchajú:";
287         }
288       }
289
290       return result;
291     }
292
293     /*! This is an introduction to the page with all file members. */
294     virtual QCString trFileMembersDescription(bool extractAll)
295     {
296       QCString result="Tu nájdete zoznam všetkých ";
297       if (!extractAll) result+="dokumentovaných ";
298
299       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
300       {
301         result+="funkcií, premenných, makier, enumerácií a definícií typov (typedef) "
302                 "s odkazmi na ";
303       }
304       else
305       {
306         result+="symbolov, ktoré sú definované na úrovni svojich súborov. "
307                 "Pre každý symbol je uvedený odkaz na ";
308       }
309
310       if (extractAll)
311         result+="súbory, ku ktorým prislúchajú:";
312       else
313         result+="dokumentáciu:";
314
315       return result;
316     }
317
318     /*! This is an introduction to the page with the list of all examples */
319     virtual QCString trExamplesDescription()
320     { return "Tu nájdete zoznam všetkých príkladov:"; }
321
322     /*! This is an introduction to the page with the list of related pages */
323     virtual QCString trRelatedPagesDescription()
324     { return "Nasledujúci zoznam odkazuje na ďalšie stránky projektu, "
325              "ktoré majú charakter usporiadaných zoznamov informácií, "
326              "pozbieraných z rôznych miest v zdrojových súboroch:"; }
327
328     /*! This is an introduction to the page with the list of class/file groups */
329     virtual QCString trModulesDescription()
330     { return "Tu nájdete zoznam všetkých modulov:"; }
331
332     // index titles (the project name is prepended for these)
333
334     /*! This is used in HTML as the title of index.html. */
335     virtual QCString trDocumentation()
336     { return "Dokumentácia"; }
337
338     /*! This is used in LaTeX as the title of the chapter with the
339      * index of all groups.
340      */
341     virtual QCString trModuleIndex()
342     { return "Register modulov"; }
343
344     /*! This is used in LaTeX as the title of the chapter with the
345      * class hierarchy.
346      */
347     virtual QCString trHierarchicalIndex()
348     { return "Register hierarchie tried"; }
349
350     /*! This is used in LaTeX as the title of the chapter with the
351      * annotated compound index.
352      */
353     virtual QCString trCompoundIndex()
354     {
355       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
356       {
357         return "Register dátových štruktúr";
358       }
359       else
360       {
361         return "Register tried";
362       }
363     }
364
365     /*! This is used in LaTeX as the title of the chapter with the
366      * list of all files.
367      */
368     virtual QCString trFileIndex()
369     { return "Register súborov"; }
370
371     /*! This is used in LaTeX as the title of the chapter containing
372      *  the documentation of all groups.
373      */
374     virtual QCString trModuleDocumentation()
375     { return "Dokumentácia modulov"; }
376
377     /*! This is used in LaTeX as the title of the chapter containing
378      *  the documentation of all classes, structs and unions.
379      */
380     virtual QCString trClassDocumentation()
381     { return "Dokumentácia tried"; }
382
383     /*! This is used in LaTeX as the title of the chapter containing
384      *  the documentation of all files.
385      */
386     virtual QCString trFileDocumentation()
387     { return "Dokumentácia súborov"; }
388
389     /*! This is used in LaTeX as the title of the document */
390     virtual QCString trReferenceManual()
391     { return "Referenčná príručka"; }
392
393     /*! This is used in the documentation of a file as a header before the
394      *  list of defines
395      */
396     virtual QCString trDefines()
397     { return "Definícia makier"; }
398
399     /*! This is used in the documentation of a file as a header before the
400      *  list of typedefs
401      */
402     virtual QCString trTypedefs()
403     { return "Definícia typov"; }
404
405     /*! This is used in the documentation of a file as a header before the
406      *  list of enumerations
407      */
408     virtual QCString trEnumerations()
409     { return "Enumerácie"; }
410
411     /*! This is used in the documentation of a file as a header before the
412      *  list of (global) functions
413      */
414     virtual QCString trFunctions()
415     { return "Funkcie"; }
416
417     /*! This is used in the documentation of a file as a header before the
418      *  list of (global) variables
419      */
420     virtual QCString trVariables()
421     { return "Premenné"; }
422
423     /*! This is used in the documentation of a file as a header before the
424      *  list of (global) variables
425      */
426     virtual QCString trEnumerationValues()
427     { return "Hodnoty enumerácií"; }
428
429     /*! This is used in the documentation of a file before the list of
430      *  documentation blocks for defines
431      */
432     virtual QCString trDefineDocumentation()
433     { return "Dokumentácia k definíciám makier"; }
434
435     /*! This is used in the documentation of a file/namespace before the list
436      *  of documentation blocks for typedefs
437      */
438     virtual QCString trTypedefDocumentation()
439     { return "Dokumentácia definícií typov"; }
440
441     /*! This is used in the documentation of a file/namespace before the list
442      *  of documentation blocks for enumeration types
443      */
444     virtual QCString trEnumerationTypeDocumentation()
445     { return "Dokumentácia enumeračných typov"; }
446
447     /*! This is used in the documentation of a file/namespace before the list
448      *  of documentation blocks for functions
449      */
450     virtual QCString trFunctionDocumentation()
451     { return "Dokumentácia funkcií"; }
452
453     /*! This is used in the documentation of a file/namespace before the list
454      *  of documentation blocks for variables
455      */
456     virtual QCString trVariableDocumentation()
457     { return "Dokumentácia premenných"; }
458
459     /*! This is used in the documentation of a file/namespace/group before
460      *  the list of links to documented compounds
461      */
462     virtual QCString trCompounds()
463     {
464       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
465       {
466         return "Dátové štruktúry";
467       }
468       else
469       {
470         return "Triedy";
471       }
472     }
473
474     /*! This is used in the standard footer of each page and indicates when
475      *  the page was generated
476      */
477     virtual QCString trGeneratedAt(const QCString &date,const QCString &projName)
478     {
479       QCString result="Generované "+date;
480       if (!projName.isEmpty()) result+=" pre projekt "+projName;
481       result+=" programom";
482       return result;
483     }
484
485     /*! this text is put before a class diagram */
486     virtual QCString trClassDiagram(const QCString &clName)
487     {
488       return "Diagram dedičnosti pre triedu "+clName;
489     }
490
491     /*! this text is generated when the \\warning command is used. */
492     virtual QCString trWarning()
493     { return "Pozor"; }
494
495     /*! this text is generated when the \\version command is used. */
496     virtual QCString trVersion()
497     { return "Verzia"; }
498
499     /*! this text is generated when the \\date command is used. */
500     virtual QCString trDate()
501     { return "Dátum"; }
502
503     /*! this text is generated when the \\return command is used. */
504     virtual QCString trReturns()
505     { return "Návratová hodnota"; }
506
507     /*! this text is generated when the \\sa command is used. */
508     virtual QCString trSeeAlso()
509     { return "Viz tiež"; }
510
511     /*! this text is generated when the \\param command is used. */
512     virtual QCString trParameters()
513     { return "Parametre"; }
514
515     /*! this text is generated when the \\exception command is used. */
516     virtual QCString trExceptions()
517     { return "Výnimky"; }
518
519     /*! this text is used in the title page of a LaTeX document. */
520     virtual QCString trGeneratedBy()
521     { return "Generované programom"; }
522
523     // new since 0.49-990307
524
525     /*! used as the title of page containing all the index of all namespaces. */
526     virtual QCString trNamespaceList()
527     { return "Zoznam priestorov mien"; }
528
529     /*! used as an introduction to the namespace list */
530     virtual QCString trNamespaceListDescription(bool extractAll)
531     {
532       QCString result="Tu nájdete zoznam všetkých ";
533       if (!extractAll) result+="dokumentovaných ";
534       result+="priestorov mien so stručným popisom:";
535       return result;
536     }
537
538     /*! used in the class documentation as a header before the list of all
539      *  friends of a class
540      */
541     virtual QCString trFriends()
542     { return "Priatelia (friends)"; }
543
544 //////////////////////////////////////////////////////////////////////////
545 // new since 0.49-990405
546 //////////////////////////////////////////////////////////////////////////
547
548     /*! used in the class documentation as a header before the list of all
549      * related classes
550      */
551     virtual QCString trRelatedFunctionDocumentation()
552     { return "Dokumentácia k priateľom (friends)"; }
553
554 //////////////////////////////////////////////////////////////////////////
555 // new since 0.49-990425
556 //////////////////////////////////////////////////////////////////////////
557
558     /*! used as the title of the HTML page of a class/struct/union */
559     virtual QCString trCompoundReference(const QCString &clName,
560                                     ClassDef::CompoundType compType,
561                                     bool isTemplate)
562     {
563       QCString result("Dokumentácia ");
564       if (isTemplate) result+="šablóny ";
565       switch(compType)
566       {
567         case ClassDef::Class:      result+="triedy "; break;
568         case ClassDef::Struct:     result+="štruktúry "; break;
569         case ClassDef::Union:      result+="unionu "; break;
570         case ClassDef::Interface:  result+="rozhrania "; break;
571         case ClassDef::Protocol:   result+="protokol "; break;
572         case ClassDef::Category:   result+="kategória "; break;
573         case ClassDef::Exception:  result+="výnimky "; break;
574         default: break;
575       }
576       result+=clName;
577       return result;
578     }
579
580     /*! used as the title of the HTML page of a file */
581     virtual QCString trFileReference(const QCString &fileName)
582     {
583       QCString result("Dokumentácia súboru ");
584       result+=fileName;
585       return result;
586     }
587
588     /*! used as the title of the HTML page of a namespace */
589     virtual QCString trNamespaceReference(const QCString &namespaceName)
590     {
591       QCString result("Dokumentácia priestoru mien ");
592       result+=namespaceName;
593       return result;
594     }
595
596     /* these are for the member sections of a class, struct or union */
597     virtual QCString trPublicMembers()
598     { return "Verejné metódy"; }
599     virtual QCString trPublicSlots()
600     { return "Verejné sloty"; }
601     virtual QCString trSignals()
602     { return "Signály"; }
603     virtual QCString trStaticPublicMembers()
604     { return "Statické verejné metódy"; }
605     virtual QCString trProtectedMembers()
606     { return "Chránené metódy"; }
607     virtual QCString trProtectedSlots()
608     { return "Chránené sloty"; }
609     virtual QCString trStaticProtectedMembers()
610     { return "Statické chránené metódy"; }
611     virtual QCString trPrivateMembers()
612     { return "Privátne metódy"; }
613     virtual QCString trPrivateSlots()
614     { return "Privátne sloty"; }
615     virtual QCString trStaticPrivateMembers()
616     { return "Statické privátne metódy"; }
617
618     /*! this function is used to produce a comma-separated list of items.
619      *  use generateMarker(i) to indicate where item i should be put.
620      */
621     virtual QCString trWriteList(int numEntries)
622     {
623       QCString result;
624       int i;
625       // the inherits list contain `numEntries' classes
626       for (i=0;i<numEntries;i++)
627       {
628         // use generateMarker to generate placeholders for the class links!
629         result+=generateMarker(i); // generate marker for entry i in the list
630                                    // (order is left to right)
631
632         if (i!=numEntries-1)  // not the last entry, so we need a separator
633         {
634           if (i<numEntries-2) // not the fore last entry
635             result+=", ";
636           else                            // the fore last entry
637             result+=" a ";
638         }
639       }
640       return result;
641     }
642
643     /*! used in class documentation to produce a list of base classes,
644      *  if class diagrams are disabled.
645      */
646     virtual QCString trInheritsList(int numEntries)
647     {
648       QCString result("Dedí od ");
649       result += (numEntries == 1) ? "bázovej triedy " : "bázových tried ";
650       result += trWriteList(numEntries)+".";
651       return result;
652     }
653
654     /*! used in class documentation to produce a list of super classes,
655      *  if class diagrams are disabled.
656      */
657     virtual QCString trInheritedByList(int numEntries)
658     {
659       QCString result("Zdedená ");
660       result += (numEntries == 1) ? "triedou " : "triedami ";
661       result += trWriteList(numEntries)+".";
662       return result;
663     }
664
665     /*! used in member documentation blocks to produce a list of
666      *  members that are hidden by this one.
667      */
668     virtual QCString trReimplementedFromList(int numEntries)
669     {
670       QCString result("Reimplementuje ");
671       result += (numEntries == 1) ? "metódu triedy " : "metódy tried ";
672       result += trWriteList(numEntries)+".";
673       return result;
674     }
675
676     /*! used in member documentation blocks to produce a list of
677      *  all member that overwrite the implementation of this member.
678      */
679     virtual QCString trReimplementedInList(int numEntries)
680     {
681       QCString result("Reimplementované ");
682       result += (numEntries == 1) ? "triedou " : "triedami ";
683       result += trWriteList(numEntries)+".";
684       return result;
685     }
686
687     /*! This is put above each page as a link to all members of namespaces. */
688     virtual QCString trNamespaceMembers()
689     { return "Symboly v priestoroch mien"; }
690
691     /*! This is an introduction to the page with all namespace members */
692     virtual QCString trNamespaceMemberDescription(bool extractAll)
693     {
694       QCString result="Tu nájdete zoznam všetkých ";
695       if (!extractAll) result+="dokumentovaných ";
696       result+="symbolov, ktoré sú definované vo svojich priestoroch mien. "
697               "U každého je uvedený odkaz na ";
698       if (extractAll)
699         result+="dokumentáciu príslušného priestoru mien:";
700       else
701         result+="príslušný priestor mien:";
702       return result;
703     }
704     /*! This is used in LaTeX as the title of the chapter with the
705      *  index of all namespaces.
706      */
707     virtual QCString trNamespaceIndex()
708     { return "Register priestorov mien"; }
709
710     /*! This is used in LaTeX as the title of the chapter containing
711      *  the documentation of all namespaces.
712      */
713     virtual QCString trNamespaceDocumentation()
714     { return "Dokumentácia priestorov mien"; }
715
716 //////////////////////////////////////////////////////////////////////////
717 // new since 0.49-990522
718 //////////////////////////////////////////////////////////////////////////
719
720     /*! This is used in the documentation before the list of all
721      *  namespaces in a file.
722      */
723     virtual QCString trNamespaces()
724     { return "Priestory mien"; }
725
726 //////////////////////////////////////////////////////////////////////////
727 // new since 0.49-990728
728 //////////////////////////////////////////////////////////////////////////
729
730     /*! This is put at the bottom of a class documentation page and is
731      *  followed by a list of files that were used to generate the page.
732      */
733     virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
734         bool single)
735     { // here s is one of " Class", " Struct" or " Union"
736       // single is true implies a single file
737       QCString result="Dokumentácia pre ";
738       switch(compType)
739       {
740         case ClassDef::Class:      result+="túto triedu"; break;
741         case ClassDef::Struct:     result+="túto štruktúru (struct)"; break;
742         case ClassDef::Union:      result+="tento union"; break;
743         case ClassDef::Interface:  result+="toto rozhranie"; break;
744         case ClassDef::Protocol:   result+="protokol"; break;
745         case ClassDef::Category:   result+="kategória"; break;
746         case ClassDef::Exception:  result+="túto výnimku"; break;
747         default: break;
748       }
749       result+=" bola generovaná z ";
750       if (single) result+="nasledujúceho súboru:";
751       else                result+="nasledujúcich súborov:";
752       return result;
753     }
754
755 //////////////////////////////////////////////////////////////////////////
756 // new since 0.49-990901
757 //////////////////////////////////////////////////////////////////////////
758
759     /*! This is used as the heading text for the retval command. */
760     virtual QCString trReturnValues()
761     { return "Návratové hodnoty"; }
762
763     /*! This is in the (quick) index as a link to the main page (index.html)
764      */
765     virtual QCString trMainPage()
766     { return "Hlavná stránka"; }
767
768     /*! This is used in references to page that are put in the LaTeX
769      *  documentation. It should be an abbreviation of the word page.
770      */
771     virtual QCString trPageAbbreviation()
772     { return "s."; }
773
774 //////////////////////////////////////////////////////////////////////////
775 // new since 0.49-991003
776 //////////////////////////////////////////////////////////////////////////
777
778     virtual QCString trDefinedAtLineInSourceFile()
779     {
780       return "Definícia je uvedená na riadku @0 v súbore @1.";
781     }
782     virtual QCString trDefinedInSourceFile()
783     {
784       return "Definícia v súbore @0.";
785     }
786
787 //////////////////////////////////////////////////////////////////////////
788 // new since 0.49-991205
789 //////////////////////////////////////////////////////////////////////////
790
791     virtual QCString trDeprecated()
792     {
793       return "Zastaralé";
794     }
795
796 //////////////////////////////////////////////////////////////////////////
797 // new since 1.0.0
798 //////////////////////////////////////////////////////////////////////////
799
800     /*! this text is put before a collaboration diagram */
801     virtual QCString trCollaborationDiagram(const QCString &clName)
802     {
803       return "Diagram tried pre "+clName+":";
804     }
805     /*! this text is put before an include dependency graph */
806     virtual QCString trInclDepGraph(const QCString &fName)
807     {
808       return "Graf závislostí na vkladaných súboroch "
809                     "pre "+fName+":";
810     }
811     /*! header that is put before the list of constructor/destructors. */
812     virtual QCString trConstructorDocumentation()
813     {
814       return "Dokumentácia konštruktoru a deštruktoru";
815     }
816     /*! Used in the file documentation to point to the corresponding sources. */
817     virtual QCString trGotoSourceCode()
818     {
819       return "Zobraziť zdrojový text tohoto súboru.";
820     }
821     /*! Used in the file sources to point to the corresponding documentation. */
822     virtual QCString trGotoDocumentation()
823     {
824       return "Zobraziť dokumentáciu tohoto súboru.";
825     }
826     /*! Text for the \\pre command */
827     virtual QCString trPrecondition()
828     {
829       return "Prepodmienka";
830     }
831     /*! Text for the \\post command */
832     virtual QCString trPostcondition()
833     {
834       return "Postpodmienka";
835     }
836     /*! Text for the \\invariant command */
837     virtual QCString trInvariant()
838     {
839       return "Invariant";
840     }
841     /*! Text shown before a multi-line variable/enum initialization */
842     virtual QCString trInitialValue()
843     {
844       return "Inicializátor:";
845     }
846     /*! Text used the source code in the file index */
847     virtual QCString trCode()
848     {
849       return "zdrojový text";
850     }
851     virtual QCString trGraphicalHierarchy()
852     {
853       return "Grafické zobrazenie hierarchie tried";
854     }
855     virtual QCString trGotoGraphicalHierarchy()
856     {
857       return "Zobraziť grafickú podobu hierarchie tried";
858     }
859     virtual QCString trGotoTextualHierarchy()
860     {
861       return "Zobraziť textovú podobu hierarchie tried";
862     }
863     virtual QCString trPageIndex()
864     {
865       return "Register stránok";
866     }
867
868 //////////////////////////////////////////////////////////////////////////
869 // new since 1.1.0
870 //////////////////////////////////////////////////////////////////////////
871
872     virtual QCString trNote()
873     {
874       return "Poznámka";
875     }
876     virtual QCString trPublicTypes()
877     {
878       return "Verejné typy";
879     }
880     virtual QCString trPublicAttribs()
881     {
882       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
883       {
884         return "Dátové položky";
885       }
886       else
887       {
888         return "Verejné atribúty";
889       }
890     }
891     virtual QCString trStaticPublicAttribs()
892     {
893       return "Statické verejné atribúty";
894     }
895     virtual QCString trProtectedTypes()
896     {
897       return "Chránené typy";
898     }
899     virtual QCString trProtectedAttribs()
900     {
901       return "Chránené atribúty";
902     }
903     virtual QCString trStaticProtectedAttribs()
904     {
905       return "Statické chránené atribúty";
906     }
907     virtual QCString trPrivateTypes()
908     {
909       return "Privátne typy";
910     }
911     virtual QCString trPrivateAttribs()
912     {
913       return "Privátne atribúty";
914     }
915     virtual QCString trStaticPrivateAttribs()
916     {
917       return "Statické privátne atribúty";
918     }
919
920 //////////////////////////////////////////////////////////////////////////
921 // new since 1.1.3
922 //////////////////////////////////////////////////////////////////////////
923
924     /*! Used as a marker that is put before a todo item */
925     virtual QCString trTodo()
926     {
927       return "Plánované úpravy";
928     }
929     /*! Used as the header of the todo list */
930     virtual QCString trTodoList()
931     {
932       return "Zoznam plánovaných úprav";
933     }
934
935 //////////////////////////////////////////////////////////////////////////
936 // new since 1.1.4
937 //////////////////////////////////////////////////////////////////////////
938
939     virtual QCString trReferencedBy()
940     {
941       return "Používa sa v";
942     }
943     virtual QCString trRemarks()
944     {
945       return "Poznámky";
946     }
947     virtual QCString trAttention()
948     {
949       return "Upozornenie";
950     }
951     virtual QCString trInclByDepGraph()
952     {
953       return "Nasledujúci graf ukazuje, ktoré súbory priamo alebo "
954              "nepriamo vkladajú tento súbor:";
955     }
956     virtual QCString trSince()
957     {
958       return "Od";
959     }
960
961 ////////////////////////////////////////////////////////////////////////////
962 // new since 1.1.5
963 //////////////////////////////////////////////////////////////////////////
964
965     /*! title of the graph legend page */
966     virtual QCString trLegendTitle()
967     {
968       return "Vysvetlivky ku grafu";
969     }
970     /*! page explaining how the dot graph's should be interpreted */
971     virtual QCString trLegendDocs()
972     {
973       return
974         "Tu nájdete vysvetlenie, ako majú byť interpretované grafy, "
975         "ktoré boli generované programom doxygen.<p>\n"
976         "Uvažujte nasledujúci príklad:\n"
977         "\\code\n"
978         "/*! Neviditelná trieda, ktorá sa v grafe nezobrazuje, pretože "
979         "došlo k orezaniu grafu. */\n"
980         "class Invisible { };\n\n"
981         "/*! Trieda, u ktorej došlo k orezaniu grafu. Vzťah dedičnosti "
982         "je skrytý. */\n"
983         "class Truncated : public Invisible { };\n\n"
984         "/* Trieda, ktorá nieje dokumentovaná komentármi programu doxygen. */\n"
985         "class Undocumented { };\n\n"
986         "/*! Odvodená trieda s verejným (public) dedením bázovej triedy. */\n"
987         "class PublicBase : public Truncated { };\n\n"
988         "/*! Šablóna triedy. */\n"
989         "template<class T> class Templ { };\n\n"
990         "/*! Odvodená trieda s chráneným (protected) dedením bázovej triedy. */\n"
991         "class ProtectedBase { };\n\n"
992         "/*! Odvodená trieda s privátnym dedením bázovej triedy. */\n"
993         "class PrivateBase { };\n\n"
994         "/*! Trieda, ktorá je využívaná triedou Inherited. */\n"
995         "class Used { };\n\n"
996         "/*! Odvodená trieda, ktorá rôznym spôsobom dedí od viacerých bázových "
997         "tried. */\n"
998         "class Inherited : public PublicBase,\n"
999         "                  protected ProtectedBase,\n"
1000         "                  private PrivateBase,\n"
1001         "                  public Undocumented,\n"
1002         "                  public Templ<int>\n"
1003         "{\n"
1004         "  private:\n"
1005         "        Used *m_usedClass;\n"
1006         "};\n"
1007         "\\endcode\n"
1008         "K vyššie uvedenému bude vygenerovaný nasledujúci graf:"
1009         "<p><center><img src=\"graph_legend."+getDotImageExtension()+"\"></center>\n"
1010         "<p>\n"
1011         "Bloky (tj. uzly) v uvedenom grafe majú nasledujúci význam:\n"
1012         "<ul>\n"
1013         "<li>Čierne vyplnený obdĺžnik reprezentuje štruktúru alebo triedu, "
1014             "pre ktorú bol graf generovaný.\n"
1015         "<li>Obdĺžnik s čiernym obrysom označuje dokumentovanú "
1016             "štruktúru alebo triedu.\n"
1017         "<li>Obdĺžnik so šedým obrysom označuje nedokumentovanú "
1018             "štruktúru alebo triedu.\n"
1019         "<li>Obdĺžnik s červeným obrysom označuje dokumentovanú "
1020             "štruktúru alebo triedu, pre ktorú\n"
1021             "niesú zobrazené všetky vzťahy dedičnosti alebo obsiahnutia. "
1022             "Graf je orezaný v prípade, kedy ho\n"
1023             "nieje možné umiestniť do vymedzených hraníc.\n"
1024         "</ul>\n"
1025         "Šípky (tj. hrany grafu) majú nasledujúcí význam:\n"
1026         "<ul>\n"
1027         "<li>Tmavo modrá šípka sa používa pre označenie vzťahu verejnej "
1028             "dedičnosti medzi dvoma triedami.\n"
1029         "<li>Tmavo zelená šípka označuje vzťah chránenej dedičnosti "
1030             "(protected).\n"
1031         "<li>Tmavo červená šípka označuje vzťah privátnej dedičnosti.\n"
1032         "<li>Purpurová šípka kreslená čiarkovane sa používa v prípade, "
1033             "ak je trieda obsiahnutá v inej triede,\n"
1034             "alebo ak je používaná inou triedou. Je označená identifikátorom "
1035             "jednej alebo viacerých premenných (objektov), cez ktoré\n"
1036             "je trieda alebo štruktúra zprístupnena.\n"
1037         "</ul>\n";
1038     }
1039     /*! text for the link to the legend page */
1040     virtual QCString trLegend()
1041     {
1042       return "vysvetlivky";
1043     }
1044
1045 //////////////////////////////////////////////////////////////////////////
1046 // new since 1.2.0
1047 //////////////////////////////////////////////////////////////////////////
1048
1049     /*! Used as a marker that is put before a test item */
1050     virtual QCString trTest()
1051     {
1052       return "Test";
1053     }
1054
1055     /*! Used as the header of the test list */
1056     virtual QCString trTestList()
1057     {
1058       return "Zoznam testov";
1059     }
1060
1061 //////////////////////////////////////////////////////////////////////////
1062 // new since 1.2.2
1063 //////////////////////////////////////////////////////////////////////////
1064
1065     /*! Used as a section header for IDL properties */
1066     virtual QCString trProperties()
1067     {
1068       return "Vlastnosti";
1069     }
1070     /*! Used as a section header for IDL property documentation */
1071     virtual QCString trPropertyDocumentation()
1072     {
1073       return "Dokumentácia k vlastnosti";
1074     }
1075 //////////////////////////////////////////////////////////////////////////
1076 // new since 1.2.4
1077 //////////////////////////////////////////////////////////////////////////
1078
1079     /*! Used for Java classes in the summary section of Java packages */
1080     virtual QCString trClasses()
1081     {
1082       return "Triedy";
1083     }
1084     /*! Used as the title of a Java package */
1085     virtual QCString trPackage(const QCString &name)
1086     {
1087       return "Balík "+name;
1088     }
1089     /*! The description of the package index page */
1090     virtual QCString trPackageListDescription()
1091     {
1092       return "Tu nájdete zoznam balíkov so stručným popisom "
1093              "(pokiaľ bol uvedený):";
1094     }
1095     /*! The link name in the Quick links header for each page */
1096     virtual QCString trPackages()
1097     {
1098       return "Balíky";
1099     }
1100     /*! Text shown before a multi-line define */
1101     virtual QCString trDefineValue()
1102     {
1103       return "Hodnota:";
1104     }
1105
1106 //////////////////////////////////////////////////////////////////////////
1107 // new since 1.2.5
1108 //////////////////////////////////////////////////////////////////////////
1109
1110     /*! Used as a marker that is put before a \\bug item */
1111     virtual QCString trBug()
1112     {
1113       return "Chyba";
1114     }
1115     /*! Used as the header of the bug list */
1116     virtual QCString trBugList()
1117     {
1118       return "Zoznam chýb";
1119     }
1120
1121 //////////////////////////////////////////////////////////////////////////
1122 // new since 1.2.6-20010422
1123 //////////////////////////////////////////////////////////////////////////
1124
1125     /*! Used as ansicpg for RTF file */
1126     virtual QCString trRTFansicp()
1127     {
1128       return "1250";
1129     }
1130
1131     /*! Used as ansicpg for RTF fcharset */
1132     virtual QCString trRTFCharSet()
1133     {
1134       return "238";
1135     }
1136
1137     /*! Used as header RTF general index */
1138     virtual QCString trRTFGeneralIndex()
1139     {
1140       return "Index";
1141     }
1142
1143     /*! This is used for translation of the word that will possibly
1144      *  be followed by a single name or by a list of names
1145      *  of the category.
1146      */
1147     virtual QCString trClass(bool first_capital, bool singular)
1148     {
1149       QCString result((first_capital ? "Tried" : "tried"));
1150       result+=(singular ? "a" : "y");
1151       return result;
1152     }
1153
1154     /*! This is used for translation of the word that will possibly
1155      *  be followed by a single name or by a list of names
1156      *  of the category.
1157      */
1158     virtual QCString trFile(bool first_capital, bool singular)
1159     {
1160       QCString result((first_capital ? "Súbor" : "súbor"));
1161       if (!singular)  result+="y";
1162       return result;
1163     }
1164
1165     /*! This is used for translation of the word that will possibly
1166      *  be followed by a single name or by a list of names
1167      *  of the category.
1168      */
1169     virtual QCString trNamespace(bool first_capital, bool singular)
1170     {
1171       QCString result((first_capital ? "Priestor" : "priestor"));
1172       if (!singular)  result+="y";
1173       result+=" mien";
1174       return result;
1175     }
1176
1177     /*! This is used for translation of the word that will possibly
1178      *  be followed by a single name or by a list of names
1179      *  of the category.
1180      */
1181     virtual QCString trGroup(bool first_capital, bool singular)
1182     {
1183       QCString result((first_capital ? "Skupin" : "skupin"));
1184       result+=(singular ? "a" : "y");
1185       return result;
1186     }
1187
1188     /*! This is used for translation of the word that will possibly
1189      *  be followed by a single name or by a list of names
1190      *  of the category.
1191      */
1192     virtual QCString trPage(bool first_capital, bool singular)
1193     {
1194       QCString result((first_capital ? "Stránk" : "stránk"));
1195       result+=(singular ? "a" : "y");
1196       return result;
1197     }
1198
1199     /*! This is used for translation of the word that will possibly
1200      *  be followed by a single name or by a list of names
1201      *  of the category.
1202      */
1203     virtual QCString trMember(bool first_capital, bool singular)
1204     {
1205       QCString result((first_capital ? "Člen" : "člen"));
1206       if (!singular)  result+="y";
1207       return result;
1208     }
1209
1210     /*! This is used for translation of the word that will possibly
1211      *  be followed by a single name or by a list of names
1212      *  of the category.
1213      */
1214     virtual QCString trGlobal(bool first_capital, bool singular)
1215     {
1216       QCString result((first_capital ? "Globáln" : "globáln"));
1217       result+=(singular ? "y" : "e");
1218       return result;
1219     }
1220
1221 //////////////////////////////////////////////////////////////////////////
1222 // new since 1.2.7
1223 //////////////////////////////////////////////////////////////////////////
1224
1225     /*! This text is generated when the \\author command is used and
1226      *  for the author section in man pages. */
1227     virtual QCString trAuthor(bool first_capital, bool singular)
1228     {
1229       QCString result((first_capital ? "Auto" : "auto"));
1230       result += (singular) ? "r" : "ri";
1231       return result;
1232     }
1233
1234 //////////////////////////////////////////////////////////////////////////
1235 // new since 1.2.11
1236 //////////////////////////////////////////////////////////////////////////
1237
1238     /*! This text is put before the list of members referenced by a member
1239      */
1240     virtual QCString trReferences()
1241     {
1242       return "Odkazuje sa na";
1243     }
1244
1245 //////////////////////////////////////////////////////////////////////////
1246 // new since 1.2.13
1247 //////////////////////////////////////////////////////////////////////////
1248
1249     /*! used in member documentation blocks to produce a list of
1250      *  members that are implemented by this one.
1251      */
1252     virtual QCString trImplementedFromList(int numEntries)
1253     {
1254       return "Implementuje " + trWriteList(numEntries) + ".";
1255     }
1256
1257     /*! used in member documentation blocks to produce a list of
1258      *  all members that implement this member.
1259      */
1260     virtual QCString trImplementedInList(int numEntries)
1261     {
1262       return "Implementované v " + trWriteList(numEntries) + ".";
1263     }
1264
1265 //////////////////////////////////////////////////////////////////////////
1266 // new since 1.2.16
1267 //////////////////////////////////////////////////////////////////////////
1268
1269     /*! used in RTF documentation as a heading for the Table
1270      *  of Contents.
1271      */
1272     virtual QCString trRTFTableOfContents()
1273     {
1274       return "Obsah";
1275     }
1276
1277 //////////////////////////////////////////////////////////////////////////
1278 // new since 1.2.17
1279 //////////////////////////////////////////////////////////////////////////
1280
1281     /*! Used as the header of the list of item that have been
1282      *  flagged deprecated
1283      */
1284     virtual QCString trDeprecatedList()
1285     {
1286       return "Zastarané metódy";
1287     }
1288
1289 //////////////////////////////////////////////////////////////////////////
1290 // new since 1.2.18
1291 //////////////////////////////////////////////////////////////////////////
1292
1293     /*! Used as a header for declaration section of the events found in
1294      * a C# program
1295      */
1296     virtual QCString trEvents()
1297     {
1298       return "Udalosti";
1299     }
1300     /*! Header used for the documentation section of a class' events. */
1301     virtual QCString trEventDocumentation()
1302     {
1303       return "Dokumentácia udalostí";
1304     }
1305
1306 //////////////////////////////////////////////////////////////////////////
1307 // new since 1.3
1308 //////////////////////////////////////////////////////////////////////////
1309
1310     /*! Used as a heading for a list of Java class types with package scope.
1311      */
1312     virtual QCString trPackageTypes()
1313     {
1314       return "Typy v balíku";
1315     }
1316     /*! Used as a heading for a list of Java class functions with package
1317      * scope.
1318      */
1319     virtual QCString trPackageFunctions()
1320     {
1321       return "Funkcie v balíku";
1322     }
1323     virtual QCString trPackageMembers()
1324     {
1325       return "Členy v balíku";
1326     }
1327     /*! Used as a heading for a list of static Java class functions with
1328      *  package scope.
1329      */
1330     virtual QCString trStaticPackageFunctions()
1331     {
1332       return "Statické funkcie v balíku";
1333     }
1334     /*! Used as a heading for a list of Java class variables with package
1335      * scope.
1336      */
1337     virtual QCString trPackageAttribs()
1338     {
1339       return "Atribúty balíku";
1340     }
1341     /*! Used as a heading for a list of static Java class variables with
1342      * package scope.
1343      */
1344     virtual QCString trStaticPackageAttribs()
1345     {
1346       return "Statické atribúty balíku";
1347     }
1348
1349 //////////////////////////////////////////////////////////////////////////
1350 // new since 1.3.1
1351 //////////////////////////////////////////////////////////////////////////
1352
1353     /*! Used in the quick index of a class/file/namespace member list page
1354      *  to link to the unfiltered list of all members.
1355      */
1356     virtual QCString trAll()
1357     {
1358       return "Všetko";
1359     }
1360     /*! Put in front of the call graph for a function. */
1361     virtual QCString trCallGraph()
1362     {
1363       return "Táto funkcia volá...";
1364     }
1365
1366 //////////////////////////////////////////////////////////////////////////
1367 // new since 1.3.3
1368 //////////////////////////////////////////////////////////////////////////
1369
1370     /*! This string is used as the title for the page listing the search
1371      *  results.
1372      */
1373     virtual QCString trSearchResultsTitle()
1374     {
1375       return "Výsledky vyhľadávania";
1376     }
1377     /*! This string is put just before listing the search results. The
1378      *  text can be different depending on the number of documents found.
1379      *  Inside the text you can put the special marker $num to insert
1380      *  the number representing the actual number of search results.
1381      *  The @a numDocuments parameter can be either 0, 1 or 2, where the
1382      *  value 2 represents 2 or more matches. HTML markup is allowed inside
1383      *  the returned string.
1384      */
1385     virtual QCString trSearchResults(int numDocuments)
1386     {
1387       if (numDocuments==0)
1388       {
1389         return "Ľutujem. Vášmu dotazu neodpovedá žiadny dokument.";
1390       }
1391       else if (numDocuments==1)
1392       {
1393         return "Bol nájdený jediný dokument, ktorý vyhovuje vášmu dotazu.";
1394       }
1395       else
1396       {
1397         return "Bolo nájdených <b>$num</b> dokumentov, ktoré vyhovujú vášmu "
1398                       "dotazu. Najviac odpovedajúce dokumenty sú ako prvé.";
1399       }
1400     }
1401     /*! This string is put before the list of matched words, for each search
1402      *  result. What follows is the list of words that matched the query.
1403      */
1404     virtual QCString trSearchMatches()
1405     {
1406       return "Nájdené slová:";
1407     }
1408
1409 //////////////////////////////////////////////////////////////////////////
1410 // new since 1.3.8
1411 //////////////////////////////////////////////////////////////////////////
1412
1413     /*! This is used in HTML as the title of page with source code for file filename
1414      */
1415     virtual QCString trSourceFile(QCString& filename)
1416     {
1417       return QCString("Zdrojový súbor ") + filename;
1418     }
1419
1420
1421 //////////////////////////////////////////////////////////////////////////
1422 // new since 1.3.9
1423 //////////////////////////////////////////////////////////////////////////
1424
1425
1426     /*! This is used as the name of the chapter containing the directory
1427      *  hierarchy.
1428      */
1429     virtual QCString trDirIndex()
1430     { return "Hierarchia adresárov"; }
1431
1432     /*! This is used as the name of the chapter containing the documentation
1433      *  of the directories.
1434      */
1435     virtual QCString trDirDocumentation()
1436     { return "Dokumentácia k adresárom"; }
1437
1438     /*! This is used as the title of the directory index and also in the
1439      *  Quick links of a HTML page, to link to the directory hierarchy.
1440      */
1441     virtual QCString trDirectories()
1442     { return "Adresáre"; }
1443
1444     /*! This returns the title of a directory page. The name of the
1445      *  directory is passed via \a dirName.
1446      */
1447     virtual QCString trDirReference(const QCString &dirName)
1448     {
1449         QCString result = "Referencia k adresáru ";
1450         result += dirName;
1451         return result;
1452     }
1453
1454     /*! This returns the word directory with or without starting capital
1455      *  (\a first_capital) and in sigular or plural form (\a singular).
1456      */
1457     virtual QCString trDir(bool first_capital, bool singular)
1458     {
1459         QCString result((first_capital ? "Adresár" : "adresár"));
1460         if ( ! singular)
1461             result += "e";
1462         return result;
1463     }
1464
1465 //////////////////////////////////////////////////////////////////////////
1466 // new since 1.4.1
1467 //////////////////////////////////////////////////////////////////////////
1468
1469     /*! This text is added to the documentation when the \\overload command
1470      *  is used for a overloaded function.
1471      */
1472     virtual QCString trOverloadText()
1473     {
1474        return "Ide o preťaženú (overloaded) metódu, "
1475               "ktorá má uľahčiť používanie. Od vyššie uvedenej metódy sa odlišuje "
1476               "iba inak zadávanými argumentami.";
1477     }
1478
1479 //////////////////////////////////////////////////////////////////////////
1480 // new since 1.4.6
1481 //////////////////////////////////////////////////////////////////////////
1482
1483     virtual QCString trCallerGraph()
1484     { return "Túto funkciu volajú..."; }
1485
1486
1487     /*! This is used in the documentation of a file/namespace before the list
1488      *  of documentation blocks for enumeration values
1489      */
1490     virtual QCString trEnumerationValueDocumentation()
1491     { return "Dokumentácia enumeračných hodnôt"; }
1492
1493
1494 //////////////////////////////////////////////////////////////////////////
1495 // new since 1.5.4 (mainly for Fortran)
1496 //////////////////////////////////////////////////////////////////////////
1497
1498     /*! header that is put before the list of member subprograms (Fortran). */
1499     virtual QCString trMemberFunctionDocumentationFortran()
1500     { return "Dokumentácia členských funkcií/podprogramov"; }
1501
1502     /*! This is put above each page as a link to the list of annotated data types (Fortran). */
1503     virtual QCString trCompoundListFortran()
1504     { return "Zoznam dátových typov"; }
1505
1506     /*! This is put above each page as a link to all members of compounds (Fortran). */
1507     virtual QCString trCompoundMembersFortran()
1508     { return "Dátové polia"; }
1509
1510     /*! This is an introduction to the annotated compound list (Fortran). */
1511     virtual QCString trCompoundListDescriptionFortran()
1512     { return "Dátové typy so stručnými popismi:"; }
1513
1514     /*! This is an introduction to the page with all data types (Fortran). */
1515     virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
1516     {
1517
1518       QCString result="Nasleduje zoznam všetkých ";
1519       if (!extractAll)
1520       {
1521         result+="dokumentovaných ";
1522       }
1523       result+="zložiek dátových typov";
1524       result+=" s odkazmi na ";
1525       if (!extractAll)
1526       {
1527          result+="dokumentáciu dátovej štruktúry pre každú zložku:";
1528       }
1529       else
1530       {
1531           result+="příslušné dátové typy:";
1532       }
1533       return result;
1534     }
1535
1536     /*! This is used in LaTeX as the title of the chapter with the
1537      * annotated compound index (Fortran).
1538      */
1539     virtual QCString trCompoundIndexFortran()
1540     { return "Register dátových typov"; }
1541
1542     /*! This is used in LaTeX as the title of the chapter containing
1543      *  the documentation of all data types (Fortran).
1544      */
1545     virtual QCString trTypeDocumentation()
1546     { return "Dokumentácia k dátovým typom"; }
1547
1548     /*! This is used in the documentation of a file as a header before the
1549      *  list of (global) subprograms (Fortran).
1550      */
1551     virtual QCString trSubprograms()
1552     { return "Funkcie/podprogramy"; }
1553
1554     /*! This is used in the documentation of a file/namespace before the list
1555      *  of documentation blocks for subprograms (Fortran)
1556      */
1557     virtual QCString trSubprogramDocumentation()
1558     { return "Dokumentácia funkcie/podprogramu"; }
1559
1560     /*! This is used in the documentation of a file/namespace/group before
1561      *  the list of links to documented compounds (Fortran)
1562      */
1563      virtual QCString trDataTypes()
1564     { return "Dátové typy"; }
1565
1566     /*! used as the title of page containing all the index of all modules (Fortran). */
1567     virtual QCString trModulesList()
1568     { return "Zoznam modulov"; }
1569
1570     /*! used as an introduction to the modules list (Fortran) */
1571     virtual QCString trModulesListDescription(bool extractAll)
1572     {
1573       QCString result="Nasleduje zoznam všetkých ";
1574       if (!extractAll) result+="dokumentovaných ";
1575       result+="modulov so stručnými popismi:";
1576       return result;
1577     }
1578
1579     /*! used as the title of the HTML page of a module/type (Fortran) */
1580     virtual QCString trCompoundReferenceFortran(const QCString &clName,
1581                                     ClassDef::CompoundType compType,
1582                                     bool isTemplate)
1583     {
1584       QCString result("Dokumentácia ");
1585       if (isTemplate) result += "šablóny ";
1586       switch(compType)
1587       {
1588         case ClassDef::Class:      result += "triedy "; break;
1589         case ClassDef::Struct:     result += "typu "; break;
1590         case ClassDef::Union:      result += "únie "; break;
1591         case ClassDef::Interface:  result += "rozhrania "; break;
1592         case ClassDef::Protocol:   result += "protokolu "; break;
1593         case ClassDef::Category:   result += "kategórie "; break;
1594         case ClassDef::Exception:  result += "výnimky "; break;
1595         default: break;
1596       }
1597       result += clName;
1598       return result;
1599
1600     }
1601     /*! used as the title of the HTML page of a module (Fortran) */
1602     virtual QCString trModuleReference(const QCString &namespaceName)
1603     {
1604       QCString result="Dokumentácia modulu ";
1605       result += namespaceName;
1606       return result;
1607     }
1608
1609     /*! This is put above each page as a link to all members of modules. (Fortran) */
1610     virtual QCString trModulesMembers()
1611     { return "Časti modulu"; }
1612
1613     /*! This is an introduction to the page with all modules members (Fortran) */
1614     virtual QCString trModulesMemberDescription(bool extractAll)
1615     {
1616       QCString result="Nasleduje zoznam všetkých ";
1617       if (!extractAll) result+="dokumentovaných ";
1618       result+="častí modulov s odkazmi ";
1619       if (extractAll)
1620       {
1621         result+="na dokumentáciu modulov pre danú časť:";
1622       }
1623       else
1624       {
1625         result+="na moduly, ku ktorým časť patrí:";
1626       }
1627       return result;
1628     }
1629
1630     /*! This is used in LaTeX as the title of the chapter with the
1631      *  index of all modules (Fortran).
1632      */
1633     virtual QCString trModulesIndex()
1634     { return "Register modulov"; }
1635
1636     /*! This is used for translation of the word that will possibly
1637      *  be followed by a single name or by a list of names
1638      *  of the category.
1639      */
1640     virtual QCString trModule(bool first_capital, bool singular)
1641     {
1642       QCString result((first_capital ? "Modul" : "modul"));
1643       if (!singular)  result+="y";
1644       return result;
1645     }
1646     /*! This is put at the bottom of a module documentation page and is
1647      *  followed by a list of files that were used to generate the page.
1648      */
1649     virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
1650         bool single)
1651     { // here s is one of " Module", " Struct" or " Union"
1652       // single is true implies a single file
1653       QCString result="Dokumentácia ";
1654       switch(compType)
1655       {
1656         case ClassDef::Class:      result+="k tomuto modulu"; break;
1657         case ClassDef::Struct:     result+="k tomuto typu"; break;
1658         case ClassDef::Union:      result+="k tejto únii"; break;
1659         case ClassDef::Interface:  result+="k tomuto rozhraniu"; break;
1660         case ClassDef::Protocol:   result+="k tomuto protokolu"; break;
1661         case ClassDef::Category:   result+="k tejto kategórii"; break;
1662         case ClassDef::Exception:  result+="k tejto výnimke"; break;
1663         default: break;
1664       }
1665       result+=" bola vygenerovaná z ";
1666       if (single) result+="nasledujúceho súboru:";
1667       else result+="nasledujúcich súborov:";
1668       return result;
1669     }
1670     /*! This is used for translation of the word that will possibly
1671      *  be followed by a single name or by a list of names
1672      *  of the category.
1673      */
1674     virtual QCString trType(bool first_capital, bool singular)
1675     {
1676       QCString result((first_capital ? "Typ" : "typ"));
1677       if (!singular)  result+="y";
1678       return result;
1679     }
1680     /*! This is used for translation of the word that will possibly
1681      *  be followed by a single name or by a list of names
1682      *  of the category.
1683      */
1684     virtual QCString trSubprogram(bool first_capital, bool singular)
1685     {
1686       QCString result((first_capital ? "Podprogram" : "podprogram"));
1687       if (!singular)  result+="y";
1688       return result;
1689     }
1690
1691     /*! C# Type Contraint list */
1692     virtual QCString trTypeConstraints()
1693     {
1694       return "Obmedzenie typov (Type Constraints)";
1695     }
1696
1697 //////////////////////////////////////////////////////////////////////////
1698 // new since 1.6.0 (mainly for the new search engine)
1699 //////////////////////////////////////////////////////////////////////////
1700
1701     /*! directory relation for \a name */
1702     virtual QCString trDirRelation(const QCString &name)
1703     {
1704       return "Relácia " + QCString(name);
1705     }
1706
1707     /*! Loading message shown when loading search results */
1708     virtual QCString trLoading()
1709     {
1710       return "Načítam...";
1711     }
1712
1713     /*! Label used for search results in the global namespace */
1714     virtual QCString trGlobalNamespace()
1715     {
1716       return "Globálny priestor mien";
1717     }
1718
1719     /*! Message shown while searching */
1720     virtual QCString trSearching()
1721     {
1722       return "Vyhľadávam...";
1723     }
1724
1725     /*! Text shown when no search results are found */
1726     virtual QCString trNoMatches()
1727     {
1728       return "Nič sa nenašlo";
1729     }
1730
1731 //////////////////////////////////////////////////////////////////////////
1732 // new since 1.6.3 (missing items for the directory pages)
1733 //////////////////////////////////////////////////////////////////////////
1734
1735     /*! when clicking a directory dependency label, a page with a
1736      *  table is shown. The heading for the first column mentions the
1737      *  source file that has a relation to another file.
1738      */
1739     virtual QCString trFileIn(const QCString &name)
1740     {
1741       return "Súbor v "+name;
1742     }
1743
1744     /*! when clicking a directory dependency label, a page with a
1745      *  table is shown. The heading for the second column mentions the
1746      *  destination file that is included.
1747      */
1748     virtual QCString trIncludesFileIn(const QCString &name)
1749     {
1750       return "Vkladá (include) súbor z "+name;
1751     }
1752
1753     /** Compiles a date string.
1754      *  @param year Year in 4 digits
1755      *  @param month Month of the year: 1=January
1756      *  @param day Day of the Month: 1..31
1757      *  @param dayOfWeek Day of the week: 1=Monday..7=Sunday
1758      *  @param hour Hour of the day: 0..23
1759      *  @param minutes Minutes in the hour: 0..59
1760      *  @param seconds Seconds within the minute: 0..59
1761      *  @param includeTime Include time in the result string?
1762      */
1763     virtual QCString trDateTime(int year,int month,int day,int dayOfWeek,
1764                                 int hour,int minutes,int seconds,
1765                                 DateTimeType includeTime)
1766     {
1767       static const char *days[]   = { "po","ut","st","št","pi","so","ne" };
1768       static const char *months[] = { "jan","feb","mar","apr","máj","jún","júl","aug","sep","okt","nov","dec" };
1769       QCString sdate;
1770       if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Date)
1771       {
1772         sdate.sprintf("%s %d. %s %d",days[dayOfWeek-1],day,months[month-1],year);
1773       }
1774       if (includeTime == DateTimeType::DateTime) sdate += " ";
1775       if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Time)
1776       {
1777         QCString stime;
1778         stime.sprintf("%.2d.%.2d:%.2d",hour,minutes,seconds);
1779         sdate+=stime;
1780       }
1781       return sdate;
1782     }
1783     virtual QCString trDayOfWeek(int dayOfWeek, bool first_capital, bool full)
1784     {
1785       static const char *days_short[]   = { "po", "ut", "st", "št", "pi", "so", "ne" };
1786       static const char *days_full[]    = { "pondelok", "utorok", "streda", "štvrtok", "piatok", "sobota", "nedeľa" };
1787       QCString text  = full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
1788       if (first_capital) return text.mid(0,1).upper()+text.mid(1);
1789       else return text;
1790     }
1791     virtual QCString trMonth(int month, bool first_capital, bool full)
1792     {
1793       static const char *months_short[] = { "jan", "feb", "mar", "apr", "máj", "jún", "júl", "aug", "sep", "okt", "nov", "dec" };
1794       static const char *months_full[]  = { "január", "február", "marec", "apríl", "máj", "jún", "júl", "august", "september", "október", "november", "december" };
1795       QCString text  = full? months_full[month-1] : months_short[month-1];
1796       if (first_capital) return text.mid(0,1).upper()+text.mid(1);
1797       else return text;
1798     }
1799     virtual QCString trDayPeriod(int period)
1800     {
1801       static const char *dayPeriod[] = { "AM", "PM" };
1802       return dayPeriod[period];
1803     }
1804
1805 //////////////////////////////////////////////////////////////////////////
1806 // new since 1.7.5
1807 //////////////////////////////////////////////////////////////////////////
1808
1809     /*! Header for the page with bibliographic citations */
1810     virtual QCString trCiteReferences()
1811     { return "Odkazy na literatúru"; }
1812
1813     /*! Text for copyright paragraph */
1814     virtual QCString trCopyright()
1815     { return "Copyright"; }
1816
1817     /*! Header for the graph showing the directory dependencies */
1818     virtual QCString trDirDepGraph(const QCString &name)
1819     { return QCString("Graf závislosti na priečinkoch pre  ")+name+":"; }
1820
1821 //////////////////////////////////////////////////////////////////////////
1822 // new since 1.8.0
1823 //////////////////////////////////////////////////////////////////////////
1824
1825     /*! Detail level selector shown for hierarchical indices */
1826     virtual QCString trDetailLevel()
1827     { return "úroveň detailov"; }
1828
1829     /*! Section header for list of template parameters */
1830     virtual QCString trTemplateParameters()
1831     { return "Parametry šablón"; }
1832
1833     /*! Used in dot graph when UML_LOOK is enabled and there are many fields */
1834     virtual QCString trAndMore(const QCString &number)
1835     {
1836         QCString result("a " + number + " ďaľší");
1837         if (number.toInt() >= 5)
1838             result += "ch";
1839         return result + "...";
1840     }
1841
1842     /*! Used file list for a Java enum */
1843     virtual QCString trEnumGeneratedFromFiles(bool single)
1844     { QCString result = "Dokumentácia pre tuto enumeráciu bola generovaná z ";
1845       if (single)
1846           result += "nasledujúceho súboru:";
1847       else
1848           result += "nasledujúcich súborov:";
1849       return result;
1850     }
1851
1852     /*! Header of a Java enum page (Java enums are represented as classes). */
1853     virtual QCString trEnumReference(const QCString &name)
1854     { return "Referencia k enumerácii "+QCString(name); }
1855
1856     /*! Used for a section containing inherited members */
1857     virtual QCString trInheritedFrom(const QCString &members,const QCString &what)
1858     { return QCString(members)+" dedí sa z "+what; }
1859
1860     /*! Header of the sections with inherited members specific for the
1861      *  base class(es)
1862      */
1863     virtual QCString trAdditionalInheritedMembers()
1864     { return "Ďaľšie zdedené členy"; }
1865
1866 //////////////////////////////////////////////////////////////////////////
1867 // new since 1.8.2
1868 //////////////////////////////////////////////////////////////////////////
1869
1870     /*! Used as a tooltip for the toggle button that appears in the
1871      *  navigation tree in the HTML output when GENERATE_TREEVIEW is
1872      *  enabled. This tooltip explains the meaning of the button.
1873      */
1874     virtual QCString trPanelSynchronisationTooltip(bool enable)
1875     {
1876       QCString opt = enable ? "povoliť" : "zakázať";
1877       return opt + " synchronizáciu panelov";
1878     }
1879
1880     /*! Used in a method of an Objective-C class that is declared in a
1881      *  a category. Note that the @1 marker is required and is replaced
1882      *  by a link.
1883      */
1884     virtual QCString trProvidedByCategory()
1885     {
1886       return "Deklarované v kategórii @0.";
1887     }
1888
1889     /*! Used in a method of an Objective-C category that extends a class.
1890      *  Note that the @1 marker is required and is replaced by a link to
1891      *  the class method.
1892      */
1893     virtual QCString trExtendsClass()
1894     {
1895       return "Rozširuje triedu @0.";
1896     }
1897
1898     /*! Used as the header of a list of class methods in Objective-C.
1899      *  These are similar to static public member functions in C++.
1900      */
1901     virtual QCString trClassMethods()
1902     {
1903       return "Metódy triedy";
1904     }
1905
1906     /*! Used as the header of a list of instance methods in Objective-C.
1907      *  These are similar to public member functions in C++.
1908      */
1909     virtual QCString trInstanceMethods()
1910     {
1911       return "Metódy inštancie";
1912     }
1913
1914     /*! Used as the header of the member functions of an Objective-C class.
1915      */
1916     virtual QCString trMethodDocumentation()
1917     {
1918       return "Dokumentácia metódy";
1919     }
1920
1921 //////////////////////////////////////////////////////////////////////////
1922 // new since 1.8.4
1923 //////////////////////////////////////////////////////////////////////////
1924
1925     /** old style UNO IDL services: implemented interfaces */
1926     virtual QCString trInterfaces()
1927     { return "Exportované rozhrania"; }
1928
1929     /** old style UNO IDL services: inherited services */
1930     virtual QCString trServices()
1931     { return "Začlenené služby"; }
1932
1933     /** UNO IDL constant groups */
1934     virtual QCString trConstantGroups()
1935     { return "Konštantné skupiny"; }
1936
1937     /** UNO IDL constant groups */
1938     virtual QCString trConstantGroupReference(const QCString &namespaceName)
1939     {
1940       QCString result="Konštantné skupiny z ";
1941       result += namespaceName;
1942       return result;
1943     }
1944     /** UNO IDL service page title */
1945     virtual QCString trServiceReference(const QCString &sName)
1946     {
1947       QCString result="Popis služby ";
1948       result += sName;
1949       return result;
1950     }
1951     /** UNO IDL singleton page title */
1952     virtual QCString trSingletonReference(const QCString &sName)
1953     {
1954       QCString result="Popis singletonu ";
1955       result += sName;
1956       return result;
1957     }
1958     /** UNO IDL service page */
1959     virtual QCString trServiceGeneratedFromFiles(bool single)
1960     {
1961       // single is true implies a single file
1962       QCString result="Dokumentácia k tejto službe bola vygenerovaná ";
1963       if (single) result+="z nasledujúceho súboru:";
1964       else        result+="z nasledujúcich súborov:";
1965       return result;
1966     }
1967     /** UNO IDL singleton page */
1968     virtual QCString trSingletonGeneratedFromFiles(bool single)
1969     {
1970       // single is true implies a single file
1971       QCString result="Dokumentácia k tomuto singletonu bola vygenerovaná ";
1972       if (single) result+="z nasledujúceho súboru:";
1973       else        result+="z nasledujúcich súborov:";
1974       return result;
1975     }
1976
1977 };
1978
1979 #endif // TRANSLATOR_SK_H