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