1 /******************************************************************************
5 * Copyright (C) 1997-2015 by Dimitri van Heesch.
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.
13 * Documents produced by Doxygen are derivative works derived from the
14 * input used in their production; they are not affected by this license.
16 * ----------------------------------------------------------------------------*/
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+
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 // ----------------------------------------------------------------------------
32 #ifndef TRANSLATOR_SK_H
33 #define TRANSLATOR_SK_H
35 class TranslatorSlovak : public TranslatorAdapter_1_8_15
38 // --- Language control methods -------------------
40 virtual QCString idLanguage()
43 virtual QCString latexLanguageSupportCommand()
44 { return "\\usepackage[slovak]{babel}\n"
45 "\\usepackage{regexpatch}\n"
47 "% Change the `-` delimiter to an active character\n"
48 "\\xpatchparametertext\\@@@cmidrule{-}{\\cA-}{}{}\n"
49 "\\xpatchparametertext\\@cline{-}{\\cA-}{}{}\n"
52 virtual QCString trISOLang()
56 virtual QCString getLanguageString()
58 return "0x41B Slovak";
60 // --- Language translation methods -------------------
62 /*! used in the compound documentation before a list of related functions. */
63 virtual QCString trRelatedFunctions()
64 { return "Súvisiace funkcie"; }
66 /*! subscript for the related functions. */
67 virtual QCString trRelatedSubscript()
68 { return "(Uvedené funkcie niesú členskými funkciami.)"; }
70 /*! header that is put before the detailed description of files, classes and namespaces. */
71 virtual QCString trDetailedDescription()
72 { return "Detailný popis"; }
74 /*! header that is put before the list of typedefs. */
75 virtual QCString trMemberTypedefDocumentation()
76 { return "Dokumentácia k členským typom"; }
78 /*! header that is put before the list of enumerations. */
79 virtual QCString trMemberEnumerationDocumentation()
80 { return "Dokumentácia k členským enumeráciám"; }
82 /*! header that is put before the list of member functions. */
83 virtual QCString trMemberFunctionDocumentation()
84 { return "Dokumentácia k metódam"; }
86 /*! header that is put before the list of member attributes. */
87 virtual QCString trMemberDataDocumentation()
89 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
91 return "Dokumentácia k položkám";
95 return "Dokumentácia k dátovým členom";
99 /*! this is the text of a link put after brief descriptions. */
100 virtual QCString trMore()
103 /*! put in the class documentation */
104 virtual QCString trListOfAllMembers()
105 { return "Zoznam všetkých členov"; }
107 /*! used as the title of the "list of all members" page of a class */
108 virtual QCString trMemberList()
109 { return "Zoznam členov triedy"; }
111 /*! this is the first part of a sentence that is followed by a class name */
112 virtual QCString trThisIsTheListOfAllMembers()
113 { return "Tu nájdete úplný zoznam členov triedy "; }
115 /*! this is the remainder of the sentence after the class name */
116 virtual QCString trIncludingInheritedMembers()
117 { return ", vrátane všetkých zdedených členov."; }
119 /*! this is put at the author sections at the bottom of man pages.
120 * parameter s is name of the project name.
122 virtual QCString trGeneratedAutomatically(const QCString &s)
123 { QCString result("Generované automaticky programom Doxygen "
124 "zo zdrojových textov");
126 result+=" projektu "+s;
131 /*! put after an enum name in the list of all members */
132 virtual QCString trEnumName()
133 { return "meno enumerácie"; }
135 /*! put after an enum value in the list of all members */
136 virtual QCString trEnumValue()
137 { return "hodnota enumerácie"; }
139 /*! put after an undocumented member in the list of all members */
140 virtual QCString trDefinedIn()
141 { return "definovaný v"; }
143 // quick reference sections
145 /*! This is put above each page as a link to the list of all groups of
146 * compounds or files (see the \\group command).
148 virtual QCString trModules()
151 /*! This is put above each page as a link to the class hierarchy */
152 virtual QCString trClassHierarchy()
153 { return "Hierarchia tried"; }
155 /*! This is put above each page as a link to the list of annotated classes */
156 virtual QCString trCompoundList()
158 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
160 return "Dátové štruktúry";
164 return "Zoznam tried";
168 /*! This is put above each page as a link to the list of documented files */
169 virtual QCString trFileList()
170 { return "Zoznam súborov"; }
172 /*! This is put above each page as a link to all members of compounds. */
173 virtual QCString trCompoundMembers()
175 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
177 return "Dátové položky";
181 return "Zoznam členov tried";
185 /*! This is put above each page as a link to all members of files. */
186 virtual QCString trFileMembers()
188 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
190 return "Globálne symboly";
194 return "Symboly v súboroch";
198 /*! This is put above each page as a link to all related pages. */
199 virtual QCString trRelatedPages()
200 { return "Ostatné stránky"; }
202 /*! This is put above each page as a link to all examples. */
203 virtual QCString trExamples()
204 { return "Príklady"; }
206 /*! This is put above each page as a link to the search engine. */
207 virtual QCString trSearch()
210 /*! This is an introduction to the class hierarchy. */
211 virtual QCString trClassHierarchyDescription()
212 { return "Tu nájdete zoznam, vyjadrujúci vzťah dedičnosti tried. "
213 "Je zoradený približne (ale nie úplne) podľa abecedy:";
216 /*! This is an introduction to the list with all files. */
217 virtual QCString trFileListDescription(bool extractAll)
219 QCString result("Tu nájdete zoznam všetkých ");
220 if (!extractAll) result+="dokumentovaných ";
221 result+="súborov so stručnými popismi:";
225 /*! This is an introduction to the annotated compound list. */
226 virtual QCString trCompoundListDescription()
228 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
230 return "Nasledujúci zoznam obsahuje identifikáciu dátových "
231 "štruktúr a ich stručné popisy:";
235 return "Nasledujúci zoznam obsahuje predovšetkým identifikáciu "
236 "tried, ale nachádzajú sa tu i ďalšie netriviálne prvky, "
237 "ako sú štruktúry (struct), uniony (union) a rozhrania "
238 "(interface). V zozname sú uvedené ich stručné "
243 /*! This is an introduction to the page with all class members. */
244 virtual QCString trCompoundMembersDescription(bool extractAll)
246 QCString result= "Tu nájdete zoznam všetkých ";
249 result += "dokumentovaných ";
252 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
254 result += "položiek štruktúr (struct) a unionov (union) ";
258 result += "členov tried ";
261 result += "s odkazmi na ";
265 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
267 result += "dokumentáciu štruktúr/unionov, ku ktorým prislúchajú:";
271 result += "dokumentáciu tried, ku ktorým prislúchajú:";
276 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
278 result+="štruktúry/uniony, ku ktorým prislúchajú:";
282 result+="triedy, ku ktorým prislúchajú:";
289 /*! This is an introduction to the page with all file members. */
290 virtual QCString trFileMembersDescription(bool extractAll)
292 QCString result="Tu nájdete zoznam všetkých ";
293 if (!extractAll) result+="dokumentovaných ";
295 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
297 result+="funkcií, premenných, makier, enumerácií a definícií typov (typedef) "
302 result+="symbolov, ktoré sú definované na úrovni svojich súborov. "
303 "Pre každý symbol je uvedený odkaz na ";
307 result+="súbory, ku ktorým prislúchajú:";
309 result+="dokumentáciu:";
314 /*! This is an introduction to the page with the list of all examples */
315 virtual QCString trExamplesDescription()
316 { return "Tu nájdete zoznam všetkých príkladov:"; }
318 /*! This is an introduction to the page with the list of related pages */
319 virtual QCString trRelatedPagesDescription()
320 { return "Nasledujúci zoznam odkazuje na ďalšie stránky projektu, "
321 "ktoré majú charakter usporiadaných zoznamov informácií, "
322 "pozbieraných z rôznych miest v zdrojových súboroch:"; }
324 /*! This is an introduction to the page with the list of class/file groups */
325 virtual QCString trModulesDescription()
326 { return "Tu nájdete zoznam všetkých modulov:"; }
328 // index titles (the project name is prepended for these)
330 /*! This is used in HTML as the title of index.html. */
331 virtual QCString trDocumentation()
332 { return "Dokumentácia"; }
334 /*! This is used in LaTeX as the title of the chapter with the
335 * index of all groups.
337 virtual QCString trModuleIndex()
338 { return "Register modulov"; }
340 /*! This is used in LaTeX as the title of the chapter with the
343 virtual QCString trHierarchicalIndex()
344 { return "Register hierarchie tried"; }
346 /*! This is used in LaTeX as the title of the chapter with the
347 * annotated compound index.
349 virtual QCString trCompoundIndex()
351 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
353 return "Register dátových štruktúr";
357 return "Register tried";
361 /*! This is used in LaTeX as the title of the chapter with the
364 virtual QCString trFileIndex()
365 { return "Register súborov"; }
367 /*! This is used in LaTeX as the title of the chapter containing
368 * the documentation of all groups.
370 virtual QCString trModuleDocumentation()
371 { return "Dokumentácia modulov"; }
373 /*! This is used in LaTeX as the title of the chapter containing
374 * the documentation of all classes, structs and unions.
376 virtual QCString trClassDocumentation()
377 { return "Dokumentácia tried"; }
379 /*! This is used in LaTeX as the title of the chapter containing
380 * the documentation of all files.
382 virtual QCString trFileDocumentation()
383 { return "Dokumentácia súborov"; }
385 /*! This is used in LaTeX as the title of the chapter containing
386 * the documentation of all examples.
388 virtual QCString trExampleDocumentation()
389 { return "Dokumentácia príkladov"; }
391 /*! This is used in LaTeX as the title of the document */
392 virtual QCString trReferenceManual()
393 { return "Referenčná príručka"; }
395 /*! This is used in the documentation of a file as a header before the
398 virtual QCString trDefines()
399 { return "Definícia makier"; }
401 /*! This is used in the documentation of a file as a header before the
404 virtual QCString trTypedefs()
405 { return "Definícia typov"; }
407 /*! This is used in the documentation of a file as a header before the
408 * list of enumerations
410 virtual QCString trEnumerations()
411 { return "Enumerácie"; }
413 /*! This is used in the documentation of a file as a header before the
414 * list of (global) functions
416 virtual QCString trFunctions()
417 { return "Funkcie"; }
419 /*! This is used in the documentation of a file as a header before the
420 * list of (global) variables
422 virtual QCString trVariables()
423 { return "Premenné"; }
425 /*! This is used in the documentation of a file as a header before the
426 * list of (global) variables
428 virtual QCString trEnumerationValues()
429 { return "Hodnoty enumerácií"; }
431 /*! This is used in the documentation of a file before the list of
432 * documentation blocks for defines
434 virtual QCString trDefineDocumentation()
435 { return "Dokumentácia k definíciám makier"; }
437 /*! This is used in the documentation of a file/namespace before the list
438 * of documentation blocks for typedefs
440 virtual QCString trTypedefDocumentation()
441 { return "Dokumentácia definícií typov"; }
443 /*! This is used in the documentation of a file/namespace before the list
444 * of documentation blocks for enumeration types
446 virtual QCString trEnumerationTypeDocumentation()
447 { return "Dokumentácia enumeračných typov"; }
449 /*! This is used in the documentation of a file/namespace before the list
450 * of documentation blocks for functions
452 virtual QCString trFunctionDocumentation()
453 { return "Dokumentácia funkcií"; }
455 /*! This is used in the documentation of a file/namespace before the list
456 * of documentation blocks for variables
458 virtual QCString trVariableDocumentation()
459 { return "Dokumentácia premenných"; }
461 /*! This is used in the documentation of a file/namespace/group before
462 * the list of links to documented compounds
464 virtual QCString trCompounds()
466 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
468 return "Dátové štruktúry";
476 /*! This is used in the standard footer of each page and indicates when
477 * the page was generated
479 virtual QCString trGeneratedAt(const QCString &date,const QCString &projName)
481 QCString result="Generované "+date;
482 if (!projName.isEmpty()) result+=" pre projekt "+projName;
483 result+=" programom";
487 /*! this text is put before a class diagram */
488 virtual QCString trClassDiagram(const QCString &clName)
490 return "Diagram dedičnosti pre triedu "+clName;
493 /*! this text is generated when the \\warning command is used. */
494 virtual QCString trWarning()
497 /*! this text is generated when the \\version command is used. */
498 virtual QCString trVersion()
501 /*! this text is generated when the \\date command is used. */
502 virtual QCString trDate()
505 /*! this text is generated when the \\return command is used. */
506 virtual QCString trReturns()
507 { return "Návratová hodnota"; }
509 /*! this text is generated when the \\sa command is used. */
510 virtual QCString trSeeAlso()
511 { return "Viz tiež"; }
513 /*! this text is generated when the \\param command is used. */
514 virtual QCString trParameters()
515 { return "Parametre"; }
517 /*! this text is generated when the \\exception command is used. */
518 virtual QCString trExceptions()
519 { return "Výnimky"; }
521 /*! this text is used in the title page of a LaTeX document. */
522 virtual QCString trGeneratedBy()
523 { return "Generované programom"; }
525 // new since 0.49-990307
527 /*! used as the title of page containing all the index of all namespaces. */
528 virtual QCString trNamespaceList()
529 { return "Zoznam priestorov mien"; }
531 /*! used as an introduction to the namespace list */
532 virtual QCString trNamespaceListDescription(bool extractAll)
534 QCString result="Tu nájdete zoznam všetkých ";
535 if (!extractAll) result+="dokumentovaných ";
536 result+="priestorov mien so stručným popisom:";
540 /*! used in the class documentation as a header before the list of all
543 virtual QCString trFriends()
544 { return "Priatelia (friends)"; }
546 //////////////////////////////////////////////////////////////////////////
547 // new since 0.49-990405
548 //////////////////////////////////////////////////////////////////////////
550 /*! used in the class documentation as a header before the list of all
553 virtual QCString trRelatedFunctionDocumentation()
554 { return "Dokumentácia k priateľom (friends)"; }
556 //////////////////////////////////////////////////////////////////////////
557 // new since 0.49-990425
558 //////////////////////////////////////////////////////////////////////////
560 /*! used as the title of the HTML page of a class/struct/union */
561 virtual QCString trCompoundReference(const QCString &clName,
562 ClassDef::CompoundType compType,
565 QCString result("Dokumentácia ");
566 if (isTemplate) result+="šablóny ";
569 case ClassDef::Class: result+="triedy "; break;
570 case ClassDef::Struct: result+="štruktúry "; break;
571 case ClassDef::Union: result+="unionu "; break;
572 case ClassDef::Interface: result+="rozhrania "; break;
573 case ClassDef::Protocol: result+="protokol "; break;
574 case ClassDef::Category: result+="kategória "; break;
575 case ClassDef::Exception: result+="výnimky "; break;
582 /*! used as the title of the HTML page of a file */
583 virtual QCString trFileReference(const QCString &fileName)
585 QCString result("Dokumentácia súboru ");
590 /*! used as the title of the HTML page of a namespace */
591 virtual QCString trNamespaceReference(const QCString &namespaceName)
593 QCString result("Dokumentácia priestoru mien ");
594 result+=namespaceName;
598 /* these are for the member sections of a class, struct or union */
599 virtual QCString trPublicMembers()
600 { return "Verejné metódy"; }
601 virtual QCString trPublicSlots()
602 { return "Verejné sloty"; }
603 virtual QCString trSignals()
604 { return "Signály"; }
605 virtual QCString trStaticPublicMembers()
606 { return "Statické verejné metódy"; }
607 virtual QCString trProtectedMembers()
608 { return "Chránené metódy"; }
609 virtual QCString trProtectedSlots()
610 { return "Chránené sloty"; }
611 virtual QCString trStaticProtectedMembers()
612 { return "Statické chránené metódy"; }
613 virtual QCString trPrivateMembers()
614 { return "Privátne metódy"; }
615 virtual QCString trPrivateSlots()
616 { return "Privátne sloty"; }
617 virtual QCString trStaticPrivateMembers()
618 { return "Statické privátne metódy"; }
620 /*! this function is used to produce a comma-separated list of items.
621 * use generateMarker(i) to indicate where item i should be put.
623 virtual QCString trWriteList(int numEntries)
627 // the inherits list contain `numEntries' classes
628 for (i=0;i<numEntries;i++)
630 // use generateMarker to generate placeholders for the class links!
631 result+=generateMarker(i); // generate marker for entry i in the list
632 // (order is left to right)
634 if (i!=numEntries-1) // not the last entry, so we need a separator
636 if (i<numEntries-2) // not the fore last entry
638 else // the fore last entry
645 /*! used in class documentation to produce a list of base classes,
646 * if class diagrams are disabled.
648 virtual QCString trInheritsList(int numEntries)
650 QCString result("Dedí od ");
651 result += (numEntries == 1) ? "bázovej triedy " : "bázových tried ";
652 result += trWriteList(numEntries)+".";
656 /*! used in class documentation to produce a list of super classes,
657 * if class diagrams are disabled.
659 virtual QCString trInheritedByList(int numEntries)
661 QCString result("Zdedená ");
662 result += (numEntries == 1) ? "triedou " : "triedami ";
663 result += trWriteList(numEntries)+".";
667 /*! used in member documentation blocks to produce a list of
668 * members that are hidden by this one.
670 virtual QCString trReimplementedFromList(int numEntries)
672 QCString result("Reimplementuje ");
673 result += (numEntries == 1) ? "metódu triedy " : "metódy tried ";
674 result += trWriteList(numEntries)+".";
678 /*! used in member documentation blocks to produce a list of
679 * all member that overwrite the implementation of this member.
681 virtual QCString trReimplementedInList(int numEntries)
683 QCString result("Reimplementované ");
684 result += (numEntries == 1) ? "triedou " : "triedami ";
685 result += trWriteList(numEntries)+".";
689 /*! This is put above each page as a link to all members of namespaces. */
690 virtual QCString trNamespaceMembers()
691 { return "Symboly v priestoroch mien"; }
693 /*! This is an introduction to the page with all namespace members */
694 virtual QCString trNamespaceMemberDescription(bool extractAll)
696 QCString result="Tu nájdete zoznam všetkých ";
697 if (!extractAll) result+="dokumentovaných ";
698 result+="symbolov, ktoré sú definované vo svojich priestoroch mien. "
699 "U každého je uvedený odkaz na ";
701 result+="dokumentáciu príslušného priestoru mien:";
703 result+="príslušný priestor mien:";
706 /*! This is used in LaTeX as the title of the chapter with the
707 * index of all namespaces.
709 virtual QCString trNamespaceIndex()
710 { return "Register priestorov mien"; }
712 /*! This is used in LaTeX as the title of the chapter containing
713 * the documentation of all namespaces.
715 virtual QCString trNamespaceDocumentation()
716 { return "Dokumentácia priestorov mien"; }
718 //////////////////////////////////////////////////////////////////////////
719 // new since 0.49-990522
720 //////////////////////////////////////////////////////////////////////////
722 /*! This is used in the documentation before the list of all
723 * namespaces in a file.
725 virtual QCString trNamespaces()
726 { return "Priestory mien"; }
728 //////////////////////////////////////////////////////////////////////////
729 // new since 0.49-990728
730 //////////////////////////////////////////////////////////////////////////
732 /*! This is put at the bottom of a class documentation page and is
733 * followed by a list of files that were used to generate the page.
735 virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
737 { // here s is one of " Class", " Struct" or " Union"
738 // single is true implies a single file
739 QCString result="Dokumentácia pre ";
742 case ClassDef::Class: result+="túto triedu"; break;
743 case ClassDef::Struct: result+="túto štruktúru (struct)"; break;
744 case ClassDef::Union: result+="tento union"; break;
745 case ClassDef::Interface: result+="toto rozhranie"; break;
746 case ClassDef::Protocol: result+="protokol"; break;
747 case ClassDef::Category: result+="kategória"; break;
748 case ClassDef::Exception: result+="túto výnimku"; break;
751 result+=" bola generovaná z ";
752 if (single) result+="nasledujúceho súboru:";
753 else result+="nasledujúcich súborov:";
757 //////////////////////////////////////////////////////////////////////////
758 // new since 0.49-990901
759 //////////////////////////////////////////////////////////////////////////
761 /*! This is used as the heading text for the retval command. */
762 virtual QCString trReturnValues()
763 { return "Návratové hodnoty"; }
765 /*! This is in the (quick) index as a link to the main page (index.html)
767 virtual QCString trMainPage()
768 { return "Hlavná stránka"; }
770 /*! This is used in references to page that are put in the LaTeX
771 * documentation. It should be an abbreviation of the word page.
773 virtual QCString trPageAbbreviation()
776 //////////////////////////////////////////////////////////////////////////
777 // new since 0.49-991003
778 //////////////////////////////////////////////////////////////////////////
780 virtual QCString trDefinedAtLineInSourceFile()
782 return "Definícia je uvedená na riadku @0 v súbore @1.";
784 virtual QCString trDefinedInSourceFile()
786 return "Definícia v súbore @0.";
789 //////////////////////////////////////////////////////////////////////////
790 // new since 0.49-991205
791 //////////////////////////////////////////////////////////////////////////
793 virtual QCString trDeprecated()
798 //////////////////////////////////////////////////////////////////////////
800 //////////////////////////////////////////////////////////////////////////
802 /*! this text is put before a collaboration diagram */
803 virtual QCString trCollaborationDiagram(const QCString &clName)
805 return "Diagram tried pre "+clName+":";
807 /*! this text is put before an include dependency graph */
808 virtual QCString trInclDepGraph(const QCString &fName)
810 return "Graf závislostí na vkladaných súboroch "
813 /*! header that is put before the list of constructor/destructors. */
814 virtual QCString trConstructorDocumentation()
816 return "Dokumentácia konštruktoru a deštruktoru";
818 /*! Used in the file documentation to point to the corresponding sources. */
819 virtual QCString trGotoSourceCode()
821 return "Zobraziť zdrojový text tohoto súboru.";
823 /*! Used in the file sources to point to the corresponding documentation. */
824 virtual QCString trGotoDocumentation()
826 return "Zobraziť dokumentáciu tohoto súboru.";
828 /*! Text for the \\pre command */
829 virtual QCString trPrecondition()
831 return "Prepodmienka";
833 /*! Text for the \\post command */
834 virtual QCString trPostcondition()
836 return "Postpodmienka";
838 /*! Text for the \\invariant command */
839 virtual QCString trInvariant()
843 /*! Text shown before a multi-line variable/enum initialization */
844 virtual QCString trInitialValue()
846 return "Inicializátor:";
848 /*! Text used the source code in the file index */
849 virtual QCString trCode()
851 return "zdrojový text";
853 virtual QCString trGraphicalHierarchy()
855 return "Grafické zobrazenie hierarchie tried";
857 virtual QCString trGotoGraphicalHierarchy()
859 return "Zobraziť grafickú podobu hierarchie tried";
861 virtual QCString trGotoTextualHierarchy()
863 return "Zobraziť textovú podobu hierarchie tried";
865 virtual QCString trPageIndex()
867 return "Register stránok";
870 //////////////////////////////////////////////////////////////////////////
872 //////////////////////////////////////////////////////////////////////////
874 virtual QCString trNote()
878 virtual QCString trPublicTypes()
880 return "Verejné typy";
882 virtual QCString trPublicAttribs()
884 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
886 return "Dátové položky";
890 return "Verejné atribúty";
893 virtual QCString trStaticPublicAttribs()
895 return "Statické verejné atribúty";
897 virtual QCString trProtectedTypes()
899 return "Chránené typy";
901 virtual QCString trProtectedAttribs()
903 return "Chránené atribúty";
905 virtual QCString trStaticProtectedAttribs()
907 return "Statické chránené atribúty";
909 virtual QCString trPrivateTypes()
911 return "Privátne typy";
913 virtual QCString trPrivateAttribs()
915 return "Privátne atribúty";
917 virtual QCString trStaticPrivateAttribs()
919 return "Statické privátne atribúty";
922 //////////////////////////////////////////////////////////////////////////
924 //////////////////////////////////////////////////////////////////////////
926 /*! Used as a marker that is put before a todo item */
927 virtual QCString trTodo()
929 return "Plánované úpravy";
931 /*! Used as the header of the todo list */
932 virtual QCString trTodoList()
934 return "Zoznam plánovaných úprav";
937 //////////////////////////////////////////////////////////////////////////
939 //////////////////////////////////////////////////////////////////////////
941 virtual QCString trReferencedBy()
943 return "Používa sa v";
945 virtual QCString trRemarks()
949 virtual QCString trAttention()
951 return "Upozornenie";
953 virtual QCString trInclByDepGraph()
955 return "Nasledujúci graf ukazuje, ktoré súbory priamo alebo "
956 "nepriamo vkladajú tento súbor:";
958 virtual QCString trSince()
963 ////////////////////////////////////////////////////////////////////////////
965 //////////////////////////////////////////////////////////////////////////
967 /*! title of the graph legend page */
968 virtual QCString trLegendTitle()
970 return "Vysvetlivky ku grafu";
972 /*! page explaining how the dot graph's should be interpreted */
973 virtual QCString trLegendDocs()
976 "Tu nájdete vysvetlenie, ako majú byť interpretované grafy, "
977 "ktoré boli generované programom doxygen.<p>\n"
978 "Uvažujte nasledujúci príklad:\n"
980 "/*! Neviditelná trieda, ktorá sa v grafe nezobrazuje, pretože "
981 "došlo k orezaniu grafu. */\n"
982 "class Invisible { };\n\n"
983 "/*! Trieda, u ktorej došlo k orezaniu grafu. Vzťah dedičnosti "
985 "class Truncated : public Invisible { };\n\n"
986 "/* Trieda, ktorá nieje dokumentovaná komentármi programu doxygen. */\n"
987 "class Undocumented { };\n\n"
988 "/*! Odvodená trieda s verejným (public) dedením bázovej triedy. */\n"
989 "class PublicBase : public Truncated { };\n\n"
990 "/*! Šablóna triedy. */\n"
991 "template<class T> class Templ { };\n\n"
992 "/*! Odvodená trieda s chráneným (protected) dedením bázovej triedy. */\n"
993 "class ProtectedBase { };\n\n"
994 "/*! Odvodená trieda s privátnym dedením bázovej triedy. */\n"
995 "class PrivateBase { };\n\n"
996 "/*! Trieda, ktorá je využívaná triedou Inherited. */\n"
997 "class Used { };\n\n"
998 "/*! Odvodená trieda, ktorá rôznym spôsobom dedí od viacerých bázových "
1000 "class Inherited : public PublicBase,\n"
1001 " protected ProtectedBase,\n"
1002 " private PrivateBase,\n"
1003 " public Undocumented,\n"
1004 " public Templ<int>\n"
1007 " Used *m_usedClass;\n"
1010 "K vyššie uvedenému bude vygenerovaný nasledujúci graf:"
1011 "<p><center><img src=\"graph_legend."+getDotImageExtension()+"\"></center>\n"
1013 "Bloky (tj. uzly) v uvedenom grafe majú nasledujúci význam:\n"
1015 "<li>Čierne vyplnený obdĺžnik reprezentuje štruktúru alebo triedu, "
1016 "pre ktorú bol graf generovaný.\n"
1017 "<li>Obdĺžnik s čiernym obrysom označuje dokumentovanú "
1018 "štruktúru alebo triedu.\n"
1019 "<li>Obdĺžnik so šedým obrysom označuje nedokumentovanú "
1020 "štruktúru alebo triedu.\n"
1021 "<li>Obdĺžnik s červeným obrysom označuje dokumentovanú "
1022 "štruktúru alebo triedu, pre ktorú\n"
1023 "niesú zobrazené všetky vzťahy dedičnosti alebo obsiahnutia. "
1024 "Graf je orezaný v prípade, kedy ho\n"
1025 "nieje možné umiestniť do vymedzených hraníc.\n"
1027 "Šípky (tj. hrany grafu) majú nasledujúcí význam:\n"
1029 "<li>Tmavo modrá šípka sa používa pre označenie vzťahu verejnej "
1030 "dedičnosti medzi dvoma triedami.\n"
1031 "<li>Tmavo zelená šípka označuje vzťah chránenej dedičnosti "
1033 "<li>Tmavo červená šípka označuje vzťah privátnej dedičnosti.\n"
1034 "<li>Purpurová šípka kreslená čiarkovane sa používa v prípade, "
1035 "ak je trieda obsiahnutá v inej triede,\n"
1036 "alebo ak je používaná inou triedou. Je označená identifikátorom "
1037 "jednej alebo viacerých premenných (objektov), cez ktoré\n"
1038 "je trieda alebo štruktúra zprístupnena.\n"
1041 /*! text for the link to the legend page */
1042 virtual QCString trLegend()
1044 return "vysvetlivky";
1047 //////////////////////////////////////////////////////////////////////////
1049 //////////////////////////////////////////////////////////////////////////
1051 /*! Used as a marker that is put before a test item */
1052 virtual QCString trTest()
1057 /*! Used as the header of the test list */
1058 virtual QCString trTestList()
1060 return "Zoznam testov";
1063 //////////////////////////////////////////////////////////////////////////
1065 //////////////////////////////////////////////////////////////////////////
1067 /*! Used as a section header for IDL properties */
1068 virtual QCString trProperties()
1070 return "Vlastnosti";
1072 /*! Used as a section header for IDL property documentation */
1073 virtual QCString trPropertyDocumentation()
1075 return "Dokumentácia k vlastnosti";
1077 //////////////////////////////////////////////////////////////////////////
1079 //////////////////////////////////////////////////////////////////////////
1081 /*! Used for Java classes in the summary section of Java packages */
1082 virtual QCString trClasses()
1086 /*! Used as the title of a Java package */
1087 virtual QCString trPackage(const QCString &name)
1089 return "Balík "+name;
1091 /*! The description of the package index page */
1092 virtual QCString trPackageListDescription()
1094 return "Tu nájdete zoznam balíkov so stručným popisom "
1095 "(pokiaľ bol uvedený):";
1097 /*! The link name in the Quick links header for each page */
1098 virtual QCString trPackages()
1102 /*! Text shown before a multi-line define */
1103 virtual QCString trDefineValue()
1108 //////////////////////////////////////////////////////////////////////////
1110 //////////////////////////////////////////////////////////////////////////
1112 /*! Used as a marker that is put before a \\bug item */
1113 virtual QCString trBug()
1117 /*! Used as the header of the bug list */
1118 virtual QCString trBugList()
1120 return "Zoznam chýb";
1123 //////////////////////////////////////////////////////////////////////////
1124 // new since 1.2.6-20010422
1125 //////////////////////////////////////////////////////////////////////////
1127 /*! Used as ansicpg for RTF file */
1128 virtual QCString trRTFansicp()
1133 /*! Used as ansicpg for RTF fcharset */
1134 virtual QCString trRTFCharSet()
1139 /*! Used as header RTF general index */
1140 virtual QCString trRTFGeneralIndex()
1145 /*! This is used for translation of the word that will possibly
1146 * be followed by a single name or by a list of names
1149 virtual QCString trClass(bool first_capital, bool singular)
1151 QCString result((first_capital ? "Tried" : "tried"));
1152 result+=(singular ? "a" : "y");
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
1160 virtual QCString trFile(bool first_capital, bool singular)
1162 QCString result((first_capital ? "Súbor" : "súbor"));
1163 if (!singular) result+="y";
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
1171 virtual QCString trNamespace(bool first_capital, bool singular)
1173 QCString result((first_capital ? "Priestor" : "priestor"));
1174 if (!singular) result+="y";
1179 /*! This is used for translation of the word that will possibly
1180 * be followed by a single name or by a list of names
1183 virtual QCString trGroup(bool first_capital, bool singular)
1185 QCString result((first_capital ? "Skupin" : "skupin"));
1186 result+=(singular ? "a" : "y");
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
1194 virtual QCString trPage(bool first_capital, bool singular)
1196 QCString result((first_capital ? "Stránk" : "stránk"));
1197 result+=(singular ? "a" : "y");
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
1205 virtual QCString trMember(bool first_capital, bool singular)
1207 QCString result((first_capital ? "Člen" : "člen"));
1208 if (!singular) result+="y";
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
1216 virtual QCString trGlobal(bool first_capital, bool singular)
1218 QCString result((first_capital ? "Globáln" : "globáln"));
1219 result+=(singular ? "y" : "e");
1223 //////////////////////////////////////////////////////////////////////////
1225 //////////////////////////////////////////////////////////////////////////
1227 /*! This text is generated when the \\author command is used and
1228 * for the author section in man pages. */
1229 virtual QCString trAuthor(bool first_capital, bool singular)
1231 QCString result((first_capital ? "Auto" : "auto"));
1232 result += (singular) ? "r" : "ri";
1236 //////////////////////////////////////////////////////////////////////////
1238 //////////////////////////////////////////////////////////////////////////
1240 /*! This text is put before the list of members referenced by a member
1242 virtual QCString trReferences()
1244 return "Odkazuje sa na";
1247 //////////////////////////////////////////////////////////////////////////
1249 //////////////////////////////////////////////////////////////////////////
1251 /*! used in member documentation blocks to produce a list of
1252 * members that are implemented by this one.
1254 virtual QCString trImplementedFromList(int numEntries)
1256 return "Implementuje " + trWriteList(numEntries) + ".";
1259 /*! used in member documentation blocks to produce a list of
1260 * all members that implement this member.
1262 virtual QCString trImplementedInList(int numEntries)
1264 return "Implementované v " + trWriteList(numEntries) + ".";
1267 //////////////////////////////////////////////////////////////////////////
1269 //////////////////////////////////////////////////////////////////////////
1271 /*! used in RTF documentation as a heading for the Table
1274 virtual QCString trRTFTableOfContents()
1279 //////////////////////////////////////////////////////////////////////////
1281 //////////////////////////////////////////////////////////////////////////
1283 /*! Used as the header of the list of item that have been
1284 * flagged deprecated
1286 virtual QCString trDeprecatedList()
1288 return "Zastarané metódy";
1291 //////////////////////////////////////////////////////////////////////////
1293 //////////////////////////////////////////////////////////////////////////
1295 /*! Used as a header for declaration section of the events found in
1298 virtual QCString trEvents()
1302 /*! Header used for the documentation section of a class' events. */
1303 virtual QCString trEventDocumentation()
1305 return "Dokumentácia udalostí";
1308 //////////////////////////////////////////////////////////////////////////
1310 //////////////////////////////////////////////////////////////////////////
1312 /*! Used as a heading for a list of Java class types with package scope.
1314 virtual QCString trPackageTypes()
1316 return "Typy v balíku";
1318 /*! Used as a heading for a list of Java class functions with package
1321 virtual QCString trPackageFunctions()
1323 return "Funkcie v balíku";
1325 virtual QCString trPackageMembers()
1327 return "Členy v balíku";
1329 /*! Used as a heading for a list of static Java class functions with
1332 virtual QCString trStaticPackageFunctions()
1334 return "Statické funkcie v balíku";
1336 /*! Used as a heading for a list of Java class variables with package
1339 virtual QCString trPackageAttribs()
1341 return "Atribúty balíku";
1343 /*! Used as a heading for a list of static Java class variables with
1346 virtual QCString trStaticPackageAttribs()
1348 return "Statické atribúty balíku";
1351 //////////////////////////////////////////////////////////////////////////
1353 //////////////////////////////////////////////////////////////////////////
1355 /*! Used in the quick index of a class/file/namespace member list page
1356 * to link to the unfiltered list of all members.
1358 virtual QCString trAll()
1362 /*! Put in front of the call graph for a function. */
1363 virtual QCString trCallGraph()
1365 return "Táto funkcia volá...";
1368 //////////////////////////////////////////////////////////////////////////
1370 //////////////////////////////////////////////////////////////////////////
1372 /*! This string is used as the title for the page listing the search
1375 virtual QCString trSearchResultsTitle()
1377 return "Výsledky vyhľadávania";
1379 /*! This string is put just before listing the search results. The
1380 * text can be different depending on the number of documents found.
1381 * Inside the text you can put the special marker $num to insert
1382 * the number representing the actual number of search results.
1383 * The @a numDocuments parameter can be either 0, 1 or 2, where the
1384 * value 2 represents 2 or more matches. HTML markup is allowed inside
1385 * the returned string.
1387 virtual QCString trSearchResults(int numDocuments)
1389 if (numDocuments==0)
1391 return "Ľutujem. Vášmu dotazu neodpovedá žiadny dokument.";
1393 else if (numDocuments==1)
1395 return "Bol nájdený jediný dokument, ktorý vyhovuje vášmu dotazu.";
1399 return "Bolo nájdených <b>$num</b> dokumentov, ktoré vyhovujú vášmu "
1400 "dotazu. Najviac odpovedajúce dokumenty sú ako prvé.";
1403 /*! This string is put before the list of matched words, for each search
1404 * result. What follows is the list of words that matched the query.
1406 virtual QCString trSearchMatches()
1408 return "Nájdené slová:";
1411 //////////////////////////////////////////////////////////////////////////
1413 //////////////////////////////////////////////////////////////////////////
1415 /*! This is used in HTML as the title of page with source code for file filename
1417 virtual QCString trSourceFile(QCString& filename)
1419 return QCString("Zdrojový súbor ") + filename;
1423 //////////////////////////////////////////////////////////////////////////
1425 //////////////////////////////////////////////////////////////////////////
1428 /*! This is used as the name of the chapter containing the directory
1431 virtual QCString trDirIndex()
1432 { return "Hierarchia adresárov"; }
1434 /*! This is used as the name of the chapter containing the documentation
1435 * of the directories.
1437 virtual QCString trDirDocumentation()
1438 { return "Dokumentácia k adresárom"; }
1440 /*! This is used as the title of the directory index and also in the
1441 * Quick links of a HTML page, to link to the directory hierarchy.
1443 virtual QCString trDirectories()
1444 { return "Adresáre"; }
1446 /*! This returns the title of a directory page. The name of the
1447 * directory is passed via \a dirName.
1449 virtual QCString trDirReference(const QCString &dirName)
1451 QCString result = "Referencia k adresáru ";
1456 /*! This returns the word directory with or without starting capital
1457 * (\a first_capital) and in sigular or plural form (\a singular).
1459 virtual QCString trDir(bool first_capital, bool singular)
1461 QCString result((first_capital ? "Adresár" : "adresár"));
1467 //////////////////////////////////////////////////////////////////////////
1469 //////////////////////////////////////////////////////////////////////////
1471 /*! This text is added to the documentation when the \\overload command
1472 * is used for a overloaded function.
1474 virtual QCString trOverloadText()
1476 return "Ide o preťaženú (overloaded) metódu, "
1477 "ktorá má uľahčiť používanie. Od vyššie uvedenej metódy sa odlišuje "
1478 "iba inak zadávanými argumentami.";
1481 //////////////////////////////////////////////////////////////////////////
1483 //////////////////////////////////////////////////////////////////////////
1485 virtual QCString trCallerGraph()
1486 { return "Túto funkciu volajú..."; }
1489 /*! This is used in the documentation of a file/namespace before the list
1490 * of documentation blocks for enumeration values
1492 virtual QCString trEnumerationValueDocumentation()
1493 { return "Dokumentácia enumeračných hodnôt"; }
1496 //////////////////////////////////////////////////////////////////////////
1497 // new since 1.5.4 (mainly for Fortran)
1498 //////////////////////////////////////////////////////////////////////////
1500 /*! header that is put before the list of member subprograms (Fortran). */
1501 virtual QCString trMemberFunctionDocumentationFortran()
1502 { return "Dokumentácia členských funkcií/podprogramov"; }
1504 /*! This is put above each page as a link to the list of annotated data types (Fortran). */
1505 virtual QCString trCompoundListFortran()
1506 { return "Zoznam dátových typov"; }
1508 /*! This is put above each page as a link to all members of compounds (Fortran). */
1509 virtual QCString trCompoundMembersFortran()
1510 { return "Dátové polia"; }
1512 /*! This is an introduction to the annotated compound list (Fortran). */
1513 virtual QCString trCompoundListDescriptionFortran()
1514 { return "Dátové typy so stručnými popismi:"; }
1516 /*! This is an introduction to the page with all data types (Fortran). */
1517 virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
1520 QCString result="Nasleduje zoznam všetkých ";
1523 result+="dokumentovaných ";
1525 result+="zložiek dátových typov";
1526 result+=" s odkazmi na ";
1529 result+="dokumentáciu dátovej štruktúry pre každú zložku:";
1533 result+="příslušné dátové typy:";
1538 /*! This is used in LaTeX as the title of the chapter with the
1539 * annotated compound index (Fortran).
1541 virtual QCString trCompoundIndexFortran()
1542 { return "Register dátových typov"; }
1544 /*! This is used in LaTeX as the title of the chapter containing
1545 * the documentation of all data types (Fortran).
1547 virtual QCString trTypeDocumentation()
1548 { return "Dokumentácia k dátovým typom"; }
1550 /*! This is used in the documentation of a file as a header before the
1551 * list of (global) subprograms (Fortran).
1553 virtual QCString trSubprograms()
1554 { return "Funkcie/podprogramy"; }
1556 /*! This is used in the documentation of a file/namespace before the list
1557 * of documentation blocks for subprograms (Fortran)
1559 virtual QCString trSubprogramDocumentation()
1560 { return "Dokumentácia funkcie/podprogramu"; }
1562 /*! This is used in the documentation of a file/namespace/group before
1563 * the list of links to documented compounds (Fortran)
1565 virtual QCString trDataTypes()
1566 { return "Dátové typy"; }
1568 /*! used as the title of page containing all the index of all modules (Fortran). */
1569 virtual QCString trModulesList()
1570 { return "Zoznam modulov"; }
1572 /*! used as an introduction to the modules list (Fortran) */
1573 virtual QCString trModulesListDescription(bool extractAll)
1575 QCString result="Nasleduje zoznam všetkých ";
1576 if (!extractAll) result+="dokumentovaných ";
1577 result+="modulov so stručnými popismi:";
1581 /*! used as the title of the HTML page of a module/type (Fortran) */
1582 virtual QCString trCompoundReferenceFortran(const QCString &clName,
1583 ClassDef::CompoundType compType,
1586 QCString result("Dokumentácia ");
1587 if (isTemplate) result += "šablóny ";
1590 case ClassDef::Class: result += "triedy "; break;
1591 case ClassDef::Struct: result += "typu "; break;
1592 case ClassDef::Union: result += "únie "; break;
1593 case ClassDef::Interface: result += "rozhrania "; break;
1594 case ClassDef::Protocol: result += "protokolu "; break;
1595 case ClassDef::Category: result += "kategórie "; break;
1596 case ClassDef::Exception: result += "výnimky "; break;
1603 /*! used as the title of the HTML page of a module (Fortran) */
1604 virtual QCString trModuleReference(const QCString &namespaceName)
1606 QCString result="Dokumentácia modulu ";
1607 result += namespaceName;
1611 /*! This is put above each page as a link to all members of modules. (Fortran) */
1612 virtual QCString trModulesMembers()
1613 { return "Časti modulu"; }
1615 /*! This is an introduction to the page with all modules members (Fortran) */
1616 virtual QCString trModulesMemberDescription(bool extractAll)
1618 QCString result="Nasleduje zoznam všetkých ";
1619 if (!extractAll) result+="dokumentovaných ";
1620 result+="častí modulov s odkazmi ";
1623 result+="na dokumentáciu modulov pre danú časť:";
1627 result+="na moduly, ku ktorým časť patrí:";
1632 /*! This is used in LaTeX as the title of the chapter with the
1633 * index of all modules (Fortran).
1635 virtual QCString trModulesIndex()
1636 { return "Register modulov"; }
1638 /*! This is used for translation of the word that will possibly
1639 * be followed by a single name or by a list of names
1642 virtual QCString trModule(bool first_capital, bool singular)
1644 QCString result((first_capital ? "Modul" : "modul"));
1645 if (!singular) result+="y";
1648 /*! This is put at the bottom of a module documentation page and is
1649 * followed by a list of files that were used to generate the page.
1651 virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
1653 { // here s is one of " Module", " Struct" or " Union"
1654 // single is true implies a single file
1655 QCString result="Dokumentácia ";
1658 case ClassDef::Class: result+="k tomuto modulu"; break;
1659 case ClassDef::Struct: result+="k tomuto typu"; break;
1660 case ClassDef::Union: result+="k tejto únii"; break;
1661 case ClassDef::Interface: result+="k tomuto rozhraniu"; break;
1662 case ClassDef::Protocol: result+="k tomuto protokolu"; break;
1663 case ClassDef::Category: result+="k tejto kategórii"; break;
1664 case ClassDef::Exception: result+="k tejto výnimke"; break;
1667 result+=" bola vygenerovaná z ";
1668 if (single) result+="nasledujúceho súboru:";
1669 else result+="nasledujúcich súborov:";
1672 /*! This is used for translation of the word that will possibly
1673 * be followed by a single name or by a list of names
1676 virtual QCString trType(bool first_capital, bool singular)
1678 QCString result((first_capital ? "Typ" : "typ"));
1679 if (!singular) result+="y";
1682 /*! This is used for translation of the word that will possibly
1683 * be followed by a single name or by a list of names
1686 virtual QCString trSubprogram(bool first_capital, bool singular)
1688 QCString result((first_capital ? "Podprogram" : "podprogram"));
1689 if (!singular) result+="y";
1693 /*! C# Type Contraint list */
1694 virtual QCString trTypeConstraints()
1696 return "Obmedzenie typov (Type Constraints)";
1699 //////////////////////////////////////////////////////////////////////////
1700 // new since 1.6.0 (mainly for the new search engine)
1701 //////////////////////////////////////////////////////////////////////////
1703 /*! directory relation for \a name */
1704 virtual QCString trDirRelation(const QCString &name)
1706 return "Relácia " + QCString(name);
1709 /*! Loading message shown when loading search results */
1710 virtual QCString trLoading()
1712 return "Načítam...";
1715 /*! Label used for search results in the global namespace */
1716 virtual QCString trGlobalNamespace()
1718 return "Globálny priestor mien";
1721 /*! Message shown while searching */
1722 virtual QCString trSearching()
1724 return "Vyhľadávam...";
1727 /*! Text shown when no search results are found */
1728 virtual QCString trNoMatches()
1730 return "Nič sa nenašlo";
1733 //////////////////////////////////////////////////////////////////////////
1734 // new since 1.6.3 (missing items for the directory pages)
1735 //////////////////////////////////////////////////////////////////////////
1737 /*! when clicking a directory dependency label, a page with a
1738 * table is shown. The heading for the first column mentions the
1739 * source file that has a relation to another file.
1741 virtual QCString trFileIn(const QCString &name)
1743 return "Súbor v "+name;
1746 /*! when clicking a directory dependency label, a page with a
1747 * table is shown. The heading for the second column mentions the
1748 * destination file that is included.
1750 virtual QCString trIncludesFileIn(const QCString &name)
1752 return "Vkladá (include) súbor z "+name;
1755 /** Compiles a date string.
1756 * @param year Year in 4 digits
1757 * @param month Month of the year: 1=January
1758 * @param day Day of the Month: 1..31
1759 * @param dayOfWeek Day of the week: 1=Monday..7=Sunday
1760 * @param hour Hour of the day: 0..23
1761 * @param minutes Minutes in the hour: 0..59
1762 * @param seconds Seconds within the minute: 0..59
1763 * @param includeTime Include time in the result string?
1765 virtual QCString trDateTime(int year,int month,int day,int dayOfWeek,
1766 int hour,int minutes,int seconds,
1769 static const char *days[] = { "po","ut","st","št","pi","so","ne" };
1770 static const char *months[] = { "jan","feb","mar","apr","máj","jún","júl","aug","sep","okt","nov","dec" };
1772 sdate.sprintf("%s %d. %s %d",days[dayOfWeek-1],day,months[month-1],year);
1776 stime.sprintf(" %.2d.%.2d:%.2d",hour,minutes,seconds);
1781 virtual QCString trDayOfWeek(int dayOfWeek, bool first_capital, bool full)
1783 static const char *days_short[] = { "po", "ut", "st", "št", "pi", "so", "ne" };
1784 static const char *days_full[] = { "pondelok", "utorok", "streda", "štvrtok", "piatok", "sobota", "nedeľa" };
1785 QCString text = full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
1786 if (first_capital) return text.mid(0,1).upper()+text.mid(1);
1789 virtual QCString trMonth(int month, bool first_capital, bool full)
1791 static const char *months_short[] = { "jan", "feb", "mar", "apr", "máj", "jún", "júl", "aug", "sep", "okt", "nov", "dec" };
1792 static const char *months_full[] = { "január", "február", "marec", "apríl", "máj", "jún", "júl", "august", "september", "október", "november", "december" };
1793 QCString text = full? months_full[month-1] : months_short[month-1];
1794 if (first_capital) return text.mid(0,1).upper()+text.mid(1);
1797 virtual QCString trDayPeriod(int period)
1799 static const char *dayPeriod[] = { "AM", "PM" };
1800 return dayPeriod[period];
1803 //////////////////////////////////////////////////////////////////////////
1805 //////////////////////////////////////////////////////////////////////////
1807 /*! Header for the page with bibliographic citations */
1808 virtual QCString trCiteReferences()
1809 { return "Odkazy na literatúru"; }
1811 /*! Text for copyright paragraph */
1812 virtual QCString trCopyright()
1813 { return "Copyright"; }
1815 /*! Header for the graph showing the directory dependencies */
1816 virtual QCString trDirDepGraph(const QCString &name)
1817 { return QCString("Graf závislosti na priečinkoch pre ")+name+":"; }
1819 //////////////////////////////////////////////////////////////////////////
1821 //////////////////////////////////////////////////////////////////////////
1823 /*! Detail level selector shown for hierarchical indices */
1824 virtual QCString trDetailLevel()
1825 { return "úroveň detailov"; }
1827 /*! Section header for list of template parameters */
1828 virtual QCString trTemplateParameters()
1829 { return "Parametry šablón"; }
1831 /*! Used in dot graph when UML_LOOK is enabled and there are many fields */
1832 virtual QCString trAndMore(const QCString &number)
1834 QCString result("a " + number + " ďaľší");
1835 if (number.toInt() >= 5)
1837 return result + "...";
1840 /*! Used file list for a Java enum */
1841 virtual QCString trEnumGeneratedFromFiles(bool single)
1842 { QCString result = "Dokumentácia pre tuto enumeráciu bola generovaná z ";
1844 result += "nasledujúceho súboru:";
1846 result += "nasledujúcich súborov:";
1850 /*! Header of a Java enum page (Java enums are represented as classes). */
1851 virtual QCString trEnumReference(const QCString &name)
1852 { return "Referencia k enumerácii "+QCString(name); }
1854 /*! Used for a section containing inherited members */
1855 virtual QCString trInheritedFrom(const QCString &members,const QCString &what)
1856 { return QCString(members)+" dedí sa z "+what; }
1858 /*! Header of the sections with inherited members specific for the
1861 virtual QCString trAdditionalInheritedMembers()
1862 { return "Ďaľšie zdedené členy"; }
1864 //////////////////////////////////////////////////////////////////////////
1866 //////////////////////////////////////////////////////////////////////////
1868 /*! Used as a tooltip for the toggle button that appears in the
1869 * navigation tree in the HTML output when GENERATE_TREEVIEW is
1870 * enabled. This tooltip explains the meaning of the button.
1872 virtual QCString trPanelSynchronisationTooltip(bool enable)
1874 QCString opt = enable ? "povoliť" : "zakázať";
1875 return opt + " synchronizáciu panelov";
1878 /*! Used in a method of an Objective-C class that is declared in a
1879 * a category. Note that the @1 marker is required and is replaced
1882 virtual QCString trProvidedByCategory()
1884 return "Deklarované v kategórii @0.";
1887 /*! Used in a method of an Objective-C category that extends a class.
1888 * Note that the @1 marker is required and is replaced by a link to
1891 virtual QCString trExtendsClass()
1893 return "Rozširuje triedu @0.";
1896 /*! Used as the header of a list of class methods in Objective-C.
1897 * These are similar to static public member functions in C++.
1899 virtual QCString trClassMethods()
1901 return "Metódy triedy";
1904 /*! Used as the header of a list of instance methods in Objective-C.
1905 * These are similar to public member functions in C++.
1907 virtual QCString trInstanceMethods()
1909 return "Metódy inštancie";
1912 /*! Used as the header of the member functions of an Objective-C class.
1914 virtual QCString trMethodDocumentation()
1916 return "Dokumentácia metódy";
1919 //////////////////////////////////////////////////////////////////////////
1921 //////////////////////////////////////////////////////////////////////////
1923 /** old style UNO IDL services: implemented interfaces */
1924 virtual QCString trInterfaces()
1925 { return "Exportované rozhrania"; }
1927 /** old style UNO IDL services: inherited services */
1928 virtual QCString trServices()
1929 { return "Začlenené služby"; }
1931 /** UNO IDL constant groups */
1932 virtual QCString trConstantGroups()
1933 { return "Konštantné skupiny"; }
1935 /** UNO IDL constant groups */
1936 virtual QCString trConstantGroupReference(const QCString &namespaceName)
1938 QCString result="Konštantné skupiny z ";
1939 result += namespaceName;
1942 /** UNO IDL service page title */
1943 virtual QCString trServiceReference(const QCString &sName)
1945 QCString result="Popis služby ";
1949 /** UNO IDL singleton page title */
1950 virtual QCString trSingletonReference(const QCString &sName)
1952 QCString result="Popis singletonu ";
1956 /** UNO IDL service page */
1957 virtual QCString trServiceGeneratedFromFiles(bool single)
1959 // single is true implies a single file
1960 QCString result="Dokumentácia k tejto službe bola vygenerovaná ";
1961 if (single) result+="z nasledujúceho súboru:";
1962 else result+="z nasledujúcich súborov:";
1965 /** UNO IDL singleton page */
1966 virtual QCString trSingletonGeneratedFromFiles(bool single)
1968 // single is true implies a single file
1969 QCString result="Dokumentácia k tomuto singletonu bola vygenerovaná ";
1970 if (single) result+="z nasledujúceho súboru:";
1971 else result+="z nasledujúcich súborov:";
1977 #endif // TRANSLATOR_SK_H