Chameleon

Chameleon Svn Source Tree

Root/branches/xZenu/src/util/doxygen/src/translator_sk.h

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

Archive Download this file

Revision: 1322