diff -r 932c358ece3e -r d8fccb2cd802 Orb/Doxygen/src/translator_pl.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Orb/Doxygen/src/translator_pl.h Fri Apr 23 20:47:58 2010 +0100 @@ -0,0 +1,1804 @@ +/****************************************************************************** + * + * + * + * Copyright (C) 1997-2008 by Dimitri van Heesch. + * + * Permission to use, copy, modify, and distribute this software and its + * documentation under the terms of the GNU General Public License is hereby + * granted. No representations are made about the suitability of this software + * for any purpose. It is provided "as is" without express or implied warranty. + * See the GNU General Public License for more details. + * + * Documents produced by Doxygen are derivative works derived from the + * input used in their production; they are not affected by this license. + * + * Polish translation was updated to version 1.3.9 by + * Piotr Kaminski (Piotr.Kaminski@ctm.gdynia.pl) + */ + +#ifndef TRANSLATOR_PL_H +#define TRANSLATOR_PL_H + +class TranslatorPolish : public Translator +{ + public: + + // --- Language control methods ------------------- + + /*! Used for identification of the language. May resemble + * the string returned by latexBabelPackage(), but it is not used + * for the same purpose. The identification should not be translated. + * It should be replaced by the name of the language in English + * (e.g. Czech, Japanese, Russian, etc.). It should be equal to + * the identification in language.h. + */ + QCString idLanguage() + { return "polish"; } + /*! Used to get the command(s) for the language support. This method + * was designed for languages which do not prefer babel package. + * If this methods returns empty string, then the latexBabelPackage() + * method is used to generate the command for using the babel package. + */ + QCString latexLanguageSupportCommand() + { + return "\\usepackage{polski}\n" + "\\usepackage[T1]{fontenc}\n"; + } + + /*! return the language charset. This will be used for the HTML output */ + virtual QCString idLanguageCharset() + { + return "utf-8"; + } + + // --- Language translation methods ------------------- + + /*! used in the compound documentation before a list of related functions. */ + QCString trRelatedFunctions() + { return "Funkcje powiązane"; } + + /*! subscript for the related functions. */ + QCString trRelatedSubscript() + { return "(Zauważ, że to nie są metody klas.)"; } + + /*! header that is put before the detailed description of files, classes and namespaces. */ + QCString trDetailedDescription() + { return "Opis szczegółowy"; } + + /*! header that is put before the list of typedefs. */ + QCString trMemberTypedefDocumentation() + { return "Dokumentacja składowych definicji typu"; } + + /*! header that is put before the list of enumerations. */ + QCString trMemberEnumerationDocumentation() + { return "Dokumentacja składowych wyliczanych"; } + + /*! header that is put before the list of member functions. */ + QCString trMemberFunctionDocumentation() + { return "Dokumentacja funkcji składowych"; } + + /*! header that is put before the list of member attributes. */ + QCString trMemberDataDocumentation() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Dokumentacja pól"; + } + else + { + return "Dokumentacja atrybutów składowych"; + } + } + + /*! this is the text of a link put after brief descriptions. */ + QCString trMore() + { return "Więcej..."; } + + /*! put in the class documentation */ + QCString trListOfAllMembers() + { return "Lista wszystkich składowych."; } + + /*! used as the title of the "list of all members" page of a class */ + QCString trMemberList() + { return "Lista składowych"; } + + /*! this is the first part of a sentence that is followed by a class name */ + QCString trThisIsTheListOfAllMembers() + { return "To jest kompletna lista składowych dla "; } + + /*! this is the remainder of the sentence after the class name */ + QCString trIncludingInheritedMembers() + { return ", uwzględniająca wszystkie dziedziczone składowe."; } + + /*! this is put at the author sections at the bottom of man pages. + * parameter s is name of the project name. + */ + QCString trGeneratedAutomatically(const char *s) + { QCString result="Wygenerowano automatycznie z kodu źródłowego programem Doxygen"; + if (s) result+=(QCString)" dla "+s; + result+="."; + return result; + } + + /*! put after an enum name in the list of all members */ + QCString trEnumName() + { return "nazwa wyliczenia"; } + + /*! put after an enum value in the list of all members */ + QCString trEnumValue() + { return "wartość wyliczenia"; } + + /*! put after an undocumented member in the list of all members */ + QCString trDefinedIn() + { return "zdefiniowana w"; } + + // quick reference sections + + /*! This is put above each page as a link to the list of all groups of + * compounds or files (see the \\group command). + */ + QCString trModules() + { return "Moduły"; } + + /*! This is put above each page as a link to the class hierarchy */ + QCString trClassHierarchy() + { return "Hierarchia klas"; } + + /*! This is put above each page as a link to the list of annotated classes */ + QCString trCompoundList() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Struktury danych"; + } + else + { + return "Lista klas"; + } + } + + /*! This is put above each page as a link to the list of documented files */ + QCString trFileList() + { return "Lista plików"; } + + /*! This is put above each page as a link to the list of all verbatim headers */ + QCString trHeaderFiles() + { return "Pliki nagłówkowe"; } + + /*! This is put above each page as a link to all members of compounds. */ + QCString trCompoundMembers() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Pola danych"; + } + else + { + return "Składowe klas"; + } + } + + /*! This is put above each page as a link to all members of files. */ + QCString trFileMembers() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Globalne"; + } + else + { + return "Składowe plików"; + } + } + + /*! This is put above each page as a link to all related pages. */ + QCString trRelatedPages() + { return "Dodatkowe strony"; } + + /*! This is put above each page as a link to all examples. */ + QCString trExamples() + { return "Przykłady"; } + + /*! This is put above each page as a link to the search engine. */ + QCString trSearch() + { return "Szukaj"; } + + /*! This is an introduction to the class hierarchy. */ + QCString trClassHierarchyDescription() + { return "Ta lista dziedziczenia posortowana jest z grubsza, " + "choć nie całkowicie, alfabetycznie:"; + } + + /*! This is an introduction to the list with all files. */ + QCString trFileListDescription(bool extractAll) + { + QCString result="Tutaj znajduje się lista wszystkich "; + if (!extractAll) result+="udokumentowanych "; + result+="plików z ich krótkimi opisami:"; + return result; + } + + /*! This is an introduction to the annotated compound list. */ + QCString trCompoundListDescription() + { + + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Tutaj znajdują się struktury danych wraz z ich krótkimi opisami:"; + } + else + { + return "Tutaj znajdują się klasy, struktury, " + "unie i interfejsy wraz z ich krótkimi opisami:"; + } + } + + /*! This is an introduction to the page with all class members. */ + QCString trCompoundMembersDescription(bool extractAll) + { + QCString result="Tutaj znajduje się lista wszystkich "; + if (!extractAll) + { + result+="udokumentowanych "; + } + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + result+="pól struktur i unii"; + } + else + { + result+="składowych"; + } + result+=" wraz z odnośnikami do "; + if (!extractAll) + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + result+="dokumentacji struktur/unii dla każdego pola:"; + } + else + { + result+="dokumentacji klas dla każdej składowej:"; + } + } + else + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + result+="struktur/unii, do których dane pole należy:"; + } + else + { + result+="klas, do których dana składowa należy:"; + } + } + return result; + } + + /*! This is an introduction to the page with all file members. */ + QCString trFileMembersDescription(bool extractAll) + { + QCString result="Tutaj znajduje się lista wszystkich "; + if (!extractAll) result+="udokumentowanych "; + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + result+="funkcji, zmiennych, makr, wyliczeń i definicji typów"; + } + else + { + result+="składowych plików"; + } + result+=" wraz z odnośnikami do "; + if (extractAll) + result+="plików, do których one należą:"; + else + result+="dokumentacji:"; + return result; + } + + /*! This is an introduction to the page with the list of all header files. */ + QCString trHeaderFilesDescription() + { return "Tutaj znajdują się pliki nagłówkowe tworzące API:"; } + + /*! This is an introduction to the page with the list of all examples */ + QCString trExamplesDescription() + { return "Tutaj znajduje się lista wszystkich przykładów:"; } + + /*! This is an introduction to the page with the list of related pages */ + QCString trRelatedPagesDescription() + { return "Tutaj znajduje się lista wszystkich stron dokumentacji:"; } + + /*! This is an introduction to the page with the list of class/file groups */ + QCString trModulesDescription() + { return "Tutaj znajduje się lista wszystkich grup:"; } + + /*! This sentences is used in the annotated class/file lists if no brief + * description is given. + */ + QCString trNoDescriptionAvailable() + { return "Brak opisu"; } + + // index titles (the project name is prepended for these) + + + /*! This is used in HTML as the title of index.html. */ + QCString trDocumentation() + { return "Dokumentacja"; } + + /*! This is used in LaTeX as the title of the chapter with the + * index of all groups. + */ + QCString trModuleIndex() + { return "Indeks grup"; } + + /*! This is used in LaTeX as the title of the chapter with the + * class hierarchy. + */ + QCString trHierarchicalIndex() + { return "Indeks hierarchiczny"; } + + /*! This is used in LaTeX as the title of the chapter with the + * annotated compound index. + */ + QCString trCompoundIndex() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Indeks struktur danych"; + } + else + { + return "Indeks klas"; + } + } + + /*! This is used in LaTeX as the title of the chapter with the + * list of all files. + */ + QCString trFileIndex() + { return "Indeks plików"; } + + /*! This is used in LaTeX as the title of the chapter containing + * the documentation of all groups. + */ + QCString trModuleDocumentation() + { return "Dokumentacja grup"; } + + /*! This is used in LaTeX as the title of the chapter containing + * the documentation of all classes, structs and unions. + */ + QCString trClassDocumentation() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Dokumentacja struktur danych"; + } + else + { + return "Dokumentacja klas"; + } + } + + /*! This is used in LaTeX as the title of the chapter containing + * the documentation of all files. + */ + QCString trFileDocumentation() + { return "Dokumentacja plików"; } + + /*! This is used in LaTeX as the title of the chapter containing + * the documentation of all examples. + */ + QCString trExampleDocumentation() + { return "Dokumentacja przykładów"; } + + /*! This is used in LaTeX as the title of the chapter containing + * the documentation of all related pages. + */ + QCString trPageDocumentation() + { return "Dokumentacja stron"; } + + /*! This is used in LaTeX as the title of the document */ + QCString trReferenceManual() + { return "Podręcznik"; } + + /*! This is used in the documentation of a file as a header before the + * list of defines + */ + QCString trDefines() + { return "Definicje"; } + + /*! This is used in the documentation of a file as a header before the + * list of function prototypes + */ + QCString trFuncProtos() + { return "Prototypy funkcji"; } + + /*! This is used in the documentation of a file as a header before the + * list of typedefs + */ + QCString trTypedefs() + { return "Definicje typów"; } + + /*! This is used in the documentation of a file as a header before the + * list of enumerations + */ + QCString trEnumerations() + { return "Wyliczenia"; } + + /*! This is used in the documentation of a file as a header before the + * list of (global) functions + */ + QCString trFunctions() + { return "Funkcje"; } + + /*! This is used in the documentation of a file as a header before the + * list of (global) variables + */ + QCString trVariables() + { return "Zmienne"; } + + /*! This is used in the documentation of a file as a header before the + * list of (global) variables + */ + QCString trEnumerationValues() + { return "Wartości wyliczeń"; } + + /*! This is used in the documentation of a file before the list of + * documentation blocks for defines + */ + QCString trDefineDocumentation() + { return "Dokumentacja definicji"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for function prototypes + */ + QCString trFunctionPrototypeDocumentation() + { return "Dokumentacja prototypów funkcji"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for typedefs + */ + QCString trTypedefDocumentation() + { return "Dokumentacja definicji typów"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for enumeration types + */ + QCString trEnumerationTypeDocumentation() + { return "Dokumentacja typów wyliczanych"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for functions + */ + QCString trFunctionDocumentation() + { return "Dokumentacja funkcji"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for variables + */ + QCString trVariableDocumentation() + { return "Dokumentacja zmiennych"; } + + /*! This is used in the documentation of a file/namespace/group before + * the list of links to documented compounds + */ + QCString trCompounds() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Struktury danych"; + } + else + { + return "Komponenty"; + } + } + + /*! This is used in the standard footer of each page and indicates when + * the page was generated + */ + QCString trGeneratedAt(const char *date,const char *projName) + { + QCString result=(QCString)"Wygenerowano "+date; + if (projName) result+=(QCString)" dla "+projName; + result+=(QCString)" programem"; + return result; + } + /*! This is part of the sentence used in the standard footer of each page. + */ + QCString trWrittenBy() + { + return "napisanym przez"; + } + + /*! this text is put before a class diagram */ + QCString trClassDiagram(const char *clName) + { + return (QCString)"Diagram dziedziczenia dla "+clName; + } + + /*! this text is generated when the \\internal command is used. */ + QCString trForInternalUseOnly() + { return "Tylko do użytku wewnętrznego."; } + + /*! this text is generated when the \\reimp command is used. */ + QCString trReimplementedForInternalReasons() + { return "Reimplementowana z wewnętrzych przyczyn; nie dotyczy API."; } + + /*! this text is generated when the \\warning command is used. */ + QCString trWarning() + { return "Ostrzeżenie"; } + + /*! this text is generated when the \\bug command is used. */ + QCString trBugsAndLimitations() + { return "Błędy i ograniczenia"; } + + /*! this text is generated when the \\version command is used. */ + QCString trVersion() + { return "Wersja"; } + + /*! this text is generated when the \\date command is used. */ + QCString trDate() + { return "Data"; } + + /*! this text is generated when the \\return command is used. */ + QCString trReturns() + { return "Zwraca"; } + + /*! this text is generated when the \\sa command is used. */ + QCString trSeeAlso() + { return "Zobacz również"; } + + /*! this text is generated when the \\param command is used. */ + QCString trParameters() + { return "Parametry"; } + + /*! this text is generated when the \\exception command is used. */ + QCString trExceptions() + { return "Wyjątki"; } + + /*! this text is used in the title page of a LaTeX document. */ + QCString trGeneratedBy() + { return "Wygenerowano przez"; } + + // new since 0.49-990307 + + /*! used as the title of page containing all the index of all namespaces. */ + QCString trNamespaceList() + { return "Lista przestrzeni nazw"; } + + /*! used as an introduction to the namespace list */ + QCString trNamespaceListDescription(bool extractAll) + { + QCString result="Tutaj znajdują się wszystkie "; + if (!extractAll) result+="udokumentowane "; + result+="przestrzenie nazw wraz z ich krótkimi opisami:"; + return result; + } + + /*! used in the class documentation as a header before the list of all + * friends of a class + */ + QCString trFriends() + { return "Przyjaciele"; } + +////////////////////////////////////////////////////////////////////////// +// new since 0.49-990405 +////////////////////////////////////////////////////////////////////////// + + /*! used in the class documentation as a header before the list of all + * related classes + */ + QCString trRelatedFunctionDocumentation() + { return "Dokumentacja przyjaciół i funkcji związanych"; } + +////////////////////////////////////////////////////////////////////////// +// new since 0.49-990425 +////////////////////////////////////////////////////////////////////////// + + /*! used as the title of the HTML page of a class/struct/union */ + QCString trCompoundReference(const char *clName, + ClassDef::CompoundType compType, + bool isTemplate) + { + QCString result="Dokumentacja"; + if (isTemplate) result+=" szablonu"; + switch(compType) + { + case ClassDef::Class: result+=" klasy "; break; + case ClassDef::Struct: result+=" struktury "; 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 file */ + QCString trFileReference(const char *fileName) + { + QCString result="Dokumentacja pliku "; + result+=fileName; + return result; + } + + /*! used as the title of the HTML page of a namespace */ + QCString trNamespaceReference(const char *namespaceName) + { + QCString result="Dokumentacja przestrzeni nazw "; + result+=namespaceName; + return result; + } + + /* these are for the member sections of a class, struct or union */ + QCString trPublicMembers() + { return "Metody publiczne"; } + QCString trPublicSlots() + { return "Sloty publiczne"; } + QCString trSignals() + { return "Sygnały"; } + QCString trStaticPublicMembers() + { return "Statyczne metody publiczne"; } + QCString trProtectedMembers() + { return "Metody chronione"; } + QCString trProtectedSlots() + { return "Sloty chronione"; } + QCString trStaticProtectedMembers() + { return "Statyczne metody chronione"; } + QCString trPrivateMembers() + { return "Metody prywatne"; } + QCString trPrivateSlots() + { return "Sloty prywatne"; } + QCString trStaticPrivateMembers() + { return "Statyczne metody prywatne"; } + + /*! this function is used to produce a comma-separated list of items. + * use generateMarker(i) to indicate where item i should be put. + */ + QCString trWriteList(int numEntries) + { + QCString result; + int i; + // the inherits list contain `numEntries' classes + for (i=0;i