Fix for UBSan build
[platform/upstream/doxygen.git] / src / translator_pl.h
1 /******************************************************************************
2  *
3  *
4  *
5  * Copyright (C) 1997-2012 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  * Polish translation was updated to version 1.3.9 by
17  * Piotr Kaminski (Piotr.Kaminski@ctm.gdynia.pl)
18  * Polish translation was updated since version 1.4.6 by
19  * Krzysztof Kral (krzysztof.kral@gmail.com)
20  */
21
22 #ifndef TRANSLATOR_PL_H
23 #define TRANSLATOR_PL_H
24
25 class TranslatorPolish : public TranslatorAdapter_1_8_2
26 {
27   public:
28
29     // --- Language control methods -------------------
30     
31     /*! Used for identification of the language. May resemble 
32      * the string returned by latexBabelPackage(), but it is not used
33      * for the same purpose. The identification should not be translated.
34      * It should be replaced by the name of the language in English
35      * (e.g. Czech, Japanese, Russian, etc.). It should be equal to 
36      * the identification in language.h.
37      */
38     QCString idLanguage()
39     { return "polish"; }
40     /*! Used to get the command(s) for the language support. This method
41      *  was designed for languages which do not prefer babel package.
42      *  If this methods returns empty string, then the latexBabelPackage()
43      *  method is used to generate the command for using the babel package.
44      */
45     QCString latexLanguageSupportCommand()
46     {
47       return "\\usepackage{polski}\n"
48              "\\usepackage[T1]{fontenc}\n";
49     }
50
51     /*! return the language charset. This will be used for the HTML output */
52     virtual QCString idLanguageCharset()
53     {
54         return "utf-8"; 
55     }
56     
57     // --- Language translation methods -------------------
58
59     /*! used in the compound documentation before a list of related functions. */
60     QCString trRelatedFunctions()
61     { return "Funkcje powiązane"; }
62
63     /*! subscript for the related functions. */
64     QCString trRelatedSubscript()
65     { return "(Zauważ, że to nie są metody klas.)"; }
66
67     /*! header that is put before the detailed description of files, classes and namespaces. */
68     QCString trDetailedDescription()
69     { return "Opis szczegółowy"; }
70
71     /*! header that is put before the list of typedefs. */
72     QCString trMemberTypedefDocumentation()
73     { return "Dokumentacja składowych definicji typu"; }
74     
75     /*! header that is put before the list of enumerations. */
76     QCString trMemberEnumerationDocumentation()
77     { return "Dokumentacja składowych wyliczanych"; }
78     
79     /*! header that is put before the list of member functions. */
80     QCString trMemberFunctionDocumentation()
81     { return "Dokumentacja funkcji składowych"; }
82     
83     /*! header that is put before the list of member attributes. */
84     QCString trMemberDataDocumentation()
85     { 
86       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
87       {
88         return "Dokumentacja pól"; 
89       }
90       else
91       {
92         return "Dokumentacja atrybutów składowych"; 
93       }
94     }
95
96     /*! this is the text of a link put after brief descriptions. */
97     QCString trMore() 
98     { return "Więcej..."; }
99
100     /*! put in the class documentation */
101     QCString trListOfAllMembers()
102     { return "Lista wszystkich składowych"; }
103
104     /*! used as the title of the "list of all members" page of a class */
105     QCString trMemberList()
106     { return "Lista składowych"; }
107
108     /*! this is the first part of a sentence that is followed by a class name */
109     QCString trThisIsTheListOfAllMembers()
110     { return "To jest kompletna lista składowych dla "; }
111
112     /*! this is the remainder of the sentence after the class name */
113     QCString trIncludingInheritedMembers()
114     { return ", uwzględniająca wszystkie dziedziczone składowe."; }
115     
116     /*! this is put at the author sections at the bottom of man pages.
117      *  parameter s is name of the project name.
118      */
119     QCString trGeneratedAutomatically(const char *s)
120     { QCString result="Wygenerowano automatycznie z kodu źródłowego programem Doxygen";
121       if (s) result+=(QCString)" dla "+s;
122       result+="."; 
123       return result;
124     }
125
126     /*! put after an enum name in the list of all members */
127     QCString trEnumName()
128     { return "nazwa wyliczenia"; }
129     
130     /*! put after an enum value in the list of all members */
131     QCString trEnumValue()
132     { return "wartość wyliczenia"; }
133     
134     /*! put after an undocumented member in the list of all members */
135     QCString trDefinedIn()
136     { return "zdefiniowana w"; }
137     
138     // quick reference sections
139
140     /*! This is put above each page as a link to the list of all groups of 
141      *  compounds or files (see the \\group command).
142      */
143     QCString trModules()
144     { return "Moduły"; }
145     
146     /*! This is put above each page as a link to the class hierarchy */
147     QCString trClassHierarchy()
148     { return "Hierarchia klas"; }
149     
150     /*! This is put above each page as a link to the list of annotated classes */
151     QCString trCompoundList()
152     { 
153       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
154       {
155         return "Struktury danych";
156       }
157       else
158       {
159         return "Lista klas"; 
160       }
161     }   
162     
163     /*! This is put above each page as a link to the list of documented files */
164     QCString trFileList()
165     { return "Lista plików"; }
166
167     /*! This is put above each page as a link to the list of all verbatim headers */
168     QCString trHeaderFiles()
169     { return "Pliki nagłówkowe"; }
170
171     /*! This is put above each page as a link to all members of compounds. */
172     QCString trCompoundMembers()
173     { 
174       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
175       {
176         return "Pola danych"; 
177       }
178       else
179       {
180         return "Składowe klas"; 
181       }
182     }
183
184     /*! This is put above each page as a link to all members of files. */
185     QCString trFileMembers()
186     { 
187       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
188       {
189         return "Globalne"; 
190       }
191       else
192       {
193         return "Składowe plików"; 
194       }
195     }
196
197     /*! This is put above each page as a link to all related pages. */
198     QCString trRelatedPages()
199     { return "Dodatkowe strony"; }
200
201     /*! This is put above each page as a link to all examples. */
202     QCString trExamples()
203     { return "Przykłady"; }
204
205     /*! This is put above each page as a link to the search engine. */
206     QCString trSearch()
207     { return "Szukaj"; }
208
209     /*! This is an introduction to the class hierarchy. */
210     QCString trClassHierarchyDescription()
211     { return "Ta lista dziedziczenia posortowana jest z grubsza, "
212              "choć nie całkowicie, alfabetycznie:";
213     }
214
215     /*! This is an introduction to the list with all files. */
216     QCString trFileListDescription(bool extractAll)
217     {
218       QCString result="Tutaj znajduje się lista wszystkich ";
219       if (!extractAll) result+="udokumentowanych ";
220       result+="plików z ich krótkimi opisami:";
221       return result;
222     }
223
224     /*! This is an introduction to the annotated compound list. */
225     QCString trCompoundListDescription()
226     { 
227       
228       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
229       {
230         return "Tutaj znajdują się struktury danych wraz z ich krótkimi opisami:"; 
231       }
232       else
233       {
234         return "Tutaj znajdują się klasy, struktury, "
235              "unie i interfejsy wraz z ich krótkimi opisami:"; 
236       }
237     }
238
239     /*! This is an introduction to the page with all class members. */
240     QCString trCompoundMembersDescription(bool extractAll)
241     {
242       QCString result="Tutaj znajduje się lista wszystkich ";
243       if (!extractAll)
244       {
245         result+="udokumentowanych ";
246       }
247       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
248       {
249         result+="pól struktur i unii";
250       }
251       else
252       {
253         result+="składowych";
254       }
255       result+=" wraz z odnośnikami do ";
256       if (!extractAll) 
257       {
258         if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
259         {
260           result+="dokumentacji struktur/unii dla każdego pola:";
261         }
262         else
263         {
264           result+="dokumentacji klas dla każdej składowej:";
265         }
266       }
267       else 
268       {
269         if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
270         {
271           result+="struktur/unii, do których dane pole należy:";
272         }
273         else
274         {
275           result+="klas, do których dana składowa należy:";
276         }
277       }
278       return result;
279     }
280
281     /*! This is an introduction to the page with all file members. */
282     QCString trFileMembersDescription(bool extractAll)
283     {
284       QCString result="Tutaj znajduje się lista wszystkich ";
285       if (!extractAll) result+="udokumentowanych ";
286       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
287       {
288         result+="funkcji, zmiennych, makr, wyliczeń i definicji typów";
289       }
290       else
291       {
292         result+="składowych plików";
293       }
294       result+=" wraz z odnośnikami do ";
295       if (extractAll) 
296         result+="plików, do których one należą:";
297       else 
298         result+="dokumentacji:";
299       return result;
300     }
301
302     /*! This is an introduction to the page with the list of all header files. */
303     QCString trHeaderFilesDescription()
304     { return "Tutaj znajdują się pliki nagłówkowe tworzące API:"; }
305
306     /*! This is an introduction to the page with the list of all examples */
307     QCString trExamplesDescription()
308     { return "Tutaj znajduje się lista wszystkich przykładów:"; }
309
310     /*! This is an introduction to the page with the list of related pages */
311     QCString trRelatedPagesDescription()
312     { return "Tutaj znajduje się lista wszystkich stron dokumentacji:"; }
313
314     /*! This is an introduction to the page with the list of class/file groups */
315     QCString trModulesDescription()
316     { return "Tutaj znajduje się lista wszystkich grup:"; }
317
318     /*! This sentences is used in the annotated class/file lists if no brief
319      * description is given. 
320      */
321     QCString trNoDescriptionAvailable()
322     { return "Brak opisu"; }
323     
324     // index titles (the project name is prepended for these) 
325
326
327     /*! This is used in HTML as the title of index.html. */
328     QCString trDocumentation()
329     { return "Dokumentacja"; }
330
331     /*! This is used in LaTeX as the title of the chapter with the 
332      * index of all groups.
333      */
334     QCString trModuleIndex()
335     { return "Indeks grup"; }
336
337     /*! This is used in LaTeX as the title of the chapter with the 
338      * class hierarchy.
339      */
340     QCString trHierarchicalIndex()
341     { return "Indeks hierarchiczny"; }
342
343     /*! This is used in LaTeX as the title of the chapter with the 
344      * annotated compound index.
345      */
346     QCString trCompoundIndex()
347     {
348      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
349       { 
350         return "Indeks struktur danych";
351       }
352       else
353       {
354         return "Indeks klas"; 
355       }
356     }
357
358     /*! This is used in LaTeX as the title of the chapter with the
359      * list of all files.
360      */
361     QCString trFileIndex() 
362     { return "Indeks plików"; }
363
364     /*! This is used in LaTeX as the title of the chapter containing
365      *  the documentation of all groups.
366      */
367     QCString trModuleDocumentation()
368     { return "Dokumentacja grup"; }
369
370     /*! This is used in LaTeX as the title of the chapter containing
371      *  the documentation of all classes, structs and unions.
372      */
373     QCString trClassDocumentation()
374     { 
375       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
376       {
377         return "Dokumentacja struktur danych"; 
378       }
379       else
380       {
381         return "Dokumentacja klas"; 
382       }
383     }
384
385     /*! This is used in LaTeX as the title of the chapter containing
386      *  the documentation of all files.
387      */
388     QCString trFileDocumentation()
389     { return "Dokumentacja plików"; }
390
391     /*! This is used in LaTeX as the title of the chapter containing
392      *  the documentation of all examples.
393      */
394     QCString trExampleDocumentation()
395     { return "Dokumentacja przykładów"; }
396
397     /*! This is used in LaTeX as the title of the chapter containing
398      *  the documentation of all related pages.
399      */
400     QCString trPageDocumentation()
401     { return "Dokumentacja stron"; }
402
403     /*! This is used in LaTeX as the title of the document */
404     QCString trReferenceManual()
405     { return "Podręcznik"; }
406     
407     /*! This is used in the documentation of a file as a header before the 
408      *  list of defines
409      */
410     QCString trDefines()
411     { return "Definicje"; }
412
413     /*! This is used in the documentation of a file as a header before the 
414      *  list of function prototypes
415      */
416     QCString trFuncProtos()
417     { return "Prototypy funkcji"; }
418
419     /*! This is used in the documentation of a file as a header before the 
420      *  list of typedefs
421      */
422     QCString trTypedefs()
423     { return "Definicje typów"; }
424
425     /*! This is used in the documentation of a file as a header before the 
426      *  list of enumerations
427      */
428     QCString trEnumerations()
429     { return "Wyliczenia"; }
430
431     /*! This is used in the documentation of a file as a header before the 
432      *  list of (global) functions
433      */
434     QCString trFunctions()
435     { return "Funkcje"; }
436
437     /*! This is used in the documentation of a file as a header before the 
438      *  list of (global) variables
439      */
440     QCString trVariables()
441     { return "Zmienne"; }
442
443     /*! This is used in the documentation of a file as a header before the 
444      *  list of (global) variables
445      */
446     QCString trEnumerationValues()
447     { return "Wartości wyliczeń"; }
448     
449     /*! This is used in the documentation of a file before the list of
450      *  documentation blocks for defines
451      */
452     QCString trDefineDocumentation()
453     { return "Dokumentacja definicji"; }
454
455     /*! This is used in the documentation of a file/namespace before the list 
456      *  of documentation blocks for function prototypes
457      */
458     QCString trFunctionPrototypeDocumentation()
459     { return "Dokumentacja prototypów funkcji"; }
460
461     /*! This is used in the documentation of a file/namespace before the list 
462      *  of documentation blocks for typedefs
463      */
464     QCString trTypedefDocumentation()
465     { return "Dokumentacja definicji typów"; }
466
467     /*! This is used in the documentation of a file/namespace before the list 
468      *  of documentation blocks for enumeration types
469      */
470     QCString trEnumerationTypeDocumentation()
471     { return "Dokumentacja typów wyliczanych"; }
472
473     /*! This is used in the documentation of a file/namespace before the list 
474      *  of documentation blocks for functions
475      */
476     QCString trFunctionDocumentation()
477     { return "Dokumentacja funkcji"; }
478
479     /*! This is used in the documentation of a file/namespace before the list 
480      *  of documentation blocks for variables
481      */
482     QCString trVariableDocumentation()
483     { return "Dokumentacja zmiennych"; }
484
485     /*! This is used in the documentation of a file/namespace/group before 
486      *  the list of links to documented compounds
487      */
488     QCString trCompounds()
489     { 
490       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
491       {
492         return "Struktury danych"; 
493       }
494       else
495       {
496         return "Komponenty"; 
497       }
498     }
499
500     /*! This is used in the standard footer of each page and indicates when 
501      *  the page was generated 
502      */
503     QCString trGeneratedAt(const char *date,const char *projName)
504     { 
505       QCString result=(QCString)"Wygenerowano "+date;
506       if (projName) result+=(QCString)" dla "+projName;
507       result+=(QCString)" programem";
508       return result;
509     }
510     /*! This is part of the sentence used in the standard footer of each page.
511      */
512     QCString trWrittenBy()
513     {
514       return "napisanym przez";
515     }
516
517     /*! this text is put before a class diagram */
518     QCString trClassDiagram(const char *clName)
519     {
520       return (QCString)"Diagram dziedziczenia dla "+clName;
521     }
522     
523     /*! this text is generated when the \\internal command is used. */
524     QCString trForInternalUseOnly()
525     { return "Tylko do użytku wewnętrznego."; }
526
527     /*! this text is generated when the \\reimp command is used. */
528     QCString trReimplementedForInternalReasons()
529     { return "Reimplementowana z wewnętrzych przyczyn; nie dotyczy API."; }
530
531     /*! this text is generated when the \\warning command is used. */
532     QCString trWarning()
533     { return "Ostrzeżenie"; }
534
535     /*! this text is generated when the \\bug command is used. */
536     QCString trBugsAndLimitations()
537     { return "Błędy i ograniczenia"; }
538
539     /*! this text is generated when the \\version command is used. */
540     QCString trVersion()
541     { return "Wersja"; }
542
543     /*! this text is generated when the \\date command is used. */
544     QCString trDate()
545     { return "Data"; }
546
547     /*! this text is generated when the \\return command is used. */
548     QCString trReturns()
549     { return "Zwraca"; }
550
551     /*! this text is generated when the \\sa command is used. */
552     QCString trSeeAlso()
553     { return "Zobacz również"; }
554
555     /*! this text is generated when the \\param command is used. */
556     QCString trParameters()
557     { return "Parametry"; }
558
559     /*! this text is generated when the \\exception command is used. */
560     QCString trExceptions()
561     { return "Wyjątki"; }
562     
563     /*! this text is used in the title page of a LaTeX document. */
564     QCString trGeneratedBy()
565     { return "Wygenerowano przez"; }
566
567     // new since 0.49-990307
568     
569     /*! used as the title of page containing all the index of all namespaces. */
570     QCString trNamespaceList()
571     { return "Lista przestrzeni nazw"; }
572
573     /*! used as an introduction to the namespace list */
574     QCString trNamespaceListDescription(bool extractAll)
575     {
576       QCString result="Tutaj znajdują się wszystkie ";
577       if (!extractAll) result+="udokumentowane ";
578       result+="przestrzenie nazw wraz z ich krótkimi opisami:";
579       return result;
580     }
581
582     /*! used in the class documentation as a header before the list of all
583      *  friends of a class
584      */
585     QCString trFriends()
586     { return "Przyjaciele"; }
587     
588 //////////////////////////////////////////////////////////////////////////
589 // new since 0.49-990405
590 //////////////////////////////////////////////////////////////////////////
591     
592     /*! used in the class documentation as a header before the list of all
593      * related classes 
594      */
595     QCString trRelatedFunctionDocumentation()
596     { return "Dokumentacja przyjaciół i funkcji związanych"; }
597     
598 //////////////////////////////////////////////////////////////////////////
599 // new since 0.49-990425
600 //////////////////////////////////////////////////////////////////////////
601
602     /*! used as the title of the HTML page of a class/struct/union */
603     QCString trCompoundReference(const char *clName,
604                                     ClassDef::CompoundType compType,
605                                     bool isTemplate)
606     {
607       QCString result="Dokumentacja";
608       if (isTemplate) result+=" szablonu";
609       switch(compType)
610       {
611         case ClassDef::Class:      result+=" klasy "; break;
612         case ClassDef::Struct:     result+=" struktury "; break;
613         case ClassDef::Union:      result+=" unii "; break;
614         case ClassDef::Interface:  result+=" interfejsu "; break;
615         case ClassDef::Protocol:   result+=" protokołu "; break;
616         case ClassDef::Category:   result+=" kategorii "; break;
617         case ClassDef::Exception:  result+=" wyjątku "; break;
618       }
619       result+=(QCString)clName;
620       return result;
621     }
622
623     /*! used as the title of the HTML page of a file */
624     QCString trFileReference(const char *fileName)
625     {
626       QCString result="Dokumentacja pliku ";
627       result+=fileName; 
628       return result;
629     }
630
631     /*! used as the title of the HTML page of a namespace */
632     QCString trNamespaceReference(const char *namespaceName)
633     {
634       QCString result="Dokumentacja przestrzeni nazw ";
635       result+=namespaceName;
636       return result;
637     }
638     
639     /* these are for the member sections of a class, struct or union */
640     QCString trPublicMembers()
641     { return "Metody publiczne"; }
642     QCString trPublicSlots()
643     { return "Sloty publiczne"; }
644     QCString trSignals()
645     { return "Sygnały"; }
646     QCString trStaticPublicMembers()
647     { return "Statyczne metody publiczne"; }
648     QCString trProtectedMembers()
649     { return "Metody chronione"; }
650     QCString trProtectedSlots()
651     { return "Sloty chronione"; }
652     QCString trStaticProtectedMembers()
653     { return "Statyczne metody chronione"; }
654     QCString trPrivateMembers()
655     { return "Metody prywatne"; }
656     QCString trPrivateSlots()
657     { return "Sloty prywatne"; }
658     QCString trStaticPrivateMembers()
659     { return "Statyczne metody prywatne"; }
660     
661     /*! this function is used to produce a comma-separated list of items.
662      *  use generateMarker(i) to indicate where item i should be put.
663      */
664     QCString trWriteList(int numEntries)
665     {
666       QCString result;
667       int i;
668       // the inherits list contain `numEntries' classes
669       for (i=0;i<numEntries;i++) 
670       {
671         // use generateMarker to generate placeholders for the class links!
672         result+=generateMarker(i); // generate marker for entry i in the list 
673                                    // (order is left to right)
674         
675         if (i!=numEntries-1)  // not the last entry, so we need a separator
676         {
677           if (i<numEntries-2) // not the fore last entry 
678             result+=", ";
679           else                // the fore last entry
680             result+=" i ";
681         }
682       }
683       return result; 
684     }
685     
686     /*! used in class documentation to produce a list of base classes,
687      *  if class diagrams are disabled.
688      */
689     QCString trInheritsList(int numEntries)
690     {
691       return "Dziedziczy "+trWriteList(numEntries)+".";
692     }
693
694     /*! used in class documentation to produce a list of super classes,
695      *  if class diagrams are disabled.
696      */
697     QCString trInheritedByList(int numEntries)
698     {
699       return "Dziedziczona przez "+trWriteList(numEntries)+".";
700     }
701
702     /*! used in member documentation blocks to produce a list of 
703      *  members that are hidden by this one.
704      */
705     QCString trReimplementedFromList(int numEntries)
706     {
707       return "Reimplementowana z "+trWriteList(numEntries)+".";
708     }
709
710     /*! used in member documentation blocks to produce a list of
711      *  all member that overwrite the implementation of this member.
712      */
713     QCString trReimplementedInList(int numEntries)
714     {
715       return "Reimplementowana w "+trWriteList(numEntries)+".";
716     }
717
718     /*! This is put above each page as a link to all members of namespaces. */
719     QCString trNamespaceMembers()
720     { return "Składowe przestrzeni nazw"; }
721
722     /*! This is an introduction to the page with all namespace members */
723     QCString trNamespaceMemberDescription(bool extractAll)
724     { 
725       QCString result="Tutaj znajduje się lista wszystkich ";
726       if (!extractAll) result+="udokumentowanych ";
727       result+="składowych wraz z odnośnikami do ";
728       if (extractAll) 
729         result+="dokumentacji przestrzeni nazw dla każdej składowej:";
730       else 
731         result+="przestrzeni nazw do których składowe te należą:";
732       return result;
733     }
734     /*! This is used in LaTeX as the title of the chapter with the 
735      *  index of all namespaces.
736      */
737     QCString trNamespaceIndex()
738     { return "Indeks przestrzeni nazw"; }
739
740     /*! This is used in LaTeX as the title of the chapter containing
741      *  the documentation of all namespaces.
742      */
743     QCString trNamespaceDocumentation()
744     { return "Dokumentacja przestrzeni nazw"; }
745
746 //////////////////////////////////////////////////////////////////////////
747 // new since 0.49-990522
748 //////////////////////////////////////////////////////////////////////////
749
750     /*! This is used in the documentation before the list of all
751      *  namespaces in a file.
752      */
753     QCString trNamespaces()
754     { return "Przestrzenie nazw"; }
755
756 //////////////////////////////////////////////////////////////////////////
757 // new since 0.49-990728
758 //////////////////////////////////////////////////////////////////////////
759
760     /*! This is put at the bottom of a class documentation page and is
761      *  followed by a list of files that were used to generate the page.
762      */
763     QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
764         bool single)
765     { // here s is one of " Class", " Struct" or " Union"
766       // single is true implies a single file
767       QCString result=(QCString)"Dokumentacja dla te";
768       switch(compType)
769       {
770         case ClassDef::Class:      result+="j klasy"; break;
771         case ClassDef::Struct:     result+="j struktury"; break;
772         case ClassDef::Union:      result+="j unii"; break;
773         case ClassDef::Interface:  result+="go interfejsu"; break;
774         case ClassDef::Protocol:   result+="go protokołu"; break;
775         case ClassDef::Category:   result+="j kategorii"; break;
776         case ClassDef::Exception:  result+="go wyjątku"; break;
777       }
778       result+=" została wygenerowana z plik";
779       if (single) result+="u:"; else result+="ów:";
780       return result;
781     }
782
783     /*! This is in the (quick) index as a link to the alphabetical compound
784      * list.
785      */
786     QCString trAlphabeticalList()
787     { return "Lista alfabetyczna"; }
788
789 //////////////////////////////////////////////////////////////////////////
790 // new since 0.49-990901
791 //////////////////////////////////////////////////////////////////////////
792
793     /*! This is used as the heading text for the retval command. */
794     QCString trReturnValues()
795     { return "Zwracane wartości"; }
796
797     /*! This is in the (quick) index as a link to the main page (index.html)
798      */
799     QCString trMainPage()
800     { return "Strona główna"; }
801
802     /*! This is used in references to page that are put in the LaTeX 
803      *  documentation. It should be an abbreviation of the word page.
804      */
805     QCString trPageAbbreviation()
806     { return "str."; }
807
808 //////////////////////////////////////////////////////////////////////////
809 // new since 0.49-991003
810 //////////////////////////////////////////////////////////////////////////
811
812     QCString trSources()
813     {
814       return "Źródła";
815     }
816     QCString trDefinedAtLineInSourceFile()
817     {
818       return "Definicja w linii @0 pliku @1.";
819     }
820     QCString trDefinedInSourceFile()
821     {
822       return "Definicja w pliku @0.";
823     }
824
825 //////////////////////////////////////////////////////////////////////////
826 // new since 0.49-991205
827 //////////////////////////////////////////////////////////////////////////
828
829     QCString trDeprecated()
830     {
831       return "Do wycofania";
832     }
833
834 //////////////////////////////////////////////////////////////////////////
835 // new since 1.0.0
836 //////////////////////////////////////////////////////////////////////////
837
838     /*! this text is put before a collaboration diagram */
839     QCString trCollaborationDiagram(const char *clName)
840     {
841       return (QCString)"Diagram współpracy dla "+clName+":";
842     }
843     /*! this text is put before an include dependency graph */
844     QCString trInclDepGraph(const char *fName)
845     {
846       return (QCString)"Wykres zależności załączania dla "+fName+":";
847     }
848     /*! header that is put before the list of constructor/destructors. */
849     QCString trConstructorDocumentation()
850     {
851       return "Dokumentacja konstruktora i destruktora"; 
852     }
853     /*! Used in the file documentation to point to the corresponding sources. */
854     QCString trGotoSourceCode()
855     {
856       return "Idź do kodu źródłowego tego pliku.";
857     }
858     /*! Used in the file sources to point to the corresponding documentation. */
859     QCString trGotoDocumentation()
860     {
861       return "Idź do dokumentacji tego pliku.";
862     }
863     /*! Text for the \\pre command */
864     QCString trPrecondition()
865     {
866       return "Warunek wstępny";
867     }
868     /*! Text for the \\post command */
869     QCString trPostcondition()
870     {
871       return "Warunek końcowy";
872     }
873     /*! Text for the \\invariant command */
874     QCString trInvariant()
875     {
876       return "Niezmiennik";
877     }
878     /*! Text shown before a multi-line variable/enum initialization */
879     QCString trInitialValue()
880     {
881       return "Wartość początkowa:";
882     }
883     /*! Text used the source code in the file index */
884     QCString trCode()
885     {
886       return "kod źródłowy";
887     }
888     QCString trGraphicalHierarchy()
889     {
890       return "Graficzna hierarchia klas";
891     }
892     QCString trGotoGraphicalHierarchy()
893     {
894       return "Idź do graficznej hierarchi klas";
895     }
896     QCString trGotoTextualHierarchy()
897     {
898       return "Idź do tekstowej hierarchi klas";
899     }
900     QCString trPageIndex()
901     {
902       return "Indeks stron";
903     }
904
905 //////////////////////////////////////////////////////////////////////////
906 // new since 1.1.0
907 //////////////////////////////////////////////////////////////////////////
908     
909     QCString trNote()
910     {
911       return "Nota";
912     }
913     QCString trPublicTypes()
914     {
915       return "Typy publiczne";
916     }
917     QCString trPublicAttribs()
918     {
919       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
920       {
921         return "Pola danych";
922       }
923       else
924       {
925         return "Atrybuty publiczne";
926       }
927     }
928     QCString trStaticPublicAttribs()
929     {
930       return "Statyczne atrybuty publiczne";
931     }
932     QCString trProtectedTypes()
933     {
934       return "Typy chronione";
935     }
936     QCString trProtectedAttribs()
937     {
938       return "Atrybuty chronione";
939     }
940     QCString trStaticProtectedAttribs()
941     {
942       return "Statyczne atrybuty chronione";
943     }
944     QCString trPrivateTypes()
945     {
946       return "Typy prywatne";
947     }
948     QCString trPrivateAttribs()
949     {
950       return "Atrybuty prywatne";
951     }
952     QCString trStaticPrivateAttribs()
953     {
954       return "Statyczne atrybuty prywatne";
955     }
956
957 //////////////////////////////////////////////////////////////////////////
958 // new since 1.1.3
959 //////////////////////////////////////////////////////////////////////////
960
961     /*! Used as a marker that is put before a todo item */
962     QCString trTodo()
963     {
964       return "Do zrobienia";
965     }
966     /*! Used as the header of the todo list */
967     QCString trTodoList()
968     {
969       return "Lista rzeczy do zrobienia";
970     }
971
972 //////////////////////////////////////////////////////////////////////////
973 // new since 1.1.4
974 //////////////////////////////////////////////////////////////////////////
975
976     QCString trReferencedBy()
977     {
978       return "Odwołania w";
979     }
980     QCString trRemarks()
981     {
982       return "Spostrzeżenia";
983     }
984     QCString trAttention()
985     {
986       return "Uwaga";
987     }
988     QCString trInclByDepGraph()
989     {
990       return "Ten wykres pokazuje, które pliki bezpośrednio lub "
991              "pośrednio załączają ten plik:";
992     }
993     QCString trSince()
994     {
995       return "Od";
996     }
997
998 //////////////////////////////////////////////////////////////////////////
999 // new since 1.1.5
1000 //////////////////////////////////////////////////////////////////////////
1001
1002     /*! title of the graph legend page */
1003     QCString trLegendTitle()
1004     {
1005       return "Legenda wykresu";
1006     }
1007     /*! page explaining how the dot graph's should be interpreted */
1008     QCString trLegendDocs()
1009     {
1010       return 
1011         "Ta strona wyjaśnia jak interpretować wykresy, które są wygenerowane "
1012         "przez doxygen.<p>\n"
1013         "Rozważ następujący przykład:\n"
1014         "\\code\n"
1015         "/*! Klasa Niewidzialna z powodu okrojenia */\n"
1016         "class Niewidzialna { };\n\n"
1017         "/*! Klasa Okrojona, relacja dziedziczenia jest ukryta */\n"
1018         "class Okrojona : public Niewidzialna { };\n\n"
1019         "/* Klasa nie udokumentowana komentarzami doxygen */\n"
1020         "class Nieudokumentowana { };\n\n"
1021         "/*! Klasa, która jest dziedziczona publicznie */\n"
1022         "class PublicznaBaza : public Okrojona { };\n\n"
1023         "/*! A template class */\n"
1024         "template<class T> class Templ { };\n\n"
1025         "/*! Klasa, która jest dziedziczona przy użyciu dziedziczenia chronionego */\n"
1026         "class ChronionaBaza { };\n\n"
1027         "/*! Klasa, która jest dziedziczona prywatnie */\n"
1028         "class PrywatnaBaza { };\n\n"
1029         "/*! Klasa, która jest użyta przez klasę Dziedziczona */\n"
1030         "class Uzyta { };\n\n"
1031         "/*! Superklasa, która dziedziczy kilka innych klas */\n"
1032         "class Dziedziczona : public PublicznaBaza,\n"
1033         "                     protected ChronionaBaza,\n"
1034         "                     private PrywatnaBaza,\n"
1035         "                     public Nieudokumentowana,\n"
1036         "                     public Templ<int>\n"
1037         "{\n"
1038         "  private:\n"
1039         "    Uzyta *m_usedClass;\n"
1040         "};\n"
1041         "\\endcode\n"
1042         "Rezultat na następującym wykresie:"
1043         "<p><center><img src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center></p>\n"
1044         "<p>\n"
1045         "Prostokąty w powyższym wykresie mają następujące znaczenie:\n"
1046         "</p>\n"
1047         "<ul>\n"
1048         "<li>Wypełniony czarny prostokąt reprezentuje strukturę lub klasę dla "
1049         "której został wygenerowany wykres.</li>\n"
1050         "<li>Prostokąt z czarną obwolutą oznacza udokumentowaną strukturę lub klasę.</li>\n"
1051         "<li>Prostokąt z szarą obwolutą oznacza nieudokumentowaną strukturę lub klasę.</li>\n"
1052         "<li>Prostokąt z czerwoną obwolutą oznacza udokumentowaną strukturę lub klasę dla\n"
1053         "której nie są pokazane wszystkie relacje dziedziczenia/zawierania. Wykres jest "
1054         "okrojony, jeśli nie mieści się w określonych brzegach.</li>\n"
1055         "</ul>\n"
1056         "<p>\n"
1057         "Strzałki mają następujące znaczenie:\n"
1058         "<p>\n"
1059         "<ul>\n"
1060         "<li>Ciemno niebieska strzałka jest używana do wizualizacji relacji "
1061         "dziedziczenia publicznego pomiędzy dwiema klasami.</li>\n"
1062         "<li>Ciemno zielona strzałka jest używana dla dziedziczenia chronionego.</li>\n"
1063         "<li>Ciemno czerwona strzałka jest używana dla dziedziczenia prywatnego.</li>\n"
1064         "<li>Fioletowa przerywana strzałka jest używana jeśli klasa jest zawarta "
1065         "lub użyta przez inną klasę. Strzałka jest podpisana zmienną(ymi) "
1066         "przez które wskazywana klasa lub struktura jest dostępna. </li>\n"
1067         "</ul>\n";
1068     }
1069     /*! text for the link to the legend page */
1070     QCString trLegend()
1071     {
1072       return "legenda";
1073     }
1074
1075 //////////////////////////////////////////////////////////////////////////
1076 // new since 1.2.0
1077 //////////////////////////////////////////////////////////////////////////
1078
1079     /*! Used as a marker that is put before a test item */
1080     QCString trTest()
1081     {
1082       return "Test";
1083     }
1084     /*! Used as the header of the test list */
1085     QCString trTestList()
1086     {
1087       return "Lista testu";
1088     }
1089 //////////////////////////////////////////////////////////////////////////
1090 // new since 1.2.1
1091 //////////////////////////////////////////////////////////////////////////
1092
1093     /*! Used as a section header for KDE-2 IDL methods */
1094     virtual QCString trDCOPMethods()
1095     {
1096       return "Metody DCOP";
1097     }
1098
1099 //////////////////////////////////////////////////////////////////////////
1100 // new since 1.2.2
1101 //////////////////////////////////////////////////////////////////////////
1102
1103     /*! Used as a section header for IDL properties */
1104     virtual QCString trProperties()
1105     {
1106       return "Właściwości";
1107     }
1108     /*! Used as a section header for IDL property documentation */
1109     virtual QCString trPropertyDocumentation()
1110     {
1111       return "Dokumentacja właściwości";
1112     }
1113 //////////////////////////////////////////////////////////////////////////
1114 // new since 1.2.4
1115 //////////////////////////////////////////////////////////////////////////
1116
1117     /*! Used for Java interfaces in the summary section of Java packages */
1118     virtual QCString trInterfaces()
1119     {
1120       return "Interfejsy";
1121     }
1122     /*! Used for Java classes in the summary section of Java packages */
1123     virtual QCString trClasses()
1124     {
1125       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
1126       {
1127         return "Struktury Danych";
1128       }
1129       else
1130       {
1131         return "Klasy";
1132       }
1133     }
1134     /*! Used as the title of a Java package */
1135     virtual QCString trPackage(const char *name)
1136     {
1137       return (QCString)"Pakiet "+name;
1138     }
1139     /*! Title of the package index page */
1140     virtual QCString trPackageList()
1141     {
1142       return "Lista Pakietów";
1143     }
1144     /*! The description of the package index page */
1145     virtual QCString trPackageListDescription()
1146     {
1147       return "Oto lista pakietów wraz z krótkim opisem (o ile jest dostępny):";
1148     }
1149     /*! The link name in the Quick links header for each page */
1150     virtual QCString trPackages()
1151     {
1152       return "Pakiety";
1153     }
1154     /*! Used as a chapter title for Latex & RTF output */
1155     virtual QCString trPackageDocumentation()
1156     {
1157       return "Dokumentacja Pakietu";
1158     }
1159     /*! Text shown before a multi-line define */
1160     virtual QCString trDefineValue()
1161     {
1162       return "Wartość:";
1163     }
1164
1165 //////////////////////////////////////////////////////////////////////////
1166 // new since 1.2.5
1167 //////////////////////////////////////////////////////////////////////////
1168     
1169     /*! Used as a marker that is put before a \\bug item */
1170     virtual QCString trBug()
1171     {
1172       return "Błąd";
1173     }
1174     /*! Used as the header of the bug list */
1175     virtual QCString trBugList()
1176     {
1177       return "Lista błędów";
1178     }
1179
1180 //////////////////////////////////////////////////////////////////////////
1181 // new since 1.2.6-20010422
1182 //////////////////////////////////////////////////////////////////////////
1183
1184     /*! Used as ansicpg for RTF file */
1185     virtual QCString trRTFansicp()
1186     {
1187       return "1250";
1188     }
1189     
1190     /*! Used as ansicpg for RTF fcharset */
1191     virtual QCString trRTFCharSet()
1192     {
1193       return "238";
1194     }
1195
1196     /*! Used as header RTF general index */
1197     virtual QCString trRTFGeneralIndex()
1198     {
1199       return "Indeks";
1200     }
1201                                                                           
1202     /*! This is used for translation of the word that will possibly
1203      *  be followed by a single name or by a list of names 
1204      *  of the category.
1205      */
1206     virtual QCString trClass(bool first_capital, bool singular)
1207     { 
1208       QCString result((first_capital ? "Klas" : "klas"));
1209       result+=(singular ? "a" : "y");
1210       return result; 
1211     }
1212
1213     /*! This is used for translation of the word that will possibly
1214      *  be followed by a single name or by a list of names 
1215      *  of the category.
1216      */
1217     virtual QCString trFile(bool first_capital, bool singular)
1218     { 
1219       QCString result((first_capital ? "Plik" : "plik"));
1220       if (!singular)  result+="i";
1221       return result; 
1222     }
1223
1224     /*! This is used for translation of the word that will possibly
1225      *  be followed by a single name or by a list of names 
1226      *  of the category.
1227      */
1228     virtual QCString trNamespace(bool first_capital, bool singular)
1229     { 
1230       QCString result((first_capital ? "Przestrze" : "przestrze"));
1231       result+=(singular ? "ń" : "nie");
1232       result+=" nazw";
1233       return result; 
1234     }
1235
1236     /*! This is used for translation of the word that will possibly
1237      *  be followed by a single name or by a list of names 
1238      *  of the category.
1239      */
1240     virtual QCString trGroup(bool first_capital, bool singular)
1241     { 
1242       QCString result((first_capital ? "Grupa" : "grupa"));
1243       result+=(singular ? "a" : "y");
1244       return result; 
1245     }
1246
1247     /*! This is used for translation of the word that will possibly
1248      *  be followed by a single name or by a list of names 
1249      *  of the category.
1250      */
1251     virtual QCString trPage(bool first_capital, bool singular)
1252     { 
1253       QCString result((first_capital ? "Stron" : "stron"));
1254       result+=(singular ? "a" : "y");
1255       return result; 
1256     }
1257
1258     /*! This is used for translation of the word that will possibly
1259      *  be followed by a single name or by a list of names 
1260      *  of the category.
1261      */
1262     virtual QCString trMember(bool first_capital, bool singular)
1263     { 
1264       QCString result((first_capital ? "Składow" : "składow"));
1265       result+=(singular ? "a" : "e");
1266       return result; 
1267     }
1268    
1269     /*! This is used for translation of the word that will possibly
1270      *  be followed by a single name or by a list of names 
1271      *  of the category.
1272      */
1273     virtual QCString trField(bool first_capital, bool singular)
1274     { 
1275       QCString result((first_capital ? "Pol" : "pol"));
1276       result+=(singular ? "e" : "a");
1277       return result; 
1278     }
1279
1280     /*! This is used for translation of the word that will possibly
1281      *  be followed by a single name or by a list of names 
1282      *  of the category.
1283      */
1284     virtual QCString trGlobal(bool first_capital, bool singular)
1285     { 
1286       QCString result((first_capital ? "Global" : "global"));
1287       result+=(singular ? "ny" : "ne");
1288       return result; 
1289     }
1290
1291 //////////////////////////////////////////////////////////////////////////
1292 // new since 1.2.7
1293 //////////////////////////////////////////////////////////////////////////
1294
1295     /*! This text is generated when the \\author command is used and
1296      *  for the author section in man pages. */
1297     virtual QCString trAuthor(bool first_capital, bool singular)
1298     {                                                                         
1299       QCString result((first_capital ? "Auto" : "auto"));
1300       result += (singular) ? "r" : "rzy";
1301       return result; 
1302     }
1303
1304 //////////////////////////////////////////////////////////////////////////
1305 // new since 1.2.11
1306 //////////////////////////////////////////////////////////////////////////
1307
1308     /*! This text is put before the list of members referenced by a member
1309      */
1310     virtual QCString trReferences()
1311     {
1312       return "Odwołuje się do";
1313     }
1314
1315     
1316 //////////////////////////////////////////////////////////////////////////
1317 // new since 1.2.13
1318 //////////////////////////////////////////////////////////////////////////
1319     
1320
1321     virtual QCString trImplementedFromList(int numEntries) 
1322     { 
1323       return "Implementuje "+trWriteList(numEntries)+".";
1324     }
1325
1326     virtual QCString trImplementedInList(int numEntries) 
1327     {
1328       return "Implementowany w "+trWriteList(numEntries)+".";
1329     }
1330
1331 //////////////////////////////////////////////////////////////////////////
1332 // new since 1.2.16
1333 //////////////////////////////////////////////////////////////////////////
1334
1335     /*! used in RTF documentation as a heading for the Table
1336      *  of Contents.
1337      */
1338     virtual QCString trRTFTableOfContents()
1339     {
1340       return "Spis treści";
1341     }
1342
1343 //////////////////////////////////////////////////////////////////////////
1344 // new since 1.2.17
1345 //////////////////////////////////////////////////////////////////////////
1346
1347     /*! Used as the header of the list of item that have been 
1348      *  flagged deprecated 
1349      */
1350     virtual QCString trDeprecatedList()
1351     {
1352       return "Lista elementów do wycofania";
1353     }
1354
1355 //////////////////////////////////////////////////////////////////////////
1356 // new since 1.2.18
1357 //////////////////////////////////////////////////////////////////////////
1358
1359     /*! Used as a header for declaration section of the events found in 
1360      * a C# program
1361      */
1362     virtual QCString trEvents()
1363     {
1364       return "Zdarzenia";
1365     }
1366     /*! Header used for the documentation section of a class' events. */
1367     virtual QCString trEventDocumentation()
1368     {
1369       return "Dokumentacja zdarzeń";
1370     }
1371
1372 //////////////////////////////////////////////////////////////////////////
1373 // new since 1.3
1374 //////////////////////////////////////////////////////////////////////////
1375
1376     /*! Used as a heading for a list of Java class types with package scope.
1377      */
1378     virtual QCString trPackageTypes()
1379     { 
1380       return "Typy pakietu";
1381     }
1382     /*! Used as a heading for a list of Java class functions with package 
1383      * scope. 
1384      */
1385     virtual QCString trPackageMembers()
1386     { 
1387       return "Funkcje pakietu";
1388     }
1389     /*! Used as a heading for a list of static Java class functions with 
1390      *  package scope.
1391      */
1392     virtual QCString trStaticPackageMembers()
1393     { 
1394       return "Statyczne funkcje pakietu";
1395     }
1396     /*! Used as a heading for a list of Java class variables with package 
1397      * scope.
1398      */
1399     virtual QCString trPackageAttribs()
1400     { 
1401       return "Atrybuty pakietu";
1402     }
1403     /*! Used as a heading for a list of static Java class variables with 
1404      * package scope.
1405      */
1406     virtual QCString trStaticPackageAttribs()
1407     { 
1408       return "Statyczne atrybuty pakietu";
1409     }
1410     
1411 //////////////////////////////////////////////////////////////////////////
1412 // new since 1.3.1
1413 //////////////////////////////////////////////////////////////////////////
1414
1415     /*! Used in the quick index of a class/file/namespace member list page 
1416      *  to link to the unfiltered list of all members.
1417      */
1418     virtual QCString trAll()
1419     {
1420       return "All";
1421     }
1422     /*! Put in front of the call graph for a function. */
1423     virtual QCString trCallGraph()
1424     {
1425       return "Oto graf wywołań dla tej funkcji:";
1426     }
1427
1428 //////////////////////////////////////////////////////////////////////////
1429 // new since 1.3.3
1430 //////////////////////////////////////////////////////////////////////////
1431
1432     /*! When the search engine is enabled this text is put in the header 
1433      *  of each page before the field where one can enter the text to search 
1434      *  for. 
1435      */
1436     virtual QCString trSearchForIndex()
1437     {
1438       return "Szukaj";
1439     }
1440     /*! This string is used as the title for the page listing the search
1441      *  results.
1442      */
1443     virtual QCString trSearchResultsTitle()
1444     {
1445       return "Wyniki szukania";
1446     }
1447     /*! This string is put just before listing the search results. The
1448      *  text can be different depending on the number of documents found.
1449      *  Inside the text you can put the special marker $num to insert
1450      *  the number representing the actual number of search results.
1451      *  The @a numDocuments parameter can be either 0, 1 or 2, where the 
1452      *  value 2 represents 2 or more matches. HTML markup is allowed inside
1453      *  the returned string.
1454      */
1455     virtual QCString trSearchResults(int numDocuments)
1456     {
1457       if (numDocuments==0)
1458       {
1459         return "Niestety żaden dokument nie pasuje do twojego zapytania.";
1460       }
1461       else if (numDocuments==1)
1462       {
1463         return "Znaleziono <b>1</b> dokument pasujący do twojego zapytania.";
1464       }
1465       int count = numDocuments % 10;
1466       if ((count>=2) && (count<=4))
1467       {
1468         return "Znaleziono <b>$num</b> dokumenty pasujące do twojego zapytania. "
1469                "Najlepiej pasujące dokumenty wyświetlane są na początku listy.";
1470       }
1471       else 
1472       {
1473         return "Znaleziono <b>$num</b> dokumentów pasujących do twojego zapytania. "
1474                "Najlepiej pasujące dokumenty wyświetlane są na początku listy.";
1475       }
1476     }
1477     /*! This string is put before the list of matched words, for each search 
1478      *  result. What follows is the list of words that matched the query.
1479      */
1480     virtual QCString trSearchMatches()
1481     {
1482       return "Pasujące słowa:";
1483     }
1484
1485 //////////////////////////////////////////////////////////////////////////
1486 // new since 1.3.8
1487 //////////////////////////////////////////////////////////////////////////
1488
1489     /*! This is used in HTML as the title of page with source code for file filename
1490      */
1491     virtual QCString trSourceFile(QCString& filename)
1492     {
1493       return "Plik źródłowy " + filename;
1494     }
1495
1496 //////////////////////////////////////////////////////////////////////////
1497 // new since 1.3.9
1498 //////////////////////////////////////////////////////////////////////////
1499
1500     /*! This is used as the name of the chapter containing the directory
1501      *  hierarchy.
1502      */
1503     virtual QCString trDirIndex()
1504     { return "Struktura katalogów"; }
1505
1506     /*! This is used as the name of the chapter containing the documentation
1507      *  of the directories.
1508      */
1509     virtual QCString trDirDocumentation()
1510     { return "Dokumentacja katalogów"; }
1511
1512     /*! This is used as the title of the directory index and also in the
1513      *  Quick links of a HTML page, to link to the directory hierarchy.
1514      */
1515     virtual QCString trDirectories()
1516     { return "Katalogi"; }
1517
1518     /*! This returns a sentences that introduces the directory hierarchy. 
1519      *  and the fact that it is sorted alphabetically per level
1520      */
1521     virtual QCString trDirDescription()
1522     { 
1523       return "Ta struktura katalogów jest posortowana jest z grubsza, "
1524              "choć nie całkowicie, alfabetycznie:";
1525     }
1526
1527     /*! This returns the title of a directory page. The name of the
1528      *  directory is passed via \a dirName.
1529      */
1530     virtual QCString trDirReference(const char *dirName)
1531     { QCString result="Dokumentacja katalogu "; result+=dirName; return result; }
1532
1533     /*! This returns the word directory with or without starting capital
1534      *  (\a first_capital) and in sigular or plural form (\a singular).
1535      */
1536     virtual QCString trDir(bool first_capital, bool singular)
1537     { 
1538       QCString result((first_capital ? "Katalog" : "katalog"));
1539       if (! singular) result+="i";
1540       return result; 
1541     }
1542
1543 //////////////////////////////////////////////////////////////////////////
1544 // new since 1.4.1
1545 //////////////////////////////////////////////////////////////////////////
1546
1547     /*! This text is added to the documentation when the \\overload command
1548      *  is used for a overloaded function.
1549      */
1550     virtual QCString trOverloadText()
1551     {
1552       return "To jest metoda przeciążona, udostępniona dla wygody. "
1553              "Różni się od powyższej metody tylko zestawem akceptowanych argumentów.";               
1554     }
1555     
1556 //////////////////////////////////////////////////////////////////////////
1557 // new since 1.4.6
1558 //////////////////////////////////////////////////////////////////////////
1559
1560     /*! This is used to introduce a caller (or called-by) graph */
1561     virtual QCString trCallerGraph()
1562     {
1563       return "Oto graf wywoływań tej funkcji:";
1564     }
1565
1566     /*! This is used in the documentation of a file/namespace before the list 
1567      *  of documentation blocks for enumeration values
1568      */
1569     virtual QCString trEnumerationValueDocumentation()
1570     { return "Dokumentacja wyliczeń"; } //TODO check if it is correct translation
1571
1572 //////////////////////////////////////////////////////////////////////////
1573 // new since 1.5.4 (mainly for Fortran)
1574 //////////////////////////////////////////////////////////////////////////
1575     
1576     /*! header that is put before the list of member subprograms (Fortran). */
1577     virtual QCString trMemberFunctionDocumentationFortran()
1578     { return "Dokumentacja składowej funkcji/podprogramu"; }
1579
1580     /*! This is put above each page as a link to the list of annotated data types (Fortran). */    
1581     virtual QCString trCompoundListFortran()
1582     { return "Lista typów danych"; }
1583
1584     /*! This is put above each page as a link to all members of compounds (Fortran). */
1585     virtual QCString trCompoundMembersFortran()
1586     { return "Pola danych"; }
1587
1588     /*! This is an introduction to the annotated compound list (Fortran). */
1589     virtual QCString trCompoundListDescriptionFortran()
1590     { return "Tutaj znajdują się typy danych z ich krótkimi opisami:"; }
1591
1592     /*! This is an introduction to the page with all data types (Fortran). */
1593     virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
1594     {
1595       QCString result="Tutaj znajduje się lista wszystkich ";
1596       if (!extractAll)
1597       {
1598         result+="udokumentowanych ";
1599       }
1600       result+="składowych typów danych";
1601       result+=" wraz z odnośnikami do ";
1602       if (!extractAll) 
1603       {                                 
1604          result+="dokumentacji struktury danych dla każdej składowej";
1605       }
1606       else 
1607       {
1608          result+="typów danych, do których dana składowa należy:";
1609       }
1610       return result;
1611     }
1612
1613     /*! This is used in LaTeX as the title of the chapter with the 
1614      * annotated compound index (Fortran).
1615      */
1616     virtual QCString trCompoundIndexFortran()
1617     { return "Indeks typów danych"; }
1618
1619     /*! This is used in LaTeX as the title of the chapter containing
1620      *  the documentation of all data types (Fortran).
1621      */
1622     virtual QCString trTypeDocumentation()
1623     { return "Dokumentacja typów danych"; }
1624
1625     /*! This is used in the documentation of a file as a header before the 
1626      *  list of (global) subprograms (Fortran).
1627      */
1628     virtual QCString trSubprograms()
1629     { return "Funkcje/podprogramy"; }
1630
1631     /*! This is used in the documentation of a file/namespace before the list 
1632      *  of documentation blocks for subprograms (Fortran)
1633      */
1634     virtual QCString trSubprogramDocumentation()
1635     { return "Dokumentacja funkcji/podprogramu"; }
1636
1637     /*! This is used in the documentation of a file/namespace/group before 
1638      *  the list of links to documented compounds (Fortran)
1639      */
1640      virtual QCString trDataTypes()
1641     { return "Typy danych"; }
1642     
1643     /*! used as the title of page containing all the index of all modules (Fortran). */
1644     virtual QCString trModulesList()
1645     { return "Lista modułów"; }
1646
1647     /*! used as an introduction to the modules list (Fortran) */
1648     virtual QCString trModulesListDescription(bool extractAll)
1649     {
1650       QCString result="Tutaj znajduje się lista wszystkich ";
1651       if (!extractAll) result+="udokumentowanych ";
1652       result+="modułów z ich krótkimi opisami:";
1653       return result;
1654     }
1655
1656     /*! used as the title of the HTML page of a module/type (Fortran) */
1657     virtual QCString trCompoundReferenceFortran(const char *clName,
1658                                     ClassDef::CompoundType compType,
1659                                     bool isTemplate)
1660     {
1661       QCString result="Dokumentacja";
1662       if (isTemplate) result+=" szablonu";
1663       switch(compType)
1664       {
1665         case ClassDef::Class:      result+=" modułu "; break;
1666         case ClassDef::Struct:     result+=" typu "; break;
1667         case ClassDef::Union:      result+=" unii "; break;
1668         case ClassDef::Interface:  result+=" interfejsu "; break;
1669         case ClassDef::Protocol:   result+=" protokołu "; break;
1670         case ClassDef::Category:   result+=" kategorii "; break;
1671         case ClassDef::Exception:  result+=" wyjątku "; break;
1672       }
1673       result+=(QCString)clName;
1674       return result;
1675     }
1676     /*! used as the title of the HTML page of a module (Fortran) */
1677     virtual QCString trModuleReference(const char *namespaceName)
1678     {      
1679       QCString result="Dokumentacja modułu ";
1680       result+=namespaceName; 
1681       return result;
1682     }
1683     
1684     /*! This is put above each page as a link to all members of modules. (Fortran) */
1685     virtual QCString trModulesMembers()
1686     { return "Składowe modułu"; }
1687
1688     /*! This is an introduction to the page with all modules members (Fortran) */
1689     virtual QCString trModulesMemberDescription(bool extractAll)
1690     { 
1691       QCString result="Tutaj znajduje się lista wszystkich ";
1692       if (!extractAll) result+="udokumentowanych ";
1693       result+="składowych modułów wraz z odnośnikami do ";
1694       if (extractAll) 
1695       {
1696         result+="dokumentacji modułu dla każdej składowej:";
1697       }
1698       else 
1699       {
1700         result+="modułów do których składowe te należą:";
1701       }
1702       return result;
1703     }
1704
1705     /*! This is used in LaTeX as the title of the chapter with the 
1706      *  index of all modules (Fortran).
1707      */
1708     virtual QCString trModulesIndex()
1709     { return "Indeks modułu"; }
1710     
1711     /*! This is used for translation of the word that will possibly
1712      *  be followed by a single name or by a list of names 
1713      *  of the category.
1714      */
1715     virtual QCString trModule(bool first_capital, bool singular)
1716     {       
1717       QCString result((first_capital ? "Moduł" : "moduł"));
1718       if (!singular)  result+="y";
1719       return result; 
1720     }
1721     /*! This is put at the bottom of a module documentation page and is
1722      *  followed by a list of files that were used to generate the page.
1723      */
1724     virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
1725         bool single)
1726     {
1727       // single is true implies a single file
1728       QCString result=(QCString)"Dokumentacja dla te";
1729       switch(compType)
1730       {
1731         case ClassDef::Class:      result+="go modułu"; break;
1732         case ClassDef::Struct:     result+="go typu"; break;
1733         case ClassDef::Union:      result+="j unii"; break;
1734         case ClassDef::Interface:  result+="go interfejsu"; break;
1735         case ClassDef::Protocol:   result+="go protokołu"; break;
1736         case ClassDef::Category:   result+="j kategorii"; break;
1737         case ClassDef::Exception:  result+="go wyjątku"; break;
1738       }
1739       result+=" została wygenerowana z plik";
1740       if (single) result+="u:"; else result+="ów:";
1741       return result;
1742     }
1743     /*! This is used for translation of the word that will possibly
1744      *  be followed by a single name or by a list of names 
1745      *  of the category.
1746      */
1747     virtual QCString trType(bool first_capital, bool singular)
1748     { 
1749       QCString result((first_capital ? "Typ" : "typ"));
1750       if (!singular)  result+="y";
1751       return result; 
1752     }
1753     /*! This is used for translation of the word that will possibly
1754      *  be followed by a single name or by a list of names 
1755      *  of the category.
1756      */
1757     virtual QCString trSubprogram(bool first_capital, bool singular)
1758     { 
1759       QCString result((first_capital ? "Podprogram" : "podprogram"));
1760       if (!singular)  result+="y";
1761       return result; 
1762     }
1763
1764     /*! C# Type Constraint list */
1765     virtual QCString trTypeConstraints()
1766     {
1767       return "Więzy typów"; //TODO check if it is correct translation
1768     }
1769
1770 //////////////////////////////////////////////////////////////////////////
1771 // new since 1.6.0 (mainly for the new search engine)
1772 //////////////////////////////////////////////////////////////////////////
1773
1774     /*! directory relation for \a name */
1775     virtual QCString trDirRelation(const char *name)
1776     {
1777       return "Relcja "+ QCString(name);
1778     }
1779
1780     /*! Loading message shown when loading search results */
1781     virtual QCString trLoading()
1782     {
1783       return "Wczytywanie...";
1784     }
1785
1786     /*! Label used for search results in the global namespace */
1787     virtual QCString trGlobalNamespace()
1788     {
1789       return "Globalna przestrzeń nazw";
1790     }
1791
1792     /*! Message shown while searching */
1793     virtual QCString trSearching()
1794     {
1795       return "Szukanie...";
1796     }
1797
1798     /*! Text shown when no search results are found */
1799     virtual QCString trNoMatches()
1800     {
1801       return "Brak dopasowań";
1802     }
1803     
1804 //////////////////////////////////////////////////////////////////////////
1805 // new since 1.6.3 (missing items for the directory pages)
1806 //////////////////////////////////////////////////////////////////////////
1807
1808     /*! introduction text for the directory dependency graph */
1809     virtual QCString trDirDependency(const char *name)
1810     {
1811       return (QCString)"Wykres zależności katalogu dla "+name;
1812     }
1813
1814     /*! when clicking a directory dependency label, a page with a
1815      *  table is shown. The heading for the first column mentions the
1816      *  source file that has a relation to another file.
1817      */
1818     virtual QCString trFileIn(const char *name)
1819     {
1820       return (QCString)"Plik w "+name;
1821     }
1822
1823     /*! when clicking a directory dependency label, a page with a
1824      *  table is shown. The heading for the second column mentions the
1825      *  destination file that is included.
1826      */
1827     virtual QCString trIncludesFileIn(const char *name)
1828     {
1829       return (QCString)"Zawiera plik w "+name;
1830     }
1831
1832     /** Compiles a date string. 
1833      *  @param year Year in 4 digits
1834      *  @param month Month of the year: 1=January
1835      *  @param day Day of the Month: 1..31
1836      *  @param dayOfWeek Day of the week: 1=Monday..7=Sunday
1837      *  @param hour Hour of the day: 0..23
1838      *  @param minutes Minutes in the hour: 0..59
1839      *  @param seconds Seconds within the minute: 0..59
1840      *  @param includeTime Include time in the result string?
1841      */
1842     virtual QCString trDateTime(int year,int month,int day,int dayOfWeek,
1843                                 int hour,int minutes,int seconds,
1844                                 bool includeTime)
1845     {
1846       static const char *days[]   = { "Pn","Wt","Śr","Cz","Pt","So","N" };
1847       static const char *months[] = { "sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru" };
1848       QCString sdate;
1849       sdate.sprintf("%s, %d %s %d",days[dayOfWeek-1],day,months[month-1],year);
1850       if (includeTime)
1851       {
1852         QCString stime;
1853         stime.sprintf(" %.2d:%.2d:%.2d",hour,minutes,seconds);
1854         sdate+=stime;
1855       }
1856       return sdate;
1857     }
1858
1859 //////////////////////////////////////////////////////////////////////////
1860 // new since 1.7.5
1861 //////////////////////////////////////////////////////////////////////////
1862
1863     /*! Header for the page with bibliographic citations */
1864     virtual QCString trCiteReferences()
1865     { return "Odwołania do literatury"; }
1866
1867     /*! Text for copyright paragraph */
1868     virtual QCString trCopyright()
1869     { return "Copyright"; }
1870
1871     /*! Header for the graph showing the directory dependencies */
1872     virtual QCString trDirDepGraph(const char *name)
1873     { return QCString("Wykres zależności katalogu dla ")+name+":"; }
1874
1875 //////////////////////////////////////////////////////////////////////////
1876 // new since 1.8.0
1877 //////////////////////////////////////////////////////////////////////////
1878
1879     /*! Detail level selector shown for hierarchical indices */
1880     virtual QCString trDetailLevel()
1881     { return "poziom szczegółów"; }
1882
1883     /*! Section header for list of template parameters */
1884     virtual QCString trTemplateParameters()
1885     { return "Parametry Szablonu"; }
1886
1887     /*! Used in dot graph when UML_LOOK is enabled and there are many fields */
1888     virtual QCString trAndMore(const QCString &number)
1889     { return "i "+number+" więcej..."; }
1890
1891     /*! Used file list for a Java enum */
1892     virtual QCString trEnumGeneratedFromFiles(bool single)
1893     { QCString result = "Dokumentacja dla tego wyliczenia została wygenerowana z plik";
1894       if (single) result+="u:"; else result+="ów:";
1895       return result;
1896     }
1897
1898     /*! Header of a Java enum page (Java enums are represented as classes). */
1899     virtual QCString trEnumReference(const char *name)
1900     { QCString result="Dokumentacja wyliczenia "; result+=name; return result; }
1901
1902     /*! Used for a section containing inherited members */
1903     virtual QCString trInheritedFrom(const char *members,const char *what)
1904     { return QCString(members)+" dziedziczone z "+what; }
1905
1906     /*! Header of the sections with inherited members specific for the 
1907      *  base class(es) 
1908      */
1909     virtual QCString trAdditionalInheritedMembers()
1910     { return "Dodatkowe Dziedziczone Składowe"; }
1911
1912 //////////////////////////////////////////////////////////////////////////
1913
1914 };
1915
1916 #endif