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