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 used when the summary tag is missing inside the details tag */
75 virtual QCString trDetails()
76 { return "Podrobnosti"; }
78 /*! header that is put before the list of typedefs. */
79 virtual QCString trMemberTypedefDocumentation()
80 { return "Dokumentácia k členským typom"; }
82 /*! header that is put before the list of enumerations. */
83 virtual QCString trMemberEnumerationDocumentation()
84 { return "Dokumentácia k členským enumeráciám"; }
86 /*! header that is put before the list of member functions. */
87 virtual QCString trMemberFunctionDocumentation()
88 { return "Dokumentácia k metódam"; }
90 /*! header that is put before the list of member attributes. */
91 virtual QCString trMemberDataDocumentation()
93 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
95 return "Dokumentácia k položkám";
99 return "Dokumentácia k dátovým členom";
103 /*! this is the text of a link put after brief descriptions. */
104 virtual QCString trMore()
107 /*! put in the class documentation */
108 virtual QCString trListOfAllMembers()
109 { return "Zoznam všetkých členov"; }
111 /*! used as the title of the "list of all members" page of a class */
112 virtual QCString trMemberList()
113 { return "Zoznam členov triedy"; }
115 /*! this is the first part of a sentence that is followed by a class name */
116 virtual QCString trThisIsTheListOfAllMembers()
117 { return "Tu nájdete úplný zoznam členov triedy "; }
119 /*! this is the remainder of the sentence after the class name */
120 virtual QCString trIncludingInheritedMembers()
121 { return ", vrátane všetkých zdedených členov."; }
123 /*! this is put at the author sections at the bottom of man pages.
124 * parameter s is name of the project name.
126 virtual QCString trGeneratedAutomatically(const QCString &s)
127 { QCString result("Generované automaticky programom Doxygen "
128 "zo zdrojových textov");
130 result+=" projektu "+s;
135 /*! put after an enum name in the list of all members */
136 virtual QCString trEnumName()
137 { return "meno enumerácie"; }
139 /*! put after an enum value in the list of all members */
140 virtual QCString trEnumValue()
141 { return "hodnota enumerácie"; }
143 /*! put after an undocumented member in the list of all members */
144 virtual QCString trDefinedIn()
145 { return "definovaný v"; }
147 // quick reference sections
149 /*! This is put above each page as a link to the list of all groups of
150 * compounds or files (see the \\group command).
152 virtual QCString trModules()
155 /*! This is put above each page as a link to the class hierarchy */
156 virtual QCString trClassHierarchy()
157 { return "Hierarchia tried"; }
159 /*! This is put above each page as a link to the list of annotated classes */
160 virtual QCString trCompoundList()
162 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
164 return "Dátové štruktúry";
168 return "Zoznam tried";
172 /*! This is put above each page as a link to the list of documented files */
173 virtual QCString trFileList()
174 { return "Zoznam súborov"; }
176 /*! This is put above each page as a link to all members of compounds. */
177 virtual QCString trCompoundMembers()
179 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
181 return "Dátové položky";
185 return "Zoznam členov tried";
189 /*! This is put above each page as a link to all members of files. */
190 virtual QCString trFileMembers()
192 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
194 return "Globálne symboly";
198 return "Symboly v súboroch";
202 /*! This is put above each page as a link to all related pages. */
203 virtual QCString trRelatedPages()
204 { return "Ostatné stránky"; }
206 /*! This is put above each page as a link to all examples. */
207 virtual QCString trExamples()
208 { return "Príklady"; }
210 /*! This is put above each page as a link to the search engine. */
211 virtual QCString trSearch()
214 /*! This is an introduction to the class hierarchy. */
215 virtual QCString trClassHierarchyDescription()
216 { return "Tu nájdete zoznam, vyjadrujúci vzťah dedičnosti tried. "
217 "Je zoradený približne (ale nie úplne) podľa abecedy:";
220 /*! This is an introduction to the list with all files. */
221 virtual QCString trFileListDescription(bool extractAll)
223 QCString result("Tu nájdete zoznam všetkých ");
224 if (!extractAll) result+="dokumentovaných ";
225 result+="súborov so stručnými popismi:";
229 /*! This is an introduction to the annotated compound list. */
230 virtual QCString trCompoundListDescription()
232 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
234 return "Nasledujúci zoznam obsahuje identifikáciu dátových "
235 "štruktúr a ich stručné popisy:";
239 return "Nasledujúci zoznam obsahuje predovšetkým identifikáciu "
240 "tried, ale nachádzajú sa tu i ďalšie netriviálne prvky, "
241 "ako sú štruktúry (struct), uniony (union) a rozhrania "
242 "(interface). V zozname sú uvedené ich stručné "
247 /*! This is an introduction to the page with all class members. */
248 virtual QCString trCompoundMembersDescription(bool extractAll)
250 QCString result= "Tu nájdete zoznam všetkých ";
253 result += "dokumentovaných ";
256 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
258 result += "položiek štruktúr (struct) a unionov (union) ";
262 result += "členov tried ";
265 result += "s odkazmi na ";
269 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
271 result += "dokumentáciu štruktúr/unionov, ku ktorým prislúchajú:";
275 result += "dokumentáciu tried, ku ktorým prislúchajú:";
280 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
282 result+="štruktúry/uniony, ku ktorým prislúchajú:";
286 result+="triedy, ku ktorým prislúchajú:";
293 /*! This is an introduction to the page with all file members. */
294 virtual QCString trFileMembersDescription(bool extractAll)
296 QCString result="Tu nájdete zoznam všetkých ";
297 if (!extractAll) result+="dokumentovaných ";
299 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
301 result+="funkcií, premenných, makier, enumerácií a definícií typov (typedef) "
306 result+="symbolov, ktoré sú definované na úrovni svojich súborov. "
307 "Pre každý symbol je uvedený odkaz na ";
311 result+="súbory, ku ktorým prislúchajú:";
313 result+="dokumentáciu:";
318 /*! This is an introduction to the page with the list of all examples */
319 virtual QCString trExamplesDescription()
320 { return "Tu nájdete zoznam všetkých príkladov:"; }
322 /*! This is an introduction to the page with the list of related pages */
323 virtual QCString trRelatedPagesDescription()
324 { return "Nasledujúci zoznam odkazuje na ďalšie stránky projektu, "
325 "ktoré majú charakter usporiadaných zoznamov informácií, "
326 "pozbieraných z rôznych miest v zdrojových súboroch:"; }
328 /*! This is an introduction to the page with the list of class/file groups */
329 virtual QCString trModulesDescription()
330 { return "Tu nájdete zoznam všetkých modulov:"; }
332 // index titles (the project name is prepended for these)
334 /*! This is used in HTML as the title of index.html. */
335 virtual QCString trDocumentation()
336 { return "Dokumentácia"; }
338 /*! This is used in LaTeX as the title of the chapter with the
339 * index of all groups.
341 virtual QCString trModuleIndex()
342 { return "Register modulov"; }
344 /*! This is used in LaTeX as the title of the chapter with the
347 virtual QCString trHierarchicalIndex()
348 { return "Register hierarchie tried"; }
350 /*! This is used in LaTeX as the title of the chapter with the
351 * annotated compound index.
353 virtual QCString trCompoundIndex()
355 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
357 return "Register dátových štruktúr";
361 return "Register tried";
365 /*! This is used in LaTeX as the title of the chapter with the
368 virtual QCString trFileIndex()
369 { return "Register súborov"; }
371 /*! This is used in LaTeX as the title of the chapter containing
372 * the documentation of all groups.
374 virtual QCString trModuleDocumentation()
375 { return "Dokumentácia modulov"; }
377 /*! This is used in LaTeX as the title of the chapter containing
378 * the documentation of all classes, structs and unions.
380 virtual QCString trClassDocumentation()
381 { return "Dokumentácia tried"; }
383 /*! This is used in LaTeX as the title of the chapter containing
384 * the documentation of all files.
386 virtual QCString trFileDocumentation()
387 { return "Dokumentácia súborov"; }
389 /*! This is used in LaTeX as the title of the document */
390 virtual QCString trReferenceManual()
391 { return "Referenčná príručka"; }
393 /*! This is used in the documentation of a file as a header before the
396 virtual QCString trDefines()
397 { return "Definícia makier"; }
399 /*! This is used in the documentation of a file as a header before the
402 virtual QCString trTypedefs()
403 { return "Definícia typov"; }
405 /*! This is used in the documentation of a file as a header before the
406 * list of enumerations
408 virtual QCString trEnumerations()
409 { return "Enumerácie"; }
411 /*! This is used in the documentation of a file as a header before the
412 * list of (global) functions
414 virtual QCString trFunctions()
415 { return "Funkcie"; }
417 /*! This is used in the documentation of a file as a header before the
418 * list of (global) variables
420 virtual QCString trVariables()
421 { return "Premenné"; }
423 /*! This is used in the documentation of a file as a header before the
424 * list of (global) variables
426 virtual QCString trEnumerationValues()
427 { return "Hodnoty enumerácií"; }
429 /*! This is used in the documentation of a file before the list of
430 * documentation blocks for defines
432 virtual QCString trDefineDocumentation()
433 { return "Dokumentácia k definíciám makier"; }
435 /*! This is used in the documentation of a file/namespace before the list
436 * of documentation blocks for typedefs
438 virtual QCString trTypedefDocumentation()
439 { return "Dokumentácia definícií typov"; }
441 /*! This is used in the documentation of a file/namespace before the list
442 * of documentation blocks for enumeration types
444 virtual QCString trEnumerationTypeDocumentation()
445 { return "Dokumentácia enumeračných typov"; }
447 /*! This is used in the documentation of a file/namespace before the list
448 * of documentation blocks for functions
450 virtual QCString trFunctionDocumentation()
451 { return "Dokumentácia funkcií"; }
453 /*! This is used in the documentation of a file/namespace before the list
454 * of documentation blocks for variables
456 virtual QCString trVariableDocumentation()
457 { return "Dokumentácia premenných"; }
459 /*! This is used in the documentation of a file/namespace/group before
460 * the list of links to documented compounds
462 virtual QCString trCompounds()
464 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
466 return "Dátové štruktúry";
474 /*! This is used in the standard footer of each page and indicates when
475 * the page was generated
477 virtual QCString trGeneratedAt(const QCString &date,const QCString &projName)
479 QCString result="Generované "+date;
480 if (!projName.isEmpty()) result+=" pre projekt "+projName;
481 result+=" programom";
485 /*! this text is put before a class diagram */
486 virtual QCString trClassDiagram(const QCString &clName)
488 return "Diagram dedičnosti pre triedu "+clName;
491 /*! this text is generated when the \\warning command is used. */
492 virtual QCString trWarning()
495 /*! this text is generated when the \\version command is used. */
496 virtual QCString trVersion()
499 /*! this text is generated when the \\date command is used. */
500 virtual QCString trDate()
503 /*! this text is generated when the \\return command is used. */
504 virtual QCString trReturns()
505 { return "Návratová hodnota"; }
507 /*! this text is generated when the \\sa command is used. */
508 virtual QCString trSeeAlso()
509 { return "Viz tiež"; }
511 /*! this text is generated when the \\param command is used. */
512 virtual QCString trParameters()
513 { return "Parametre"; }
515 /*! this text is generated when the \\exception command is used. */
516 virtual QCString trExceptions()
517 { return "Výnimky"; }
519 /*! this text is used in the title page of a LaTeX document. */
520 virtual QCString trGeneratedBy()
521 { return "Generované programom"; }
523 // new since 0.49-990307
525 /*! used as the title of page containing all the index of all namespaces. */
526 virtual QCString trNamespaceList()
527 { return "Zoznam priestorov mien"; }
529 /*! used as an introduction to the namespace list */
530 virtual QCString trNamespaceListDescription(bool extractAll)
532 QCString result="Tu nájdete zoznam všetkých ";
533 if (!extractAll) result+="dokumentovaných ";
534 result+="priestorov mien so stručným popisom:";
538 /*! used in the class documentation as a header before the list of all
541 virtual QCString trFriends()
542 { return "Priatelia (friends)"; }
544 //////////////////////////////////////////////////////////////////////////
545 // new since 0.49-990405
546 //////////////////////////////////////////////////////////////////////////
548 /*! used in the class documentation as a header before the list of all
551 virtual QCString trRelatedFunctionDocumentation()
552 { return "Dokumentácia k priateľom (friends)"; }
554 //////////////////////////////////////////////////////////////////////////
555 // new since 0.49-990425
556 //////////////////////////////////////////////////////////////////////////
558 /*! used as the title of the HTML page of a class/struct/union */
559 virtual QCString trCompoundReference(const QCString &clName,
560 ClassDef::CompoundType compType,
563 QCString result("Dokumentácia ");
564 if (isTemplate) result+="šablóny ";
567 case ClassDef::Class: result+="triedy "; break;
568 case ClassDef::Struct: result+="štruktúry "; break;
569 case ClassDef::Union: result+="unionu "; break;
570 case ClassDef::Interface: result+="rozhrania "; break;
571 case ClassDef::Protocol: result+="protokol "; break;
572 case ClassDef::Category: result+="kategória "; break;
573 case ClassDef::Exception: result+="výnimky "; break;
580 /*! used as the title of the HTML page of a file */
581 virtual QCString trFileReference(const QCString &fileName)
583 QCString result("Dokumentácia súboru ");
588 /*! used as the title of the HTML page of a namespace */
589 virtual QCString trNamespaceReference(const QCString &namespaceName)
591 QCString result("Dokumentácia priestoru mien ");
592 result+=namespaceName;
596 /* these are for the member sections of a class, struct or union */
597 virtual QCString trPublicMembers()
598 { return "Verejné metódy"; }
599 virtual QCString trPublicSlots()
600 { return "Verejné sloty"; }
601 virtual QCString trSignals()
602 { return "Signály"; }
603 virtual QCString trStaticPublicMembers()
604 { return "Statické verejné metódy"; }
605 virtual QCString trProtectedMembers()
606 { return "Chránené metódy"; }
607 virtual QCString trProtectedSlots()
608 { return "Chránené sloty"; }
609 virtual QCString trStaticProtectedMembers()
610 { return "Statické chránené metódy"; }
611 virtual QCString trPrivateMembers()
612 { return "Privátne metódy"; }
613 virtual QCString trPrivateSlots()
614 { return "Privátne sloty"; }
615 virtual QCString trStaticPrivateMembers()
616 { return "Statické privátne metódy"; }
618 /*! this function is used to produce a comma-separated list of items.
619 * use generateMarker(i) to indicate where item i should be put.
621 virtual QCString trWriteList(int numEntries)
625 // the inherits list contain `numEntries' classes
626 for (i=0;i<numEntries;i++)
628 // use generateMarker to generate placeholders for the class links!
629 result+=generateMarker(i); // generate marker for entry i in the list
630 // (order is left to right)
632 if (i!=numEntries-1) // not the last entry, so we need a separator
634 if (i<numEntries-2) // not the fore last entry
636 else // the fore last entry
643 /*! used in class documentation to produce a list of base classes,
644 * if class diagrams are disabled.
646 virtual QCString trInheritsList(int numEntries)
648 QCString result("Dedí od ");
649 result += (numEntries == 1) ? "bázovej triedy " : "bázových tried ";
650 result += trWriteList(numEntries)+".";
654 /*! used in class documentation to produce a list of super classes,
655 * if class diagrams are disabled.
657 virtual QCString trInheritedByList(int numEntries)
659 QCString result("Zdedená ");
660 result += (numEntries == 1) ? "triedou " : "triedami ";
661 result += trWriteList(numEntries)+".";
665 /*! used in member documentation blocks to produce a list of
666 * members that are hidden by this one.
668 virtual QCString trReimplementedFromList(int numEntries)
670 QCString result("Reimplementuje ");
671 result += (numEntries == 1) ? "metódu triedy " : "metódy tried ";
672 result += trWriteList(numEntries)+".";
676 /*! used in member documentation blocks to produce a list of
677 * all member that overwrite the implementation of this member.
679 virtual QCString trReimplementedInList(int numEntries)
681 QCString result("Reimplementované ");
682 result += (numEntries == 1) ? "triedou " : "triedami ";
683 result += trWriteList(numEntries)+".";
687 /*! This is put above each page as a link to all members of namespaces. */
688 virtual QCString trNamespaceMembers()
689 { return "Symboly v priestoroch mien"; }
691 /*! This is an introduction to the page with all namespace members */
692 virtual QCString trNamespaceMemberDescription(bool extractAll)
694 QCString result="Tu nájdete zoznam všetkých ";
695 if (!extractAll) result+="dokumentovaných ";
696 result+="symbolov, ktoré sú definované vo svojich priestoroch mien. "
697 "U každého je uvedený odkaz na ";
699 result+="dokumentáciu príslušného priestoru mien:";
701 result+="príslušný priestor mien:";
704 /*! This is used in LaTeX as the title of the chapter with the
705 * index of all namespaces.
707 virtual QCString trNamespaceIndex()
708 { return "Register priestorov mien"; }
710 /*! This is used in LaTeX as the title of the chapter containing
711 * the documentation of all namespaces.
713 virtual QCString trNamespaceDocumentation()
714 { return "Dokumentácia priestorov mien"; }
716 //////////////////////////////////////////////////////////////////////////
717 // new since 0.49-990522
718 //////////////////////////////////////////////////////////////////////////
720 /*! This is used in the documentation before the list of all
721 * namespaces in a file.
723 virtual QCString trNamespaces()
724 { return "Priestory mien"; }
726 //////////////////////////////////////////////////////////////////////////
727 // new since 0.49-990728
728 //////////////////////////////////////////////////////////////////////////
730 /*! This is put at the bottom of a class documentation page and is
731 * followed by a list of files that were used to generate the page.
733 virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
735 { // here s is one of " Class", " Struct" or " Union"
736 // single is true implies a single file
737 QCString result="Dokumentácia pre ";
740 case ClassDef::Class: result+="túto triedu"; break;
741 case ClassDef::Struct: result+="túto štruktúru (struct)"; break;
742 case ClassDef::Union: result+="tento union"; break;
743 case ClassDef::Interface: result+="toto rozhranie"; break;
744 case ClassDef::Protocol: result+="protokol"; break;
745 case ClassDef::Category: result+="kategória"; break;
746 case ClassDef::Exception: result+="túto výnimku"; break;
749 result+=" bola generovaná z ";
750 if (single) result+="nasledujúceho súboru:";
751 else result+="nasledujúcich súborov:";
755 //////////////////////////////////////////////////////////////////////////
756 // new since 0.49-990901
757 //////////////////////////////////////////////////////////////////////////
759 /*! This is used as the heading text for the retval command. */
760 virtual QCString trReturnValues()
761 { return "Návratové hodnoty"; }
763 /*! This is in the (quick) index as a link to the main page (index.html)
765 virtual QCString trMainPage()
766 { return "Hlavná stránka"; }
768 /*! This is used in references to page that are put in the LaTeX
769 * documentation. It should be an abbreviation of the word page.
771 virtual QCString trPageAbbreviation()
774 //////////////////////////////////////////////////////////////////////////
775 // new since 0.49-991003
776 //////////////////////////////////////////////////////////////////////////
778 virtual QCString trDefinedAtLineInSourceFile()
780 return "Definícia je uvedená na riadku @0 v súbore @1.";
782 virtual QCString trDefinedInSourceFile()
784 return "Definícia v súbore @0.";
787 //////////////////////////////////////////////////////////////////////////
788 // new since 0.49-991205
789 //////////////////////////////////////////////////////////////////////////
791 virtual QCString trDeprecated()
796 //////////////////////////////////////////////////////////////////////////
798 //////////////////////////////////////////////////////////////////////////
800 /*! this text is put before a collaboration diagram */
801 virtual QCString trCollaborationDiagram(const QCString &clName)
803 return "Diagram tried pre "+clName+":";
805 /*! this text is put before an include dependency graph */
806 virtual QCString trInclDepGraph(const QCString &fName)
808 return "Graf závislostí na vkladaných súboroch "
811 /*! header that is put before the list of constructor/destructors. */
812 virtual QCString trConstructorDocumentation()
814 return "Dokumentácia konštruktoru a deštruktoru";
816 /*! Used in the file documentation to point to the corresponding sources. */
817 virtual QCString trGotoSourceCode()
819 return "Zobraziť zdrojový text tohoto súboru.";
821 /*! Used in the file sources to point to the corresponding documentation. */
822 virtual QCString trGotoDocumentation()
824 return "Zobraziť dokumentáciu tohoto súboru.";
826 /*! Text for the \\pre command */
827 virtual QCString trPrecondition()
829 return "Prepodmienka";
831 /*! Text for the \\post command */
832 virtual QCString trPostcondition()
834 return "Postpodmienka";
836 /*! Text for the \\invariant command */
837 virtual QCString trInvariant()
841 /*! Text shown before a multi-line variable/enum initialization */
842 virtual QCString trInitialValue()
844 return "Inicializátor:";
846 /*! Text used the source code in the file index */
847 virtual QCString trCode()
849 return "zdrojový text";
851 virtual QCString trGraphicalHierarchy()
853 return "Grafické zobrazenie hierarchie tried";
855 virtual QCString trGotoGraphicalHierarchy()
857 return "Zobraziť grafickú podobu hierarchie tried";
859 virtual QCString trGotoTextualHierarchy()
861 return "Zobraziť textovú podobu hierarchie tried";
863 virtual QCString trPageIndex()
865 return "Register stránok";
868 //////////////////////////////////////////////////////////////////////////
870 //////////////////////////////////////////////////////////////////////////
872 virtual QCString trNote()
876 virtual QCString trPublicTypes()
878 return "Verejné typy";
880 virtual QCString trPublicAttribs()
882 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
884 return "Dátové položky";
888 return "Verejné atribúty";
891 virtual QCString trStaticPublicAttribs()
893 return "Statické verejné atribúty";
895 virtual QCString trProtectedTypes()
897 return "Chránené typy";
899 virtual QCString trProtectedAttribs()
901 return "Chránené atribúty";
903 virtual QCString trStaticProtectedAttribs()
905 return "Statické chránené atribúty";
907 virtual QCString trPrivateTypes()
909 return "Privátne typy";
911 virtual QCString trPrivateAttribs()
913 return "Privátne atribúty";
915 virtual QCString trStaticPrivateAttribs()
917 return "Statické privátne atribúty";
920 //////////////////////////////////////////////////////////////////////////
922 //////////////////////////////////////////////////////////////////////////
924 /*! Used as a marker that is put before a todo item */
925 virtual QCString trTodo()
927 return "Plánované úpravy";
929 /*! Used as the header of the todo list */
930 virtual QCString trTodoList()
932 return "Zoznam plánovaných úprav";
935 //////////////////////////////////////////////////////////////////////////
937 //////////////////////////////////////////////////////////////////////////
939 virtual QCString trReferencedBy()
941 return "Používa sa v";
943 virtual QCString trRemarks()
947 virtual QCString trAttention()
949 return "Upozornenie";
951 virtual QCString trInclByDepGraph()
953 return "Nasledujúci graf ukazuje, ktoré súbory priamo alebo "
954 "nepriamo vkladajú tento súbor:";
956 virtual QCString trSince()
961 ////////////////////////////////////////////////////////////////////////////
963 //////////////////////////////////////////////////////////////////////////
965 /*! title of the graph legend page */
966 virtual QCString trLegendTitle()
968 return "Vysvetlivky ku grafu";
970 /*! page explaining how the dot graph's should be interpreted */
971 virtual QCString trLegendDocs()
974 "Tu nájdete vysvetlenie, ako majú byť interpretované grafy, "
975 "ktoré boli generované programom doxygen.<p>\n"
976 "Uvažujte nasledujúci príklad:\n"
978 "/*! Neviditelná trieda, ktorá sa v grafe nezobrazuje, pretože "
979 "došlo k orezaniu grafu. */\n"
980 "class Invisible { };\n\n"
981 "/*! Trieda, u ktorej došlo k orezaniu grafu. Vzťah dedičnosti "
983 "class Truncated : public Invisible { };\n\n"
984 "/* Trieda, ktorá nieje dokumentovaná komentármi programu doxygen. */\n"
985 "class Undocumented { };\n\n"
986 "/*! Odvodená trieda s verejným (public) dedením bázovej triedy. */\n"
987 "class PublicBase : public Truncated { };\n\n"
988 "/*! Šablóna triedy. */\n"
989 "template<class T> class Templ { };\n\n"
990 "/*! Odvodená trieda s chráneným (protected) dedením bázovej triedy. */\n"
991 "class ProtectedBase { };\n\n"
992 "/*! Odvodená trieda s privátnym dedením bázovej triedy. */\n"
993 "class PrivateBase { };\n\n"
994 "/*! Trieda, ktorá je využívaná triedou Inherited. */\n"
995 "class Used { };\n\n"
996 "/*! Odvodená trieda, ktorá rôznym spôsobom dedí od viacerých bázových "
998 "class Inherited : public PublicBase,\n"
999 " protected ProtectedBase,\n"
1000 " private PrivateBase,\n"
1001 " public Undocumented,\n"
1002 " public Templ<int>\n"
1005 " Used *m_usedClass;\n"
1008 "K vyššie uvedenému bude vygenerovaný nasledujúci graf:"
1009 "<p><center><img src=\"graph_legend."+getDotImageExtension()+"\"></center>\n"
1011 "Bloky (tj. uzly) v uvedenom grafe majú nasledujúci význam:\n"
1013 "<li>Čierne vyplnený obdĺžnik reprezentuje štruktúru alebo triedu, "
1014 "pre ktorú bol graf generovaný.\n"
1015 "<li>Obdĺžnik s čiernym obrysom označuje dokumentovanú "
1016 "štruktúru alebo triedu.\n"
1017 "<li>Obdĺžnik so šedým obrysom označuje nedokumentovanú "
1018 "štruktúru alebo triedu.\n"
1019 "<li>Obdĺžnik s červeným obrysom označuje dokumentovanú "
1020 "štruktúru alebo triedu, pre ktorú\n"
1021 "niesú zobrazené všetky vzťahy dedičnosti alebo obsiahnutia. "
1022 "Graf je orezaný v prípade, kedy ho\n"
1023 "nieje možné umiestniť do vymedzených hraníc.\n"
1025 "Šípky (tj. hrany grafu) majú nasledujúcí význam:\n"
1027 "<li>Tmavo modrá šípka sa používa pre označenie vzťahu verejnej "
1028 "dedičnosti medzi dvoma triedami.\n"
1029 "<li>Tmavo zelená šípka označuje vzťah chránenej dedičnosti "
1031 "<li>Tmavo červená šípka označuje vzťah privátnej dedičnosti.\n"
1032 "<li>Purpurová šípka kreslená čiarkovane sa používa v prípade, "
1033 "ak je trieda obsiahnutá v inej triede,\n"
1034 "alebo ak je používaná inou triedou. Je označená identifikátorom "
1035 "jednej alebo viacerých premenných (objektov), cez ktoré\n"
1036 "je trieda alebo štruktúra zprístupnena.\n"
1039 /*! text for the link to the legend page */
1040 virtual QCString trLegend()
1042 return "vysvetlivky";
1045 //////////////////////////////////////////////////////////////////////////
1047 //////////////////////////////////////////////////////////////////////////
1049 /*! Used as a marker that is put before a test item */
1050 virtual QCString trTest()
1055 /*! Used as the header of the test list */
1056 virtual QCString trTestList()
1058 return "Zoznam testov";
1061 //////////////////////////////////////////////////////////////////////////
1063 //////////////////////////////////////////////////////////////////////////
1065 /*! Used as a section header for IDL properties */
1066 virtual QCString trProperties()
1068 return "Vlastnosti";
1070 /*! Used as a section header for IDL property documentation */
1071 virtual QCString trPropertyDocumentation()
1073 return "Dokumentácia k vlastnosti";
1075 //////////////////////////////////////////////////////////////////////////
1077 //////////////////////////////////////////////////////////////////////////
1079 /*! Used for Java classes in the summary section of Java packages */
1080 virtual QCString trClasses()
1084 /*! Used as the title of a Java package */
1085 virtual QCString trPackage(const QCString &name)
1087 return "Balík "+name;
1089 /*! The description of the package index page */
1090 virtual QCString trPackageListDescription()
1092 return "Tu nájdete zoznam balíkov so stručným popisom "
1093 "(pokiaľ bol uvedený):";
1095 /*! The link name in the Quick links header for each page */
1096 virtual QCString trPackages()
1100 /*! Text shown before a multi-line define */
1101 virtual QCString trDefineValue()
1106 //////////////////////////////////////////////////////////////////////////
1108 //////////////////////////////////////////////////////////////////////////
1110 /*! Used as a marker that is put before a \\bug item */
1111 virtual QCString trBug()
1115 /*! Used as the header of the bug list */
1116 virtual QCString trBugList()
1118 return "Zoznam chýb";
1121 //////////////////////////////////////////////////////////////////////////
1122 // new since 1.2.6-20010422
1123 //////////////////////////////////////////////////////////////////////////
1125 /*! Used as ansicpg for RTF file */
1126 virtual QCString trRTFansicp()
1131 /*! Used as ansicpg for RTF fcharset */
1132 virtual QCString trRTFCharSet()
1137 /*! Used as header RTF general index */
1138 virtual QCString trRTFGeneralIndex()
1143 /*! This is used for translation of the word that will possibly
1144 * be followed by a single name or by a list of names
1147 virtual QCString trClass(bool first_capital, bool singular)
1149 QCString result((first_capital ? "Tried" : "tried"));
1150 result+=(singular ? "a" : "y");
1154 /*! This is used for translation of the word that will possibly
1155 * be followed by a single name or by a list of names
1158 virtual QCString trFile(bool first_capital, bool singular)
1160 QCString result((first_capital ? "Súbor" : "súbor"));
1161 if (!singular) result+="y";
1165 /*! This is used for translation of the word that will possibly
1166 * be followed by a single name or by a list of names
1169 virtual QCString trNamespace(bool first_capital, bool singular)
1171 QCString result((first_capital ? "Priestor" : "priestor"));
1172 if (!singular) result+="y";
1177 /*! This is used for translation of the word that will possibly
1178 * be followed by a single name or by a list of names
1181 virtual QCString trGroup(bool first_capital, bool singular)
1183 QCString result((first_capital ? "Skupin" : "skupin"));
1184 result+=(singular ? "a" : "y");
1188 /*! This is used for translation of the word that will possibly
1189 * be followed by a single name or by a list of names
1192 virtual QCString trPage(bool first_capital, bool singular)
1194 QCString result((first_capital ? "Stránk" : "stránk"));
1195 result+=(singular ? "a" : "y");
1199 /*! This is used for translation of the word that will possibly
1200 * be followed by a single name or by a list of names
1203 virtual QCString trMember(bool first_capital, bool singular)
1205 QCString result((first_capital ? "Člen" : "člen"));
1206 if (!singular) result+="y";
1210 /*! This is used for translation of the word that will possibly
1211 * be followed by a single name or by a list of names
1214 virtual QCString trGlobal(bool first_capital, bool singular)
1216 QCString result((first_capital ? "Globáln" : "globáln"));
1217 result+=(singular ? "y" : "e");
1221 //////////////////////////////////////////////////////////////////////////
1223 //////////////////////////////////////////////////////////////////////////
1225 /*! This text is generated when the \\author command is used and
1226 * for the author section in man pages. */
1227 virtual QCString trAuthor(bool first_capital, bool singular)
1229 QCString result((first_capital ? "Auto" : "auto"));
1230 result += (singular) ? "r" : "ri";
1234 //////////////////////////////////////////////////////////////////////////
1236 //////////////////////////////////////////////////////////////////////////
1238 /*! This text is put before the list of members referenced by a member
1240 virtual QCString trReferences()
1242 return "Odkazuje sa na";
1245 //////////////////////////////////////////////////////////////////////////
1247 //////////////////////////////////////////////////////////////////////////
1249 /*! used in member documentation blocks to produce a list of
1250 * members that are implemented by this one.
1252 virtual QCString trImplementedFromList(int numEntries)
1254 return "Implementuje " + trWriteList(numEntries) + ".";
1257 /*! used in member documentation blocks to produce a list of
1258 * all members that implement this member.
1260 virtual QCString trImplementedInList(int numEntries)
1262 return "Implementované v " + trWriteList(numEntries) + ".";
1265 //////////////////////////////////////////////////////////////////////////
1267 //////////////////////////////////////////////////////////////////////////
1269 /*! used in RTF documentation as a heading for the Table
1272 virtual QCString trRTFTableOfContents()
1277 //////////////////////////////////////////////////////////////////////////
1279 //////////////////////////////////////////////////////////////////////////
1281 /*! Used as the header of the list of item that have been
1282 * flagged deprecated
1284 virtual QCString trDeprecatedList()
1286 return "Zastarané metódy";
1289 //////////////////////////////////////////////////////////////////////////
1291 //////////////////////////////////////////////////////////////////////////
1293 /*! Used as a header for declaration section of the events found in
1296 virtual QCString trEvents()
1300 /*! Header used for the documentation section of a class' events. */
1301 virtual QCString trEventDocumentation()
1303 return "Dokumentácia udalostí";
1306 //////////////////////////////////////////////////////////////////////////
1308 //////////////////////////////////////////////////////////////////////////
1310 /*! Used as a heading for a list of Java class types with package scope.
1312 virtual QCString trPackageTypes()
1314 return "Typy v balíku";
1316 /*! Used as a heading for a list of Java class functions with package
1319 virtual QCString trPackageFunctions()
1321 return "Funkcie v balíku";
1323 virtual QCString trPackageMembers()
1325 return "Členy v balíku";
1327 /*! Used as a heading for a list of static Java class functions with
1330 virtual QCString trStaticPackageFunctions()
1332 return "Statické funkcie v balíku";
1334 /*! Used as a heading for a list of Java class variables with package
1337 virtual QCString trPackageAttribs()
1339 return "Atribúty balíku";
1341 /*! Used as a heading for a list of static Java class variables with
1344 virtual QCString trStaticPackageAttribs()
1346 return "Statické atribúty balíku";
1349 //////////////////////////////////////////////////////////////////////////
1351 //////////////////////////////////////////////////////////////////////////
1353 /*! Used in the quick index of a class/file/namespace member list page
1354 * to link to the unfiltered list of all members.
1356 virtual QCString trAll()
1360 /*! Put in front of the call graph for a function. */
1361 virtual QCString trCallGraph()
1363 return "Táto funkcia volá...";
1366 //////////////////////////////////////////////////////////////////////////
1368 //////////////////////////////////////////////////////////////////////////
1370 /*! This string is used as the title for the page listing the search
1373 virtual QCString trSearchResultsTitle()
1375 return "Výsledky vyhľadávania";
1377 /*! This string is put just before listing the search results. The
1378 * text can be different depending on the number of documents found.
1379 * Inside the text you can put the special marker $num to insert
1380 * the number representing the actual number of search results.
1381 * The @a numDocuments parameter can be either 0, 1 or 2, where the
1382 * value 2 represents 2 or more matches. HTML markup is allowed inside
1383 * the returned string.
1385 virtual QCString trSearchResults(int numDocuments)
1387 if (numDocuments==0)
1389 return "Ľutujem. Vášmu dotazu neodpovedá žiadny dokument.";
1391 else if (numDocuments==1)
1393 return "Bol nájdený jediný dokument, ktorý vyhovuje vášmu dotazu.";
1397 return "Bolo nájdených <b>$num</b> dokumentov, ktoré vyhovujú vášmu "
1398 "dotazu. Najviac odpovedajúce dokumenty sú ako prvé.";
1401 /*! This string is put before the list of matched words, for each search
1402 * result. What follows is the list of words that matched the query.
1404 virtual QCString trSearchMatches()
1406 return "Nájdené slová:";
1409 //////////////////////////////////////////////////////////////////////////
1411 //////////////////////////////////////////////////////////////////////////
1413 /*! This is used in HTML as the title of page with source code for file filename
1415 virtual QCString trSourceFile(QCString& filename)
1417 return QCString("Zdrojový súbor ") + filename;
1421 //////////////////////////////////////////////////////////////////////////
1423 //////////////////////////////////////////////////////////////////////////
1426 /*! This is used as the name of the chapter containing the directory
1429 virtual QCString trDirIndex()
1430 { return "Hierarchia adresárov"; }
1432 /*! This is used as the name of the chapter containing the documentation
1433 * of the directories.
1435 virtual QCString trDirDocumentation()
1436 { return "Dokumentácia k adresárom"; }
1438 /*! This is used as the title of the directory index and also in the
1439 * Quick links of a HTML page, to link to the directory hierarchy.
1441 virtual QCString trDirectories()
1442 { return "Adresáre"; }
1444 /*! This returns the title of a directory page. The name of the
1445 * directory is passed via \a dirName.
1447 virtual QCString trDirReference(const QCString &dirName)
1449 QCString result = "Referencia k adresáru ";
1454 /*! This returns the word directory with or without starting capital
1455 * (\a first_capital) and in sigular or plural form (\a singular).
1457 virtual QCString trDir(bool first_capital, bool singular)
1459 QCString result((first_capital ? "Adresár" : "adresár"));
1465 //////////////////////////////////////////////////////////////////////////
1467 //////////////////////////////////////////////////////////////////////////
1469 /*! This text is added to the documentation when the \\overload command
1470 * is used for a overloaded function.
1472 virtual QCString trOverloadText()
1474 return "Ide o preťaženú (overloaded) metódu, "
1475 "ktorá má uľahčiť používanie. Od vyššie uvedenej metódy sa odlišuje "
1476 "iba inak zadávanými argumentami.";
1479 //////////////////////////////////////////////////////////////////////////
1481 //////////////////////////////////////////////////////////////////////////
1483 virtual QCString trCallerGraph()
1484 { return "Túto funkciu volajú..."; }
1487 /*! This is used in the documentation of a file/namespace before the list
1488 * of documentation blocks for enumeration values
1490 virtual QCString trEnumerationValueDocumentation()
1491 { return "Dokumentácia enumeračných hodnôt"; }
1494 //////////////////////////////////////////////////////////////////////////
1495 // new since 1.5.4 (mainly for Fortran)
1496 //////////////////////////////////////////////////////////////////////////
1498 /*! header that is put before the list of member subprograms (Fortran). */
1499 virtual QCString trMemberFunctionDocumentationFortran()
1500 { return "Dokumentácia členských funkcií/podprogramov"; }
1502 /*! This is put above each page as a link to the list of annotated data types (Fortran). */
1503 virtual QCString trCompoundListFortran()
1504 { return "Zoznam dátových typov"; }
1506 /*! This is put above each page as a link to all members of compounds (Fortran). */
1507 virtual QCString trCompoundMembersFortran()
1508 { return "Dátové polia"; }
1510 /*! This is an introduction to the annotated compound list (Fortran). */
1511 virtual QCString trCompoundListDescriptionFortran()
1512 { return "Dátové typy so stručnými popismi:"; }
1514 /*! This is an introduction to the page with all data types (Fortran). */
1515 virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
1518 QCString result="Nasleduje zoznam všetkých ";
1521 result+="dokumentovaných ";
1523 result+="zložiek dátových typov";
1524 result+=" s odkazmi na ";
1527 result+="dokumentáciu dátovej štruktúry pre každú zložku:";
1531 result+="příslušné dátové typy:";
1536 /*! This is used in LaTeX as the title of the chapter with the
1537 * annotated compound index (Fortran).
1539 virtual QCString trCompoundIndexFortran()
1540 { return "Register dátových typov"; }
1542 /*! This is used in LaTeX as the title of the chapter containing
1543 * the documentation of all data types (Fortran).
1545 virtual QCString trTypeDocumentation()
1546 { return "Dokumentácia k dátovým typom"; }
1548 /*! This is used in the documentation of a file as a header before the
1549 * list of (global) subprograms (Fortran).
1551 virtual QCString trSubprograms()
1552 { return "Funkcie/podprogramy"; }
1554 /*! This is used in the documentation of a file/namespace before the list
1555 * of documentation blocks for subprograms (Fortran)
1557 virtual QCString trSubprogramDocumentation()
1558 { return "Dokumentácia funkcie/podprogramu"; }
1560 /*! This is used in the documentation of a file/namespace/group before
1561 * the list of links to documented compounds (Fortran)
1563 virtual QCString trDataTypes()
1564 { return "Dátové typy"; }
1566 /*! used as the title of page containing all the index of all modules (Fortran). */
1567 virtual QCString trModulesList()
1568 { return "Zoznam modulov"; }
1570 /*! used as an introduction to the modules list (Fortran) */
1571 virtual QCString trModulesListDescription(bool extractAll)
1573 QCString result="Nasleduje zoznam všetkých ";
1574 if (!extractAll) result+="dokumentovaných ";
1575 result+="modulov so stručnými popismi:";
1579 /*! used as the title of the HTML page of a module/type (Fortran) */
1580 virtual QCString trCompoundReferenceFortran(const QCString &clName,
1581 ClassDef::CompoundType compType,
1584 QCString result("Dokumentácia ");
1585 if (isTemplate) result += "šablóny ";
1588 case ClassDef::Class: result += "triedy "; break;
1589 case ClassDef::Struct: result += "typu "; break;
1590 case ClassDef::Union: result += "únie "; break;
1591 case ClassDef::Interface: result += "rozhrania "; break;
1592 case ClassDef::Protocol: result += "protokolu "; break;
1593 case ClassDef::Category: result += "kategórie "; break;
1594 case ClassDef::Exception: result += "výnimky "; break;
1601 /*! used as the title of the HTML page of a module (Fortran) */
1602 virtual QCString trModuleReference(const QCString &namespaceName)
1604 QCString result="Dokumentácia modulu ";
1605 result += namespaceName;
1609 /*! This is put above each page as a link to all members of modules. (Fortran) */
1610 virtual QCString trModulesMembers()
1611 { return "Časti modulu"; }
1613 /*! This is an introduction to the page with all modules members (Fortran) */
1614 virtual QCString trModulesMemberDescription(bool extractAll)
1616 QCString result="Nasleduje zoznam všetkých ";
1617 if (!extractAll) result+="dokumentovaných ";
1618 result+="častí modulov s odkazmi ";
1621 result+="na dokumentáciu modulov pre danú časť:";
1625 result+="na moduly, ku ktorým časť patrí:";
1630 /*! This is used in LaTeX as the title of the chapter with the
1631 * index of all modules (Fortran).
1633 virtual QCString trModulesIndex()
1634 { return "Register modulov"; }
1636 /*! This is used for translation of the word that will possibly
1637 * be followed by a single name or by a list of names
1640 virtual QCString trModule(bool first_capital, bool singular)
1642 QCString result((first_capital ? "Modul" : "modul"));
1643 if (!singular) result+="y";
1646 /*! This is put at the bottom of a module documentation page and is
1647 * followed by a list of files that were used to generate the page.
1649 virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
1651 { // here s is one of " Module", " Struct" or " Union"
1652 // single is true implies a single file
1653 QCString result="Dokumentácia ";
1656 case ClassDef::Class: result+="k tomuto modulu"; break;
1657 case ClassDef::Struct: result+="k tomuto typu"; break;
1658 case ClassDef::Union: result+="k tejto únii"; break;
1659 case ClassDef::Interface: result+="k tomuto rozhraniu"; break;
1660 case ClassDef::Protocol: result+="k tomuto protokolu"; break;
1661 case ClassDef::Category: result+="k tejto kategórii"; break;
1662 case ClassDef::Exception: result+="k tejto výnimke"; break;
1665 result+=" bola vygenerovaná z ";
1666 if (single) result+="nasledujúceho súboru:";
1667 else result+="nasledujúcich súborov:";
1670 /*! This is used for translation of the word that will possibly
1671 * be followed by a single name or by a list of names
1674 virtual QCString trType(bool first_capital, bool singular)
1676 QCString result((first_capital ? "Typ" : "typ"));
1677 if (!singular) result+="y";
1680 /*! This is used for translation of the word that will possibly
1681 * be followed by a single name or by a list of names
1684 virtual QCString trSubprogram(bool first_capital, bool singular)
1686 QCString result((first_capital ? "Podprogram" : "podprogram"));
1687 if (!singular) result+="y";
1691 /*! C# Type Contraint list */
1692 virtual QCString trTypeConstraints()
1694 return "Obmedzenie typov (Type Constraints)";
1697 //////////////////////////////////////////////////////////////////////////
1698 // new since 1.6.0 (mainly for the new search engine)
1699 //////////////////////////////////////////////////////////////////////////
1701 /*! directory relation for \a name */
1702 virtual QCString trDirRelation(const QCString &name)
1704 return "Relácia " + QCString(name);
1707 /*! Loading message shown when loading search results */
1708 virtual QCString trLoading()
1710 return "Načítam...";
1713 /*! Label used for search results in the global namespace */
1714 virtual QCString trGlobalNamespace()
1716 return "Globálny priestor mien";
1719 /*! Message shown while searching */
1720 virtual QCString trSearching()
1722 return "Vyhľadávam...";
1725 /*! Text shown when no search results are found */
1726 virtual QCString trNoMatches()
1728 return "Nič sa nenašlo";
1731 //////////////////////////////////////////////////////////////////////////
1732 // new since 1.6.3 (missing items for the directory pages)
1733 //////////////////////////////////////////////////////////////////////////
1735 /*! when clicking a directory dependency label, a page with a
1736 * table is shown. The heading for the first column mentions the
1737 * source file that has a relation to another file.
1739 virtual QCString trFileIn(const QCString &name)
1741 return "Súbor v "+name;
1744 /*! when clicking a directory dependency label, a page with a
1745 * table is shown. The heading for the second column mentions the
1746 * destination file that is included.
1748 virtual QCString trIncludesFileIn(const QCString &name)
1750 return "Vkladá (include) súbor z "+name;
1753 /** Compiles a date string.
1754 * @param year Year in 4 digits
1755 * @param month Month of the year: 1=January
1756 * @param day Day of the Month: 1..31
1757 * @param dayOfWeek Day of the week: 1=Monday..7=Sunday
1758 * @param hour Hour of the day: 0..23
1759 * @param minutes Minutes in the hour: 0..59
1760 * @param seconds Seconds within the minute: 0..59
1761 * @param includeTime Include time in the result string?
1763 virtual QCString trDateTime(int year,int month,int day,int dayOfWeek,
1764 int hour,int minutes,int seconds,
1765 DateTimeType includeTime)
1767 static const char *days[] = { "po","ut","st","št","pi","so","ne" };
1768 static const char *months[] = { "jan","feb","mar","apr","máj","jún","júl","aug","sep","okt","nov","dec" };
1770 if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Date)
1772 sdate.sprintf("%s %d. %s %d",days[dayOfWeek-1],day,months[month-1],year);
1774 if (includeTime == DateTimeType::DateTime) sdate += " ";
1775 if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Time)
1778 stime.sprintf("%.2d.%.2d:%.2d",hour,minutes,seconds);
1783 virtual QCString trDayOfWeek(int dayOfWeek, bool first_capital, bool full)
1785 static const char *days_short[] = { "po", "ut", "st", "št", "pi", "so", "ne" };
1786 static const char *days_full[] = { "pondelok", "utorok", "streda", "štvrtok", "piatok", "sobota", "nedeľa" };
1787 QCString text = full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
1788 if (first_capital) return text.mid(0,1).upper()+text.mid(1);
1791 virtual QCString trMonth(int month, bool first_capital, bool full)
1793 static const char *months_short[] = { "jan", "feb", "mar", "apr", "máj", "jún", "júl", "aug", "sep", "okt", "nov", "dec" };
1794 static const char *months_full[] = { "január", "február", "marec", "apríl", "máj", "jún", "júl", "august", "september", "október", "november", "december" };
1795 QCString text = full? months_full[month-1] : months_short[month-1];
1796 if (first_capital) return text.mid(0,1).upper()+text.mid(1);
1799 virtual QCString trDayPeriod(int period)
1801 static const char *dayPeriod[] = { "AM", "PM" };
1802 return dayPeriod[period];
1805 //////////////////////////////////////////////////////////////////////////
1807 //////////////////////////////////////////////////////////////////////////
1809 /*! Header for the page with bibliographic citations */
1810 virtual QCString trCiteReferences()
1811 { return "Odkazy na literatúru"; }
1813 /*! Text for copyright paragraph */
1814 virtual QCString trCopyright()
1815 { return "Copyright"; }
1817 /*! Header for the graph showing the directory dependencies */
1818 virtual QCString trDirDepGraph(const QCString &name)
1819 { return QCString("Graf závislosti na priečinkoch pre ")+name+":"; }
1821 //////////////////////////////////////////////////////////////////////////
1823 //////////////////////////////////////////////////////////////////////////
1825 /*! Detail level selector shown for hierarchical indices */
1826 virtual QCString trDetailLevel()
1827 { return "úroveň detailov"; }
1829 /*! Section header for list of template parameters */
1830 virtual QCString trTemplateParameters()
1831 { return "Parametry šablón"; }
1833 /*! Used in dot graph when UML_LOOK is enabled and there are many fields */
1834 virtual QCString trAndMore(const QCString &number)
1836 QCString result("a " + number + " ďaľší");
1837 if (number.toInt() >= 5)
1839 return result + "...";
1842 /*! Used file list for a Java enum */
1843 virtual QCString trEnumGeneratedFromFiles(bool single)
1844 { QCString result = "Dokumentácia pre tuto enumeráciu bola generovaná z ";
1846 result += "nasledujúceho súboru:";
1848 result += "nasledujúcich súborov:";
1852 /*! Header of a Java enum page (Java enums are represented as classes). */
1853 virtual QCString trEnumReference(const QCString &name)
1854 { return "Referencia k enumerácii "+QCString(name); }
1856 /*! Used for a section containing inherited members */
1857 virtual QCString trInheritedFrom(const QCString &members,const QCString &what)
1858 { return QCString(members)+" dedí sa z "+what; }
1860 /*! Header of the sections with inherited members specific for the
1863 virtual QCString trAdditionalInheritedMembers()
1864 { return "Ďaľšie zdedené členy"; }
1866 //////////////////////////////////////////////////////////////////////////
1868 //////////////////////////////////////////////////////////////////////////
1870 /*! Used as a tooltip for the toggle button that appears in the
1871 * navigation tree in the HTML output when GENERATE_TREEVIEW is
1872 * enabled. This tooltip explains the meaning of the button.
1874 virtual QCString trPanelSynchronisationTooltip(bool enable)
1876 QCString opt = enable ? "povoliť" : "zakázať";
1877 return opt + " synchronizáciu panelov";
1880 /*! Used in a method of an Objective-C class that is declared in a
1881 * a category. Note that the @1 marker is required and is replaced
1884 virtual QCString trProvidedByCategory()
1886 return "Deklarované v kategórii @0.";
1889 /*! Used in a method of an Objective-C category that extends a class.
1890 * Note that the @1 marker is required and is replaced by a link to
1893 virtual QCString trExtendsClass()
1895 return "Rozširuje triedu @0.";
1898 /*! Used as the header of a list of class methods in Objective-C.
1899 * These are similar to static public member functions in C++.
1901 virtual QCString trClassMethods()
1903 return "Metódy triedy";
1906 /*! Used as the header of a list of instance methods in Objective-C.
1907 * These are similar to public member functions in C++.
1909 virtual QCString trInstanceMethods()
1911 return "Metódy inštancie";
1914 /*! Used as the header of the member functions of an Objective-C class.
1916 virtual QCString trMethodDocumentation()
1918 return "Dokumentácia metódy";
1921 //////////////////////////////////////////////////////////////////////////
1923 //////////////////////////////////////////////////////////////////////////
1925 /** old style UNO IDL services: implemented interfaces */
1926 virtual QCString trInterfaces()
1927 { return "Exportované rozhrania"; }
1929 /** old style UNO IDL services: inherited services */
1930 virtual QCString trServices()
1931 { return "Začlenené služby"; }
1933 /** UNO IDL constant groups */
1934 virtual QCString trConstantGroups()
1935 { return "Konštantné skupiny"; }
1937 /** UNO IDL constant groups */
1938 virtual QCString trConstantGroupReference(const QCString &namespaceName)
1940 QCString result="Konštantné skupiny z ";
1941 result += namespaceName;
1944 /** UNO IDL service page title */
1945 virtual QCString trServiceReference(const QCString &sName)
1947 QCString result="Popis služby ";
1951 /** UNO IDL singleton page title */
1952 virtual QCString trSingletonReference(const QCString &sName)
1954 QCString result="Popis singletonu ";
1958 /** UNO IDL service page */
1959 virtual QCString trServiceGeneratedFromFiles(bool single)
1961 // single is true implies a single file
1962 QCString result="Dokumentácia k tejto službe bola vygenerovaná ";
1963 if (single) result+="z nasledujúceho súboru:";
1964 else result+="z nasledujúcich súborov:";
1967 /** UNO IDL singleton page */
1968 virtual QCString trSingletonGeneratedFromFiles(bool single)
1970 // single is true implies a single file
1971 QCString result="Dokumentácia k tomuto singletonu bola vygenerovaná ";
1972 if (single) result+="z nasledujúceho súboru:";
1973 else result+="z nasledujúcich súborov:";
1979 #endif // TRANSLATOR_SK_H