diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2009-05-22 11:07:08 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2009-05-22 11:07:08 (GMT) |
commit | 8375a55083e5232e65493e73cb594c9c5e9552ab (patch) | |
tree | 9568dad93df55e8726251e5bdb1f2d8c00bdde93 /src/translator_pl.h | |
parent | bb12cae9e3318bfb11de719aa3e93db2bfaaccd6 (diff) | |
download | Doxygen-8375a55083e5232e65493e73cb594c9c5e9552ab.zip Doxygen-8375a55083e5232e65493e73cb594c9c5e9552ab.tar.gz Doxygen-8375a55083e5232e65493e73cb594c9c5e9552ab.tar.bz2 |
Release-1.5.9-20090522
Diffstat (limited to 'src/translator_pl.h')
-rw-r--r-- | src/translator_pl.h | 234 |
1 files changed, 221 insertions, 13 deletions
diff --git a/src/translator_pl.h b/src/translator_pl.h index f5041c1..bddd7ff 100644 --- a/src/translator_pl.h +++ b/src/translator_pl.h @@ -20,7 +20,7 @@ #ifndef TRANSLATOR_PL_H #define TRANSLATOR_PL_H -class TranslatorPolish : public TranslatorAdapter_1_4_6 +class TranslatorPolish : public Translator { private: /*! to avoid macro redefinition from translator_pl.h */ @@ -489,12 +489,6 @@ class TranslatorPolish : public TranslatorAdapter_1_4_6 { return decode("Dokumentacja typów wyliczanych"); } /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for enumeration values - */ - QCString trEnumerationValueDocumentation() - { return decode("Dokumentacja wartości wyliczanych"); } - - /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for functions */ QCString trFunctionDocumentation() @@ -636,12 +630,12 @@ class TranslatorPolish : public TranslatorAdapter_1_4_6 case ClassDef::Struct: result+=" struktury "; break; case ClassDef::Union: result+=" unii "; break; case ClassDef::Interface: result+=" interfejsu "; break; - case ClassDef::Protocol: result+=decode(" protocol "); break; // translate me! - case ClassDef::Category: result+=decode(" category "); break; // translate me! - case ClassDef::Exception: result+=decode(" wyjątku "); break; + case ClassDef::Protocol: result+=" protokołu "; break; + case ClassDef::Category: result+=" kategorii "; break; + case ClassDef::Exception: result+=" wyjątku "; break; } result+=(QCString)clName; - return result; + return decode(result); } /*! used as the title of the HTML page of a file */ @@ -795,8 +789,8 @@ class TranslatorPolish : public TranslatorAdapter_1_4_6 case ClassDef::Struct: result+="j struktury"; break; case ClassDef::Union: result+="j unii"; break; case ClassDef::Interface: result+="go interfejsu"; break; - case ClassDef::Protocol: result+=decode("protocol"); break; // translate me! - case ClassDef::Category: result+=decode("category"); break; // translate me! + case ClassDef::Protocol: result+="go protokołu"; break; + case ClassDef::Category: result+="j kategorii"; break; case ClassDef::Exception: result+="go wyjątku"; break; } result+=" została wygenerowana z plik"; @@ -1574,6 +1568,220 @@ class TranslatorPolish : public TranslatorAdapter_1_4_6 return "To jest metoda przeciążona, udostępniona dla wygody. " "Różni się od powyższej metody tylko zestawem akceptowanych argumentów."; } + +////////////////////////////////////////////////////////////////////////// +// new since 1.4.6 +////////////////////////////////////////////////////////////////////////// + + /*! This is used to introduce a caller (or called-by) graph */ + virtual QCString trCallerGraph() + { + return "Oto graf wywoływań tej funkcji:"; + } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for enumeration values + */ + virtual QCString trEnumerationValueDocumentation() + { return "Dokumentacja wyliczeń"; } //TODO check if it is correct translation + +////////////////////////////////////////////////////////////////////////// +// new since 1.5.4 (mainly for Fortran) +////////////////////////////////////////////////////////////////////////// + + /*! header that is put before the list of member subprograms (Fortran). */ + virtual QCString trMemberFunctionDocumentationFortran() + { return "Dokumentacja składowej funkcji/podprogramu"; } + + /*! This is put above each page as a link to the list of annotated data types (Fortran). */ + virtual QCString trCompoundListFortran() + { return "Lista typów danych"; } + + /*! This is put above each page as a link to all members of compounds (Fortran). */ + virtual QCString trCompoundMembersFortran() + { return "Pola danych"; } + + /*! This is an introduction to the annotated compound list (Fortran). */ + virtual QCString trCompoundListDescriptionFortran() + { return "Tutaj znajdują się typy danych z ich krótkimi opisami:"; } + + /*! This is an introduction to the page with all data types (Fortran). */ + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + { + QCString result="Tutaj znajduje się lista wszystkich "; + if (!extractAll) + { + result+="udokumentowanych "; + } + result+="składowych typów danych"; + result+=" wraz z odnośnikami do "; + if (!extractAll) + { + result+="dokumentacji struktury danych dla każdej składowej"; + } + else + { + result+="typów danych, do których dana składowa należy:"; + } + return result; + } + + /*! This is used in LaTeX as the title of the chapter with the + * annotated compound index (Fortran). + */ + virtual QCString trCompoundIndexFortran() + { return "Indeks typów danych"; } + + /*! This is used in LaTeX as the title of the chapter containing + * the documentation of all data types (Fortran). + */ + virtual QCString trTypeDocumentation() + { return "Dokumentacja typów danych"; } + + /*! This is used in the documentation of a file as a header before the + * list of (global) subprograms (Fortran). + */ + virtual QCString trSubprograms() + { return "Funkcje/podprogramy"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for subprograms (Fortran) + */ + virtual QCString trSubprogramDocumentation() + { return "Dokumentacja funkcji/podprogramu"; } + + /*! This is used in the documentation of a file/namespace/group before + * the list of links to documented compounds (Fortran) + */ + virtual QCString trDataTypes() + { return "Typy danych"; } + + /*! used as the title of page containing all the index of all modules (Fortran). */ + virtual QCString trModulesList() + { return "Lista modułów"; } + + /*! used as an introduction to the modules list (Fortran) */ + virtual QCString trModulesListDescription(bool extractAll) + { + QCString result="Tutaj znajduje się lista wszystkich "; + if (!extractAll) result+="udokumentowanych "; + result+="modułów z ich krótkimi opisami:"; + return result; + } + + /*! used as the title of the HTML page of a module/type (Fortran) */ + virtual QCString trCompoundReferenceFortran(const char *clName, + ClassDef::CompoundType compType, + bool isTemplate) + { + QCString result="Dokumentacja"; + if (isTemplate) result+=" szablonu"; + switch(compType) + { + case ClassDef::Class: result+=" modułu "; break; + case ClassDef::Struct: result+=" typu "; break; + case ClassDef::Union: result+=" unii "; break; + case ClassDef::Interface: result+=" interfejsu "; break; + case ClassDef::Protocol: result+=" protokołu "; break; + case ClassDef::Category: result+=" kategorii "; break; + case ClassDef::Exception: result+=" wyjątku "; break; + } + result+=(QCString)clName; + return result; + } + /*! used as the title of the HTML page of a module (Fortran) */ + virtual QCString trModuleReference(const char *namespaceName) + { + QCString result="Dokumentacja modułu "; + result+=namespaceName; + return result; + } + + /*! This is put above each page as a link to all members of modules. (Fortran) */ + virtual QCString trModulesMembers() + { return "Składowe modułu"; } + + /*! This is an introduction to the page with all modules members (Fortran) */ + virtual QCString trModulesMemberDescription(bool extractAll) + { + QCString result="Tutaj znajduje się lista wszystkich "; + if (!extractAll) result+="udokumentowanych "; + result+="składowych modułów wraz z odnośnikami do "; + if (extractAll) + { + result+="dokumentacji modułu dla każdej składowej:"; + } + else + { + result+="modułów do których składowe te należą:"; + } + return result; + } + + /*! This is used in LaTeX as the title of the chapter with the + * index of all modules (Fortran). + */ + virtual QCString trModulesIndex() + { return "Indeks modułu"; } + + /*! This is used for translation of the word that will possibly + * be followed by a single name or by a list of names + * of the category. + */ + virtual QCString trModule(bool first_capital, bool singular) + { + QCString result((first_capital ? "Moduł" : "moduł")); + if (!singular) result+="y"; + return result; + } + /*! This is put at the bottom of a module documentation page and is + * followed by a list of files that were used to generate the page. + */ + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, + bool single) + { + // single is true implies a single file + QCString result=(QCString)"Dokumentacja dla te"; + switch(compType) + { + case ClassDef::Class: result+="go modułu"; break; + case ClassDef::Struct: result+="go typu"; break; + case ClassDef::Union: result+="j unii"; break; + case ClassDef::Interface: result+="go interfejsu"; break; + case ClassDef::Protocol: result+="go protokołu"; break; + case ClassDef::Category: result+="j kategorii"; break; + case ClassDef::Exception: result+="go wyjątku"; break; + } + result+=" została wygenerowana z plik"; + if (single) result+="u:"; else result+="ów:"; + return decode(result); + } + /*! This is used for translation of the word that will possibly + * be followed by a single name or by a list of names + * of the category. + */ + virtual QCString trType(bool first_capital, bool singular) + { + QCString result((first_capital ? "Typ" : "typ")); + if (!singular) result+="y"; + return result; + } + /*! This is used for translation of the word that will possibly + * be followed by a single name or by a list of names + * of the category. + */ + virtual QCString trSubprogram(bool first_capital, bool singular) + { + QCString result((first_capital ? "Podprogram" : "podprogram")); + if (!singular) result+="y"; + return result; + } + + /*! C# Type Constraint list */ + virtual QCString trTypeConstraints() + { + return "Więzy typów"; //TODO check if it is correct translation + } }; #endif |