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