diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2013-07-02 12:05:46 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2013-07-02 12:05:46 (GMT) |
commit | 3fd821c28b41a8bdc97d575dfe2425101c3eb3e6 (patch) | |
tree | 5a363c283c9c9e2d579d821a929e6a264e9d6ff1 /src | |
parent | 10dc9dd585b220c7880d11095075276394199b1d (diff) | |
parent | 78b905a4b20a0156f59cf950c53182464ebf3d5e (diff) | |
download | Doxygen-3fd821c28b41a8bdc97d575dfe2425101c3eb3e6.zip Doxygen-3fd821c28b41a8bdc97d575dfe2425101c3eb3e6.tar.gz Doxygen-3fd821c28b41a8bdc97d575dfe2425101c3eb3e6.tar.bz2 |
Merge branch 'master' of https://github.com/pepr/doxygen into pepr
Conflicts:
src/libdoxygen.pro.in
winbuild/Doxygen.vcproj
Diffstat (limited to 'src')
48 files changed, 3251 insertions, 6398 deletions
diff --git a/src/language.cpp b/src/language.cpp index b0218d4..eb88455 100644 --- a/src/language.cpp +++ b/src/language.cpp @@ -21,7 +21,6 @@ #include "language.h" #include "lang_cfg.h" #include "translator.h" -#include "translatordecoder.h" #include "translator_en.h" #if !defined(ENGLISH_ONLY) #include "translator_adapter.h" @@ -231,7 +230,7 @@ bool setTranslator(const char *langName) #ifdef LANG_JE else if (L_EQUAL("japanese-en")) { - theTranslator=new TranslatorDecoder(new TranslatorJapaneseEn); + theTranslator=new TranslatorJapaneseEn; } #endif #ifdef LANG_ES @@ -285,7 +284,7 @@ bool setTranslator(const char *langName) #ifdef LANG_KE else if (L_EQUAL("korean-en")) { - theTranslator=new TranslatorDecoder(new TranslatorKoreanEn); + theTranslator=new TranslatorKoreanEn; } #endif #ifdef LANG_RO diff --git a/src/libdoxygen.pro.in b/src/libdoxygen.pro.in index 6e41c3f..2140a8e 100644 --- a/src/libdoxygen.pro.in +++ b/src/libdoxygen.pro.in @@ -259,8 +259,7 @@ SOURCES = arguments.cpp \ tagreader.cpp \ tclscanner.cpp \ textdocvisitor.cpp \ - tooltip.cpp \ - translator.cpp \ + tooltip.cpp \ util.cpp \ version.cpp \ vhdlcode.cpp \ diff --git a/src/translator.cpp b/src/translator.cpp deleted file mode 100644 index b161345..0000000 --- a/src/translator.cpp +++ /dev/null @@ -1,249 +0,0 @@ -/*! \file translator.cpp - * \brief Implementation of generally used translator methods. - * - * This file contains implementation of the translator methods that - * are not expected to be reimplemented by derived translator classes. - * It also contains static data tables used by the methods. - * - */ -#include "translator.h" -#include <stdio.h> - -/*! The translation table used by Win1250ToISO88592() method. */ -const char Translator::Win1250ToISO88592Tab[] = -{ - '\x80', '\x81', '\x82', '\x83', '\x84', '\x85', '\x86', '\x87', - '\x88', '\x89', '\xA9', '\x8B', '\xA6', '\xAB', '\xAE', '\xAC', - '\x90', '\x91', '\x92', '\x93', '\x94', '\x2E', '\x96', '\x97', - '\x98', '\x99', '\xB9', '\x9B', '\xB6', '\xBB', '\xBE', '\xBC', - '\xA0', '\x20', '\x20', '\xA3', '\xA4', '\xA1', '\xA6', '\xA7', - '\x22', '\xA9', '\xAA', '\x3C', '\xAC', '\x2D', '\xAE', '\xAF', - '\x2E', '\x2B', '\x20', '\xB3', '\x27', '\x75', '\xB6', '\xB7', - '\x20', '\xB1', '\xBA', '\x3E', '\xA5', '\x22', '\xB5', '\xBF', - '\xC0', '\xC1', '\xC2', '\xC3', '\xC4', '\xC5', '\xC6', '\xC7', - '\xC8', '\xC9', '\xCA', '\xCB', '\xCC', '\xCD', '\xCE', '\xCF', - '\xD0', '\xD1', '\xD2', '\xD3', '\xD4', '\xD5', '\xD6', '\xD7', - '\xD8', '\xD9', '\xDA', '\xDB', '\xDC', '\xDD', '\xDE', '\xDF', - '\xE0', '\xE1', '\xE2', '\xE3', '\xE4', '\xE5', '\xE6', '\xE7', - '\xE8', '\xE9', '\xEA', '\xEB', '\xEC', '\xED', '\xEE', '\xEF', - '\xF0', '\xF1', '\xF2', '\xF3', '\xF4', '\xF5', '\xF6', '\x2D', - '\xF8', '\xF9', '\xFA', '\xFB', '\xFC', '\xFD', '\xFE', '\xFF', - '\0' -}; - - -/*! The translation table used by ISO88592ToWin1250() method. */ -const char Translator::ISO88592ToWin1250Tab[] = { - '\x80', '\x81', '\x82', '\x83', '\x84', '\x85', '\x86', '\x87', - '\x88', '\x89', '\x8A', '\x8B', '\x8C', '\x8D', '\x8E', '\x8F', - '\x90', '\x91', '\x92', '\x93', '\x94', '\x95', '\x96', '\x97', - '\x98', '\x99', '\x9A', '\x9B', '\x9C', '\x9D', '\x9E', '\x9F', - '\xA0', '\xA5', '\xA2', '\xA3', '\xA4', '\xBC', '\x8C', '\xA7', - '\xA8', '\x8A', '\xAA', '\x8D', '\x8F', '\xAD', '\x8E', '\xAF', - '\xB0', '\xB9', '\xB2', '\xB3', '\xB4', '\xBE', '\x9C', '\xB7', - '\xB8', '\x9A', '\xBA', '\x9D', '\x9F', '\xBD', '\x9E', '\xBF', - '\xC0', '\xC1', '\xC2', '\xC3', '\xC4', '\xC5', '\xC6', '\xC7', - '\xC8', '\xC9', '\xCA', '\xCB', '\xCC', '\xCD', '\xCE', '\xCF', - '\xD0', '\xD1', '\xD2', '\xD3', '\xD4', '\xD5', '\xD6', '\xD7', - '\xD8', '\xD9', '\xDA', '\xDB', '\xDC', '\xDD', '\xDE', '\xDF', - '\xE0', '\xE1', '\xE2', '\xE3', '\xE4', '\xE5', '\xE6', '\xE7', - '\xE8', '\xE9', '\xEA', '\xEB', '\xEC', '\xED', '\xEE', '\xEF', - '\xF0', '\xF1', '\xF2', '\xF3', '\xF4', '\xF5', '\xF6', '\xF7', - '\xF8', '\xF9', '\xFA', '\xFB', '\xFC', '\xFD', '\xFE', '\xFF', - '\0' -}; - - -/*! The translation table used by Koi8RToWindows1251() method. */ -const unsigned char Translator::Koi8RToWindows1251Tab[128] = -{ 128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143, - 144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159, - 160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175, - 176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191, - 254,224,225,246,228,229,244,227,245,232,233,234,235,236,237,238, - 239,255,240,241,242,243,230,226,252,251,231,248,253,249,247,250, - 222,192,193,214,196,197,212,195,213,200,201,202,203,204,205,206, - 207,223,208,209,210,211,198,194,220,219,199,216,221,217,215,218 -}; - - -/*! The translation table used by Windows1251ToKoi8R() method. */ -const unsigned char Translator::Windows1251ToKoi8RTab[128] = -{ 128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143, - 144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159, - 160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175, - 176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191, - 225,226,247,231,228,229,246,250,233,234,235,236,237,238,239,240, - 242,243,244,245,230,232,227,254,251,253,255,249,248,252,224,241, - 193,194,215,199,196,197,214,218,201,202,203,204,205,206,207,208, - 210,211,212,213,198,200,195,222,219,221,223,217,216,220,192,209 -}; - -/*! Returns the string converted from windows-1250 to iso-8859-2. */ -/* The method was designed initially for translator_cz.h. - * It is used for on-line encoding conversion related to - * conditional compilation in Unix/MS Windows environments - * (both use different encoding). Later, the translator_hr.h - * (by Boris Bralo) used and improved the same style. As the - * method with the translation table was the same, the - * decision to move it to this base class was made. The same - * holds for ISO88592ToWin1250() method. - * - * Alexandr Chelpanov used the same approach for - * Koi8RToWindows1251() and Windows1251ToKoi8R() methods. Notice, - * that he uses Unicode tables. - * - * It is recommended for possibly other similar methods in future. - */ -QCString Translator::Win1250ToISO88592(const QCString & sInput) -{ - // The conversion table for characters >127 - // - - QCString result; - int len = sInput.length(); - - for (int i = 0; i < len; ++i) - { - unsigned int c = sInput[i]; - result += (c > 127) ? Win1250ToISO88592Tab[c & 0x7F] : c; - } - return result; -} - - -/*! returns the string converted from iso-8859-2 to windows-1250 */ -/* See the comments of the Win1250ToISO88592() method for details. */ -QCString Translator::ISO88592ToWin1250(const QCString & sInput) -{ - // The conversion table for characters >127 - // - QCString result; - int len = sInput.length(); - - for (int i = 0; i < len; ++i) - { - unsigned int c = sInput[i]; - result += (c > 127) ? ISO88592ToWin1250Tab[c & 0x7F] : c; - } - return result; -} - - -/*! Returns the string converted from koi8-r to windows-1251. */ -/* The method was designed initially for translator_cz.h. - It is used for on-line encoding conversion related to conditional - compilation in Unix/MS Windows environments (both use different - encoding). Encoding table got from QT:qtextcodec.cpp - */ -QCString Translator::Koi8RToWindows1251( const QCString & sInput ) -{ - - QCString result(sInput); - int len = sInput.length(); - - const unsigned char * c = (const unsigned char *)(const char*)sInput; - unsigned char *dc = (unsigned char*)(const char*)result; - for( int i=0; i<len; i++ ) { - if ( c[i] > 127 ) - dc[i] = Koi8RToWindows1251Tab[c[i]-128]; - } - return result; -} - - -/*! returns the string converted from Windows-1251 to koi8-r */ -/* See the comments of the Koi8RToWindows1251() method for details. - Encoding table got from QT:qtextcodec.cpp */ -QCString Translator::Windows1251ToKoi8R( const QCString & sInput ) -{ - QCString result(sInput); - int len = sInput.length(); - - const unsigned char * c = (const unsigned char *)(const char*)sInput; - unsigned char *dc = (unsigned char*)(const char*)result; - for( int i=0; i<len; i++ ) { - if ( c[i] > 127 ) - dc[i] = Windows1251ToKoi8RTab[c[i]-128]; - } - return result; -} - -/*! returns the caracter converted from hankaku-kana to zenkakukana. - Thanks Yongmao Ni http://alfin.mine.utsunomiya-u.ac.jp/~niy/algo/ */ -unsigned int hankaku2zen(int hankaku) -{ - static unsigned int z[64] = { - 0x2121,0x2123,0x2156,0x2157,0x2122,0x2126,0x2572,0x2521, - 0x2523,0x2525,0x2527,0x2529,0x2563,0x2565,0x2567,0x2543, - 0x213c,0x2522,0x2524,0x2526,0x2528,0x252a,0x252b,0x252d, - 0x252f,0x2531,0x2533,0x2535,0x2537,0x2539,0x253b,0x253d, - 0x253f,0x2541,0x2544,0x2546,0x2548,0x254a,0x254b,0x254c, - 0x254d,0x254e,0x254f,0x2552,0x2555,0x2558,0x255b,0x255e, - 0x255f,0x2560,0x2561,0x2562,0x2564,0x2566,0x2568,0x2569, - 0x256a,0x256b,0x256c,0x256d,0x256f,0x2573,0x212b,0x212c }; - - if (hankaku < 0xa0 || hankaku > 0xdf) return 0; - return z[hankaku - 0xa0]; -} - -/*! returns the character converted from japaneseEUC to SJIS - Thanks Yongmao Ni http://alfin.mine.utsunomiya-u.ac.jp/~niy/algo/ */ -unsigned int euc2sjis(unsigned int euc) -{ - unsigned int jis; - unsigned int hib, lob; - - if ((euc & 0xff00) == 0x8e00) - jis = hankaku2zen(euc & 0xff); - else jis = euc & ~0x8080; - - hib = (jis >> 8) & 0xff; - lob = jis & 0xff; - lob += (hib & 1) ? 0x1f : 0x7d; - if (lob >= 0x7f) lob++; - hib = ((hib - 0x21) >> 1) + 0x81; - if (hib > 0x9f) hib += 0x40; - - return (hib << 8) | lob; -} - - -/*! returns the string converted from Japanese-EUC to SJIS */ - -QCString Translator::JapaneseEucToSjis( const QCString & sInput ) -{ - QString result; - int len = sInput.length(); - int c1,c2,sj; - - result.setUnicode(0, len); - QChar* uc = (QChar*)result.unicode(); // const_cast - const unsigned char * c = (const unsigned char *)(const char*)sInput; - - for( int i=0; i<len;) - { - c1 = c[i]; - - if( c1 == EOF ) break; - - /* if MSB=0 then the character is ascii */ - if(!( c1 & 0x80)) - { - uc[i] = c[i]; - i=i+1; - } - else - { - c2 = c[i+1]; - if( c2 == EOF ) break; - sj = euc2sjis( (c1 << 8) + c2 ); - uc[i] = sj >> 8; - uc[i+1] = sj & 0xff; - i+=2; - } - } - - return result.latin1(); - -} diff --git a/src/translator.h b/src/translator.h index 4de5da7..49a8135 100644 --- a/src/translator.h +++ b/src/translator.h @@ -1,12 +1,12 @@ /****************************************************************************** * - * + * * * Copyright (C) 1997-2013 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 + * 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. * @@ -23,48 +23,24 @@ /** Abstract base class for all translatable text fragments. */ class Translator { - private: - /* Tables for encoding conversions. */ - static const char Win1250ToISO88592Tab[]; - static const char ISO88592ToWin1250Tab[]; - static const unsigned char Koi8RToWindows1251Tab[128]; - static const unsigned char Windows1251ToKoi8RTab[128]; - - protected: - /*! Returns the string converted from windows-1250 to iso-8859-2. */ - QCString Win1250ToISO88592(const QCString & sInput); - - /*! Returns the string converted from iso-8859-2 to windows-1250. */ - QCString ISO88592ToWin1250(const QCString & sInput); - - /*! Returns the string converted from koi8-r to windows-1251. */ - QCString Koi8RToWindows1251( const QCString & sInput ); - - /*! Returns the string converted from windows-1251 to koi8-r. */ - QCString Windows1251ToKoi8R( const QCString & sInput ); - - /*! Returns the string converted from Japanese-EUC to SJIS. */ - QCString JapaneseEucToSjis( const QCString & sInput ); - public: /*! This method is used to provide warning message that is displayed - * if the user chooses a language whose translation is not up to date. + * if the user chooses a language whose translation is not up to date. * It is implemented by the adapter classes. */ virtual QCString updateNeededMessage() { return ""; } virtual ~Translator() {} - + // Please, have a look at comments inside the translator_en.h file // to learn the meaning of the following methods. The translator_en.h - // file contains the TranslatorEnglish implementation, which is + // file contains the TranslatorEnglish implementation, which is // always up-to-date (by definition). - + // --- Language control methods ------------------- - + virtual QCString idLanguage() = 0; virtual QCString latexLanguageSupportCommand() = 0; - virtual QCString idLanguageCharset() = 0; // --- Language translation methods ------------------- @@ -107,14 +83,14 @@ class Translator virtual QCString trRelatedPagesDescription() = 0; virtual QCString trModulesDescription() = 0; //virtual QCString trNoDescriptionAvailable() = 0; - - // index titles (the project name is prepended for these) + + // index titles (the project name is prepended for these) virtual QCString trDocumentation() = 0; virtual QCString trModuleIndex() = 0; virtual QCString trHierarchicalIndex() = 0; virtual QCString trCompoundIndex() = 0; - virtual QCString trFileIndex() = 0; + virtual QCString trFileIndex() = 0; virtual QCString trModuleDocumentation() = 0; virtual QCString trClassDocumentation() = 0; virtual QCString trFileDocumentation() = 0; @@ -122,21 +98,21 @@ class Translator virtual QCString trPageDocumentation() = 0; virtual QCString trReferenceManual() = 0; virtual QCString trDefines() = 0; - virtual QCString trFuncProtos() = 0; + //virtual QCString trFuncProtos() = 0; virtual QCString trTypedefs() = 0; virtual QCString trEnumerations() = 0; virtual QCString trFunctions() = 0; virtual QCString trVariables() = 0; virtual QCString trEnumerationValues() = 0; virtual QCString trDefineDocumentation() = 0; - virtual QCString trFunctionPrototypeDocumentation() = 0; + //virtual QCString trFunctionPrototypeDocumentation() = 0; virtual QCString trTypedefDocumentation() = 0; virtual QCString trEnumerationTypeDocumentation() = 0; virtual QCString trFunctionDocumentation() = 0; virtual QCString trVariableDocumentation() = 0; virtual QCString trCompounds() = 0; virtual QCString trGeneratedAt(const char *date,const char *projName) = 0; - virtual QCString trWrittenBy() = 0; + //virtual QCString trWrittenBy() = 0; virtual QCString trClassDiagram(const char *clName) = 0; virtual QCString trForInternalUseOnly() = 0; //virtual QCString trReimplementedForInternalReasons() = 0; @@ -153,17 +129,17 @@ class Translator ////////////////////////////////////////////////////////////////////////// // new since 0.49-990307 ////////////////////////////////////////////////////////////////////////// - + virtual QCString trNamespaceList() = 0; virtual QCString trNamespaceListDescription(bool extractAll) = 0; virtual QCString trFriends() = 0; - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 ////////////////////////////////////////////////////////////////////////// - + virtual QCString trRelatedFunctionDocumentation() = 0; - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// @@ -174,7 +150,7 @@ class Translator virtual QCString trFileReference(const char *fileName) = 0; virtual QCString trNamespaceReference(const char *namespaceName) = 0; - + virtual QCString trPublicMembers() = 0; virtual QCString trPublicSlots() = 0; virtual QCString trSignals() = 0; @@ -207,7 +183,7 @@ class Translator virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType, bool single) = 0; - virtual QCString trAlphabeticalList() = 0; + //virtual QCString trAlphabeticalList() = 0; ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 @@ -254,7 +230,7 @@ class Translator ////////////////////////////////////////////////////////////////////////// // new since 1.1.0 ////////////////////////////////////////////////////////////////////////// - + virtual QCString trNote() = 0; virtual QCString trPublicTypes() = 0; virtual QCString trPublicAttribs() = 0; @@ -282,7 +258,7 @@ class Translator virtual QCString trAttention() = 0; virtual QCString trInclByDepGraph() = 0; virtual QCString trSince() = 0; - + ////////////////////////////////////////////////////////////////////////// // new since 1.1.5 ////////////////////////////////////////////////////////////////////////// @@ -290,11 +266,11 @@ class Translator virtual QCString trLegendTitle() = 0; virtual QCString trLegendDocs() = 0; virtual QCString trLegend() = 0; - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.0 ////////////////////////////////////////////////////////////////////////// - + virtual QCString trTest() = 0; virtual QCString trTestList() = 0; @@ -302,7 +278,7 @@ class Translator // new since 1.2.1 ////////////////////////////////////////////////////////////////////////// - virtual QCString trDCOPMethods() = 0; + //virtual QCString trDCOPMethods() = 0; ////////////////////////////////////////////////////////////////////////// // new since 1.2.2 @@ -323,11 +299,11 @@ class Translator virtual QCString trPackages() = 0; //virtual QCString trPackageDocumentation() = 0; virtual QCString trDefineValue() = 0; - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.5 ////////////////////////////////////////////////////////////////////////// - + virtual QCString trBug() = 0; virtual QCString trBugList() = 0; @@ -388,12 +364,12 @@ class Translator * 222 — Thai * 238 — Eastern European * 254 — PC 437 - * 255 — OEM + * 255 — OEM * </pre> */ virtual QCString trRTFCharSet() = 0; virtual QCString trRTFGeneralIndex() = 0; - + // Translation of the word virtual QCString trClass(bool first_capital, bool singular) = 0; @@ -408,7 +384,7 @@ class Translator ////////////////////////////////////////////////////////////////////////// // new since 1.2.7 ////////////////////////////////////////////////////////////////////////// - + virtual QCString trAuthor(bool first_capital, bool singular) = 0; ////////////////////////////////////////////////////////////////////////// @@ -423,7 +399,7 @@ class Translator virtual QCString trImplementedFromList(int numEntries) = 0; virtual QCString trImplementedInList(int numEntries) = 0; - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.16 ////////////////////////////////////////////////////////////////////////// @@ -435,7 +411,7 @@ class Translator ////////////////////////////////////////////////////////////////////////// virtual QCString trDeprecatedList() = 0; - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.18 ////////////////////////////////////////////////////////////////////////// @@ -452,7 +428,7 @@ class Translator virtual QCString trStaticPackageMembers() = 0; virtual QCString trPackageAttribs() = 0; virtual QCString trStaticPackageAttribs() = 0; - + ////////////////////////////////////////////////////////////////////////// // new since 1.3.1 ////////////////////////////////////////////////////////////////////////// @@ -464,7 +440,7 @@ class Translator // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - virtual QCString trSearchForIndex() = 0; + //virtual QCString trSearchForIndex() = 0; virtual QCString trSearchResultsTitle() = 0; virtual QCString trSearchResults(int numDocuments) = 0; virtual QCString trSearchMatches() = 0; @@ -495,14 +471,14 @@ class Translator ////////////////////////////////////////////////////////////////////////// // new since 1.4.6 ////////////////////////////////////////////////////////////////////////// - + virtual QCString trCallerGraph() = 0; virtual QCString trEnumerationValueDocumentation() = 0; ////////////////////////////////////////////////////////////////////////// // new since 1.5.4 ////////////////////////////////////////////////////////////////////////// - + virtual QCString trMemberFunctionDocumentationFortran() = 0; virtual QCString trCompoundListFortran() = 0; virtual QCString trCompoundMembersFortran() = 0; @@ -543,13 +519,13 @@ class Translator // new since 1.6.3 ////////////////////////////////////////////////////////////////////////// - virtual QCString trDirDependency(const char *name) = 0; + //virtual QCString trDirDependency(const char *name) = 0; virtual QCString trFileIn(const char *name) = 0; virtual QCString trIncludesFileIn(const char *name) = 0; virtual QCString trDateTime(int year,int month,int day,int dayOfWeek, int hour,int minutes,int seconds, bool includeTime) = 0; - + ////////////////////////////////////////////////////////////////////////// // new since 1.7.5 ////////////////////////////////////////////////////////////////////////// diff --git a/src/translator_adapter.h b/src/translator_adapter.h index ad89b4b..254876a 100644 --- a/src/translator_adapter.h +++ b/src/translator_adapter.h @@ -161,8 +161,6 @@ class TranslatorAdapter_1_6_3 : public TranslatorAdapter_1_7_5 virtual QCString updateNeededMessage() { return createUpdateNeededMessage(idLanguage(),"release 1.6.3"); } - virtual QCString trDirDependency(const char *name) - { return english.trDirDependency(name); } virtual QCString trFileIn(const char *name) { return english.trFileIn(name); } virtual QCString trIncludesFileIn(const char *name) diff --git a/src/translator_am.h b/src/translator_am.h index d8ab0fd..fd8b1dd 100644 --- a/src/translator_am.h +++ b/src/translator_am.h @@ -1,12 +1,12 @@ /******************************************************************************
*
- *
+ *
*
* Copyright (C) 1997-2013 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
+ * 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.
*
@@ -33,13 +33,7 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 virtual QCString latexLanguageSupportCommand()
{
return "<pre>\\usepackage[latin]{armtex}\n"
- "\\usepackage[armscii8]{inputenc}\n</pre>";
- }
-
- /*! return the language charset. This will be used for the HTML output */
- virtual QCString idLanguageCharset()
- {
- return "utf-8";
+ "\\usepackage[armscii8]{inputenc}\n</pre>";
}
// --- Language translation methods -------------------
@@ -132,7 +126,7 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 // quick reference sections
- /*! This is put above each page as a link to the list of all groups of
+ /*! This is put above each page as a link to the list of all groups of
* compounds or files (see the \\group command).
*/
virtual QCString trModules()
@@ -178,11 +172,11 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
- return "Գլոբալներ";
+ return "Գլոբալներ";
}
else
{
- return "Ֆայլի անդամներ";
+ return "Ֆայլի անդամներ";
}
}
@@ -291,26 +285,26 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 virtual QCString trModulesDescription()
{ return "Բոլոր մոդուլների ցուցակը."; }
- // index titles (the project name is prepended for these)
+ // index titles (the project name is prepended for these)
/*! This is used in HTML as the title of index.html. */
virtual QCString trDocumentation()
{ return " - Փաստագրություն"; }
- /*! This is used in LaTeX as the title of the chapter with the
+ /*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
*/
virtual QCString trModuleIndex()
{ return "Մոդուլներ"; }
- /*! This is used in LaTeX as the title of the chapter with the
+ /*! This is used in LaTeX as the title of the chapter with the
* class hierarchy.
*/
virtual QCString trHierarchicalIndex()
{ return "Դասակարգումներ"; }
- /*! This is used in LaTeX as the title of the chapter with the
+ /*! This is used in LaTeX as the title of the chapter with the
* annotated compound index.
*/
virtual QCString trCompoundIndex()
@@ -374,43 +368,37 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 virtual QCString trReferenceManual()
{ return "Հղումների ձեռնարկ"; }
- /*! This is used in the documentation of a file as a header before the
+ /*! This is used in the documentation of a file as a header before the
* list of defines
*/
virtual QCString trDefines()
{ return "Մակրոսներ"; }
- /*! This is used in the documentation of a file as a header before the
- * list of function prototypes
- */
- virtual QCString trFuncProtos()
- { return "Ֆունկցիաների նախատիպեր"; }
-
- /*! This is used in the documentation of a file as a header before the
+ /*! This is used in the documentation of a file as a header before the
* list of typedefs
*/
virtual QCString trTypedefs()
{ return "Տիպի սահմանումներ (typedef)"; }
- /*! This is used in the documentation of a file as a header before the
+ /*! This is used in the documentation of a file as a header before the
* list of enumerations
*/
virtual QCString trEnumerations()
{ return "Համարակալումներ"; }
- /*! This is used in the documentation of a file as a header before the
+ /*! This is used in the documentation of a file as a header before the
* list of (global) functions
*/
virtual QCString trFunctions()
{ return "Ֆունկցիաներ"; }
- /*! This is used in the documentation of a file as a header before the
+ /*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
virtual QCString trVariables()
{ return "Փոփոխականներ"; }
- /*! This is used in the documentation of a file as a header before the
+ /*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
virtual QCString trEnumerationValues()
@@ -422,37 +410,31 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 virtual QCString trDefineDocumentation()
{ return "Մակրոսներ"; }
- /*! This is used in the documentation of a file/namespace before the list
- * of documentation blocks for function prototypes
- */
- virtual QCString trFunctionPrototypeDocumentation()
- { return "Ֆունկցիաների նախատիպեր"; }
-
- /*! This is used in the documentation of a file/namespace before the list
+ /*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
virtual QCString trTypedefDocumentation()
{ return "Տիպի սահմանումներ (typedef)"; }
- /*! This is used in the documentation of a file/namespace before the list
+ /*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration types
*/
virtual QCString trEnumerationTypeDocumentation()
{ return "Համարակալման տիպեր"; }
- /*! This is used in the documentation of a file/namespace before the list
+ /*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for functions
*/
virtual QCString trFunctionDocumentation()
{ return "Ֆունկցիաներ"; }
- /*! This is used in the documentation of a file/namespace before the list
+ /*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for variables
*/
virtual QCString trVariableDocumentation()
{ return "Փոփոխականներ"; }
- /*! This is used in the documentation of a file/namespace/group before
+ /*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds
*/
virtual QCString trCompounds()
@@ -462,31 +444,24 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 return "Տվյալների կառուցվածք";
}
else
- {
+ {
return "Դասեր";
}
-
}
- /*! This is used in the documentation of a group before the list of
+ /*! This is used in the documentation of a group before the list of
* links to documented files
*/
- /*! This is used in the standard footer of each page and indicates when
- * the page was generated
+ /*! This is used in the standard footer of each page and indicates when
+ * the page was generated
*/
virtual QCString trGeneratedAt(const char *date,const char *projName)
- {
+ {
QCString result=(QCString)"Ստեղծվել է "+date;
if (projName) result+=projName+QCString(" -ի համար,");
result+=(QCString)" հետևյալ համակարգով.";
return result;
}
- /*! This is part of the sentence used in the standard footer of each page.
- */
- virtual QCString trWrittenBy()
- {
- return "Հեղինակ - ";
- }
/*! this text is put before a class diagram */
virtual QCString trClassDiagram(const char *clName)
@@ -529,11 +504,11 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 /*! this text is used in the title page of a LaTeX document. */
virtual QCString trGeneratedBy()
{ return "Ստեղծված է հետևյալ համակարգի կողմից"; }
-
+
//////////////////////////////////////////////////////////////////////////
-// new since 0.49-990307
+// new since 0.49-990307
//////////////////////////////////////////////////////////////////////////
-
+
/*! used as the title of page containing all the index of all namespaces. */
virtual QCString trNamespaceList()
{ return "Անունների տարածությունների ցուցակ"; }
@@ -556,13 +531,13 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 //////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
//////////////////////////////////////////////////////////////////////////
-
+
/*! used in the class documentation as a header before the list of all
- * related classes
+ * related classes
*/
virtual QCString trRelatedFunctionDocumentation()
{ return "Դասի ընկերներ և կապված ֆունկցիաներ"; }
-
+
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
//////////////////////////////////////////////////////////////////////////
@@ -574,7 +549,7 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 {
QCString result=(QCString)clName;
if (isTemplate)
- {
+ {
switch(compType)
{
case ClassDef::Class: result+=" Դասի"; break;
@@ -618,7 +593,7 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 result+=" անունների տարածություններ";
return result;
}
-
+
virtual QCString trPublicMembers()
{ return "Բաց անդամ ֆունկցիաներ"; }
virtual QCString trPublicSlots()
@@ -639,7 +614,7 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 { return "Փակ սլոթեր"; }
virtual QCString trStaticPrivateMembers()
{ return "Փակ ստատիկ անդամ ֆունկցիաներ"; }
-
+
/*! this function is used to produce a comma-separated list of items.
* use generateMarker(i) to indicate where item i should be put.
*/
@@ -648,23 +623,23 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 QCString result;
int i;
// the inherits list contain `numEntries' classes
- for (i=0;i<numEntries;i++)
+ for (i=0;i<numEntries;i++)
{
// use generateMarker to generate placeholders for the class links!
- result+=generateMarker(i); // generate marker for entry i in the list
+ result+=generateMarker(i); // generate marker for entry i in the list
// (order is left to right)
-
+
if (i!=numEntries-1) // not the last entry, so we need a separator
{
- if (i<numEntries-2) // not the fore last entry
+ if (i<numEntries-2) // not the fore last entry
result+=", ";
else // the fore last entry
result+=" և ";
}
}
- return result;
+ return result;
}
-
+
/*! used in class documentation to produce a list of base classes,
* if class diagrams are disabled.
*/
@@ -681,7 +656,7 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 return "Ժառանգորդ դասեր - "+trWriteList(numEntries)+":";
}
- /*! used in member documentation blocks to produce a list of
+ /*! used in member documentation blocks to produce a list of
* members that are hidden by this one.
*/
virtual QCString trReimplementedFromList(int numEntries)
@@ -708,14 +683,14 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 if (!extractAll) result+="փաստագրված ";
result+="անունների տարածության անդամների ցուցակը` "
"հղումներով դեպի ";
- if (extractAll)
+ if (extractAll)
result+="բոլոր անդամների անունների տարածության փաստագրությունը.";
- else
+ else
result+="անունների տարածությունը, որին նրանք պատկանում են.";
return result;
}
- /*! This is used in LaTeX as the title of the chapter with the
+ /*! This is used in LaTeX as the title of the chapter with the
* index of all namespaces.
*/
virtual QCString trNamespaceIndex()
@@ -746,7 +721,7 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 */
virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
bool single)
- {
+ {
QCString result = (QCString)"Այս ";
switch(compType)
{
@@ -764,12 +739,6 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 return result;
}
- /*! This is in the (quick) index as a link to the alphabetical compound
- * list.
- */
- virtual QCString trAlphabeticalList()
- { return "Այբբենական ցուցակ"; }
-
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////
@@ -783,7 +752,7 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 virtual QCString trMainPage()
{ return "Գլխավոր էջ"; }
- /*! This is used in references to page that are put in the LaTeX
+ /*! This is used in references to page that are put in the LaTeX
* documentation. It should be an abbreviation of the word page.
*/
virtual QCString trPageAbbreviation()
@@ -828,7 +797,7 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 /*! header that is put before the list of constructor/destructors. */
virtual QCString trConstructorDocumentation()
{
- return "Կառուցիչներ";
+ return "Կառուցիչներ";
}
/*! Used in the file documentation to point to the corresponding sources. */
virtual QCString trGotoSourceCode()
@@ -885,7 +854,7 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 //////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
-
+
virtual QCString trNote()
{
return "Նշում";
@@ -978,7 +947,7 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 {
return "Սկսած";
}
-
+
//////////////////////////////////////////////////////////////////////////
// new since 1.1.5
//////////////////////////////////////////////////////////////////////////
@@ -988,12 +957,12 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 {
return "Լեգենդ";
}
- /*! page explaining how the dot graph's should be interpreted
+ /*! page explaining how the dot graph's should be interpreted
* The %A in the text below are to prevent link to classes called "A".
*/
virtual QCString trLegendDocs()
{
- return
+ return
"Այս էջը նկարագրում է, թե ինչպես մեկնաբանել doxygen-ի ստեղծած գրաֆները:<p>\n"
"Դիտարկենք հետևյալ օրինակը.\n"
"\\code\n"
@@ -1059,7 +1028,7 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 //////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////
-
+
/*! Used as a marker that is put before a test item */
virtual QCString trTest()
{
@@ -1072,16 +1041,6 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 }
//////////////////////////////////////////////////////////////////////////
-// new since 1.2.1
-//////////////////////////////////////////////////////////////////////////
-
- /*! Used as a section header for KDE-2 IDL methods */
- virtual QCString trDCOPMethods()
- {
- return "DCOP անդամ ֆունկցիաներ";
- }
-
-//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////
@@ -1141,7 +1100,7 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 //////////////////////////////////////////////////////////////////////////
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////
-
+
/*! Used as a marker that is put before a \\bug item */
virtual QCString trBug()
{
@@ -1173,15 +1132,15 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 }
/*! This is used for translation of the word that will possibly
- * be followed by a single name or by a list of names
+ * be followed by a single name or by a list of names
* of the category.
*/
virtual QCString trClass(bool first_capital, bool singular)
- {
+ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
QCString result((first_capital ? "Տվյալների կառուցվածք" : "տվյալների կառուցվածք"));
- return result;
+ return result;
}
else
{
@@ -1192,69 +1151,69 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 }
/*! This is used for translation of the word that will possibly
- * be followed by a single name or by a list of names
+ * be followed by a single name or by a list of names
* of the category.
*/
virtual QCString trFile(bool first_capital, bool singular)
- {
+ {
QCString result((first_capital ? "Ֆայլ" : "ֆայլ"));
if (!singular) result+="եր";
- return result;
+ 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
+ * be followed by a single name or by a list of names
* of the category.
*/
virtual QCString trNamespace(bool first_capital, bool singular)
- {
+ {
QCString result((first_capital ? "Անունների տարածություն" : "անունների տարածություն"));
if (!singular) result+="ներ";
- return result;
+ 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
+ * be followed by a single name or by a list of names
* of the category.
*/
virtual QCString trGroup(bool first_capital, bool singular)
- {
+ {
QCString result((first_capital ? "Խ" : "խ"));
result+=(singular ? "ումբ" : "մբեր");
- return result;
+ 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
+ * be followed by a single name or by a list of names
* of the category.
*/
virtual QCString trPage(bool first_capital, bool singular)
- {
+ {
QCString result((first_capital ? "Էջ" : "էջ"));
if (!singular) result+="եր";
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
+ * be followed by a single name or by a list of names
* of the category.
*/
virtual QCString trMember(bool first_capital, bool singular)
- {
+ {
QCString result((first_capital ? "Անդամ" : "անդամ"));
if (!singular) result+="ներ";
- return result;
+ 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
+ * be followed by a single name or by a list of names
* of the category.
*/
virtual QCString trGlobal(bool first_capital, bool singular)
- {
+ {
QCString result((first_capital ? "Գլոբալ" : "գլոբալ"));
if (!singular) result+="ներ";
- return result;
+ return result;
}
//////////////////////////////////////////////////////////////////////////
@@ -1264,7 +1223,7 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 /*! This text is generated when the \\author command is used and
* for the author section in man pages. */
virtual QCString trAuthor(bool first_capital, bool singular)
- {
+ {
QCString result((first_capital ? "Հեղինակ" : "հեղինակ"));
if (!singular) result+="ներ";
return result;
@@ -1285,7 +1244,7 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 // new since 1.2.13
//////////////////////////////////////////////////////////////////////////
- /*! used in member documentation blocks to produce a list of
+ /*! used in member documentation blocks to produce a list of
* members that are implemented by this one.
*/
virtual QCString trImplementedFromList(int numEntries)
@@ -1317,8 +1276,8 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 // new since 1.2.17
//////////////////////////////////////////////////////////////////////////
- /*! Used as the header of the list of item that have been
- * flagged deprecated
+ /*! Used as the header of the list of item that have been
+ * flagged deprecated
*/
virtual QCString trDeprecatedList()
{
@@ -1329,7 +1288,7 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 // new since 1.2.18
//////////////////////////////////////////////////////////////////////////
- /*! Used as a header for declaration section of the events found in
+ /*! Used as a header for declaration section of the events found in
* a C# program
*/
virtual QCString trEvents()
@@ -1349,43 +1308,43 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 /*! Used as a heading for a list of Java class types with package scope.
*/
virtual QCString trPackageTypes()
- {
+ {
return "Փաթեթի տիպեր";
}
- /*! Used as a heading for a list of Java class functions with package
- * scope.
+ /*! Used as a heading for a list of Java class functions with package
+ * scope.
*/
virtual QCString trPackageMembers()
- {
+ {
return "Փաթեթի ֆունկցիաներ";
}
- /*! Used as a heading for a list of static Java class functions with
+ /*! Used as a heading for a list of static Java class functions with
* package scope.
*/
virtual QCString trStaticPackageMembers()
- {
+ {
return "Փաթեթի ստատիկ ֆունկցիաներ";
}
- /*! Used as a heading for a list of Java class variables with package
+ /*! Used as a heading for a list of Java class variables with package
* scope.
*/
virtual QCString trPackageAttribs()
- {
+ {
return "Փաթեթի ատրիբուտներ";
}
- /*! Used as a heading for a list of static Java class variables with
+ /*! Used as a heading for a list of static Java class variables with
* package scope.
*/
virtual QCString trStaticPackageAttribs()
- {
+ {
return "Փաթեթի ստատիկ ատրիբուտներ";
}
-
+
//////////////////////////////////////////////////////////////////////////
// new since 1.3.1
//////////////////////////////////////////////////////////////////////////
- /*! Used in the quick index of a class/file/namespace member list page
+ /*! Used in the quick index of a class/file/namespace member list page
* to link to the unfiltered list of all members.
*/
virtual QCString trAll()
@@ -1402,14 +1361,6 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 // new since 1.3.3
//////////////////////////////////////////////////////////////////////////
- /*! When the search engine is enabled this text is put in the header
- * of each page before the field where one can enter the text to search
- * for.
- */
- virtual QCString trSearchForIndex()
- {
- return "Որոնում";
- }
/*! This string is used as the title for the page listing the search
* results.
*/
@@ -1421,7 +1372,7 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 * text can be different depending on the number of documents found.
* Inside the text you can put the special marker $num to insert
* the number representing the actual number of search results.
- * The @a numDocuments parameter can be either 0, 1 or 2, where the
+ * The @a numDocuments parameter can be either 0, 1 or 2, where the
* value 2 represents 2 or more matches. HTML markup is allowed inside
* the returned string.
*/
@@ -1435,13 +1386,13 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 {
return "Հայտնաբերվել է 1 փաստաթուղթ:";
}
- else
+ else
{
return "Հայտնաբերվել է <b>$num</b> փաստաթուղթ:"
"Փաստաթղթերը դասակարգված են ըստ համապասխանության";
}
}
- /*! This string is put before the list of matched words, for each search
+ /*! This string is put before the list of matched words, for each search
* result. What follows is the list of words that matched the query.
*/
virtual QCString trSearchMatches()
@@ -1482,12 +1433,12 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 virtual QCString trDirectories()
{ return "Ֆայլադրաններ"; }
- /*! This returns a sentences that introduces the directory hierarchy.
+ /*! This returns a sentences that introduces the directory hierarchy.
* and the fact that it is sorted alphabetically per level
*/
virtual QCString trDirDescription()
{ return "Այս ֆայլադարանների հիերարխիան կարգավորված է կոպտորեն, "
- "բայց ոչ ամբողջապես, այբբենական կարգով.";
+ "բայց ոչ ամբողջապես, այբբենական կարգով.";
}
/*! This returns the title of a directory page. The name of the
@@ -1500,10 +1451,10 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 * (\a first_capital) and in sigular or plural form (\a singular).
*/
virtual QCString trDir(bool first_capital, bool singular)
- {
+ {
QCString result((first_capital ? "Ֆայլադարան" : "ֆայլադարան"));
if (!singular) result+="ներ";
- return result;
+ return result;
}
//////////////////////////////////////////////////////////////////////////
@@ -1529,7 +1480,7 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 return "Այս ֆունկցիայի կանչերի գրաֆը.";
}
- /*! This is used in the documentation of a file/namespace before the list
+ /*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration values
*/
virtual QCString trEnumerationValueDocumentation()
@@ -1543,7 +1494,7 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 virtual QCString trMemberFunctionDocumentationFortran()
{ return "Անդամ ֆունցիաներ/ենթածրագրեր"; }
- /*! This is put above each page as a link to the list of annotated data types (Fortran). */
+ /*! This is put above each page as a link to the list of annotated data types (Fortran). */
virtual QCString trCompoundListFortran()
{ return "Տվյալների տիպերի ցուցակը"; }
@@ -1564,18 +1515,18 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 result+="փաստագրված ";
}
result+="տվյալների տիպերի անդամների ցուցակը` հղումներով դեպի ";
- if (!extractAll)
+ if (!extractAll)
{
result+="բոլոր անդամների տվյալների կառուցվածքի փաստագրությունը";
}
- else
+ else
{
result+="տվյալների տիպերը, որոնց նրանք պատկանում են";
}
return result;
}
- /*! This is used in LaTeX as the title of the chapter with the
+ /*! This is used in LaTeX as the title of the chapter with the
* annotated compound index (Fortran).
*/
virtual QCString trCompoundIndexFortran()
@@ -1587,24 +1538,24 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 virtual QCString trTypeDocumentation()
{ return "Տվյալների տիպեր"; }
- /*! This is used in the documentation of a file as a header before the
+ /*! This is used in the documentation of a file as a header before the
* list of (global) subprograms (Fortran).
*/
virtual QCString trSubprograms()
{ return "Ֆունկցիաներ/ենթածրագրեր"; }
- /*! This is used in the documentation of a file/namespace before the list
+ /*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for subprograms (Fortran)
*/
virtual QCString trSubprogramDocumentation()
{ return "Ֆունկցիաներ/ենթածրագրեր"; }
- /*! This is used in the documentation of a file/namespace/group before
+ /*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds (Fortran)
*/
virtual QCString trDataTypes()
{ return "Տվյալների տիպեր"; }
-
+
/*! used as the title of page containing all the index of all modules (Fortran). */
virtual QCString trModulesList()
{ return "Մոդուլների ցուցակ"; }
@@ -1624,7 +1575,7 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 bool isTemplate)
{
QCString result=(QCString)clName;
- if (!isTemplate)
+ if (!isTemplate)
{
switch(compType)
{
@@ -1660,43 +1611,43 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 {
return QCString("Մոդուլ ") + namespaceName;
}
-
+
/*! This is put above each page as a link to all members of modules. (Fortran) */
virtual QCString trModulesMembers()
{ return "Մոդուլի անդամներ"; }
/*! This is an introduction to the page with all modules members (Fortran) */
virtual QCString trModulesMemberDescription(bool extractAll)
- {
+ {
QCString result="Մոդուլի բոլոր ";
if (!extractAll) result+="փաստագրված ";
result+="անդամների ցուցակը` հղումներով դեպի ";
- if (extractAll)
+ if (extractAll)
{
result+="բոլոր անդամների փաստագրությունները.";
}
- else
+ else
{
result+="մոդուլները, որոնց նրանք պատկանում են.";
}
return result;
}
- /*! This is used in LaTeX as the title of the chapter with the
+ /*! This is used in LaTeX as the title of the chapter with the
* index of all modules (Fortran).
*/
virtual QCString trModulesIndex()
{ return "Մոդուլներ"; }
-
+
/*! This is used for translation of the word that will possibly
- * be followed by a single name or by a list of names
+ * 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 ? "Մոդուլ" : "մոդուլ"));
- if (!singular) result+="ներ";
- return result;
+ if (!singular) result+="ներ";
+ 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.
@@ -1722,24 +1673,24 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 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
+ * 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 ? "Տիպ" : "տիպ"));
if (!singular) result+="եր";
- return result;
+ 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
+ * 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 ? "Ե" : "ե"));
- if (singular) result+="նթածրագիր"; else result+="նթածրագրեր";
- return result;
+ if (singular) result+="նթածրագիր"; else result+="նթածրագրեր";
+ return result;
}
/*! C# Type Constraint list */
@@ -1785,12 +1736,6 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 // new since 1.6.3 (missing items for the directory pages)
//////////////////////////////////////////////////////////////////////////
- /*! introduction text for the directory dependency graph */
- virtual QCString trDirDependency(const char *name)
- {
- return (QCString)name + " -ի կախվածությունների գծագիր";
- }
-
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the first column mentions the
* source file that has a relation to another file.
diff --git a/src/translator_ar.h b/src/translator_ar.h index 89be422..143170d 100644 --- a/src/translator_ar.h +++ b/src/translator_ar.h @@ -1,12 +1,12 @@ /****************************************************************************** * - * + * * * Copyright (C) 1997-2013 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 + * 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. * @@ -21,7 +21,7 @@ * Please send your comments on this translation to moazreyad@yahoo.com * * Note : consider this file as Beta version for testing Arabic output with Doxygen. - * + * * Revision history : * * 6/2006 : Created initial version of Arabic translation. @@ -39,19 +39,19 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 public: // --- Language control methods ------------------- - - /*! Used for identification of the language. The identification - * should not be translated. It should be replaced by the name + + /*! Used for identification of the language. The identification + * should not be translated. It should be replaced by the name * of the language in English using lower-case characters only - * (e.g. "czech", "japanese", "russian", etc.). It should be equal to + * (e.g. "czech", "japanese", "russian", etc.). It should be equal to * the identification used in language.cpp. */ virtual QCString idLanguage() { return "arabic"; } - - /*! Used to get the LaTeX command(s) for the language support. + + /*! Used to get the LaTeX command(s) for the language support. * This method should return string with commands that switch - * LaTeX to the desired language. For example + * LaTeX to the desired language. For example * <pre>"\\usepackage[german]{babel}\n" * </pre> * or @@ -59,7 +59,7 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 * "\\usepackage[latin2]{inputenc}\n" * "\\usepackage[T1]{fontenc}\n" * </pre> - * + * * The English LaTeX does not use such commands. Because of this * the empty string is returned in this implementation. */ @@ -68,12 +68,6 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 return ""; } - /*! 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. */ @@ -91,30 +85,30 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 /*! header that is put before the list of typedefs. */ virtual QCString trMemberTypedefDocumentation() { return "توثيق تعريفات النوع الأعضاء"; } - + /*! header that is put before the list of enumerations. */ virtual QCString trMemberEnumerationDocumentation() { return "توثيق العدديات الأعضاء"; } - + /*! header that is put before the list of member functions. */ virtual QCString trMemberFunctionDocumentation() { return "توثيق الدوال الأعضاء"; } - + /*! header that is put before the list of member attributes. */ virtual QCString trMemberDataDocumentation() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "توثيق الحقل"; + return "توثيق الحقل"; } else { - return "توثيق البيان العضو"; + return "توثيق البيان العضو"; } } /*! this is the text of a link put after brief descriptions. */ - virtual QCString trMore() + virtual QCString trMore() { return "المزيد ..."; } /*! put in the class documentation */ @@ -132,54 +126,54 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 /*! this is the remainder of the sentence after the class name */ virtual QCString trIncludingInheritedMembers() { return ", متضمنة كل الأعضاء الموروثة"; } - + /*! this is put at the author sections at the bottom of man pages. * parameter s is name of the project name. */ virtual QCString trGeneratedAutomatically(const char *s) { QCString result="تم تكوينها آليا بواسطة Doxygen"; if (s) result+=(QCString)" لـ "+s; - result+=" من ملفات المصدر."; + result+=" من ملفات المصدر."; return result; } /*! put after an enum name in the list of all members */ virtual QCString trEnumName() { return "الإسم العددي"; } - + /*! put after an enum value in the list of all members */ virtual QCString trEnumValue() { return "القيمة العددية"; } - + /*! put after an undocumented member in the list of all members */ virtual QCString trDefinedIn() { return "معرف في"; } // quick reference sections - /*! This is put above each page as a link to the list of all groups of + /*! This is put above each page as a link to the list of all groups of * compounds or files (see the \\group command). */ virtual QCString trModules() { return "مكونات"; } - + /*! This is put above each page as a link to the class hierarchy */ virtual QCString trClassHierarchy() { return "الشكل الهرمي للفئة"; } - + /*! This is put above each page as a link to the list of annotated classes */ virtual QCString trCompoundList() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "هياكل البيانات"; } else { - return "قائمة الفئات"; + return "قائمة الفئات"; } } - + /*! This is put above each page as a link to the list of documented files */ virtual QCString trFileList() { return "قائمة الملفات"; } @@ -190,27 +184,27 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 /*! This is put above each page as a link to all members of compounds. */ virtual QCString trCompoundMembers() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "حقول البيانات"; + return "حقول البيانات"; } else { - return "أعضاء الفئة"; + return "أعضاء الفئة"; } } /*! This is put above each page as a link to all members of files. */ virtual QCString trFileMembers() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "العوام"; + return "العوام"; } else { - return "أعضاء الملف"; + return "أعضاء الملف"; } } @@ -243,16 +237,16 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 /*! This is an introduction to the annotated compound list. */ virtual QCString trCompoundListDescription() - { - + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "هذه هي هياكل البيانات مع وصف مختصر:"; + return "هذه هي هياكل البيانات مع وصف مختصر:"; } else { return "هذه هي الفئات ، البناءات ،" - "الإتحادات والواجهات مع وصف مختصر:"; + "الإتحادات والواجهات مع وصف مختصر:"; } } @@ -260,7 +254,7 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 virtual QCString trCompoundMembersDescription(bool extractAll) { QCString result="هذه قائمة بكل "; - + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { result+="حقول البناءات والإتحادات"; @@ -274,7 +268,7 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 result+=" الموثقة "; } result+=" مع وصلات إلى "; - if (!extractAll) + if (!extractAll) { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { @@ -285,7 +279,7 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 result+="توثيق الفئة لكل عضو:"; } } - else + else { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { @@ -304,7 +298,7 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 { QCString result="Here is a list of all "; if (!extractAll) result+="documented "; - + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { result+="functions, variables, defines, enums, and typedefs"; @@ -314,9 +308,9 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 result+="file members"; } result+=" with links to "; - if (extractAll) + if (extractAll) result+="the files they belong to:"; - else + else result+="the documentation:"; return result; } @@ -338,49 +332,49 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 { return "هذه قائمة بكل المكونات:"; } /*! This sentences is used in the annotated class/file lists if no brief - * description is given. + * description is given. */ virtual QCString trNoDescriptionAvailable() { return "لا يوجد وصف متاح"; } - - // index titles (the project name is prepended for these) + + // index titles (the project name is prepended for these) /*! This is used in HTML as the title of index.html. */ virtual QCString trDocumentation() { return "التوثيق"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all groups. */ virtual QCString trModuleIndex() { return "فهرس المكونات"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * class hierarchy. */ virtual QCString trHierarchicalIndex() { return "الفهرس الهرمي"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index. */ virtual QCString trCompoundIndex() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { + { return "فهرس هيكل البيانات"; } else { - return "فهرس الفئة"; + return "فهرس الفئة"; } } /*! This is used in LaTeX as the title of the chapter with the * list of all files. */ - virtual QCString trFileIndex() + virtual QCString trFileIndex() { return "فهرس الملفات"; } /*! This is used in LaTeX as the title of the chapter containing @@ -393,14 +387,14 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 * the documentation of all classes, structs and unions. */ virtual QCString trClassDocumentation() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "فهرس هيكل البيانات"; + return "فهرس هيكل البيانات"; } else { - return "فهرس الفئة"; + return "فهرس الفئة"; } } @@ -425,129 +419,111 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 /*! This is used in LaTeX as the title of the document */ virtual QCString trReferenceManual() { return "الكتيب المرجعي"; } - - /*! This is used in the documentation of a file as a header before the + + /*! This is used in the documentation of a file as a header before the * list of defines */ virtual QCString trDefines() { return "التعريفات"; } - /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "Function Prototypes"; } - - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() { return "Typedefs"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of enumerations */ virtual QCString trEnumerations() { return "العدديات"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) functions */ virtual QCString trFunctions() { return "الدوال"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trVariables() { return "المتغيرات"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trEnumerationValues() { return "Enumerator"; } - + /*! This is used in the documentation of a file before the list of * documentation blocks for defines */ virtual QCString trDefineDocumentation() { return "Define Documentation"; } - /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Function Prototype Documentation"; } - - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() { return "Typedef Documentation"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration types */ virtual QCString trEnumerationTypeDocumentation() { return "Enumeration Type Documentation"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration values */ virtual QCString trEnumerationValueDocumentation() { return "Enumerator Documentation"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for functions */ virtual QCString trFunctionDocumentation() { return "توثيق الدالة"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for variables */ virtual QCString trVariableDocumentation() { return "توثيق المتغير"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds */ virtual QCString trCompounds() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "هياكل البيانات"; + return "هياكل البيانات"; } else { - return "الفئات"; + return "الفئات"; } } - /*! This is used in the standard footer of each page and indicates when - * the page was generated + /*! This is used in the standard footer of each page and indicates when + * the page was generated */ virtual QCString trGeneratedAt(const char *date,const char *projName) - { + { QCString result=(QCString)"Generated on "+date; if (projName) result+=(QCString)" for "+projName; result+=(QCString)" by"; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return "كتب بواسطة"; - } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) { return (QCString)"Inheritance diagram for "+clName+":"; } - + /*! this text is generated when the \\internal command is used. */ virtual QCString trForInternalUseOnly() { return "للاستخدام الداخلي فقط."; } @@ -587,7 +563,7 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 /*! this text is generated when the \\exception command is used. */ virtual QCString trExceptions() { return "استثناءات"; } - + /*! this text is used in the title page of a LaTeX document. */ virtual QCString trGeneratedBy() { return "انتجت بواسطة"; } @@ -595,7 +571,7 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 ////////////////////////////////////////////////////////////////////////// // new since 0.49-990307 ////////////////////////////////////////////////////////////////////////// - + /*! used as the title of page containing all the index of all namespaces. */ virtual QCString trNamespaceList() { return "قائمة مجالات الأسماء"; } @@ -614,17 +590,17 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 */ virtual QCString trFriends() { return "Friends"; } - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 ////////////////////////////////////////////////////////////////////////// - + /*! used in the class documentation as a header before the list of all - * related classes + * related classes */ virtual QCString trRelatedFunctionDocumentation() { return "Friends And Related Function Documentation"; } - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// @@ -655,7 +631,7 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 virtual QCString trFileReference(const char *fileName) { QCString result=fileName; - result+=" File Reference"; + result+=" File Reference"; return result; } @@ -666,7 +642,7 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 result+=" Namespace Reference"; return result; } - + virtual QCString trPublicMembers() { return "Public Member Functions"; } virtual QCString trPublicSlots() @@ -687,7 +663,7 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 { return "Private Slots"; } virtual QCString trStaticPrivateMembers() { return "Static Private Member Functions"; } - + /*! this function is used to produce a comma-separated list of items. * use generateMarker(i) to indicate where item i should be put. */ @@ -696,23 +672,23 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 QCString result; int i; // the inherits list contain `numEntries' classes - for (i=0;i<numEntries;i++) + for (i=0;i<numEntries;i++) { // use generateMarker to generate placeholders for the class links! - result+=generateMarker(i); // generate marker for entry i in the list + result+=generateMarker(i); // generate marker for entry i in the list // (order is left to right) - + if (i!=numEntries-1) // not the last entry, so we need a separator { - if (i<numEntries-2) // not the fore last entry + if (i<numEntries-2) // not the fore last entry result+=", "; else // the fore last entry result+=", and "; } } - return result; + return result; } - + /*! used in class documentation to produce a list of base classes, * if class diagrams are disabled. */ @@ -729,7 +705,7 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 return "Inherited by "+trWriteList(numEntries)+"."; } - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are hidden by this one. */ virtual QCString trReimplementedFromList(int numEntries) @@ -751,17 +727,17 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 /*! This is an introduction to the page with all namespace members */ virtual QCString trNamespaceMemberDescription(bool extractAll) - { + { QCString result="Here is a list of all "; if (!extractAll) result+="documented "; result+="namespace members with links to "; - if (extractAll) + if (extractAll) result+="the namespace documentation for each member:"; - else + else result+="the namespaces they belong to:"; return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all namespaces. */ virtual QCString trNamespaceIndex() @@ -811,12 +787,6 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "قائمة أبجدية"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -830,7 +800,7 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 virtual QCString trMainPage() { return "الصفحة الرئيسية"; } - /*! This is used in references to page that are put in the LaTeX + /*! This is used in references to page that are put in the LaTeX * documentation. It should be an abbreviation of the word page. */ virtual QCString trPageAbbreviation() @@ -879,7 +849,7 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 /*! header that is put before the list of constructor/destructors. */ virtual QCString trConstructorDocumentation() { - return "توثيق دوال البناء والهدم"; + return "توثيق دوال البناء والهدم"; } /*! Used in the file documentation to point to the corresponding sources. */ virtual QCString trGotoSourceCode() @@ -936,7 +906,7 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 ////////////////////////////////////////////////////////////////////////// // new since 1.1.0 ////////////////////////////////////////////////////////////////////////// - + virtual QCString trNote() { return "ملاحظات"; @@ -1025,7 +995,7 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 { return "منذ"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.1.5 ////////////////////////////////////////////////////////////////////////// @@ -1035,12 +1005,12 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 { return "Graph Legend"; } - /*! page explaining how the dot graph's should be interpreted + /*! page explaining how the dot graph's should be interpreted * The %A in the text below are to prevent link to classes called "A". */ virtual QCString trLegendDocs() { - return + return "This page explains how to interpret the graphs that are generated " "by doxygen.<p>\n" "Consider the following example:\n" @@ -1105,11 +1075,11 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 { return "legend"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.0 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a test item */ virtual QCString trTest() { @@ -1122,16 +1092,6 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "DCOP Member Functions"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1180,7 +1140,7 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 /*! The description of the package index page */ virtual QCString trPackageListDescription() { - return "هذه هي الحزم مع وصف مختصر لكل منها )إن وجد( :"; + return "هذه هي الحزم مع وصف مختصر لكل منها )إن وجد( :"; } /*! The link name in the Quick links header for each page */ virtual QCString trPackages() @@ -1197,11 +1157,11 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 { return "القيمة:"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.5 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a \\bug item */ virtual QCString trBug() { @@ -1217,9 +1177,9 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 // new since 1.2.6 ////////////////////////////////////////////////////////////////////////// - /*! Used as ansicpg for RTF file - * - * The following table shows the correlation of Charset name, Charset Value and + /*! Used as ansicpg for RTF file + * + * The following table shows the correlation of Charset name, Charset Value and * <pre> * Codepage number: * Charset Name Charset Value(hex) Codepage number @@ -1240,15 +1200,15 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 * GB2313_CHARSET 134 (x86) 936 * CHINESEBIG5_CHARSET 136 (x88) 950 * </pre> - * + * */ virtual QCString trRTFansicp() { return "1256"; } - - /*! Used as ansicpg for RTF fcharset + + /*! Used as ansicpg for RTF fcharset * \see trRTFansicp() for a table of possible values. */ virtual QCString trRTFCharSet() @@ -1261,93 +1221,93 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 { return "فهرس"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trClass(bool /*first_capital*/, bool singular) - { + { QCString result("فئة"); if (!singular) result="فئات"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trFile(bool /*first_capital*/, bool singular) - { + { QCString result("ملف"); if (!singular) result="ملفات"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trNamespace(bool /*first_capital*/, bool singular) - { + { QCString result("مجال أسماء"); if (!singular) result="مجالات أسماء"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGroup(bool /*first_capital*/, bool singular) - { + { QCString result("مجموعة"); if (!singular) result="مجموعات"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trPage(bool /*first_capital*/, bool singular) - { + { QCString result("صفحة"); if (!singular) result="صفحات"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trMember(bool /*first_capital*/, bool singular) - { + { QCString result("عضو"); if (!singular) result="أعضاء"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trField(bool /*first_capital*/, bool singular) - { + { QCString result("حقل"); if (!singular) result="حقول"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGlobal(bool /*first_capital*/, bool singular) - { + { QCString result("عام"); if (!singular) result="عوام"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1357,10 +1317,10 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 /*! This text is generated when the \\author command is used and * for the author section in man pages. */ virtual QCString trAuthor(bool /*first_capital*/, bool singular) - { + { QCString result("المؤلف"); if (!singular) result="المؤلفون"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1378,7 +1338,7 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 // new since 1.2.13 ////////////////////////////////////////////////////////////////////////// - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are implemented by this one. */ virtual QCString trImplementedFromList(int numEntries) @@ -1410,8 +1370,8 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 // new since 1.2.17 ////////////////////////////////////////////////////////////////////////// - /*! Used as the header of the list of item that have been - * flagged deprecated + /*! Used as the header of the list of item that have been + * flagged deprecated */ virtual QCString trDeprecatedList() { @@ -1422,7 +1382,7 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 // new since 1.2.18 ////////////////////////////////////////////////////////////////////////// - /*! Used as a header for declaration section of the events found in + /*! Used as a header for declaration section of the events found in * a C# program */ virtual QCString trEvents() @@ -1442,43 +1402,43 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 /*! Used as a heading for a list of Java class types with package scope. */ virtual QCString trPackageTypes() - { + { return "أنواع الحزمة"; } - /*! Used as a heading for a list of Java class functions with package - * scope. + /*! Used as a heading for a list of Java class functions with package + * scope. */ virtual QCString trPackageMembers() - { + { return "دوال الحزمة"; } - /*! Used as a heading for a list of static Java class functions with + /*! Used as a heading for a list of static Java class functions with * package scope. */ virtual QCString trStaticPackageMembers() - { + { return "دوال ساكنة للحزمة"; } - /*! Used as a heading for a list of Java class variables with package + /*! Used as a heading for a list of Java class variables with package * scope. */ virtual QCString trPackageAttribs() - { + { return "خصائص الحزمة"; } - /*! Used as a heading for a list of static Java class variables with + /*! Used as a heading for a list of static Java class variables with * package scope. */ virtual QCString trStaticPackageAttribs() - { + { return "خصائص ساكنة للحزمة"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.3.1 ////////////////////////////////////////////////////////////////////////// - /*! Used in the quick index of a class/file/namespace member list page + /*! Used in the quick index of a class/file/namespace member list page * to link to the unfiltered list of all members. */ virtual QCString trAll() @@ -1495,14 +1455,6 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "بحث عن"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1514,7 +1466,7 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 * text can be different depending on the number of documents found. * Inside the text you can put the special marker $num to insert * the number representing the actual number of search results. - * The @a numDocuments parameter can be either 0, 1 or 2, where the + * The @a numDocuments parameter can be either 0, 1 or 2, where the * value 2 represents 2 or more matches. HTML markup is allowed inside * the returned string. */ @@ -1528,13 +1480,13 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 { return "وثيقة مناسبة لما بحثت عنه. <b>1</b> تم العثور على."; } - else + else { return "وثيقة مطابقة لما بحثت عنه <b>$num</b> تم إيجاد ." "وتم ترتيبهم بحيث يكون الأقرب لنتيجة البحث أولا."; } } - /*! This string is put before the list of matched words, for each search + /*! This string is put before the list of matched words, for each search * result. What follows is the list of words that matched the query. */ virtual QCString trSearchMatches() @@ -1575,7 +1527,7 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 virtual QCString trDirectories() { return "الأدلة"; } - /*! This returns a sentences that introduces the directory hierarchy. + /*! This returns a sentences that introduces the directory hierarchy. * and the fact that it is sorted alphabetically per level */ virtual QCString trDirDescription() @@ -1593,10 +1545,10 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6 * (\a first_capital) and in sigular or plural form (\a singular). */ virtual QCString trDir(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Director" : "director")); if (singular) result+="y"; else result+="ies"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// diff --git a/src/translator_br.h b/src/translator_br.h index e67ad9f..b136f59 100644 --- a/src/translator_br.h +++ b/src/translator_br.h @@ -28,7 +28,7 @@ * 20080206: * - Method trTypeContraints() renamed to trTypeConstraints(). * 20071216: - * - New methods since 1.5.4 updated. + * - New methods since 1.5.4 updated. * Previous history removed from this version. */ #ifndef TRANSLATOR_BR_H @@ -62,12 +62,6 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 return "\\usepackage[brazil]{babel}"; } - /*! 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. */ @@ -247,7 +241,7 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 virtual QCString trCompoundMembersDescription(bool extractAll) { QCString result="Esta é a lista de "; - + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { result+="todas as estruturas e campos de uniões "; @@ -411,12 +405,6 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 { return "Definições e Macros"; } /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "Protótipos de Funções"; } - - /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() @@ -453,12 +441,6 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 { return "Definições e macros"; } /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Protótipos das funções"; } - - /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() @@ -507,12 +489,6 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 result+=(QCString)" por"; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return "escrito por"; - } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) @@ -775,12 +751,6 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "Lista Alfabética"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -1079,16 +1049,6 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "Métodos DCOP"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1439,14 +1399,6 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Procurar por"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1485,7 +1437,7 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 { return "Resultados:"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.3.8 ////////////////////////////////////////////////////////////////////////// @@ -1519,7 +1471,7 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 virtual QCString trDirectories() { return "Diretórios"; } - /*! This returns a sentences that introduces the directory hierarchy. + /*! This returns a sentences that introduces the directory hierarchy. * and the fact that it is sorted alphabetically per level */ virtual QCString trDirDescription() @@ -1539,10 +1491,10 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 * (\a first_capital) and in sigular or plural form (\a singular). */ virtual QCString trDir(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Diretório" : "diretório")); if (!singular) result+="s"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// // new since 1.4.1 @@ -1556,7 +1508,7 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 return "Este é um método provido por conveniência. " "Ele difere do método acima apenas na lista de " "argumentos que devem ser utilizados."; - } + } ////////////////////////////////////////////////////////////////////////// // new since 1.4.6 @@ -1568,22 +1520,22 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 return "Este é o diagrama das funções que utilizam esta função:"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration values */ virtual QCString trEnumerationValueDocumentation() { return "Documentação da enumeração"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.5.4 (mainly for Fortran) ////////////////////////////////////////////////////////////////////////// - + /*! header that is put before the list of member subprograms (Fortran). */ virtual QCString trMemberFunctionDocumentationFortran() { return "Documentação de Função Membro/Subrotina"; } - /*! This is put above each page as a link to the list of annotated data types (Fortran). */ + /*! This is put above each page as a link to the list of annotated data types (Fortran). */ virtual QCString trCompoundListFortran() { return "Lista de Tipos de Dados"; } @@ -1601,18 +1553,18 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 QCString result="Esta é a lista de todos os membros "; if (!extractAll) result+="documentados "; result+="dos tipos de dados com links para "; - if (extractAll) + if (extractAll) { result+="a documentação dos tipos de dados para cada membro:"; } - else + else { result+="os tipos de dados a que pertencem:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index (Fortran). */ virtual QCString trCompoundIndexFortran() @@ -1624,24 +1576,24 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 virtual QCString trTypeDocumentation() { return "Documentação dos Tipos de Dados"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) subprograms (Fortran). */ virtual QCString trSubprograms() { return "Funções/Subrotinas"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for subprograms (Fortran) */ virtual QCString trSubprogramDocumentation() { return "Documentação da Função/Subrotina"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds (Fortran) */ virtual QCString trDataTypes() { return "Tipos de Dados"; } - + /*! used as the title of page containing all the index of all modules (Fortran). */ virtual QCString trModulesList() { return "Lista de Módulos"; } @@ -1663,7 +1615,7 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 QCString result = (QCString)"Referência "; if (isTemplate) result+="da Template "; - + switch(compType) { case ClassDef::Class: result+="do Modulo "; break; @@ -1675,54 +1627,54 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 case ClassDef::Exception: result+="da Exceção "; break; default: break; } - result += clName; - + result += clName; + return result; } /*! used as the title of the HTML page of a module (Fortran) */ virtual QCString trModuleReference(const char *namespaceName) { QCString result = "Referência do Módulo "; - result += namespaceName; + result += namespaceName; return result; } - + /*! This is put above each page as a link to all members of modules. (Fortran) */ virtual QCString trModulesMembers() { return "Membros do Módulo"; } /*! This is an introduction to the page with all modules members (Fortran) */ virtual QCString trModulesMemberDescription(bool extractAll) - { + { QCString result="Esta é a lista de todos os membros "; if (!extractAll) result+="documentados "; result+="dos módulos com links para "; - if (extractAll) + if (extractAll) { result+="a documentação dos módulos para cada membro:"; } - else + else { result+="os módulos a que pertencem:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all modules (Fortran). */ virtual QCString trModulesIndex() { return "Índice dos Módulos"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * 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 ? "Modulo" : "modulo")); if (!singular) result+="s"; - return result; + 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. @@ -1743,41 +1695,41 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 case ClassDef::Exception: result+="esta exceção "; break; default: break; } - + result+=" foi gerada a partir do"; - if (single) + if (single) result+=" seguinte arquivo:"; else result+="s seguintes arquivos:"; - + 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 + * 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 ? "Tipo" : "tipo")); if (!singular) result+="s"; - return result; + 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 + * 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 ? "Subprograma" : "subprograma")); if (!singular) result+="s"; - return result; + return result; } /*! C# Type Contraint list */ virtual QCString trTypeConstraints() { return "Restrições do Tipo"; - } + } ////////////////////////////////////////////////////////////////////////// // new since 1.6.0 (mainly for the new search engine) @@ -1818,12 +1770,6 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 // new since 1.6.3 (missing items for the directory pages) ////////////////////////////////////////////////////////////////////////// - /*! introduction text for the directory dependency graph */ - virtual QCString trDirDependency(const char *name) - { - return (QCString)"Grafo de dependência de diretórios para "+name; - } - /*! when clicking a directory dependency label, a page with a * table is shown. The heading for the first column mentions the * source file that has a relation to another file. @@ -1842,7 +1788,7 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 return (QCString)"Inclui arquivo em "+name; } - /** Compiles a date string. + /** Compiles a date string. * @param year Year in 4 digits * @param month Month of the year: 1=January * @param day Day of the Month: 1..31 @@ -1868,7 +1814,7 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 } return sdate; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.7.5 ////////////////////////////////////////////////////////////////////////// @@ -1887,6 +1833,6 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 /*! Header for the graph showing the directory dependencies */ virtual QCString trDirDepGraph(const char *name) - { return QCString("Grafo de dependências do diretório ")+name+":"; } + { return QCString("Grafo de dependências do diretório ")+name+":"; } }; #endif diff --git a/src/translator_ca.h b/src/translator_ca.h index f888dc1..1291a8c 100644 --- a/src/translator_ca.h +++ b/src/translator_ca.h @@ -1,12 +1,12 @@ /****************************************************************************** * - * + * * * Copyright (C) 1997-2013 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 + * 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. * @@ -18,7 +18,7 @@ #ifndef TRANSLATOR_CA_H #define TRANSLATOR_CA_H -/*! +/*! When defining a translator class for the new language, follow the description in the documentation. One of the steps says that you should copy the translator_en.h (this) file to your @@ -45,19 +45,19 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 public: // --- Language control methods ------------------- - - /*! Used for identification of the language. The identification - * should not be translated. It should be replaced by the name + + /*! Used for identification of the language. The identification + * should not be translated. It should be replaced by the name * of the language in English using lower-case characters only - * (e.g. "czech", "japanese", "russian", etc.). It should be equal to + * (e.g. "czech", "japanese", "russian", etc.). It should be equal to * the identification used in language.cpp. */ virtual QCString idLanguage() { return "catalan"; } - - /*! Used to get the LaTeX command(s) for the language support. + + /*! Used to get the LaTeX command(s) for the language support. * This method should return string with commands that switch - * LaTeX to the desired language. For example + * LaTeX to the desired language. For example * <pre>"\\usepackage[german]{babel}\n" * </pre> * or @@ -65,7 +65,7 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 * "\\usepackage[latin2]{inputenc}\n" * "\\usepackage[T1]{fontenc}\n" * </pre> - * + * * The English LaTeX does not use such commands. Because of this * the empty string is returned in this implementation. */ @@ -75,12 +75,6 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 return "\\usepackage[catalan]{babel}\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. */ @@ -98,30 +92,30 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 /*! header that is put before the list of typedefs. */ virtual QCString trMemberTypedefDocumentation() { return "Documentació de les Definicions de Tipus Membre"; } - + /*! header that is put before the list of enumerations. */ virtual QCString trMemberEnumerationDocumentation() { return "Documentació de les Enumeracions Membre"; } - + /*! header that is put before the list of member functions. */ virtual QCString trMemberFunctionDocumentation() { return "Documentació de les Funcions Membre"; } - + /*! header that is put before the list of member attributes. */ virtual QCString trMemberDataDocumentation() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Documentació dels Camps"; + return "Documentació dels Camps"; } else { - return "Documentació de les Dades Membre"; + return "Documentació de les Dades Membre"; } } /*! this is the text of a link put after brief descriptions. */ - virtual QCString trMore() + virtual QCString trMore() { return "Més..."; } /*! put in the class documentation */ @@ -139,77 +133,77 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 /*! this is the remainder of the sentence after the class name */ virtual QCString trIncludingInheritedMembers() { return ", incloent tots els membres heretats."; } - + /*! this is put at the author sections at the bottom of man pages. * parameter s is name of the project name. */ virtual QCString trGeneratedAutomatically(const char *s) { QCString result="Generat automàticament per Doxygen"; if (s) result+=(QCString)" per a "+s; - result+=" a partir del codi font."; + result+=" a partir del codi font."; return result; } /*! put after an enum name in the list of all members */ virtual QCString trEnumName() { return "nom de la enum"; } - + /*! put after an enum value in the list of all members */ virtual QCString trEnumValue() { return "valors de la enum"; } - + /*! put after an undocumented member in the list of all members */ virtual QCString trDefinedIn() { return "definit a"; } // quick reference sections - /*! This is put above each page as a link to the list of all groups of + /*! This is put above each page as a link to the list of all groups of * compounds or files (see the \\group command). */ virtual QCString trModules() { return "Mòduls"; } - + /*! This is put above each page as a link to the class hierarchy */ virtual QCString trClassHierarchy() { return "Jerarquia de Classes"; } - + /*! This is put above each page as a link to the list of annotated classes */ virtual QCString trCompoundList() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "Estructures de Dades"; } else { - return "Llista de Classes"; + return "Llista de Classes"; } } - + /*! This is put above each page as a link to the list of documented files */ virtual QCString trFileList() { return "Llista dels Fitxers"; } /*! This is put above each page as a link to all members of compounds. */ virtual QCString trCompoundMembers() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Camps de Dades"; + return "Camps de Dades"; } else { - return "Membres de Classes"; + return "Membres de Classes"; } } /*! This is put above each page as a link to all members of files. */ virtual QCString trFileMembers() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Globals"; + return "Globals"; } else { @@ -246,16 +240,16 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 /*! This is an introduction to the annotated compound list. */ virtual QCString trCompoundListDescription() - { - + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Aquestes són les estructures de dades acompanyades amb breus descripcions:"; + return "Aquestes són les estructures de dades acompanyades amb breus descripcions:"; } else { return "Aquestes són les classes, estructures, " - "unions i interfícies acompanyades amb breus descripcions:"; + "unions i interfícies acompanyades amb breus descripcions:"; } } @@ -276,7 +270,7 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 result+=" documentats"; } result+=" amb enllaços a "; - if (!extractAll) + if (!extractAll) { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { @@ -287,7 +281,7 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 result+="la documentació de la classe per a cada membre:"; } } - else + else { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { @@ -315,9 +309,9 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 if (!extractAll) result+=" documentats"; } result+=" amb enllaços "; - if (extractAll) + if (extractAll) result+="als fitxers als quals corresponen:"; - else + else result+="a la documentació:"; return result; } @@ -333,45 +327,45 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 /*! This is an introduction to the page with the list of class/file groups */ virtual QCString trModulesDescription() { return "Aquesta és la llista de mòduls:"; } - - // index titles (the project name is prepended for these) + + // index titles (the project name is prepended for these) /*! This is used in HTML as the title of index.html. */ virtual QCString trDocumentation() { return ": Documentació"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all groups. */ virtual QCString trModuleIndex() { return "Índex de Mòduls"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * class hierarchy. */ virtual QCString trHierarchicalIndex() { return "Índex Jeràrquic"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index. */ virtual QCString trCompoundIndex() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { + { return "Índex d'Estructures de Dades"; } else { - return "Índex de Classes"; + return "Índex de Classes"; } } /*! This is used in LaTeX as the title of the chapter with the * list of all files. */ - virtual QCString trFileIndex() + virtual QCString trFileIndex() { return "Índex de Fitxers"; } /*! This is used in LaTeX as the title of the chapter containing @@ -384,14 +378,14 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 * the documentation of all classes, structs and unions. */ virtual QCString trClassDocumentation() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "Documentació de les Estructures de Dades"; } else { - return "Documentació de les Classes"; + return "Documentació de les Classes"; } } @@ -416,93 +410,81 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 /*! This is used in LaTeX as the title of the document */ virtual QCString trReferenceManual() { return "Manual de Referència"; } - - /*! This is used in the documentation of a file as a header before the + + /*! This is used in the documentation of a file as a header before the * list of defines */ virtual QCString trDefines() { return "Definicions"; } - /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "Prototipus de Funcions"; } - - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() { return "Definicions de Tipus"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of enumerations */ virtual QCString trEnumerations() { return "Enumeracions"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) functions */ virtual QCString trFunctions() { return "Funcions"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trVariables() { return "Variables"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trEnumerationValues() { return "Valors de les Enumeracions"; } - + /*! This is used in the documentation of a file before the list of * documentation blocks for defines */ virtual QCString trDefineDocumentation() { return "Documentació de les Definicions"; } - /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Documentació de les Funcions Prototipus"; } - - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() { return "Documentació de les Definicions de Tipus"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration types */ virtual QCString trEnumerationTypeDocumentation() { return "Documentació dels Tipus de les Enumeracions"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for functions */ virtual QCString trFunctionDocumentation() { return "Documentació de les Funcions"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for variables */ virtual QCString trVariableDocumentation() { return "Documentació de les Variables"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds */ virtual QCString trCompounds() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Estructures de Dades"; + return "Estructures de Dades"; } else { @@ -510,29 +492,23 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 } } - /*! This is used in the standard footer of each page and indicates when - * the page was generated + /*! This is used in the standard footer of each page and indicates when + * the page was generated */ virtual QCString trGeneratedAt(const char *date,const char *projName) - { + { QCString result=(QCString)"Generat a "+date; if (projName) result+=(QCString)" per a "+projName; result+=(QCString)" per"; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return "escrit per"; - } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) { return (QCString)"Diagrama d'Herència per a "+clName+":"; } - + /*! this text is generated when the \\internal command is used. */ virtual QCString trForInternalUseOnly() { return "Tan sols per a ús intern."; } @@ -564,7 +540,7 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 /*! this text is generated when the \\exception command is used. */ virtual QCString trExceptions() { return "Excepcions"; } - + /*! this text is used in the title page of a LaTeX document. */ virtual QCString trGeneratedBy() { return "Generat per"; } @@ -572,7 +548,7 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 ////////////////////////////////////////////////////////////////////////// // new since 0.49-990307 ////////////////////////////////////////////////////////////////////////// - + /*! used as the title of page containing all the index of all namespaces. */ virtual QCString trNamespaceList() { return "Llista dels Espais de Noms"; } @@ -591,17 +567,17 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 */ virtual QCString trFriends() { return "Classes Amigues"; } - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 ////////////////////////////////////////////////////////////////////////// - + /*! used in the class documentation as a header before the list of all - * related classes + * related classes */ virtual QCString trRelatedFunctionDocumentation() { return "Documentació de funcions amigues i relacionades"; } - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// @@ -632,7 +608,7 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 virtual QCString trFileReference(const char *fileName) { QCString result="Referència del Fitxer "; - result+=fileName; + result+=fileName; return result; } @@ -643,7 +619,7 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 result+=namespaceName; return result; } - + virtual QCString trPublicMembers() { return "Mètodes públics"; } virtual QCString trPublicSlots() @@ -664,7 +640,7 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 { return "Slots Privats"; } virtual QCString trStaticPrivateMembers() { return "Mètodes Privats Estàtics"; } - + /*! this function is used to produce a comma-separated list of items. * use generateMarker(i) to indicate where item i should be put. */ @@ -673,23 +649,23 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 QCString result; int i; // the inherits list contain `numEntries' classes - for (i=0;i<numEntries;i++) + for (i=0;i<numEntries;i++) { // use generateMarker to generate placeholders for the class links! - result+=generateMarker(i); // generate marker for entry i in the list + result+=generateMarker(i); // generate marker for entry i in the list // (order is left to right) - + if (i!=numEntries-1) // not the last entry, so we need a separator { - if (i<numEntries-2) // not the fore last entry + if (i<numEntries-2) // not the fore last entry result+=", "; else // the fore last entry result+=" i "; } } - return result; + return result; } - + /*! used in class documentation to produce a list of base classes, * if class diagrams are disabled. */ @@ -706,7 +682,7 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 return "Heretat per "+trWriteList(numEntries)+"."; } - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are hidden by this one. */ virtual QCString trReimplementedFromList(int numEntries) @@ -728,17 +704,17 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 /*! This is an introduction to the page with all namespace members */ virtual QCString trNamespaceMemberDescription(bool extractAll) - { + { QCString result="Aquesta és la llista de tots els membres de l'espai de noms "; if (!extractAll) result+="documentats "; result+="amb enllaços a "; - if (extractAll) + if (extractAll) result+="la documentació de l'espai de noms de cada membre:"; - else + else result+="l'espai de noms al qual corresponen:"; return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all namespaces. */ virtual QCString trNamespaceIndex() @@ -792,12 +768,6 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "Llista Alfabètica"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -811,7 +781,7 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 virtual QCString trMainPage() { return "Pàgina principal"; } - /*! This is used in references to page that are put in the LaTeX + /*! This is used in references to page that are put in the LaTeX * documentation. It should be an abbreviation of the word page. */ virtual QCString trPageAbbreviation() @@ -856,7 +826,7 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 /*! header that is put before the list of constructor/destructors. */ virtual QCString trConstructorDocumentation() { - return "Documentació del Constructor i el Destructor"; + return "Documentació del Constructor i el Destructor"; } /*! Used in the file documentation to point to the corresponding sources. */ virtual QCString trGotoSourceCode() @@ -913,7 +883,7 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 ////////////////////////////////////////////////////////////////////////// // new since 1.1.0 ////////////////////////////////////////////////////////////////////////// - + virtual QCString trNote() { return "Nota"; @@ -1002,7 +972,7 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 { return "Des de"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.1.5 ////////////////////////////////////////////////////////////////////////// @@ -1012,12 +982,12 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 { return "Llegenda del Gràfic"; } - /*! page explaining how the dot graph's should be interpreted + /*! page explaining how the dot graph's should be interpreted * The %A in the text below are to prevent link to classes called "A". */ virtual QCString trLegendDocs() { - return + return "Aquesta pàgina explica com s'interpreten els gràfics generats per doxygen.<p>\n" "Considera aquest exemple:\n" "\\code\n" @@ -1075,11 +1045,11 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 { return "llegenda"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.0 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a test item */ virtual QCString trTest() { @@ -1092,16 +1062,6 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "Mètodes DCOP"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1157,11 +1117,11 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 { return "Valor:"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.5 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a \\bug item */ virtual QCString trBug() { @@ -1177,9 +1137,9 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 // new since 1.2.6 ////////////////////////////////////////////////////////////////////////// - /*! Used as ansicpg for RTF file - * - * The following table shows the correlation of Charset name, Charset Value and + /*! Used as ansicpg for RTF file + * + * The following table shows the correlation of Charset name, Charset Value and * <pre> * Codepage number: * Charset Name Charset Value(hex) Codepage number @@ -1200,15 +1160,15 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 * GB2313_CHARSET 134 (x86) 936 * CHINESEBIG5_CHARSET 136 (x88) 950 * </pre> - * + * */ virtual QCString trRTFansicp() { return "1252"; } - - /*! Used as ansicpg for RTF fcharset + + /*! Used as ansicpg for RTF fcharset * \see trRTFansicp() for a table of possible values. */ virtual QCString trRTFCharSet() @@ -1221,82 +1181,82 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 { return "Índex"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trClass(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Classe" : "classe")); if (!singular) result+="s"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trFile(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Fitxer" : "fitxer")); if (!singular) result+="s"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trNamespace(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Namespace" : "namespace")); if (!singular) result+="s"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGroup(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Grup" : "grup")); if (!singular) result+="s"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trPage(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Pàgin" : "pàgin")); if (!singular) result+="es"; else result+="a"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trMember(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Membre" : "membre")); if (!singular) result+="s"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGlobal(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Global" : "global")); if (!singular) result+="s"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1306,10 +1266,10 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 /*! This text is generated when the \\author command is used and * for the author section in man pages. */ virtual QCString trAuthor(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Autor" : "autor")); if (!singular) result+="s"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1327,7 +1287,7 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 // new since 1.2.13 ////////////////////////////////////////////////////////////////////////// - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are implemented by this one. */ virtual QCString trImplementedFromList(int numEntries) @@ -1359,8 +1319,8 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 // new since 1.2.17 ////////////////////////////////////////////////////////////////////////// - /*! Used as the header of the list of item that have been - * flagged deprecated + /*! Used as the header of the list of item that have been + * flagged deprecated */ virtual QCString trDeprecatedList() { @@ -1371,7 +1331,7 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 // new since 1.2.18 ////////////////////////////////////////////////////////////////////////// - /*! Used as a header for declaration section of the events found in + /*! Used as a header for declaration section of the events found in * a C# program */ virtual QCString trEvents() @@ -1391,43 +1351,43 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 /*! Used as a heading for a list of Java class types with package scope. */ virtual QCString trPackageTypes() - { + { return "Tipus de paquets"; } - /*! Used as a heading for a list of Java class functions with package - * scope. + /*! Used as a heading for a list of Java class functions with package + * scope. */ virtual QCString trPackageMembers() - { + { return "Funcions de Paquet"; } - /*! Used as a heading for a list of static Java class functions with + /*! Used as a heading for a list of static Java class functions with * package scope. */ virtual QCString trStaticPackageMembers() - { + { return "Funcions Estàtiques de Paquet"; } - /*! Used as a heading for a list of Java class variables with package + /*! Used as a heading for a list of Java class variables with package * scope. */ virtual QCString trPackageAttribs() - { + { return "Atributs de Paquet"; } - /*! Used as a heading for a list of static Java class variables with + /*! Used as a heading for a list of static Java class variables with * package scope. */ virtual QCString trStaticPackageAttribs() - { + { return "Atributs Estàtics de Paquet"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.3.1 ////////////////////////////////////////////////////////////////////////// - /*! Used in the quick index of a class/file/namespace member list page + /*! Used in the quick index of a class/file/namespace member list page * to link to the unfiltered list of all members. */ virtual QCString trAll() @@ -1444,14 +1404,6 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Buscar"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1463,7 +1415,7 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 * text can be different depending on the number of documents found. * Inside the text you can put the special marker $num to insert * the number representing the actual number of search results. - * The @a numDocuments parameter can be either 0, 1 or 2, where the + * The @a numDocuments parameter can be either 0, 1 or 2, where the * value 2 represents 2 or more matches. HTML markup is allowed inside * the returned string. */ @@ -1477,13 +1429,13 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 { return "Trobat <b>1</b> document."; } - else + else { return "Trobats <b>$num</b> documents. " "Mostrant els millors resultats primer."; } } - /*! This string is put before the list of matched words, for each search + /*! This string is put before the list of matched words, for each search * result. What follows is the list of words that matched the query. */ virtual QCString trSearchMatches() @@ -1524,7 +1476,7 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 virtual QCString trDirectories() { return "Directoris"; } - /*! This returns a sentences that introduces the directory hierarchy. + /*! This returns a sentences that introduces the directory hierarchy. * and the fact that it is sorted alphabetically per level */ virtual QCString trDirDescription() @@ -1542,10 +1494,10 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 * (\a first_capital) and in sigular or plural form (\a singular). */ virtual QCString trDir(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Directori" : "directori")); if (!singular) result+="s"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1572,7 +1524,7 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 return "Gràfic de crides a aquesta funció:"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration values */ virtual QCString trEnumerationValueDocumentation() @@ -1581,12 +1533,12 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 ////////////////////////////////////////////////////////////////////////// // new since 1.5.4 (mainly for Fortran) ////////////////////////////////////////////////////////////////////////// - + /*! header that is put before the list of member subprograms (Fortran). */ virtual QCString trMemberFunctionDocumentationFortran() { return "Documentació de les Funcions/Subrutines Membre"; } - /*! This is put above each page as a link to the list of annotated data types (Fortran). */ + /*! This is put above each page as a link to the list of annotated data types (Fortran). */ virtual QCString trCompoundListFortran() { return "Llista de Tipus de Dades"; } @@ -1607,18 +1559,18 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 result+=" documentats"; } result+=" amb enllaços a "; - if (!extractAll) + if (!extractAll) { result+="la documentació del tipus de dades per a cada membre:"; } - else + else { result+="els tipus de dades a que pertanyen:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index (Fortran). */ virtual QCString trCompoundIndexFortran() @@ -1630,24 +1582,24 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 virtual QCString trTypeDocumentation() { return "Documentació dels Tipus de Dades"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) subprograms (Fortran). */ virtual QCString trSubprograms() { return "Funcions/Subrutines"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for subprograms (Fortran) */ virtual QCString trSubprogramDocumentation() { return "Documentació de les Funcions/Subrutines"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds (Fortran) */ virtual QCString trDataTypes() { return "Tipus de Dades"; } - + /*! used as the title of page containing all the index of all modules (Fortran). */ virtual QCString trModulesList() { return "Llista de Mòduls"; } @@ -1690,7 +1642,7 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 result+=namespaceName; return result; } - + /*! This is put above each page as a link to all members of modules. (Fortran) */ virtual QCString trModulesMembers() { return "Membres del Mòdul"; } @@ -1704,32 +1656,32 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 result+=" documentats"; } result+=" amb enllaços a "; - if (!extractAll) + if (!extractAll) { result+="la documentació del mòdul per a cada membre:"; } - else + else { result+="els mòduls a que pertanyen:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all modules (Fortran). */ virtual QCString trModulesIndex() { return "Índex de Mòduls"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * 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 ? "Mòdul" : "mòdul")); if (!singular) result+="s"; - return result; + 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. @@ -1760,25 +1712,25 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trType(bool first_capital, bool) - { + { QCString result((first_capital ? "Tipus" : "tipus")); //if (!singular) result+="s"; - return result; + 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 + * 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 ? "Subprogram" : "subprogram")); if (!singular) result+="es"; else result+="a"; - return result; + return result; } /*! C# Type Constraint list */ @@ -1825,12 +1777,6 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 // new since 1.6.3 (missing items for the directory pages) ////////////////////////////////////////////////////////////////////////// - /*! introduction text for the directory dependency graph */ - virtual QCString trDirDependency(const char *name) - { - return (QCString)"Graf de dependència de directoris per a "+name; - } - /*! when clicking a directory dependency label, a page with a * table is shown. The heading for the first column mentions the * source file that has a relation to another file. @@ -1849,7 +1795,7 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0 return (QCString)"Inclou fitxer a "+name; } - /** Compiles a date string. + /** Compiles a date string. * @param year Year in 4 digits * @param month Month of the year: 1=January * @param day Day of the Month: 1..31 diff --git a/src/translator_cn.h b/src/translator_cn.h index ba6e078..f8e03c5 100644 --- a/src/translator_cn.h +++ b/src/translator_cn.h @@ -1,12 +1,12 @@ /****************************************************************************** * - * + * * * Copyright (C) 1997-2013 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 + * 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. * @@ -33,13 +33,13 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 * (e.g. "czech", "japanese", "russian", etc.). It should be equal to * the identification used in the language.cpp. */ - + virtual QCString idLanguage() { return "chinese"; } - /*! Used to get the LaTeX command(s) for the language support. + /*! Used to get the LaTeX command(s) for the language support. * This method should return string with commands that switch - * LaTeX to the desired language. For example + * LaTeX to the desired language. For example * <pre>"\\usepackage[german]{babel}\n" * </pre> * or @@ -47,7 +47,7 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 * "\\usepackage[latin2]{inputenc}\n" * "\\usepackage[T1]{fontenc}\n" * </pre> - * + * * The English LaTeX does not use such commands. Because of this * the empty string is returned in this implementation. */ @@ -56,12 +56,7 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 return ""; } - - /*! return the language charset. This will be used for the HTML output */ - virtual QCString idLanguageCharset() - { return "UTF-8"; } - - /*! used in the compound documentation before a list of related functions. + /*! used in the compound documentation before a list of related functions. */ virtual QCString trRelatedFunctions() { return "相关函数"; } @@ -70,8 +65,8 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 virtual QCString trRelatedSubscript() { return "(请注意: 这些不是成员函数.)"; } - /*! header that is put before the detailed description of files, - * classes and namespaces. + /*! header that is put before the detailed description of files, + * classes and namespaces. */ virtual QCString trDetailedDescription() { return "详细描述"; } @@ -90,14 +85,14 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 /*! header that is put before the list of member attributes. */ virtual QCString trMemberDataDocumentation() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "结构体成员变量说明"; + return "结构体成员变量说明"; } else { - return "类成员变量说明"; + return "类成员变量说明"; } } @@ -128,7 +123,7 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 { QCString result; result = "由"CN_SPC"Doyxgen"CN_SPC"通过分析"CN_SPC; if (s) result += ((QCString)s+CN_SPC"的"CN_SPC); - result+= "源代码自动生成."; + result+= "源代码自动生成."; return result; } @@ -146,7 +141,7 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 // quick reference sections - /*! This is put above each page as a link to the list of all groups of + /*! This is put above each page as a link to the list of all groups of * compounds or files (see the \\group command). */ virtual QCString trModules() @@ -158,12 +153,12 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 /*! This is put above each page as a link to the list of annotated class */ virtual QCString trCompoundList() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "结构体"; + return "结构体"; } else { - return "类列表"; + return "类列表"; } } @@ -173,22 +168,22 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 /*! This is put above each page as a link to all members of compounds. */ virtual QCString trCompoundMembers() - { - if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "成员变量"; + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { + return "成员变量"; } else { - return "类成员"; + return "类成员"; } } /*! This is put above each page as a link to all member of files. */ virtual QCString trFileMembers() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "全局定义"; + return "全局定义"; } else { - return "文件成员"; + return "文件成员"; } } @@ -215,14 +210,14 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 } virtual QCString trCompoundListDescription() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "这里列出了所有结构体,并附带简要说明:"; + return "这里列出了所有结构体,并附带简要说明:"; } else { - return "这里列出了所有类、结构、联合以及接口定义等,并附带简要说明:"; + return "这里列出了所有类、结构、联合以及接口定义等,并附带简要说明:"; } } @@ -261,18 +256,18 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 virtual QCString trFileMembersDescription(bool extractAll) { QCString result="这里列出了所有"; - if (!extractAll) + if (!extractAll) result +="文档化的"; if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { result +="函数,变量,宏,枚举和类型定义等,并附带"; - } + } else { result +="文件成员,并附带"; } - if (extractAll) + if (extractAll) result+="其所属的文件:"; - else + else result+="其详细说明:"; return result; } @@ -296,30 +291,30 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 { return "继承关系索引"; } virtual QCString trCompoundIndex() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "结构体索引"; - } + return "结构体索引"; + } else { - return "类索引"; + return "类索引"; } } - virtual QCString trFileIndex() + virtual QCString trFileIndex() { return "文件索引"; } virtual QCString trModuleDocumentation() { return "模块说明"; } virtual QCString trClassDocumentation() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "结构体说明"; } else { - return "类说明"; + return "类说明"; } } @@ -338,9 +333,6 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 virtual QCString trDefines() { return "宏定义"; } - virtual QCString trFuncProtos() - { return "函数原型"; } - virtual QCString trTypedefs() { return "类型定义"; } @@ -360,9 +352,6 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 virtual QCString trDefineDocumentation() { return "宏定义说明"; } - virtual QCString trFunctionPrototypeDocumentation() - { return "函数原型说明"; } - virtual QCString trTypedefDocumentation() { return "类型定义说明"; } @@ -376,13 +365,13 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 { return "变量说明"; } virtual QCString trCompounds() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { + { return "结构体"; } else { - return "类"; + return "类"; } } @@ -393,11 +382,6 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 return result; } - virtual QCString trWrittenBy() - { - return "作者"; - } - virtual QCString trClassDiagram(const char *clName) { return (QCString)"类"CN_SPC+clName+CN_SPC"继承关系图:"; @@ -429,11 +413,11 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 virtual QCString trGeneratedBy() { return "制作者"; } - + ////////////////////////////////////////////////////////////////////////// -// new since 0.49-990307 +// new since 0.49-990307 ////////////////////////////////////////////////////////////////////////// - + virtual QCString trNamespaceList() { return "命名空间列表"; } @@ -451,10 +435,10 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 ////////////////////////////////////////////////////////////////////////// - + virtual QCString trRelatedFunctionDocumentation() { return "友元及相关函数文档"; } - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// @@ -485,7 +469,7 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 virtual QCString trFileReference(const char *fileName) { QCString result=fileName; - result+=CN_SPC"文件参考"; + result+=CN_SPC"文件参考"; return result; } @@ -495,8 +479,8 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 result+=CN_SPC"命名空间参考"; return result; } - - // these are for the member sections of a class, struct or union + + // these are for the member sections of a class, struct or union virtual QCString trPublicMembers() { return "Public 成员函数"; } @@ -517,17 +501,17 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 virtual QCString trStaticProtectedMembers() { return "静态 Protected 成员函数"; } - + virtual QCString trPrivateMembers() { return "Private 成员函数"; } - + virtual QCString trPrivateSlots() { return "Private 槽"; } - + virtual QCString trStaticPrivateMembers() { return "静态 Private 成员函数"; } - - // end of member sections + + // end of member sections virtual QCString trWriteList(int numEntries) { // this function is used to produce a comma-separated list of items. @@ -535,23 +519,23 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 QCString result; int i; // the inherits list contain `numEntries' classes - for (i=0;i<numEntries;i++) + for (i=0;i<numEntries;i++) { // use generateMarker to generate placeholders for the class links! - result+=generateMarker(i); // generate marker for entry i in the list + result+=generateMarker(i); // generate marker for entry i in the list // (order is left to right) - + if (i!=numEntries-1) // not the last entry, so we need a separator { - if (i<numEntries-2) // not the fore last entry + if (i<numEntries-2) // not the fore last entry result+=","CN_SPC; else // the fore last entry result+=CN_SPC", 以及"CN_SPC; } } - return result; + return result; } - + /*! used in class documentation to produce a list of base classes, * if class diagrams are disabled. */ @@ -565,15 +549,15 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 { return "被"CN_SPC+trWriteList(numEntries)+CN_SPC"继承."; } - - /*! used in member documentation blocks to produce a list of + + /*! used in member documentation blocks to produce a list of * members that are hidden by this one. */ virtual QCString trReimplementedFromList(int numEntries) { return "重载"CN_SPC+trWriteList(numEntries)+CN_SPC"."; } - + /*! used in member documentation blocks to produce a list of * all member that overwrite the implementation of this member. */ @@ -585,21 +569,21 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 /*! This is put above each page as a link to all members of namespaces. */ virtual QCString trNamespaceMembers() { return "命名空间成员"; } - + /*! This is an introduction to the page with all namespace members */ virtual QCString trNamespaceMemberDescription(bool extractAll) - { + { QCString result="这里列出了所有"; if (!extractAll) result+="文档化的"; result+="命名空间成员,并附带"; - if (extractAll) + if (extractAll) result+="其说明文档:"; - else + else result+="其所属的文件:"; return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all namespaces. */ virtual QCString trNamespaceIndex() @@ -650,12 +634,6 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "按字典顺序排序的列表"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -669,7 +647,7 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 virtual QCString trMainPage() { return "首页"; } - /*! This is used in references to page that are put in the LaTeX + /*! This is used in references to page that are put in the LaTeX * documentation. It should be an abbreviation of the word page. */ virtual QCString trPageAbbreviation() @@ -717,7 +695,7 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 /*! header that is put before the list of constructor/destructors. */ virtual QCString trConstructorDocumentation() { - return "构造及析构函数说明"; + return "构造及析构函数说明"; } /*! Used in the file documentation to point to the corresponding sources. */ @@ -785,7 +763,7 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 ////////////////////////////////////////////////////////////////////////// // new since 1.1.0 ////////////////////////////////////////////////////////////////////////// - + virtual QCString trNote() { return "注解"; @@ -799,7 +777,7 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 virtual QCString trPublicAttribs() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { + { return "成员变量"; } else { @@ -887,7 +865,7 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 { return "自从"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.1.5 ////////////////////////////////////////////////////////////////////////// @@ -954,7 +932,7 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 "<li>%黄色虚线箭头表示模板类实例和模板类之间的关系. 箭头旁边标明了模板类实例化的参数.</li>\n" "</ul>\n"; } - + /*! text for the link to the legend page */ virtual QCString trLegend() { @@ -964,7 +942,7 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 ////////////////////////////////////////////////////////////////////////// // new since 1.2.0 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a test item */ virtual QCString trTest() { @@ -978,15 +956,6 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 } ////////////////////////////////////////////////////////////////////////// -//// new since 1.2.1 -//////////////////////////////////////////////////////////////////////////// - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "DCOP"CN_SPC"成员函数"; - } - -////////////////////////////////////////////////////////////////////////// //// new since 1.2.2 //////////////////////////////////////////////////////////////////////////// @@ -1024,7 +993,7 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 { return (QCString)"包"CN_SPC+name; } - + /*! Title of the package index page */ virtual QCString trPackageList() { @@ -1034,7 +1003,7 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 /*! The description of the package index page */ virtual QCString trPackageListDescription() { - return "这里列出所有的包,附带简要说明(如果有的话):"; + return "这里列出所有的包,附带简要说明(如果有的话):"; } /*! The link name in the Quick links header for each page */ @@ -1066,9 +1035,9 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 // new since 1.2.6 ////////////////////////////////////////////////////////////////////////// - /*! Used as ansicpg for RTF file - * - * The following table shows the correlation of Charset name, Charset Value and + /*! Used as ansicpg for RTF file + * + * The following table shows the correlation of Charset name, Charset Value and * <pre> * Codepage number: * Charset Name Charset Value(hex) Codepage number @@ -1089,14 +1058,14 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 * GB2313_CHARSET 134 (x86) 936 * CHINESEBIG5_CHARSET 136 (x88) 950 * </pre> - * + * */ virtual QCString trRTFansicp() { return "936"; } - /*! Used as ansicpg for RTF fcharset + /*! Used as ansicpg for RTF fcharset * \see trRTFansicp() for a table of possible values. */ virtual QCString trRTFCharSet() @@ -1111,102 +1080,102 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 return "索引"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trClass(bool /*first_capital*/, bool /*singular*/) - { + { /* QCString result((first_capital ? "Class" : "class")); if (!singular) result+="es"; - return result; + return result; */ return "类"; } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trFile(bool /*first_capital*/, bool /*singular*/) - { + { /* QCString result((first_capital ? "File" : "file")); if (!singular) result+="s"; - return result; + return result; */ return "文件"; } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trNamespace(bool /*first_capital*/, bool /*singular*/) - { + { /* QCString result((first_capital ? "Namespace" : "namespace")); if (!singular) result+="s"; - return result; + return result; */ return "命名空间"; } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGroup(bool /*first_capital*/, bool /*singular*/) - { + { /* QCString result((first_capital ? "Group" : "group")); if (!singular) result+="s"; - return result; + return result; */ return "组"; } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trPage(bool /*first_capital*/, bool /*singular*/) - { + { /* QCString result((first_capital ? "Page" : "page")); if (!singular) result+="s"; - return result; + return result; */ return "页"; } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trMember(bool /*first_capital*/, bool /*singular*/) - { + { /* QCString result((first_capital ? "Member" : "member")); if (!singular) result+="s"; - return result; + return result; */ return "成员"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGlobal(bool /*first_capital*/, bool /*singular*/) - { + { /* QCString result((first_capital ? "Global" : "global")); if (!singular) result+="s"; - return result; + return result; */ return "全局"; } @@ -1218,11 +1187,11 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 /*! This text is generated when the \\author command is used and * for the author section in man pages. */ virtual QCString trAuthor(bool /*first_capital*/, bool /*singular*/) - { + { /* QCString result((first_capital ? "Author" : "author")); if (!singular) result+="s"; - return result; + return result; */ return "作者"; } @@ -1242,7 +1211,7 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 // new since 1.2.13 ////////////////////////////////////////////////////////////////////////// - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are implemented by this one. */ virtual QCString trImplementedFromList(int numEntries) @@ -1277,8 +1246,8 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 // new since 1.2.17 ////////////////////////////////////////////////////////////////////////// - /*! Used as the header of the list of item that have been - * flagged deprecated + /*! Used as the header of the list of item that have been + * flagged deprecated */ virtual QCString trDeprecatedList() { @@ -1289,14 +1258,14 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 // new since 1.2.18 ////////////////////////////////////////////////////////////////////////// - /*! Used as a header for declaration section of the events found in + /*! Used as a header for declaration section of the events found in * a C# program */ virtual QCString trEvents() { return "事件"; } - + /*! Header used for the documentation section of a class' events. */ virtual QCString trEventDocumentation() { @@ -1310,54 +1279,54 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 /*! Used as a heading for a list of Java class types with package scope. */ virtual QCString trPackageTypes() - { + { return "包类型"; } - - /*! Used as a heading for a list of Java class functions with package - * scope. + + /*! Used as a heading for a list of Java class functions with package + * scope. */ virtual QCString trPackageMembers() - { + { return "包函数"; } - - /*! Used as a heading for a list of static Java class functions with + + /*! Used as a heading for a list of static Java class functions with * package scope. */ virtual QCString trStaticPackageMembers() - { + { return "静态包函数"; } - - /*! Used as a heading for a list of Java class variables with package + + /*! Used as a heading for a list of Java class variables with package * scope. */ virtual QCString trPackageAttribs() - { + { return "包属性"; } - - /*! Used as a heading for a list of static Java class variables with + + /*! Used as a heading for a list of static Java class variables with * package scope. */ virtual QCString trStaticPackageAttribs() { return "静态包属性"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.3.1 ////////////////////////////////////////////////////////////////////////// - /*! Used in the quick index of a class/file/namespace member list page + /*! Used in the quick index of a class/file/namespace member list page * to link to the unfiltered list of all members. */ virtual QCString trAll() { return "全部"; } - + /*! Put in front of the call graph for a function. */ virtual QCString trCallGraph() { @@ -1368,14 +1337,6 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "搜索"CN_SPC; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1383,12 +1344,12 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 { return "搜索结果"; } - + /*! This string is put just before listing the search results. The * text can be different depending on the number of documents found. * Inside the text you can put the special marker $num to insert * the number representing the actual number of search results. - * The @a numDocuments parameter can be either 0, 1 or 2, where the + * The @a numDocuments parameter can be either 0, 1 or 2, where the * value 2 represents 2 or more matches. HTML markup is allowed inside * the returned string. */ @@ -1402,13 +1363,13 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 { return "找到<b>1</b>篇与您查询相符的文档."; } - else + else { return "找到<b>$num</b>篇与您查询相符的文档." "优先显示最符合的文档."; } } - /*! This string is put before the list of matched words, for each search + /*! This string is put before the list of matched words, for each search * result. What follows is the list of words that matched the query. */ virtual QCString trSearchMatches() @@ -1453,7 +1414,7 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 virtual QCString trDirectories() { return "目录"; } - /*! This returns a sentences that introduces the directory hierarchy. + /*! This returns a sentences that introduces the directory hierarchy. * and the fact that it is sorted alphabetically per level */ virtual QCString trDirDescription() @@ -1467,7 +1428,7 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 virtual QCString trDirReference(const char *dirName) { QCString result=dirName; - result+=CN_SPC"目录参考"; + result+=CN_SPC"目录参考"; return result; } @@ -1475,10 +1436,10 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 * (\a first_capital) and in sigular or plural form (\a singular). */ virtual QCString trDir(bool /*first_capital*/, bool /*singular*/) - { + { return "目录"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.4.1 ////////////////////////////////////////////////////////////////////////// @@ -1502,23 +1463,23 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 return "这是这个函数的调用关系图:"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration values */ virtual QCString trEnumerationValueDocumentation() - { + { return "枚举变量说明"; } ////////////////////////////////////////////////////////////////////////// // new since 1.5.4 (mainly for Fortran) ////////////////////////////////////////////////////////////////////////// - + /*! header that is put before the list of member subprograms (Fortran). */ virtual QCString trMemberFunctionDocumentationFortran() { return "成员函数/子程序说明"; } - /*! This is put above each page as a link to the list of annotated data types (Fortran). */ + /*! This is put above each page as a link to the list of annotated data types (Fortran). */ virtual QCString trCompoundListFortran() { return "数据类型列表"; } @@ -1540,18 +1501,18 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 } result+="数据类型成员,并附带"; //result+=" with links to "; - if (!extractAll) + if (!extractAll) { result+="其说明文档:"; } - else + else { result+="其所属的文件:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index (Fortran). */ virtual QCString trCompoundIndexFortran() @@ -1564,25 +1525,25 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 virtual QCString trTypeDocumentation() { return "数据类型文档"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) subprograms (Fortran). */ virtual QCString trSubprograms() { return "函数/子程序"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for subprograms (Fortran) */ virtual QCString trSubprogramDocumentation() { return "函数/子程序说明"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds (Fortran) */ virtual QCString trDataTypes() { return "数据类型"; } - + /*! used as the title of page containing all the index of all modules (Fortran). */ virtual QCString trModulesList() { return "模块列表"; } @@ -1617,30 +1578,30 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 result+="参考手册"; return result; } - + /*! used as the title of the HTML page of a module (Fortran) */ virtual QCString trModuleReference(const char *namespaceName) { - QCString result=namespaceName; + QCString result=namespaceName; result += CN_SPC"模块参考手册"; return result; } - + /*! This is put above each page as a link to all members of modules. (Fortran) */ virtual QCString trModulesMembers() { return "模块成员"; } /*! This is an introduction to the page with all modules members (Fortran) */ virtual QCString trModulesMemberDescription(bool extractAll) - { + { // QCString result="Here is a list of all "; // if (!extractAll) result+="documented "; // result+="module members with links to "; - // if (extractAll) + // if (extractAll) // { // result+="the module documentation for each member:"; // } - // else + // else // { // result+="the modules they belong to:"; // } @@ -1652,22 +1613,22 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 } } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all modules (Fortran). */ virtual QCString trModulesIndex() // { return "Modules Index"; } { return "模块索引"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trModule(bool, bool) - { + { // QCString result((first_capital ? "Module" : "module")); // if (!singular) result+="s"; - // return result; + // return result; return "模块"; } /*! This is put at the bottom of a module documentation page and is @@ -1675,7 +1636,7 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 */ virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool) - { + { QCString result="该"; switch(compType) { @@ -1691,22 +1652,22 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 result+=CN_SPC"的文档由以下文件生成:"; 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trType(bool, bool) - { + { return "类型"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trSubprogram(bool, bool) - { + { return "子程序"; } @@ -1715,7 +1676,7 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 { return "类型限制"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.6.0 ////////////////////////////////////////////////////////////////////////// @@ -1725,22 +1686,22 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 // unsure return QCString(name)+CN_SPC"关系"; } - + virtual QCString trLoading() { return "载入中..."; } - + virtual QCString trGlobalNamespace() { return "全局命名空间"; } - + virtual QCString trSearching() { return "搜索中..."; } - + virtual QCString trNoMatches() { return "未找到"; @@ -1750,16 +1711,11 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 // new since 1.6.3 ////////////////////////////////////////////////////////////////////////// - virtual QCString trDirDependency(const char *name) - { - return QCString(name)+CN_SPC"的目录依赖关系图"; - } - virtual QCString trFileIn(const char *name) { return (QCString)"文件在"+CN_SPC+name; } - + virtual QCString trIncludesFileIn(const char *name) { return (QCString)"在"CN_SPC+name+CN_SPC"中引用"; @@ -1771,11 +1727,11 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 { static const char *days[] = { "一","二","三","四","五","六","日" }; static const char *months[] = { "一","二","三","四","五","六","七","八","九","十","十一","十二" }; - + QCString sdate; - + sdate.sprintf("%d年"CN_SPC"%s月"CN_SPC"%d日"CN_SPC"星期%s",year, months[month-1], day, days[dayOfWeek-1]); - + if (includeTime) { QCString stime; @@ -1784,7 +1740,7 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 } return sdate; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.7.5 ////////////////////////////////////////////////////////////////////////// @@ -1801,11 +1757,11 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 virtual QCString trDirDepGraph(const char *name) { return QCString(name)+CN_SPC"的目录依赖关系图"; - } - + } + ////////////////////////////////////////////////////////////////////////// // new since 1.8.0 -////////////////////////////////////////////////////////////////////////// +////////////////////////////////////////////////////////////////////////// /*! Detail level selector shown for hierarchical indices */ virtual QCString trDetailLevel() @@ -1831,8 +1787,8 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2 virtual QCString trInheritedFrom(const char *members,const char *what) { return QCString(members)+CN_SPC"继承自"CN_SPC+what; } - /*! Header of the sections with inherited members specific for the - * base class(es) + /*! Header of the sections with inherited members specific for the + * base class(es) */ virtual QCString trAdditionalInheritedMembers() { return "额外继承的成员函数"; } diff --git a/src/translator_cz.h b/src/translator_cz.h index 6fb4259..2793519 100644 --- a/src/translator_cz.h +++ b/src/translator_cz.h @@ -99,12 +99,6 @@ class TranslatorCzech : public Translator "\\usepackage[czech]{babel}\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. */ @@ -460,12 +454,6 @@ class TranslatorCzech : public Translator { return "Definice maker"; } /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "Prototypy"; } - - /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() @@ -502,12 +490,6 @@ class TranslatorCzech : public Translator { return "Dokumentace k definicím maker"; } /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Dokumentace prototypů"; } - - /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() @@ -558,12 +540,6 @@ class TranslatorCzech : public Translator result += " programem"; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return " -- autor "; - } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) @@ -839,12 +815,6 @@ class TranslatorCzech : public Translator return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "Rejstřík tříd"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -1158,16 +1128,6 @@ class TranslatorCzech : public Translator } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "Metody DCOP"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1477,13 +1437,6 @@ class TranslatorCzech : public Translator // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the index - * of each page before the search field. - */ - virtual QCString trSearchForIndex() - { - return "Vyhledat"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1862,12 +1815,6 @@ class TranslatorCzech : public Translator // new since 1.6.3 (missing items for the directory pages) ////////////////////////////////////////////////////////////////////////// - /*! introduction text for the directory dependency graph */ - virtual QCString trDirDependency(const char *name) - { - return (QCString)"Graf závislosti adresářů pro "+name; - } - /*! when clicking a directory dependency label, a page with a * table is shown. The heading for the first column mentions the * source file that has a relation to another file. diff --git a/src/translator_de.h b/src/translator_de.h index 5486f6c..d13d99c 100644 --- a/src/translator_de.h +++ b/src/translator_de.h @@ -1,12 +1,12 @@ /****************************************************************************** * - * + * * * Copyright (C) 1997-2013 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 + * 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. * @@ -36,7 +36,7 @@ // 2001/04/17 Jens Seidel (jensseidel@users.sourceforge.net) // - fixed typos ("Vererbunsbeziehung", "geschützter") // - use umlauts instead of html code ("ä",...) -// this makes it easier to read and fixes three problems (two in +// this makes it easier to read and fixes three problems (two in // \code segment) // // 2001/04/23 Jens Seidel (jensseidel@users.sourceforge.net) @@ -81,30 +81,30 @@ // // 2003/09/11 Jens Seidel (jensseidel@users.sourceforge.net) // - Updated for "new since 1.3.1" version -// +// // 2003/09/24 Jens Seidel (jensseidel@users.sourceforge.net) // - Updated a few strings which changed in CVS revision 1.22 // ("compound" vs. "class") -// +// // 2004/08/01 Jens Seidel (jensseidel@users.sourceforge.net) // - Updated for "new since 1.3.8" version -// +// // 2004/09/19 Jens Seidel (jensseidel@users.sourceforge.net) // - Updated for "new since 1.3.9" version -// +// // 2004/09/25 Jens Seidel (jensseidel@users.sourceforge.net) // - changed "Typendefinitionen" to "Typdefinitionen" in // trFileMembersDescription() and trTypedefs() // - added a dash after (file, ...) names and in front of description // - changed "Eigenschaften" to "Propertys" (yeah, not ..."ies") -// +// // 2005/03/20 Jens Seidel (jensseidel@users.sourceforge.net) // - Updated for "new since 1.4.1" version -// +// // 2005/04/09 Jens Seidel (jensseidel@users.sourceforge.net) // - Changed Todo list translation as suggested in // http://bugzilla.gnome.org/show_bug.cgi?id=172818 -// +// // 2005/05/09 Jens Seidel (jensseidel@users.sourceforge.net) // - Updated for "new since 1.4.3" version (removed unused methods) // @@ -138,11 +138,11 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 public: // --- Language control methods ------------------- - - /*! Used for identification of the language. The identification - * should not be translated. It should be replaced by the name + + /*! Used for identification of the language. The identification + * should not be translated. It should be replaced by the name * of the language in English using lower-case characters only - * (e.g. "czech", "japanese", "russian", etc.). It should be equal to + * (e.g. "czech", "japanese", "russian", etc.). It should be equal to * the identification used in language.cpp. */ virtual QCString idLanguage() @@ -156,12 +156,6 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 return "\\usepackage[ngerman]{babel}\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. */ @@ -179,15 +173,15 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 /*! header that is put before the list of typedefs. */ virtual QCString trMemberTypedefDocumentation() { return "Dokumentation der benutzerdefinierten Datentypen"; } - + /*! header that is put before the list of enumerations. */ virtual QCString trMemberEnumerationDocumentation() { return "Dokumentation der Aufzählungstypen"; } - + /*! header that is put before the list of member functions. */ virtual QCString trMemberFunctionDocumentation() { return "Dokumentation der Elementfunktionen"; } - + /*! header that is put before the list of member attributes. */ virtual QCString trMemberDataDocumentation() { /* No difference if "OPTIMIZE_OUTPUT_FOR_C" is set! */ @@ -195,7 +189,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 } /*! this is the text of a link put after brief descriptions. */ - virtual QCString trMore() + virtual QCString trMore() { return "Mehr ..."; } /*! put in the class documentation */ @@ -213,7 +207,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 /*! this is the remainder of the sentence after the class name */ virtual QCString trIncludingInheritedMembers() { return " einschließlich aller geerbten Elemente."; } - + /*! this is put at the author sections at the bottom of man pages. * parameter s is name of the project name. */ @@ -227,30 +221,30 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 /*! put after an enum name in the list of all members */ virtual QCString trEnumName() { return "enum-Bezeichner"; } - + /*! put after an enum value in the list of all members */ virtual QCString trEnumValue() { return "enum-Wert"; } - + /*! put after an undocumented member in the list of all members */ virtual QCString trDefinedIn() { return "Definiert in"; } // quick reference sections - /*! This is put above each page as a link to the list of all groups of + /*! This is put above each page as a link to the list of all groups of * compounds or files (see the \\group command). */ virtual QCString trModules() { return "Module"; } - + /*! This is put above each page as a link to the class hierarchy */ virtual QCString trClassHierarchy() { return "Klassenhierarchie"; } - + /*! This is put above each page as a link to the list of annotated classes */ virtual QCString trCompoundList() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "Datenstrukturen"; @@ -260,14 +254,14 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 return "Auflistung der Klassen"; } } - + /*! This is put above each page as a link to the list of documented files */ virtual QCString trFileList() { return "Auflistung der Dateien"; } /*! This is put above each page as a link to all members of compounds. */ virtual QCString trCompoundMembers() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "Datenstruktur-Elemente"; @@ -312,7 +306,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 /*! This is an introduction to the annotated compound list. */ virtual QCString trCompoundListDescription() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "Hier folgt die Aufzählung aller Datenstrukturen " @@ -342,7 +336,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 result+="Klassenelemente"; } result+=" mit Verweisen auf "; - if (!extractAll) + if (!extractAll) { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { @@ -381,7 +375,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 result+="Dateielemente"; } result+=" mit Verweisen auf "; - if (extractAll) + if (extractAll) result+="die Dokumentation zu jedem Element:"; else result+="die zugehörigen Dateien:"; @@ -400,25 +394,25 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 virtual QCString trModulesDescription() { return "Hier folgt die Aufzählung aller Module:"; } - // index titles (the project name is prepended for these) + // index titles (the project name is prepended for these) /*! This is used in HTML as the title of index.html. */ virtual QCString trDocumentation() { return "Dokumentation"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all groups. */ virtual QCString trModuleIndex() { return "Modul-Verzeichnis"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * class hierarchy. */ virtual QCString trHierarchicalIndex() { return "Hierarchie-Verzeichnis"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index. */ virtual QCString trCompoundIndex() @@ -432,7 +426,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 /*! This is used in LaTeX as the title of the chapter with the * list of all files. */ - virtual QCString trFileIndex() + virtual QCString trFileIndex() { return "Datei-Verzeichnis"; } /*! This is used in LaTeX as the title of the chapter containing @@ -445,10 +439,10 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 * the documentation of all classes, structs and unions. */ virtual QCString trClassDocumentation() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Datenstruktur-Dokumentation"; + return "Datenstruktur-Dokumentation"; } else { @@ -477,90 +471,78 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 /*! This is used in LaTeX as the title of the document */ virtual QCString trReferenceManual() { return "Nachschlagewerk"; } - - /*! This is used in the documentation of a file as a header before the + + /*! This is used in the documentation of a file as a header before the * list of defines */ virtual QCString trDefines() { return "Makrodefinitionen"; } - /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "Funktionsprototypen"; } - - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() { return "Typdefinitionen"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of enumerations */ virtual QCString trEnumerations() { return "Aufzählungen"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) functions */ virtual QCString trFunctions() { return "Funktionen"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trVariables() { return "Variablen"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trEnumerationValues() { return "Aufzählungswerte"; } - + /*! This is used in the documentation of a file before the list of * documentation blocks for defines */ virtual QCString trDefineDocumentation() { return "Makro-Dokumentation"; } - /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Funktionsprototypen Dokumentation"; } - - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() { return "Dokumentation der benutzerdefinierten Typen"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration types */ virtual QCString trEnumerationTypeDocumentation() { return "Dokumentation der Aufzählungstypen"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for functions */ virtual QCString trFunctionDocumentation() { return "Dokumentation der Funktionen"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for variables */ virtual QCString trVariableDocumentation() { return "Variablen-Dokumentation"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds */ virtual QCString trCompounds() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "Datenstrukturen"; @@ -571,8 +553,8 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 } } - /*! This is used in the standard footer of each page and indicates when - * the page was generated + /*! This is used in the standard footer of each page and indicates when + * the page was generated */ virtual QCString trGeneratedAt(const char *date,const char *projName) { @@ -582,19 +564,12 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return "geschrieben von"; - } - /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) { return (QCString)"Klassendiagramm für "+clName+":"; } - + /*! this text is generated when the \\internal command is used. */ virtual QCString trForInternalUseOnly() { return "Nur für den internen Gebrauch."; } @@ -626,7 +601,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 /*! this text is generated when the \\exception command is used. */ virtual QCString trExceptions() { return "Ausnahmebehandlung"; } - + /*! this text is used in the title page of a LaTeX document. */ virtual QCString trGeneratedBy() { return "Erzeugt von"; } @@ -634,7 +609,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 ////////////////////////////////////////////////////////////////////////// // new since 0.49-990307 ////////////////////////////////////////////////////////////////////////// - + /*! used as the title of page containing all the index of all namespaces. */ virtual QCString trNamespaceList() { return "Liste aller Namensbereiche"; } @@ -653,17 +628,17 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 */ virtual QCString trFriends() { return "Freundbeziehungen"; } - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 ////////////////////////////////////////////////////////////////////////// - + /*! used in the class documentation as a header before the list of all - * related classes + * related classes */ virtual QCString trRelatedFunctionDocumentation() { return "Freundbeziehungen und Funktionsdokumentation"; } - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// @@ -682,7 +657,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 case ClassDef::Union: result+="Varianten"; break; case ClassDef::Interface: result+="Schnittstellen"; break; case ClassDef::Protocol: result+="Protokoll"; break; - case ClassDef::Category: result+="Kategorie"; break; + case ClassDef::Category: result+="Kategorie"; break; case ClassDef::Exception: result+="Ausnahmen"; break; default: break; } @@ -705,7 +680,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 result+="-Namensbereichsreferenz"; return result; } - + virtual QCString trPublicMembers() { return "Öffentliche Methoden"; } @@ -744,23 +719,23 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 QCString result; int i; // the inherits list contain `numEntries' classes - for (i=0;i<numEntries;i++) + for (i=0;i<numEntries;i++) { // use generateMarker to generate placeholders for the class links! - result+=generateMarker(i); // generate marker for entry i in the list + result+=generateMarker(i); // generate marker for entry i in the list // (order is left to right) - + if (i!=numEntries-1) // not the last entry, so we need a separator { - if (i<numEntries-2) // not the fore last entry + if (i<numEntries-2) // not the fore last entry result+=", "; else // the fore last entry result+=" und "; } } - return result; + return result; } - + /*! used in class documentation to produce a list of base classes, * if class diagrams are disabled. */ @@ -777,7 +752,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 return "Basisklasse für "+trWriteList(numEntries)+"."; } - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are hidden by this one. */ virtual QCString trReimplementedFromList(int numEntries) @@ -810,7 +785,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all namespaces. */ virtual QCString trNamespaceIndex() @@ -849,7 +824,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 case ClassDef::Struct: result+=" Struktur"; break; case ClassDef::Union: result+=" Variante"; break; case ClassDef::Interface: result+=" Schnittstelle"; break; - case ClassDef::Protocol: result+="s Protokoll"; break; + case ClassDef::Protocol: result+="s Protokoll"; break; case ClassDef::Category: result+=" Kategorie"; break; case ClassDef::Exception: result+=" Ausnahme"; break; default: break; @@ -859,12 +834,6 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "Alphabetische Liste"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -878,7 +847,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 virtual QCString trMainPage() { return "Hauptseite"; } - /*! This is used in references to page that are put in the LaTeX + /*! This is used in references to page that are put in the LaTeX * documentation. It should be an abbreviation of the word page. */ virtual QCString trPageAbbreviation() @@ -926,7 +895,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 /*! header that is put before the list of constructor/destructors. */ virtual QCString trConstructorDocumentation() { - return "Beschreibung der Konstruktoren und Destruktoren"; + return "Beschreibung der Konstruktoren und Destruktoren"; } /*! Used in the file documentation to point to the corresponding sources. */ @@ -1098,7 +1067,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 { return "Seit"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.1.5 ////////////////////////////////////////////////////////////////////////// @@ -1109,12 +1078,12 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 return "Erklärung des Graphen"; } - /*! page explaining how the dot graph's should be interpreted + /*! page explaining how the dot graph's should be interpreted * The %A in the text below are to prevent link to classes called "A". */ virtual QCString trLegendDocs() { - return + return "Diese Seite erklärt die Interpretation der von doxygen " "erzeugten Graphen.<p>\n" "Beispiel:\n" @@ -1186,11 +1155,11 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 { return "Legende"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.0 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a test item */ virtual QCString trTest() { @@ -1204,16 +1173,6 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "DCOP Methoden"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1271,11 +1230,11 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 { return "Wert:"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.5 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a \\bug item */ virtual QCString trBug() { @@ -1298,7 +1257,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 return "1252"; } - /*! Used as ansicpg for RTF fcharset + /*! Used as ansicpg for RTF fcharset * \see trRTFansicp() for a table of possible values. */ virtual QCString trRTFCharSet() @@ -1317,7 +1276,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 ////////////////////////////////////////////////////////////////////////// /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trClass(bool, bool singular) @@ -1328,7 +1287,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trFile(bool, bool singular) @@ -1339,7 +1298,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trNamespace(bool, bool singular) @@ -1350,7 +1309,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGroup(bool, bool singular) @@ -1361,7 +1320,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trPage(bool, bool singular) @@ -1372,7 +1331,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trMember(bool, bool singular) @@ -1381,9 +1340,9 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 if (!singular) result+="e"; 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGlobal(bool first_capital, bool singular) @@ -1398,7 +1357,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 ////////////////////////////////////////////////////////////////////////// /*! This text is generated when the \\author command is used and - * for the author section in man pages. + * for the author section in man pages. */ virtual QCString trAuthor(bool, bool singular) { @@ -1422,7 +1381,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 // new since 1.2.13 ////////////////////////////////////////////////////////////////////////// - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are implemented by this one. */ virtual QCString trImplementedFromList(int numEntries) @@ -1454,8 +1413,8 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 // new since 1.2.17 ////////////////////////////////////////////////////////////////////////// - /*! Used as the header of the list of item that have been - * flagged deprecated + /*! Used as the header of the list of item that have been + * flagged deprecated */ virtual QCString trDeprecatedList() { @@ -1466,7 +1425,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 // new since 1.2.18 ////////////////////////////////////////////////////////////////////////// - /*! Used as a header for declaration section of the events found in + /*! Used as a header for declaration section of the events found in * a C# program */ virtual QCString trEvents() @@ -1487,47 +1446,47 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 /*! Used as a heading for a list of Java class types with package scope. */ virtual QCString trPackageTypes() - { + { return "Pakettypen"; } - /*! Used as a heading for a list of Java class functions with package - * scope. + /*! Used as a heading for a list of Java class functions with package + * scope. */ virtual QCString trPackageMembers() - { + { return "Paketfunktionen"; } - /*! Used as a heading for a list of static Java class functions with + /*! Used as a heading for a list of static Java class functions with * package scope. */ virtual QCString trStaticPackageMembers() - { + { return "Statische Paketfunktionen"; } - - /*! Used as a heading for a list of Java class variables with package + + /*! Used as a heading for a list of Java class variables with package * scope. */ virtual QCString trPackageAttribs() { return "Paketattribute"; } - - /*! Used as a heading for a list of static Java class variables with + + /*! Used as a heading for a list of static Java class variables with * package scope. */ virtual QCString trStaticPackageAttribs() { return "Statische Paketattribute"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.3.1 ////////////////////////////////////////////////////////////////////////// - /*! Used in the quick index of a class/file/namespace member list page + /*! Used in the quick index of a class/file/namespace member list page * to link to the unfiltered list of all members. */ virtual QCString trAll() @@ -1544,14 +1503,6 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Suchen nach"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1563,7 +1514,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 * text can be different depending on the number of documents found. * Inside the text you can put the special marker $num to insert * the number representing the actual number of search results. - * The @a numDocuments parameter can be either 0, 1 or 2, where the + * The @a numDocuments parameter can be either 0, 1 or 2, where the * value 2 represents 2 or more matches. HTML markup is allowed inside * the returned string. */ @@ -1577,13 +1528,13 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 { return "Es wurde <b>1</b> Dokument zu Ihrer Suchanfrage gefunden."; } - else + else { return "Es wurden <b>$num</b> Dokumente zu Ihrer Suchanfrage " "gefunden. Die besten Treffer werden zuerst angezeigt."; } } - /*! This string is put before the list of matched words, for each search + /*! This string is put before the list of matched words, for each search * result. What follows is the list of words that matched the query. */ virtual QCString trSearchMatches() @@ -1624,7 +1575,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 virtual QCString trDirectories() { return "Verzeichnisse"; } - /*! This returns a sentences that introduces the directory hierarchy. + /*! This returns a sentences that introduces the directory hierarchy. * and the fact that it is sorted alphabetically per level */ virtual QCString trDirDescription() @@ -1642,10 +1593,10 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 * (\a first_capital) and in sigular or plural form (\a singular). */ virtual QCString trDir(bool, bool singular) - { + { QCString result("Verzeichnis"); if (!singular) result+="se"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1672,7 +1623,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 return "Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration values */ virtual QCString trEnumerationValueDocumentation() @@ -1681,12 +1632,12 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 ////////////////////////////////////////////////////////////////////////// // new since 1.5.4 (mainly for Fortran) ////////////////////////////////////////////////////////////////////////// - + /*! header that is put before the list of member subprograms (Fortran). */ virtual QCString trMemberFunctionDocumentationFortran() { return "Elementfunktionen/Unterroutinen-Dokumentation"; } - /*! This is put above each page as a link to the list of annotated data types (Fortran). */ + /*! This is put above each page as a link to the list of annotated data types (Fortran). */ virtual QCString trCompoundListFortran() { return "Datentyp-Liste"; } @@ -1708,18 +1659,18 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 } result+="Datentypelemente"; result+=" mit Links "; - if (!extractAll) + if (!extractAll) { result+="zur Datenstruktur-Dokumentation für jedes Element"; } - else + else { result+="zu den Datentypen, zu denen sie gehören:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index (Fortran). */ virtual QCString trCompoundIndexFortran() @@ -1731,24 +1682,24 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 virtual QCString trTypeDocumentation() { return "Datentyp-Dokumentation"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) subprograms (Fortran). */ virtual QCString trSubprograms() { return "Funktionen/Unterroutinen"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for subprograms (Fortran) */ virtual QCString trSubprogramDocumentation() { return "Funktionen/Unterroutinen-Dokumentation"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds (Fortran) */ virtual QCString trDataTypes() { return "Datentypen"; } - + /*! used as the title of page containing all the index of all modules (Fortran). */ virtual QCString trModulesList() { return "Modulliste"; } @@ -1791,43 +1742,43 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 result+="-Modul-Referenz"; return result; } - + /*! This is put above each page as a link to all members of modules. (Fortran) */ virtual QCString trModulesMembers() { return "Modul-Elemente"; } /*! This is an introduction to the page with all modules members (Fortran) */ virtual QCString trModulesMemberDescription(bool extractAll) - { + { QCString result="Hier folgt eine Liste aller "; if (!extractAll) result+="dokumentierten "; result+="Modulelemente mit Links "; - if (extractAll) + if (extractAll) { result+="zur Moduldokumentation für jedes Element:"; } - else + else { result+="zu den Modulen, zu denen sie gehören:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all modules (Fortran). */ virtual QCString trModulesIndex() { return "Modul-Index"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * 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("Modul"); if (!singular) result+="e"; - return result; + return result; } /*! This is put at the bottom of a module documentation page and is @@ -1857,25 +1808,25 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * 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("Typ"); if (!singular) result+="en"; - return result; + 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 + * 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("Unterprogramm"); if (!singular) result+="e"; - return result; + return result; } /*! C# Type Constraint list */ @@ -1921,13 +1872,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 ////////////////////////////////////////////////////////////////////////// // new since 1.6.3 (missing items for the directory pages) ////////////////////////////////////////////////////////////////////////// - - /*! introduction text for the directory dependency graph */ - virtual QCString trDirDependency(const char *name) - { - return (QCString)"Diagramm der Verzeichnisabhängigkeiten für "+name; - } - + /*! when clicking a directory dependency label, a page with a * table is shown. The heading for the first column mentions the * source file that has a relation to another file. @@ -1936,7 +1881,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 { return (QCString)"Datei in "+name; } - + /*! when clicking a directory dependency label, a page with a * table is shown. The heading for the second column mentions the * destination file that is included. @@ -1945,7 +1890,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 { return (QCString)"Include-Dateien in "+name; } - + /** Compiles a date string. * @param year Year in 4 digits * @param month Month of the year: 1=January @@ -2024,8 +1969,8 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 virtual QCString trInheritedFrom(const char *members,const char *what) { return QCString(members)+" geerbt von "+what; } - /*! Header of the sections with inherited members specific for the - * base class(es) + /*! Header of the sections with inherited members specific for the + * base class(es) */ virtual QCString trAdditionalInheritedMembers() { return "Weitere Geerbte Elemente"; } @@ -2035,7 +1980,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 ////////////////////////////////////////////////////////////////////////// /*! Used as a tooltip for the toggle button thatappears in the - * navigation tree in the HTML output when GENERATE_TREEVIEW is + * navigation tree in the HTML output when GENERATE_TREEVIEW is * enabled. This tooltip explains the meaning of the button. */ virtual QCString trPanelSynchronisationTooltip(bool enable) diff --git a/src/translator_dk.h b/src/translator_dk.h index 3f0f086..16ffae4 100644 --- a/src/translator_dk.h +++ b/src/translator_dk.h @@ -120,12 +120,6 @@ class TranslatorDanish : public TranslatorAdapter_1_8_0 "\\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. */ @@ -434,12 +428,6 @@ class TranslatorDanish : public TranslatorAdapter_1_8_0 { return "#Defines"; } /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "Funktionsprototyper"; } - - /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() @@ -476,12 +464,6 @@ class TranslatorDanish : public TranslatorAdapter_1_8_0 { return "#Define-dokumentation"; } /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Dokumentation af funktionsprototyper"; } - - /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() @@ -533,10 +515,6 @@ class TranslatorDanish : public TranslatorAdapter_1_8_0 result+=(QCString)" af"; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { return "skrevet af"; } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) @@ -797,12 +775,6 @@ class TranslatorDanish : public TranslatorAdapter_1_8_0 return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "Alfabetisk oversigt"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -1074,16 +1046,6 @@ class TranslatorDanish : public TranslatorAdapter_1_8_0 } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "DCOP-metoder"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1367,15 +1329,6 @@ class TranslatorDanish : public TranslatorAdapter_1_8_0 // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Søg efter"; - } - /*! This string is used as the title for the page listing the search * results. */ @@ -1749,12 +1702,6 @@ class TranslatorDanish : public TranslatorAdapter_1_8_0 // new since 1.6.3 (missing items for the directory pages) ////////////////////////////////////////////////////////////////////////// - /*! introduction text for the directory dependency graph */ - virtual QCString trDirDependency(const char *name) - { - return (QCString)"Afhængighedsgraf for "+name; // "Directory dependency graph for " - } - /*! when clicking a directory dependency label, a page with a * table is shown. The heading for the first column mentions the * source file that has a relation to another file. diff --git a/src/translator_en.h b/src/translator_en.h index 1ab9921..cb933df 100644 --- a/src/translator_en.h +++ b/src/translator_en.h @@ -1,12 +1,12 @@ /****************************************************************************** * - * + * * * Copyright (C) 1997-2013 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 + * 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. * @@ -18,7 +18,7 @@ #ifndef TRANSLATOR_EN_H #define TRANSLATOR_EN_H -/*! +/*! When defining a translator class for the new language, follow the description in the documentation. One of the steps says that you should copy the translator_en.h (this) file to your @@ -45,19 +45,19 @@ class TranslatorEnglish : public Translator public: // --- Language control methods ------------------- - - /*! Used for identification of the language. The identification - * should not be translated. It should be replaced by the name + + /*! Used for identification of the language. The identification + * should not be translated. It should be replaced by the name * of the language in English using lower-case characters only - * (e.g. "czech", "japanese", "russian", etc.). It should be equal to + * (e.g. "czech", "japanese", "russian", etc.). It should be equal to * the identification used in language.cpp. */ virtual QCString idLanguage() { return "english"; } - - /*! Used to get the LaTeX command(s) for the language support. + + /*! Used to get the LaTeX command(s) for the language support. * This method should return string with commands that switch - * LaTeX to the desired language. For example + * LaTeX to the desired language. For example * <pre>"\\usepackage[german]{babel}\n" * </pre> * or @@ -65,7 +65,7 @@ class TranslatorEnglish : public Translator * "\\usepackage[latin2]{inputenc}\n" * "\\usepackage[T1]{fontenc}\n" * </pre> - * + * * The English LaTeX does not use such commands. Because of this * the empty string is returned in this implementation. */ @@ -74,13 +74,6 @@ class TranslatorEnglish : public Translator return ""; } - /*! return the language charset. This will be used - when transcoding the translatable strings in this file to UTF-8 */ - virtual QCString idLanguageCharset() - { - return "iso-8859-1"; - } - // --- Language translation methods ------------------- /*! used in the compound documentation before a list of related functions. */ @@ -98,30 +91,30 @@ class TranslatorEnglish : public Translator /*! header that is put before the list of typedefs. */ virtual QCString trMemberTypedefDocumentation() { return "Member Typedef Documentation"; } - + /*! header that is put before the list of enumerations. */ virtual QCString trMemberEnumerationDocumentation() { return "Member Enumeration Documentation"; } - + /*! header that is put before the list of member functions. */ virtual QCString trMemberFunctionDocumentation() { return "Member Function Documentation"; } - + /*! header that is put before the list of member attributes. */ virtual QCString trMemberDataDocumentation() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Field Documentation"; + return "Field Documentation"; } else { - return "Member Data Documentation"; + return "Member Data Documentation"; } } /*! this is the text of a link put after brief descriptions. */ - virtual QCString trMore() + virtual QCString trMore() { return "More..."; } /*! put in the class documentation */ @@ -139,81 +132,81 @@ class TranslatorEnglish : public Translator /*! this is the remainder of the sentence after the class name */ virtual QCString trIncludingInheritedMembers() { return ", including all inherited members."; } - + /*! this is put at the author sections at the bottom of man pages. * parameter s is name of the project name. */ virtual QCString trGeneratedAutomatically(const char *s) { QCString result="Generated automatically by Doxygen"; if (s) result+=(QCString)" for "+s; - result+=" from the source code."; + result+=" from the source code."; return result; } /*! put after an enum name in the list of all members */ virtual QCString trEnumName() { return "enum name"; } - + /*! put after an enum value in the list of all members */ virtual QCString trEnumValue() { return "enum value"; } - + /*! put after an undocumented member in the list of all members */ virtual QCString trDefinedIn() { return "defined in"; } // quick reference sections - /*! This is put above each page as a link to the list of all groups of + /*! This is put above each page as a link to the list of all groups of * compounds or files (see the \\group command). */ virtual QCString trModules() { return "Modules"; } - + /*! This is put above each page as a link to the class hierarchy */ virtual QCString trClassHierarchy() { return "Class Hierarchy"; } - + /*! This is put above each page as a link to the list of annotated classes */ virtual QCString trCompoundList() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "Data Structures"; } else { - return "Class List"; + return "Class List"; } } - + /*! This is put above each page as a link to the list of documented files */ virtual QCString trFileList() { return "File List"; } /*! This is put above each page as a link to all members of compounds. */ virtual QCString trCompoundMembers() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Data Fields"; + return "Data Fields"; } else { - return "Class Members"; + return "Class Members"; } } /*! This is put above each page as a link to all members of files. */ virtual QCString trFileMembers() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Globals"; + return "Globals"; } else { - return "File Members"; + return "File Members"; } } @@ -246,16 +239,16 @@ class TranslatorEnglish : public Translator /*! This is an introduction to the annotated compound list. */ virtual QCString trCompoundListDescription() - { - + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Here are the data structures with brief descriptions:"; + return "Here are the data structures with brief descriptions:"; } else { return "Here are the classes, structs, " - "unions and interfaces with brief descriptions:"; + "unions and interfaces with brief descriptions:"; } } @@ -276,7 +269,7 @@ class TranslatorEnglish : public Translator result+="class members"; } result+=" with links to "; - if (!extractAll) + if (!extractAll) { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { @@ -287,7 +280,7 @@ class TranslatorEnglish : public Translator result+="the class documentation for each member:"; } } - else + else { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { @@ -306,7 +299,7 @@ class TranslatorEnglish : public Translator { QCString result="Here is a list of all "; if (!extractAll) result+="documented "; - + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { result+="functions, variables, defines, enums, and typedefs"; @@ -316,9 +309,9 @@ class TranslatorEnglish : public Translator result+="file members"; } result+=" with links to "; - if (extractAll) + if (extractAll) result+="the files they belong to:"; - else + else result+="the documentation:"; return result; } @@ -335,43 +328,43 @@ class TranslatorEnglish : public Translator virtual QCString trModulesDescription() { return "Here is a list of all modules:"; } - // index titles (the project name is prepended for these) + // index titles (the project name is prepended for these) /*! This is used in HTML as the title of index.html. */ virtual QCString trDocumentation() { return "Documentation"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all groups. */ virtual QCString trModuleIndex() { return "Module Index"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * class hierarchy. */ virtual QCString trHierarchicalIndex() { return "Hierarchical Index"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index. */ virtual QCString trCompoundIndex() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { + { return "Data Structure Index"; } else { - return "Class Index"; + return "Class Index"; } } /*! This is used in LaTeX as the title of the chapter with the * list of all files. */ - virtual QCString trFileIndex() + virtual QCString trFileIndex() { return "File Index"; } /*! This is used in LaTeX as the title of the chapter containing @@ -384,14 +377,14 @@ class TranslatorEnglish : public Translator * the documentation of all classes, structs and unions. */ virtual QCString trClassDocumentation() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Data Structure Documentation"; + return "Data Structure Documentation"; } else { - return "Class Documentation"; + return "Class Documentation"; } } @@ -416,123 +409,105 @@ class TranslatorEnglish : public Translator /*! This is used in LaTeX as the title of the document */ virtual QCString trReferenceManual() { return "Reference Manual"; } - - /*! This is used in the documentation of a file as a header before the + + /*! This is used in the documentation of a file as a header before the * list of defines */ virtual QCString trDefines() { return "Macros"; } - /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "Function Prototypes"; } - - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() { return "Typedefs"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of enumerations */ virtual QCString trEnumerations() { return "Enumerations"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) functions */ virtual QCString trFunctions() { return "Functions"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trVariables() { return "Variables"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trEnumerationValues() { return "Enumerator"; } - + /*! This is used in the documentation of a file before the list of * documentation blocks for defines */ virtual QCString trDefineDocumentation() { return "Macro Definition Documentation"; } - /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Function Prototype Documentation"; } - - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() { return "Typedef Documentation"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration types */ virtual QCString trEnumerationTypeDocumentation() { return "Enumeration Type Documentation"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for functions */ virtual QCString trFunctionDocumentation() { return "Function Documentation"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for variables */ virtual QCString trVariableDocumentation() { return "Variable Documentation"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds */ virtual QCString trCompounds() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Data Structures"; + return "Data Structures"; } else { - return "Classes"; + return "Classes"; } } - /*! This is used in the standard footer of each page and indicates when - * the page was generated + /*! This is used in the standard footer of each page and indicates when + * the page was generated */ virtual QCString trGeneratedAt(const char *date,const char *projName) - { + { QCString result=(QCString)"Generated on "+date; if (projName) result+=(QCString)" for "+projName; result+=(QCString)" by"; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return "written by"; - } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) { return (QCString)"Inheritance diagram for "+clName+":"; } - + /*! this text is generated when the \\internal command is used. */ virtual QCString trForInternalUseOnly() { return "For internal use only."; } @@ -564,7 +539,7 @@ class TranslatorEnglish : public Translator /*! this text is generated when the \\exception command is used. */ virtual QCString trExceptions() { return "Exceptions"; } - + /*! this text is used in the title page of a LaTeX document. */ virtual QCString trGeneratedBy() { return "Generated by"; } @@ -572,7 +547,7 @@ class TranslatorEnglish : public Translator ////////////////////////////////////////////////////////////////////////// // new since 0.49-990307 ////////////////////////////////////////////////////////////////////////// - + /*! used as the title of page containing all the index of all namespaces. */ virtual QCString trNamespaceList() { return "Namespace List"; } @@ -591,17 +566,17 @@ class TranslatorEnglish : public Translator */ virtual QCString trFriends() { return "Friends"; } - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 ////////////////////////////////////////////////////////////////////////// - + /*! used in the class documentation as a header before the list of all - * related classes + * related classes */ virtual QCString trRelatedFunctionDocumentation() { return "Friends And Related Function Documentation"; } - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// @@ -632,7 +607,7 @@ class TranslatorEnglish : public Translator virtual QCString trFileReference(const char *fileName) { QCString result=fileName; - result+=" File Reference"; + result+=" File Reference"; return result; } @@ -643,7 +618,7 @@ class TranslatorEnglish : public Translator result+=" Namespace Reference"; return result; } - + virtual QCString trPublicMembers() { return "Public Member Functions"; } virtual QCString trPublicSlots() @@ -664,7 +639,7 @@ class TranslatorEnglish : public Translator { return "Private Slots"; } virtual QCString trStaticPrivateMembers() { return "Static Private Member Functions"; } - + /*! this function is used to produce a comma-separated list of items. * use generateMarker(i) to indicate where item i should be put. */ @@ -673,23 +648,23 @@ class TranslatorEnglish : public Translator QCString result; int i; // the inherits list contain `numEntries' classes - for (i=0;i<numEntries;i++) + for (i=0;i<numEntries;i++) { // use generateMarker to generate placeholders for the class links! - result+=generateMarker(i); // generate marker for entry i in the list + result+=generateMarker(i); // generate marker for entry i in the list // (order is left to right) - + if (i!=numEntries-1) // not the last entry, so we need a separator { - if (i<numEntries-2) // not the fore last entry + if (i<numEntries-2) // not the fore last entry result+=", "; else // the fore last entry result+=", and "; } } - return result; + return result; } - + /*! used in class documentation to produce a list of base classes, * if class diagrams are disabled. */ @@ -706,7 +681,7 @@ class TranslatorEnglish : public Translator return "Inherited by "+trWriteList(numEntries)+"."; } - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are hidden by this one. */ virtual QCString trReimplementedFromList(int numEntries) @@ -728,17 +703,17 @@ class TranslatorEnglish : public Translator /*! This is an introduction to the page with all namespace members */ virtual QCString trNamespaceMemberDescription(bool extractAll) - { + { QCString result="Here is a list of all "; if (!extractAll) result+="documented "; result+="namespace members with links to "; - if (extractAll) + if (extractAll) result+="the namespace documentation for each member:"; - else + else result+="the namespaces they belong to:"; return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all namespaces. */ virtual QCString trNamespaceIndex() @@ -787,12 +762,6 @@ class TranslatorEnglish : public Translator return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "Alphabetical List"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -806,7 +775,7 @@ class TranslatorEnglish : public Translator virtual QCString trMainPage() { return "Main Page"; } - /*! This is used in references to page that are put in the LaTeX + /*! This is used in references to page that are put in the LaTeX * documentation. It should be an abbreviation of the word page. */ virtual QCString trPageAbbreviation() @@ -851,7 +820,7 @@ class TranslatorEnglish : public Translator /*! header that is put before the list of constructor/destructors. */ virtual QCString trConstructorDocumentation() { - return "Constructor & Destructor Documentation"; + return "Constructor & Destructor Documentation"; } /*! Used in the file documentation to point to the corresponding sources. */ virtual QCString trGotoSourceCode() @@ -908,7 +877,7 @@ class TranslatorEnglish : public Translator ////////////////////////////////////////////////////////////////////////// // new since 1.1.0 ////////////////////////////////////////////////////////////////////////// - + virtual QCString trNote() { return "Note"; @@ -997,7 +966,7 @@ class TranslatorEnglish : public Translator { return "Since"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.1.5 ////////////////////////////////////////////////////////////////////////// @@ -1007,12 +976,12 @@ class TranslatorEnglish : public Translator { return "Graph Legend"; } - /*! page explaining how the dot graph's should be interpreted + /*! page explaining how the dot graph's should be interpreted * The %A in the text below are to prevent link to classes called "A". */ virtual QCString trLegendDocs() { - return + return "This page explains how to interpret the graphs that are generated " "by doxygen.<p>\n" "Consider the following example:\n" @@ -1079,11 +1048,11 @@ class TranslatorEnglish : public Translator { return "legend"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.0 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a test item */ virtual QCString trTest() { @@ -1096,16 +1065,6 @@ class TranslatorEnglish : public Translator } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "DCOP Member Functions"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1161,11 +1120,11 @@ class TranslatorEnglish : public Translator { return "Value:"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.5 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a \\bug item */ virtual QCString trBug() { @@ -1181,9 +1140,9 @@ class TranslatorEnglish : public Translator // new since 1.2.6 ////////////////////////////////////////////////////////////////////////// - /*! Used as ansicpg for RTF file - * - * The following table shows the correlation of Charset name, Charset Value and + /*! Used as ansicpg for RTF file + * + * The following table shows the correlation of Charset name, Charset Value and * <pre> * Codepage number: * Charset Name Charset Value(hex) Codepage number @@ -1204,15 +1163,15 @@ class TranslatorEnglish : public Translator * GB2313_CHARSET 134 (x86) 936 * CHINESEBIG5_CHARSET 136 (x88) 950 * </pre> - * + * */ virtual QCString trRTFansicp() { return "1252"; } - - /*! Used as ansicpg for RTF fcharset + + /*! Used as ansicpg for RTF fcharset * \see trRTFansicp() for a table of possible values. */ virtual QCString trRTFCharSet() @@ -1225,82 +1184,82 @@ class TranslatorEnglish : public Translator { return "Index"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trClass(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Class" : "class")); if (!singular) result+="es"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trFile(bool first_capital, bool singular) - { + { QCString result((first_capital ? "File" : "file")); if (!singular) result+="s"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trNamespace(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Namespace" : "namespace")); if (!singular) result+="s"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGroup(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Group" : "group")); if (!singular) result+="s"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trPage(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Page" : "page")); if (!singular) result+="s"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trMember(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Member" : "member")); if (!singular) result+="s"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGlobal(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Global" : "global")); if (!singular) result+="s"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1310,10 +1269,10 @@ class TranslatorEnglish : public Translator /*! This text is generated when the \\author command is used and * for the author section in man pages. */ virtual QCString trAuthor(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Author" : "author")); if (!singular) result+="s"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1331,7 +1290,7 @@ class TranslatorEnglish : public Translator // new since 1.2.13 ////////////////////////////////////////////////////////////////////////// - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are implemented by this one. */ virtual QCString trImplementedFromList(int numEntries) @@ -1363,8 +1322,8 @@ class TranslatorEnglish : public Translator // new since 1.2.17 ////////////////////////////////////////////////////////////////////////// - /*! Used as the header of the list of item that have been - * flagged deprecated + /*! Used as the header of the list of item that have been + * flagged deprecated */ virtual QCString trDeprecatedList() { @@ -1375,7 +1334,7 @@ class TranslatorEnglish : public Translator // new since 1.2.18 ////////////////////////////////////////////////////////////////////////// - /*! Used as a header for declaration section of the events found in + /*! Used as a header for declaration section of the events found in * a C# program */ virtual QCString trEvents() @@ -1395,43 +1354,43 @@ class TranslatorEnglish : public Translator /*! Used as a heading for a list of Java class types with package scope. */ virtual QCString trPackageTypes() - { + { return "Package Types"; } - /*! Used as a heading for a list of Java class functions with package - * scope. + /*! Used as a heading for a list of Java class functions with package + * scope. */ virtual QCString trPackageMembers() - { + { return "Package Functions"; } - /*! Used as a heading for a list of static Java class functions with + /*! Used as a heading for a list of static Java class functions with * package scope. */ virtual QCString trStaticPackageMembers() - { + { return "Static Package Functions"; } - /*! Used as a heading for a list of Java class variables with package + /*! Used as a heading for a list of Java class variables with package * scope. */ virtual QCString trPackageAttribs() - { + { return "Package Attributes"; } - /*! Used as a heading for a list of static Java class variables with + /*! Used as a heading for a list of static Java class variables with * package scope. */ virtual QCString trStaticPackageAttribs() - { + { return "Static Package Attributes"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.3.1 ////////////////////////////////////////////////////////////////////////// - /*! Used in the quick index of a class/file/namespace member list page + /*! Used in the quick index of a class/file/namespace member list page * to link to the unfiltered list of all members. */ virtual QCString trAll() @@ -1448,14 +1407,6 @@ class TranslatorEnglish : public Translator // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Search for"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1467,7 +1418,7 @@ class TranslatorEnglish : public Translator * text can be different depending on the number of documents found. * Inside the text you can put the special marker $num to insert * the number representing the actual number of search results. - * The @a numDocuments parameter can be either 0, 1 or 2, where the + * The @a numDocuments parameter can be either 0, 1 or 2, where the * value 2 represents 2 or more matches. HTML markup is allowed inside * the returned string. */ @@ -1481,13 +1432,13 @@ class TranslatorEnglish : public Translator { return "Found <b>1</b> document matching your query."; } - else + else { return "Found <b>$num</b> documents matching your query. " "Showing best matches first."; } } - /*! This string is put before the list of matched words, for each search + /*! This string is put before the list of matched words, for each search * result. What follows is the list of words that matched the query. */ virtual QCString trSearchMatches() @@ -1528,7 +1479,7 @@ class TranslatorEnglish : public Translator virtual QCString trDirectories() { return "Directories"; } - /*! This returns a sentences that introduces the directory hierarchy. + /*! This returns a sentences that introduces the directory hierarchy. * and the fact that it is sorted alphabetically per level */ virtual QCString trDirDescription() @@ -1546,10 +1497,10 @@ class TranslatorEnglish : public Translator * (\a first_capital) and in sigular or plural form (\a singular). */ virtual QCString trDir(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Director" : "director")); if (singular) result+="y"; else result+="ies"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1576,7 +1527,7 @@ class TranslatorEnglish : public Translator return "Here is the caller graph for this function:"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration values */ virtual QCString trEnumerationValueDocumentation() @@ -1585,12 +1536,12 @@ class TranslatorEnglish : public Translator ////////////////////////////////////////////////////////////////////////// // new since 1.5.4 (mainly for Fortran) ////////////////////////////////////////////////////////////////////////// - + /*! header that is put before the list of member subprograms (Fortran). */ virtual QCString trMemberFunctionDocumentationFortran() { return "Member Function/Subroutine Documentation"; } - /*! This is put above each page as a link to the list of annotated data types (Fortran). */ + /*! This is put above each page as a link to the list of annotated data types (Fortran). */ virtual QCString trCompoundListFortran() { return "Data Types List"; } @@ -1612,18 +1563,18 @@ class TranslatorEnglish : public Translator } result+="data types members"; result+=" with links to "; - if (!extractAll) + if (!extractAll) { result+="the data structure documentation for each member"; } - else + else { result+="the data types they belong to:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index (Fortran). */ virtual QCString trCompoundIndexFortran() @@ -1635,24 +1586,24 @@ class TranslatorEnglish : public Translator virtual QCString trTypeDocumentation() { return "Data Type Documentation"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) subprograms (Fortran). */ virtual QCString trSubprograms() { return "Functions/Subroutines"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for subprograms (Fortran) */ virtual QCString trSubprogramDocumentation() { return "Function/Subroutine Documentation"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds (Fortran) */ virtual QCString trDataTypes() { return "Data Types"; } - + /*! used as the title of page containing all the index of all modules (Fortran). */ virtual QCString trModulesList() { return "Modules List"; } @@ -1691,46 +1642,46 @@ class TranslatorEnglish : public Translator virtual QCString trModuleReference(const char *namespaceName) { QCString result=namespaceName; - result+=" Module Reference"; + result+=" Module Reference"; return result; } - + /*! This is put above each page as a link to all members of modules. (Fortran) */ virtual QCString trModulesMembers() { return "Module Members"; } /*! This is an introduction to the page with all modules members (Fortran) */ virtual QCString trModulesMemberDescription(bool extractAll) - { + { QCString result="Here is a list of all "; if (!extractAll) result+="documented "; result+="module members with links to "; - if (extractAll) + if (extractAll) { result+="the module documentation for each member:"; } - else + else { result+="the modules they belong to:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all modules (Fortran). */ virtual QCString trModulesIndex() { return "Modules Index"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * 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 ? "Module" : "module")); if (!singular) result+="s"; - return result; + return result; } /*! This is put at the bottom of a module documentation page and is @@ -1758,25 +1709,25 @@ class TranslatorEnglish : public Translator } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * 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 ? "Type" : "type")); if (!singular) result+="s"; - return result; + 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 + * 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 ? "Subprogram" : "subprogram")); if (!singular) result+="s"; - return result; + return result; } /*! C# Type Constraint list */ @@ -1823,12 +1774,6 @@ class TranslatorEnglish : public Translator // new since 1.6.3 (missing items for the directory pages) ////////////////////////////////////////////////////////////////////////// - /*! introduction text for the directory dependency graph */ - virtual QCString trDirDependency(const char *name) - { - return (QCString)"Directory dependency graph for "+name; - } - /*! when clicking a directory dependency label, a page with a * table is shown. The heading for the first column mentions the * source file that has a relation to another file. @@ -1847,7 +1792,7 @@ class TranslatorEnglish : public Translator return (QCString)"Includes file in "+name; } - /** Compiles a date string. + /** Compiles a date string. * @param year Year in 4 digits * @param month Month of the year: 1=January * @param day Day of the Month: 1..31 @@ -1922,8 +1867,8 @@ class TranslatorEnglish : public Translator virtual QCString trInheritedFrom(const char *members,const char *what) { return QCString(members)+" inherited from "+what; } - /*! Header of the sections with inherited members specific for the - * base class(es) + /*! Header of the sections with inherited members specific for the + * base class(es) */ virtual QCString trAdditionalInheritedMembers() { return "Additional Inherited Members"; } @@ -1933,7 +1878,7 @@ class TranslatorEnglish : public Translator ////////////////////////////////////////////////////////////////////////// /*! Used as a tooltip for the toggle button that appears in the - * navigation tree in the HTML output when GENERATE_TREEVIEW is + * navigation tree in the HTML output when GENERATE_TREEVIEW is * enabled. This tooltip explains the meaning of the button. */ virtual QCString trPanelSynchronisationTooltip(bool enable) diff --git a/src/translator_eo.h b/src/translator_eo.h index c949901..3c5b9a5 100644 --- a/src/translator_eo.h +++ b/src/translator_eo.h @@ -76,12 +76,6 @@ class TranslatorEsperanto : public TranslatorAdapter_1_8_4 return "\\usepackage[esperanto]{babel}\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. */ @@ -425,12 +419,6 @@ class TranslatorEsperanto : public TranslatorAdapter_1_8_4 { return "Difinoj"; } /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "Funkciaj Prototipoj"; } - - /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() @@ -467,12 +455,6 @@ class TranslatorEsperanto : public TranslatorAdapter_1_8_4 { return "Difina Dokumentado"; } /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Dokumentado de Funkciaj Prototipoj"; } - - /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() @@ -521,12 +503,6 @@ class TranslatorEsperanto : public TranslatorAdapter_1_8_4 result+=(QCString)" de"; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return "skribita de"; - } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) @@ -789,12 +765,6 @@ class TranslatorEsperanto : public TranslatorAdapter_1_8_4 return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "Alfabeta Listo"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -1095,16 +1065,6 @@ class TranslatorEsperanto : public TranslatorAdapter_1_8_4 } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "DCOP Membraj Funkcioj"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1447,14 +1407,6 @@ class TranslatorEsperanto : public TranslatorAdapter_1_8_4 // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Serĉi"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1819,12 +1771,6 @@ class TranslatorEsperanto : public TranslatorAdapter_1_8_4 // new since 1.6.3 (missing items for the directory pages) ////////////////////////////////////////////////////////////////////////// - /*! introduction text for the directory dependency graph */ - virtual QCString trDirDependency(const char *name) - { - return (QCString)"Diagramo de dependecoj dosierujaj por "+name; - } - /*! when clicking a directory dependency label, a page with a * table is shown. The heading for the first column mentions the * source file that has a relation to another file. @@ -1877,7 +1823,7 @@ class TranslatorEsperanto : public TranslatorAdapter_1_8_4 } return sdate; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.7.5 ////////////////////////////////////////////////////////////////////////// @@ -1926,8 +1872,8 @@ class TranslatorEsperanto : public TranslatorAdapter_1_8_4 virtual QCString trInheritedFrom(const char *members,const char *what) { return QCString(members)+" heredita el "+what; } - /*! Header of the sections with inherited members specific for the - * base class(es) + /*! Header of the sections with inherited members specific for the + * base class(es) */ virtual QCString trAdditionalInheritedMembers() { return "Kromaj Hereditaj Membroj"; } @@ -1937,7 +1883,7 @@ class TranslatorEsperanto : public TranslatorAdapter_1_8_4 ////////////////////////////////////////////////////////////////////////// /*! Used as a tooltip for the toggle button that appears in the - * navigation tree in the HTML output when GENERATE_TREEVIEW is + * navigation tree in the HTML output when GENERATE_TREEVIEW is * enabled. This tooltip explains the meaning of the button. */ virtual QCString trPanelSynchronisationTooltip(bool enable) diff --git a/src/translator_es.h b/src/translator_es.h index 8654d28..d6738e0 100644 --- a/src/translator_es.h +++ b/src/translator_es.h @@ -1,12 +1,12 @@ /****************************************************************************** * - * + * * * Copyright (C) 1997-2013 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 + * 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. * @@ -18,10 +18,10 @@ #ifndef TRANSLATOR_ES_H #define TRANSLATOR_ES_H -/*! +/*! * translator_es.h modified by Lucas Cruz (7-julio-2000) * Some notes: - * - It's posible that some sentences haven't got meaning because + * - It's posible that some sentences haven't got meaning because * some words haven't got translate in spanish. * Updated from 1.3.8 to 1.4.6 by Guillermo Ballester Valor (May-05-2006) * Updated to 1.5.1 by Bartomeu Creus Navarro (22-enero-2007) @@ -39,19 +39,19 @@ class TranslatorSpanish : public Translator public: // --- Language control methods ------------------- - - /*! Used for identification of the language. The identification - * should not be translated. It should be replaced by the name + + /*! Used for identification of the language. The identification + * should not be translated. It should be replaced by the name * of the language in English using lower-case characters only - * (e.g. "czech", "japanese", "russian", etc.). It should be equal to + * (e.g. "czech", "japanese", "russian", etc.). It should be equal to * the identification used in language.cpp. */ virtual QCString idLanguage() { return "spanish"; } - - /*! Used to get the LaTeX command(s) for the language support. + + /*! Used to get the LaTeX command(s) for the language support. * This method should return string with commands that switch - * LaTeX to the desired language. For example + * LaTeX to the desired language. For example * <pre>"\\usepackage[german]{babel}\n" * </pre> * or @@ -59,7 +59,7 @@ class TranslatorSpanish : public Translator * "\\usepackage[latin2]{inputenc}\n" * "\\usepackage[T1]{fontenc}\n" * </pre> - * + * * The English LaTeX does not use such commands. Because of this * the empty string is returned in this implementation. */ @@ -68,12 +68,6 @@ class TranslatorSpanish : public Translator return "\\usepackage[spanish]{babel}"; } - /*! 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. */ @@ -91,30 +85,30 @@ class TranslatorSpanish : public Translator /*! header that is put before the list of typedefs. */ virtual QCString trMemberTypedefDocumentation() { return "Documentación de los 'Typedef' miembros de la clase"; } - + /*! header that is put before the list of enumerations. */ virtual QCString trMemberEnumerationDocumentation() { return "Documentación de las enumeraciones miembro de la clase"; } - + /*! header that is put before the list of member functions. */ virtual QCString trMemberFunctionDocumentation() { return "Documentación de las funciones miembro"; } - + /*! header that is put before the list of member attributes. */ virtual QCString trMemberDataDocumentation() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Documentación de los campos"; + return "Documentación de los campos"; } else { - return "Documentación de los datos miembro"; + return "Documentación de los datos miembro"; } } /*! this is the text of a link put after brief descriptions. */ - virtual QCString trMore() + virtual QCString trMore() { return "Más..."; } /*! put in the class documentation */ @@ -132,77 +126,77 @@ class TranslatorSpanish : public Translator /*! this is the remainder of the sentence after the class name */ virtual QCString trIncludingInheritedMembers() { return ", incluyendo todos los heredados:"; } - + /*! this is put at the author sections at the bottom of man pages. * parameter s is name of the project name. */ virtual QCString trGeneratedAutomatically(const char *s) { QCString result="Generado automáticamente por Doxygen"; if (s) result+=(QCString)" para "+s; - result+=" del código fuente."; + result+=" del código fuente."; return result; } /*! put after an enum name in the list of all members */ virtual QCString trEnumName() { return "nombre de la enumeración"; } - + /*! put after an enum value in the list of all members */ virtual QCString trEnumValue() { return "valor enumerado"; } - + /*! put after an undocumented member in the list of all members */ virtual QCString trDefinedIn() { return "definido en"; } // quick reference sections - /*! This is put above each page as a link to the list of all groups of + /*! This is put above each page as a link to the list of all groups of * compounds or files (see the \\group command). */ virtual QCString trModules() { return "Módulos"; } - + /*! This is put above each page as a link to the class hierarchy */ virtual QCString trClassHierarchy() { return "Jerarquía de la clase"; } - + /*! This is put above each page as a link to the list of annotated classes */ virtual QCString trCompoundList() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "Estructura de datos"; } else { - return "Lista de clases"; + return "Lista de clases"; } } - + /*! This is put above each page as a link to the list of documented files */ virtual QCString trFileList() { return "Lista de archivos"; } /*! This is put above each page as a link to all members of compounds. */ virtual QCString trCompoundMembers() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Campos de datos"; + return "Campos de datos"; } else { - return "Miembros de las clases"; + return "Miembros de las clases"; } } /*! This is put above each page as a link to all members of files. */ virtual QCString trFileMembers() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Globales"; + return "Globales"; } else { @@ -242,12 +236,12 @@ class TranslatorSpanish : public Translator { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Lista de estructuras con una breve descripción:"; + return "Lista de estructuras con una breve descripción:"; } else { return "Lista de las clases, estructuras, " - "uniones e interfaces con una breve descripción:"; + "uniones e interfaces con una breve descripción:"; } } @@ -268,7 +262,7 @@ class TranslatorSpanish : public Translator result+=" documentados"; } result+=" con enlaces a "; - if (!extractAll) + if (!extractAll) { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { @@ -279,7 +273,7 @@ class TranslatorSpanish : public Translator result+="la documentación de la clase para cada miembro:"; } } - else + else { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { @@ -307,9 +301,9 @@ class TranslatorSpanish : public Translator } if (!extractAll) result+=" documentados"; result+=" con enlaces "; - if (extractAll) + if (extractAll) result+="a los ficheros a los que corresponden:"; - else + else result+="a la documentación:"; return result; } @@ -326,43 +320,43 @@ class TranslatorSpanish : public Translator virtual QCString trModulesDescription() { return "Lista de todos los módulos:"; } - // index titles (the project name is prepended for these) + // index titles (the project name is prepended for these) /*! This is used in HTML as the title of index.html. */ virtual QCString trDocumentation() { return "Documentación"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all groups. */ virtual QCString trModuleIndex() { return "Indice de módulos"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * class hierarchy. */ virtual QCString trHierarchicalIndex() { return "Indice jerárquico"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index. */ virtual QCString trCompoundIndex() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { + { return "Índice de estructura de datos"; } else { - return "Índice de clases"; + return "Índice de clases"; } } /*! This is used in LaTeX as the title of the chapter with the * list of all files. */ - virtual QCString trFileIndex() + virtual QCString trFileIndex() { return "Indice de archivos"; } /*! This is used in LaTeX as the title of the chapter containing @@ -382,7 +376,7 @@ class TranslatorSpanish : public Translator } else { - return "Documentación de las clases"; + return "Documentación de las clases"; } } @@ -407,93 +401,81 @@ class TranslatorSpanish : public Translator /*! This is used in LaTeX as the title of the document */ virtual QCString trReferenceManual() { return "Manual de referencia"; } - - /*! This is used in the documentation of a file as a header before the + + /*! This is used in the documentation of a file as a header before the * list of defines */ virtual QCString trDefines() { return "'defines'"; } - /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "Funciones prototipo"; } - - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() { return "'typedefs'"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of enumerations */ virtual QCString trEnumerations() { return "Enumeraciones"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) functions */ virtual QCString trFunctions() { return "Funciones"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trVariables() { return "Variables"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trEnumerationValues() { return "Valores de enumeraciones"; } - + /*! This is used in the documentation of a file before the list of * documentation blocks for defines */ virtual QCString trDefineDocumentation() { return "Documentación de los 'defines'"; } - /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Documentación de las funciones prototipo"; } - - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() { return "Documentación de los 'typedefs'"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration types */ virtual QCString trEnumerationTypeDocumentation() { return "Documentación de las enumeraciones"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for functions */ virtual QCString trFunctionDocumentation() { return "Documentación de las funciones"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for variables */ virtual QCString trVariableDocumentation() { return "Documentación de las variables"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds */ virtual QCString trCompounds() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Estructuras de datos"; + return "Estructuras de datos"; } else { @@ -501,30 +483,23 @@ class TranslatorSpanish : public Translator } } - /*! This is used in the standard footer of each page and indicates when - * the page was generated + /*! This is used in the standard footer of each page and indicates when + * the page was generated */ virtual QCString trGeneratedAt(const char *date,const char *projName) - { + { QCString result=(QCString)"Generado el "+date; if (projName) result+=(QCString)" para "+projName; result+=(QCString)" por"; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return "escrito por"; - } - /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) { return (QCString)"Diagrama de herencias de "+clName; } - + /*! this text is generated when the \\internal command is used. */ virtual QCString trForInternalUseOnly() { return "Sólo para uso interno."; } @@ -589,7 +564,7 @@ class TranslatorSpanish : public Translator ////////////////////////////////////////////////////////////////////////// /*! used in the class documentation as a header before the list of all - * related classes + * related classes */ virtual QCString trRelatedFunctionDocumentation() { return "Documentación de las funciones relacionadas y clases amigas"; } @@ -674,21 +649,21 @@ class TranslatorSpanish : public Translator QCString result; int i; // the inherits list contain `numEntries' classes - for (i=0;i<numEntries;i++) + for (i=0;i<numEntries;i++) { // use generateMarker to generate placeholders for the class links! - result+=generateMarker(i); // generate marker for entry i in the list + result+=generateMarker(i); // generate marker for entry i in the list // (order is left to right) - + if (i!=numEntries-1) // not the last entry, so we need a separator { - if (i<numEntries-2) // not the fore last entry + if (i<numEntries-2) // not the fore last entry result+=", "; else // the fore last entry result+=" y "; } } - return result; + return result; } /*! used in class documentation to produce a list of base classes, @@ -707,7 +682,7 @@ class TranslatorSpanish : public Translator return "Heredado por "+trWriteList(numEntries)+"."; } - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are hidden by this one. */ virtual QCString trReimplementedFromList(int numEntries) @@ -729,17 +704,17 @@ class TranslatorSpanish : public Translator /*! This is an introduction to the page with all namespace members */ virtual QCString trNamespaceMemberDescription(bool extractAll) - { + { QCString result="Lista de "; if (!extractAll) result+="toda la documentación de "; result+="los miembros del namespace con enlace a "; - if (extractAll) + if (extractAll) result+="los namespace de cada miembro:"; - else + else result+="la documentación de los namespaces pertenecientes a:"; return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all namespaces. */ virtual QCString trNamespaceIndex() @@ -785,17 +760,11 @@ class TranslatorSpanish : public Translator default: break; } result+=" fue generada a partir de"; - if (single) result+="l siguiente fichero:"; + if (single) result+="l siguiente fichero:"; else result+=" los siguientes ficheros:"; return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "Lista alfabética"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -809,7 +778,7 @@ class TranslatorSpanish : public Translator virtual QCString trMainPage() { return "Página principal"; } - /*! This is used in references to page that are put in the LaTeX + /*! This is used in references to page that are put in the LaTeX * documentation. It should be an abbreviation of the word page. */ virtual QCString trPageAbbreviation() @@ -834,7 +803,7 @@ class TranslatorSpanish : public Translator virtual QCString trDeprecated() { - return "Obsoleto"; + return "Obsoleto"; } ////////////////////////////////////////////////////////////////////////// @@ -856,7 +825,7 @@ class TranslatorSpanish : public Translator /*! header that is put before the list of constructor/destructors. */ virtual QCString trConstructorDocumentation() { - return "Documentación del constructor y destructor"; + return "Documentación del constructor y destructor"; } /*! Used in the file documentation to point to the corresponding sources. */ @@ -1038,17 +1007,17 @@ class TranslatorSpanish : public Translator return "Colores y flechas del Gráfico"; } - /*! page explaining how the dot graph's should be interpreted + /*! page explaining how the dot graph's should be interpreted * The %A in the text below are to prevent link to classes called "A". */ virtual QCString trLegendDocs() { - return + return "Esta página explica como interpretar los gráficos que son generados " "por doxygen.<p>\n" "Considere el siguiente ejemplo:\n" "\\code\n" - "/*! Clase invisible por truncamiento */\n" + "/*! Clase invisible por truncamiento */\n" "class Invisible { };\n\n" "/*! Clase truncada, relación de herencia escondida */\n" "class Truncated : public Invisible { };\n\n" @@ -1099,7 +1068,7 @@ class TranslatorSpanish : public Translator "<li>Una flecha rojo oscuro es usada para herencia privada.\n" "<li>Una flecha segmentada púrpura se usa si la clase es contenida o " "usada por otra clase. La flecha está etiquetada por la variable " - "con que se accede a la clase o estructura apuntada. \n" + "con que se accede a la clase o estructura apuntada. \n" "<li>Una flecha segmentada amarilla indica la relación entre una instancia template y la clase template de la que se ha instanciado." " La flecha se etiqueta con los parámetros con que se llama al template.\n" "</ul>\n"; @@ -1110,7 +1079,7 @@ class TranslatorSpanish : public Translator { return "significado de colores y flechas"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.0 ////////////////////////////////////////////////////////////////////////// @@ -1128,16 +1097,6 @@ class TranslatorSpanish : public Translator } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "Métodos DCOP"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1220,9 +1179,9 @@ class TranslatorSpanish : public Translator // new since 1.2.6 ////////////////////////////////////////////////////////////////////////// - /*! Used as ansicpg for RTF file - * - * The following table shows the correlation of Charset name, Charset Value and + /*! Used as ansicpg for RTF file + * + * The following table shows the correlation of Charset name, Charset Value and * <pre> * Codepage number: * Charset Name Charset Value(hex) Codepage number @@ -1243,15 +1202,15 @@ class TranslatorSpanish : public Translator * GB2313_CHARSET 134 (x86) 936 * CHINESEBIG5_CHARSET 136 (x88) 950 * </pre> - * + * */ virtual QCString trRTFansicp() { return "1252"; } - - /*! Used as ansicpg for RTF fcharset + + /*! Used as ansicpg for RTF fcharset * \see trRTFansicp() for a table of possible values. */ virtual QCString trRTFCharSet() @@ -1266,80 +1225,80 @@ class TranslatorSpanish : public Translator } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trClass(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Clase" : "clase")); if (!singular) result+="s"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trFile(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Archivo" : "archivo")); if (!singular) result+="s"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trNamespace(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Namespace" : "namespace")); if (!singular) result+="s"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGroup(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Grupo" : "grupo")); if (!singular) result+="s"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trPage(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Página" : "página")); if (!singular) result+="s"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trMember(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Miembro" : "miembro")); if (!singular) result+="s"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGlobal(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Global" : "global")); if (!singular) result+="es"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1349,10 +1308,10 @@ class TranslatorSpanish : public Translator /*! This text is generated when the \\author command is used and * for the author section in man pages. */ virtual QCString trAuthor(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Autor" : "autor")); if (!singular) result+="es"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1370,7 +1329,7 @@ class TranslatorSpanish : public Translator // new since 1.2.13 ////////////////////////////////////////////////////////////////////////// - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are implemented by this one. */ virtual QCString trImplementedFromList(int numEntries) @@ -1402,8 +1361,8 @@ class TranslatorSpanish : public Translator // new since 1.2.17 ////////////////////////////////////////////////////////////////////////// - /*! Used as the header of the list of item that have been - * flagged deprecated + /*! Used as the header of the list of item that have been + * flagged deprecated */ virtual QCString trDeprecatedList() { @@ -1414,7 +1373,7 @@ class TranslatorSpanish : public Translator // new since 1.2.18 ////////////////////////////////////////////////////////////////////////// - /*! Used as a header for declaration section of the events found in + /*! Used as a header for declaration section of the events found in * a C# program */ virtual QCString trEvents() @@ -1435,39 +1394,39 @@ class TranslatorSpanish : public Translator /*! Used as a heading for a list of Java class types with package scope. */ virtual QCString trPackageTypes() - { + { return "Tipos del 'package'"; } - /*! Used as a heading for a list of Java class functions with package - * scope. + /*! Used as a heading for a list of Java class functions with package + * scope. */ virtual QCString trPackageMembers() - { + { return "Funciones del 'package'"; } - /*! Used as a heading for a list of static Java class functions with + /*! Used as a heading for a list of static Java class functions with * package scope. */ virtual QCString trStaticPackageMembers() - { + { return "Funciones estáticas del 'package'"; } - /*! Used as a heading for a list of Java class variables with package + /*! Used as a heading for a list of Java class variables with package * scope. */ virtual QCString trPackageAttribs() - { + { return "Atributos del 'package'"; } - /*! Used as a heading for a list of static Java class variables with + /*! Used as a heading for a list of static Java class variables with * package scope. */ virtual QCString trStaticPackageAttribs() - { + { return "Atributos Estáticos del 'package'"; } @@ -1475,7 +1434,7 @@ class TranslatorSpanish : public Translator // new since 1.3.1 ////////////////////////////////////////////////////////////////////////// - /*! Used in the quick index of a class/file/namespace member list page + /*! Used in the quick index of a class/file/namespace member list page * to link to the unfiltered list of all members. */ virtual QCString trAll() @@ -1493,15 +1452,6 @@ class TranslatorSpanish : public Translator // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Buscar"; - } - /*! This string is used as the title for the page listing the search * results. */ @@ -1514,7 +1464,7 @@ class TranslatorSpanish : public Translator * text can be different depending on the number of documents found. * Inside the text you can put the special marker $num to insert * the number representing the actual number of search results. - * The @a numDocuments parameter can be either 0, 1 or 2, where the + * The @a numDocuments parameter can be either 0, 1 or 2, where the * value 2 represents 2 or more matches. HTML markup is allowed inside * the returned string. */ @@ -1528,14 +1478,14 @@ class TranslatorSpanish : public Translator { return "Se encontró <b>1</b> documento que coincide con su búsqueda."; } - else + else { return "Se encontraron <b>$num</b> documentos que coinciden con su búsqueda. " "Se muestran los mejores resultados primero."; } } - /*! This string is put before the list of matched words, for each search + /*! This string is put before the list of matched words, for each search * result. What follows is the list of words that matched the query. */ virtual QCString trSearchMatches() @@ -1576,7 +1526,7 @@ class TranslatorSpanish : public Translator virtual QCString trDirectories() { return "Directorios"; } - /*! This returns a sentences that introduces the directory hierarchy. + /*! This returns a sentences that introduces the directory hierarchy. * and the fact that it is sorted alphabetically per level */ virtual QCString trDirDescription() @@ -1598,10 +1548,10 @@ class TranslatorSpanish : public Translator * (\a first_capital) and in sigular or plural form (\a singular). */ virtual QCString trDir(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Directorio" : "directorio")); if (!singular) result+="s"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1628,7 +1578,7 @@ class TranslatorSpanish : public Translator return "Gráfico de llamadas a esta función:"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration values */ virtual QCString trEnumerationValueDocumentation() @@ -1648,7 +1598,7 @@ class TranslatorSpanish : public Translator virtual QCString trMemberFunctionDocumentationFortran() { return "Documetación de miembros Function/Subroutine"; } - /*! This is put above each page as a link to the list of annotated data types (Fortran). */ + /*! This is put above each page as a link to the list of annotated data types (Fortran). */ virtual QCString trCompoundListFortran() { return "Lista de tipos de datos"; } @@ -1670,18 +1620,18 @@ class TranslatorSpanish : public Translator result+="documentados "; } result+="con enlaces a "; - if (!extractAll) + if (!extractAll) { result+="la documentación de la estructura de datos para cada miembro"; } - else + else { result+="los tipos de dato a que pertenece:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index (Fortran). */ virtual QCString trCompoundIndexFortran() @@ -1693,19 +1643,19 @@ class TranslatorSpanish : public Translator virtual QCString trTypeDocumentation() { return "Documentación de tipos de datos"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) subprograms (Fortran). */ virtual QCString trSubprograms() { return "Funciones/Subprogramas"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for subprograms (Fortran) */ virtual QCString trSubprogramDocumentation() { return "Documentación de Funciones/Subprogramas"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds (Fortran) */ virtual QCString trDataTypes() @@ -1750,7 +1700,7 @@ class TranslatorSpanish : public Translator virtual QCString trModuleReference(const char *namespaceName) { QCString result="Referencia módulo "; - result+=namespaceName; + result+=namespaceName; return result; } @@ -1760,33 +1710,33 @@ class TranslatorSpanish : public Translator /*! This is an introduction to the page with all modules members (Fortran) */ virtual QCString trModulesMemberDescription(bool extractAll) - { + { QCString result="Lista de todos los miembros del módulo "; if (!extractAll) result+="documentados "; result+="con enlaces "; - if (extractAll) + if (extractAll) { result+="a la documentación del módulo para cada uno:"; } - else + else { result+="al módulo al que pertenecen:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all modules (Fortran). */ virtual QCString trModulesIndex() { return "Índice de módulos"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * 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 ? "Módulo" : "módulo")); if (!singular) result+="s"; return result; @@ -1825,18 +1775,18 @@ class TranslatorSpanish : public Translator { QCString result((first_capital ? "Tipo" : "tipo")); if (!singular) result+="s"; - return result; + 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 + * 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 ? "Subprograma" : "subprograma")); if (!singular) result+="s"; - return result; + return result; } /*! C# Type Constraint list */ @@ -1844,7 +1794,7 @@ class TranslatorSpanish : public Translator { return "Restriciones de tipo"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.6.0 (mainly for the new search engine) ////////////////////////////////////////////////////////////////////////// @@ -1883,12 +1833,6 @@ class TranslatorSpanish : public Translator // new since 1.6.3 (missing items for the directory pages) ////////////////////////////////////////////////////////////////////////// - /*! introduction text for the directory dependency graph */ - virtual QCString trDirDependency(const char *name) - { - return (QCString)"Gráfico de dependencias para el directorio "+name; - } - /*! when clicking a directory dependency label, a page with a * table is shown. The heading for the first column mentions the * source file that has a relation to another file. @@ -1907,7 +1851,7 @@ class TranslatorSpanish : public Translator return (QCString)"Incluye ficheros en "+name; } - /** Compiles a date string. + /** Compiles a date string. * @param year Year in 4 digits * @param month Month of the year: 1=January * @param day Day of the Month: 1..31 @@ -1987,8 +1931,8 @@ class TranslatorSpanish : public Translator virtual QCString trInheritedFrom(const char *members,const char *what) { return QCString(members)+" heredados desde "+what; } - /*! Header of the sections with inherited members specific for the - * base class(es) + /*! Header of the sections with inherited members specific for the + * base class(es) */ virtual QCString trAdditionalInheritedMembers() { return "Otros miembros heredados"; } @@ -1998,7 +1942,7 @@ class TranslatorSpanish : public Translator ////////////////////////////////////////////////////////////////////////// /*! Used as a tooltip for the toggle button that appears in the - * navigation tree in the HTML output when GENERATE_TREEVIEW is + * navigation tree in the HTML output when GENERATE_TREEVIEW is * enabled. This tooltip explains the meaning of the button. */ virtual QCString trPanelSynchronisationTooltip(bool enable) diff --git a/src/translator_fa.h b/src/translator_fa.h index d3c38a6..b9bbe14 100644 --- a/src/translator_fa.h +++ b/src/translator_fa.h @@ -1,12 +1,12 @@ /****************************************************************************** * - * + * * * Copyright (C) 1997-2013 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 + * 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. * @@ -20,10 +20,10 @@ * ChangeLog : * Thu 06 Jul 2006 11:54:09 PM IRDT <nadalizadeh at gmail dot com> * >> First version of persian language support has been completed. - * + * * Mon 04 Feb 2008 11:52:09 AM IRDT <nadalizadeh at gmail dot com> * >> Obsolete methods removed. Translated more string(s) to persian. Upgraded to 1_5_4 adapter. - * + * * Fri 04 Jun 2010 04:05:24 PM IRDT <nadalizadeh at gmail dot com> * >> Implement missing new methods since 1.6.0. * >> Add English to Persian digit convertor. (for date/time digits) @@ -55,26 +55,26 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 else output += str.at(i); } - + return output; } public: // --- Language control methods ------------------- - - /*! Used for identification of the language. The identification - * should not be translated. It should be replaced by the name + + /*! Used for identification of the language. The identification + * should not be translated. It should be replaced by the name * of the language in Persian using lower-case characters only - * (e.g. "czech", "japanese", "russian", etc.). It should be equal to + * (e.g. "czech", "japanese", "russian", etc.). It should be equal to * the identification used in language.cpp. */ virtual QCString idLanguage() { return "persian"; } - - /*! Used to get the LaTeX command(s) for the language support. + + /*! Used to get the LaTeX command(s) for the language support. * This method should return string with commands that switch - * LaTeX to the desired language. For example + * LaTeX to the desired language. For example * <pre>"\\usepackage[german]{babel}\n" * </pre> * or @@ -82,7 +82,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 * "\\usepackage[latin2]{inputenc}\n" * "\\usepackage[T1]{fontenc}\n" * </pre> - * + * * The Persian LaTeX does not use such commands. Because of this * the empty string is returned in this implementation. */ @@ -91,12 +91,6 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 return ""; } - /*! 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. */ @@ -114,30 +108,30 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 /*! header that is put before the list of typedefs. */ virtual QCString trMemberTypedefDocumentation() { return "مستندات تعریف گونه ها"; } - + /*! header that is put before the list of enumerations. */ virtual QCString trMemberEnumerationDocumentation() { return "های عضو Enumeration مستندات"; } - + /*! header that is put before the list of member functions. */ virtual QCString trMemberFunctionDocumentation() { return "توضيحات توابع عضو"; } - + /*! header that is put before the list of member attributes. */ virtual QCString trMemberDataDocumentation() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Field مستندات"; + return "Field مستندات"; } else { - return "مستندات متغيير های عضو"; + return "مستندات متغيير های عضو"; } } /*! this is the text of a link put after brief descriptions. */ - virtual QCString trMore() + virtual QCString trMore() { return "بيشتر..."; } /*! put in the class documentation */ @@ -155,81 +149,81 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 /*! this is the remainder of the sentence after the class name */ virtual QCString trIncludingInheritedMembers() { return "شامل همه ی اعضای به ارث برده شده می باشد."; } - + /*! this is put at the author sections at the bottom of man pages. * parameter s is name of the project name. */ virtual QCString trGeneratedAutomatically(const char *s) { QCString result="تولید شده توسط نرم افزار دی اکسیژن "; if (s) result+=(QCString)" برای "+s; - result+=" از کد برنامه "; + result+=" از کد برنامه "; return result; } /*! put after an enum name in the list of all members */ virtual QCString trEnumName() { return "enum نام"; } - + /*! put after an enum value in the list of all members */ virtual QCString trEnumValue() { return "enum مقدار"; } - + /*! put after an undocumented member in the list of all members */ virtual QCString trDefinedIn() { return "تعریف شده در"; } // quick reference sections - /*! This is put above each page as a link to the list of all groups of + /*! This is put above each page as a link to the list of all groups of * compounds or files (see the \\group command). */ virtual QCString trModules() { return "Modules"; } - + /*! This is put above each page as a link to the class hierarchy */ virtual QCString trClassHierarchy() { return "سلسله مراتب کلاس ها"; } - + /*! This is put above each page as a link to the list of annotated classes */ virtual QCString trCompoundList() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "ساختار های داده "; } else { - return "ليست کلاس ها "; + return "ليست کلاس ها "; } } - + /*! This is put above each page as a link to the list of documented files */ virtual QCString trFileList() { return "ليست فايل ها"; } /*! This is put above each page as a link to all members of compounds. */ virtual QCString trCompoundMembers() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "فضاهای داده ها"; + return "فضاهای داده ها"; } else { - return "اعضاء کلاس ها"; + return "اعضاء کلاس ها"; } } /*! This is put above each page as a link to all members of files. */ virtual QCString trFileMembers() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Globals"; + return "Globals"; } else { - return "اعضاء پرونده"; + return "اعضاء پرونده"; } } @@ -261,11 +255,11 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 /*! This is an introduction to the annotated compound list. */ virtual QCString trCompoundListDescription() - { - + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "ليست ساختارهای داده به همراه توضيحی کوتاه :"; + return "ليست ساختارهای داده به همراه توضيحی کوتاه :"; } else { @@ -312,7 +306,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 { QCString result="ليست همه ی توابع ، متغيير ها، تعاريف و ... "; if (!extractAll) result+="(مستند شده) "; - + result+=" به همراه ارتباط آنها "; result+="با پرونده هايی که به آن مربوط اند :"; return result; @@ -330,44 +324,44 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 virtual QCString trModulesDescription() { return "لیست تمام ماژول ها:"; } - // index titles (the project name is prepended for these) + // index titles (the project name is prepended for these) /*! This is used in HTML as the title of index.html. */ virtual QCString trDocumentation() { return "مستندات"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all groups. */ virtual QCString trModuleIndex() { return "فهرست ماژول ها"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * class hierarchy. */ virtual QCString trHierarchicalIndex() { return "فهرست سلسله مراتب"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index. */ virtual QCString trCompoundIndex() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { + { return "فهرست ساختار داده ها"; } else { - return "فهرست کلاس های"; + return "فهرست کلاس های"; } } /*! This is used in LaTeX as the title of the chapter with the * list of all files. */ - virtual QCString trFileIndex() + virtual QCString trFileIndex() { return "فهرست پرونده ها"; } /*! This is used in LaTeX as the title of the chapter containing @@ -380,14 +374,14 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 * the documentation of all classes, structs and unions. */ virtual QCString trClassDocumentation() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "مستندات ساختار داده ها"; + return "مستندات ساختار داده ها"; } else { - return "مستندات کلاس ها"; + return "مستندات کلاس ها"; } } @@ -412,129 +406,111 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 /*! This is used in LaTeX as the title of the document */ virtual QCString trReferenceManual() { return "راهنمای مرجع"; } - - /*! This is used in the documentation of a file as a header before the + + /*! This is used in the documentation of a file as a header before the * list of defines */ virtual QCString trDefines() { return "تعاريف"; } - /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "پیش تعریف های توابع"; } - - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() { return "تعریف گونه ها"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of enumerations */ virtual QCString trEnumerations() { return "تعاريف"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) functions */ virtual QCString trFunctions() { return "توابع"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trVariables() { return "متغيير ها"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trEnumerationValues() { return "معرف ها"; } - + /*! This is used in the documentation of a file before the list of * documentation blocks for defines */ virtual QCString trDefineDocumentation() { return "Define Documentation"; } - /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "مستندات تعاریف اولیه توابع"; } - - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() { return "Typedef"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration types */ virtual QCString trEnumerationTypeDocumentation() { return "مستندات تعريف"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration values */ virtual QCString trEnumerationValueDocumentation() { return "مستندات معرف"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for functions */ virtual QCString trFunctionDocumentation() { return "توضيح تابع"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for variables */ virtual QCString trVariableDocumentation() { return "توضيح متغير"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds */ virtual QCString trCompounds() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "ساختارهای داده"; + return "ساختارهای داده"; } else { - return "کلاس ها"; + return "کلاس ها"; } } - /*! This is used in the standard footer of each page and indicates when - * the page was generated + /*! This is used in the standard footer of each page and indicates when + * the page was generated */ virtual QCString trGeneratedAt(const char *date,const char *projName) - { + { QCString result = HtmlDivEnd + HtmlRightToLeft + QCString("توليد شده در ") +date ; if (projName) result+=(QCString)" برای "+projName; result+=(QCString)" توسط"; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return "نوشته شده توسط"; - } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) { return (QCString)""+clName+" نمودار وراثت برای :"; } - + /*! this text is generated when the \\internal command is used. */ virtual QCString trForInternalUseOnly() { return ".فقط برای استعمال داخلی"; } @@ -566,7 +542,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 /*! this text is generated when the \\exception command is used. */ virtual QCString trExceptions() { return "استثناء ها"; } - + /*! this text is used in the title page of a LaTeX document. */ virtual QCString trGeneratedBy() { return "توليد شده توسط"; } @@ -574,7 +550,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 ////////////////////////////////////////////////////////////////////////// // new since 0.49-990307 ////////////////////////////////////////////////////////////////////////// - + /*! used as the title of page containing all the index of all namespaces. */ virtual QCString trNamespaceList() { return "ليست فضاهای نام"; } @@ -593,17 +569,17 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 */ virtual QCString trFriends() { return "کلاس های دوست"; } - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 ////////////////////////////////////////////////////////////////////////// - + /*! used in the class documentation as a header before the list of all - * related classes + * related classes */ virtual QCString trRelatedFunctionDocumentation() { return "مستندات توابع مربوط و دوست"; } - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// @@ -634,7 +610,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 virtual QCString trFileReference(const char *fileName) { QCString result=fileName; - result+=" مرجع پرونده"; + result+=" مرجع پرونده"; return result; } @@ -645,7 +621,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 result+=" مرجع فضای نام"; return result; } - + virtual QCString trPublicMembers() { return "توابع عمومی عضو کلاس"; } virtual QCString trPublicSlots() @@ -666,7 +642,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 { return "های خصوصی Slot"; } virtual QCString trStaticPrivateMembers() { return "توابع خصوصی ثابت عضو کلاس"; } - + /*! this function is used to produce a comma-separated list of items. * use generateMarker(i) to indicate where item i should be put. */ @@ -675,23 +651,23 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 QCString result; int i; // the inherits list contain `numEntries' classes - for (i=0;i<numEntries;i++) + for (i=0;i<numEntries;i++) { // use generateMarker to generate placeholders for the class links! - result+=generateMarker(i); // generate marker for entry i in the list + result+=generateMarker(i); // generate marker for entry i in the list // (order is left to right) - + if (i!=numEntries-1) // not the last entry, so we need a separator { - if (i<numEntries-2) // not the fore last entry + if (i<numEntries-2) // not the fore last entry result+=", "; else // the fore last entry result+=" و "; } } - return result; + return result; } - + /*! used in class documentation to produce a list of base classes, * if class diagrams are disabled. */ @@ -708,7 +684,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 return ".اين کلاس را به ارث برده است "+trWriteList(numEntries)+"."; } - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are hidden by this one. */ virtual QCString trReimplementedFromList(int numEntries) @@ -730,14 +706,14 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 /*! This is an introduction to the page with all namespace members */ virtual QCString trNamespaceMemberDescription(bool extractAll) - { + { QCString result="ليست همه اعضای فضای نام "; if (!extractAll) result+="(مستند شده) "; result+=" با ارتباطشان با"; result+="فضاهای نامی که به آن مربوط اند را مشاهده ميکنيد :"; return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all namespaces. */ virtual QCString trNamespaceIndex() @@ -788,12 +764,6 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "ليست الفبايي"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -807,7 +777,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 virtual QCString trMainPage() { return "صفحه ی اصلی"; } - /*! This is used in references to page that are put in the LaTeX + /*! This is used in references to page that are put in the LaTeX * documentation. It should be an abbreviation of the word page. */ virtual QCString trPageAbbreviation() @@ -851,7 +821,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 /*! header that is put before the list of constructor/destructors. */ virtual QCString trConstructorDocumentation() { - return "مستندات توباع آغازین و پایانی"; + return "مستندات توباع آغازین و پایانی"; } /*! Used in the file documentation to point to the corresponding sources. */ virtual QCString trGotoSourceCode() @@ -908,7 +878,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 ////////////////////////////////////////////////////////////////////////// // new since 1.1.0 ////////////////////////////////////////////////////////////////////////// - + virtual QCString trNote() { return "نکته"; @@ -996,7 +966,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 { return "از"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.1.5 ////////////////////////////////////////////////////////////////////////// @@ -1006,12 +976,12 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 { return "راهنمای نمودار"; } - /*! page explaining how the dot graph's should be interpreted + /*! page explaining how the dot graph's should be interpreted * The %A in the text below are to prevent link to classes called "A". */ virtual QCString trLegendDocs() { - return + return "This page explains how to interpret the graphs that are generated " "by doxygen.<p>\n" "Consider the following example:\n" @@ -1076,11 +1046,11 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 { return "راهنما"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.0 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a test item */ virtual QCString trTest() { @@ -1093,16 +1063,6 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "DCOP توابع عضو"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1158,11 +1118,11 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 { return "مقدار:"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.5 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a \\bug item */ virtual QCString trBug() { @@ -1178,9 +1138,9 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 // new since 1.2.6 ////////////////////////////////////////////////////////////////////////// - /*! Used as ansicpg for RTF file - * - * The following table shows the correlation of Charset name, Charset Value and + /*! Used as ansicpg for RTF file + * + * The following table shows the correlation of Charset name, Charset Value and * <pre> * Codepage number: * Charset Name Charset Value(hex) Codepage number @@ -1201,15 +1161,15 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 * GB2313_CHARSET 134 (x86) 936 * CHINESEBIG5_CHARSET 136 (x88) 950 * </pre> - * + * */ virtual QCString trRTFansicp() { return "1256"; } - - /*! Used as ansicpg for RTF fcharset + + /*! Used as ansicpg for RTF fcharset * \see trRTFansicp() for a table of possible values. */ virtual QCString trRTFCharSet() @@ -1222,82 +1182,82 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 { return "فهرست"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trClass(bool first_capital, bool singular) - { + { QCString result((first_capital ? "کلاس" : "کلاس")); if (!singular) result+="ها"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trFile(bool /*first_capital*/, bool singular) - { + { QCString result("پرونده"); if (!singular) result=result+" ها"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trNamespace(bool first_capital, bool singular) - { + { QCString result((first_capital ? "فضای نام " : "فضای نام ")); if (!singular) result+="ها"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGroup(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Group" : "group")); if (!singular) result+="s"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trPage(bool first_capital, bool singular) - { + { QCString result((first_capital ? "صفحه" : "صفحه")); if (!singular) result+=" ها "; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trMember(bool first_capital, bool singular) - { + { QCString result((first_capital ? "عضو" : "عضو")); if (!singular) result+="ها"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGlobal(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Global" : "global")); if (!singular) result+="s"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1307,10 +1267,10 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 /*! This text is generated when the \\author command is used and * for the author section in man pages. */ virtual QCString trAuthor(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Author" : "author")); if (!singular) result+="s"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1328,7 +1288,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 // new since 1.2.13 ////////////////////////////////////////////////////////////////////////// - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are implemented by this one. */ virtual QCString trImplementedFromList(int numEntries) @@ -1360,8 +1320,8 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 // new since 1.2.17 ////////////////////////////////////////////////////////////////////////// - /*! Used as the header of the list of item that have been - * flagged deprecated + /*! Used as the header of the list of item that have been + * flagged deprecated */ virtual QCString trDeprecatedList() { @@ -1372,7 +1332,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 // new since 1.2.18 ////////////////////////////////////////////////////////////////////////// - /*! Used as a header for declaration section of the events found in + /*! Used as a header for declaration section of the events found in * a C# program */ virtual QCString trEvents() @@ -1392,43 +1352,43 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 /*! Used as a heading for a list of Java class types with package scope. */ virtual QCString trPackageTypes() - { + { return "انواع بسته ها"; } - /*! Used as a heading for a list of Java class functions with package - * scope. + /*! Used as a heading for a list of Java class functions with package + * scope. */ virtual QCString trPackageMembers() - { + { return "توابع بسته ها"; } - /*! Used as a heading for a list of static Java class functions with + /*! Used as a heading for a list of static Java class functions with * package scope. */ virtual QCString trStaticPackageMembers() - { + { return "Static Package Functions"; } - /*! Used as a heading for a list of Java class variables with package + /*! Used as a heading for a list of Java class variables with package * scope. */ virtual QCString trPackageAttribs() - { + { return "خواص بسته ها"; } - /*! Used as a heading for a list of static Java class variables with + /*! Used as a heading for a list of static Java class variables with * package scope. */ virtual QCString trStaticPackageAttribs() - { + { return "Static Package Attributes"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.3.1 ////////////////////////////////////////////////////////////////////////// - /*! Used in the quick index of a class/file/namespace member list page + /*! Used in the quick index of a class/file/namespace member list page * to link to the unfiltered list of all members. */ virtual QCString trAll() @@ -1445,14 +1405,6 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "جستجو برای"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1464,7 +1416,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 * text can be different depending on the number of documents found. * Inside the text you can put the special marker $num to insert * the number representing the actual number of search results. - * The @a numDocuments parameter can be either 0, 1 or 2, where the + * The @a numDocuments parameter can be either 0, 1 or 2, where the * value 2 represents 2 or more matches. HTML markup is allowed inside * the returned string. */ @@ -1478,13 +1430,13 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 { return "یک سند برای این مورد یافت شد."; } - else + else { return "Found <b>$num</b> documents matching your query. " "Showing best matches first."; } } - /*! This string is put before the list of matched words, for each search + /*! This string is put before the list of matched words, for each search * result. What follows is the list of words that matched the query. */ virtual QCString trSearchMatches() @@ -1525,7 +1477,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 virtual QCString trDirectories() { return "شاخه ها"; } - /*! This returns a sentences that introduces the directory hierarchy. + /*! This returns a sentences that introduces the directory hierarchy. * and the fact that it is sorted alphabetically per level */ virtual QCString trDirDescription() @@ -1542,10 +1494,10 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 * (\a first_capital) and in sigular or plural form (\a singular). */ virtual QCString trDir(bool /*first_capital*/, bool singular) - { + { QCString result("شاخه"); if (singular) result+=" ها "+result; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1574,12 +1526,12 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 ////////////////////////////////////////////////////////////////////////// // new since 1.5.4 (mainly for Fortran) ////////////////////////////////////////////////////////////////////////// - + /*! header that is put before the list of member subprograms (Fortran). */ virtual QCString trMemberFunctionDocumentationFortran() { return "مستندات توابع عضو"; } - /*! This is put above each page as a link to the list of annotated data types (Fortran). */ + /*! This is put above each page as a link to the list of annotated data types (Fortran). */ virtual QCString trCompoundListFortran() { return "لیست ساختار های داده"; } @@ -1597,7 +1549,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 return "توضیحات اعضا ساختارها به همراه مستندات ساختار داده ی مربوطه"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index (Fortran). */ virtual QCString trCompoundIndexFortran() @@ -1609,24 +1561,24 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 virtual QCString trTypeDocumentation() { return "Data Type Documentation"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) subprograms (Fortran). */ virtual QCString trSubprograms() { return "توابع و زیربرنامه ها"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for subprograms (Fortran) */ virtual QCString trSubprogramDocumentation() { return "مستندات توابع و زیربرنامه ها"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds (Fortran) */ virtual QCString trDataTypes() { return "ساختار های داده"; } - + /*! used as the title of page containing all the index of all modules (Fortran). */ virtual QCString trModulesList() { return "لیست ماژول ها"; } @@ -1663,36 +1615,36 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 virtual QCString trModuleReference(const char *namespaceName) { QCString result=namespaceName; - result+=" Module Reference"; + result+=" Module Reference"; return result; } - + /*! This is put above each page as a link to all members of modules. (Fortran) */ virtual QCString trModulesMembers() { return "اعضاء ماژول"; } /*! This is an introduction to the page with all modules members (Fortran) */ virtual QCString trModulesMemberDescription(bool) - { + { QCString result="لیست اعضاء ماژول ها به همراه مستندات ماژول مربوطه"; return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all modules (Fortran). */ virtual QCString trModulesIndex() { return "Modules Index"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trModule(bool, bool singular) - { + { QCString result("ماژول"); if (!singular) result+=" ها"; - return result; + 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. @@ -1718,24 +1670,24 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 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 + * 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 ? "Type" : "type")); if (!singular) result+="s"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trSubprogram(bool, bool singular) - { + { QCString result("زیربرنامه"); if (!singular) result+=" ها "; - return result; + return result; } /*! C# Type Constraint list */ @@ -1782,12 +1734,6 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 // new since 1.6.3 (missing items for the directory pages) ////////////////////////////////////////////////////////////////////////// - /*! introduction text for the directory dependency graph */ - virtual QCString trDirDependency(const char *name) - { - return (QCString)"نمودار وابستگی دایرکتوری ها برای "+name; - } - /*! when clicking a directory dependency label, a page with a * table is shown. The heading for the first column mentions the * source file that has a relation to another file. @@ -1806,7 +1752,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 return (QCString)"Includes file in "+name; } - /** Compiles a date string. + /** Compiles a date string. * @param year Year in 4 digits * @param month Month of the year: 1=January * @param day Day of the Month: 1..31 diff --git a/src/translator_fi.h b/src/translator_fi.h index 3a9a890..fa42259 100644 --- a/src/translator_fi.h +++ b/src/translator_fi.h @@ -1,12 +1,12 @@ /****************************************************************************** * - * + * * * Copyright (C) 1997-2013 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 + * 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. * @@ -23,8 +23,8 @@ Antti Laine (0.49-990425 -> ) <antti.a.laine@tut.fi> 1999/10/19 * Alustava käännös valmis. -* Huom: Kaikille termeille on keksitty käännösvastine, mikä ei ehkä ole - kaikissa tapauksissa hyvä ratkaisu, ja parempikin termi voi +* Huom: Kaikille termeille on keksitty käännösvastine, mikä ei ehkä ole + kaikissa tapauksissa hyvä ratkaisu, ja parempikin termi voi olla vakiintuneessa käytössä. 2008-04-08 @@ -38,7 +38,7 @@ Antti Laine (0.49-990425 -> ) <antti.a.laine@tut.fi> * Enumeraatio -> luettelotyyppi * Paranneltu kieltä ja poistettu kirjoitusvirheitä -* Tehtävää: +* Tehtävää: - Termien kokoaminen listaksi ja suomennosten järkevyyden tarkastelu. (lista on jo melko kattava) Author = Tekijä Class = Luokka @@ -99,21 +99,21 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 "It was not updated since version 1.0.0. As a result,\n" "some sentences may appear in English.\n\n"; }*/ - + // --- Language control methods ------------------- - - /*! Used for identification of the language. The identification - * should not be translated. It should be replaced by the name + + /*! Used for identification of the language. The identification + * should not be translated. It should be replaced by the name * of the language in English using lower-case characters only - * (e.g. "czech", "japanese", "russian", etc.). It should be equal to + * (e.g. "czech", "japanese", "russian", etc.). It should be equal to * the identification used in language.cpp. */ virtual QCString idLanguage() { return "finnish"; } - /*! Used to get the LaTeX command(s) for the language support. + /*! Used to get the LaTeX command(s) for the language support. * This method should return string with commands that switch - * LaTeX to the desired language. For example + * LaTeX to the desired language. For example * <pre>"\\usepackage[german]{babel}\n" * </pre> * or @@ -121,7 +121,7 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 * "\\usepackage[latin2]{inputenc}\n" * "\\usepackage[T1]{fontenc}\n" * </pre> - * + * * The English LaTeX does not use such commands. Because of this * the empty string is returned in this implementation. */ @@ -130,12 +130,6 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 return "\\usepackage[finnish]{babel}\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. */ @@ -165,10 +159,10 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 /*! header that is put before the list of member attributes. */ virtual QCString trMemberDataDocumentation() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Kenttien dokumentaatio"; // "Field Documentation"; + return "Kenttien dokumentaatio"; // "Field Documentation"; } else { @@ -225,19 +219,19 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 // quick reference sections - /*! This is put above each page as a link to the list of all groups of + /*! This is put above each page as a link to the list of all groups of * compounds or files (see the \\group command). */ virtual QCString trModules() { return "Moduulit"; } // "Modules" - + /*! This is put above each page as a link to the class hierarchy */ virtual QCString trClassHierarchy() { return "Luokkahierarkia"; } // "Class Hierarchy" - - /*! This is put above each page as a link to the list of annotated classes */ + + /*! This is put above each page as a link to the list of annotated classes */ virtual QCString trCompoundList() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "Tietueet"; // "Data Structures" @@ -251,26 +245,26 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 /*! This is put above each page as a link to the list of documented files */ virtual QCString trFileList() { return "Tiedostolista"; } // "File List" - - /*! This is put above each page as a link to all members of compounds. */ + + /*! This is put above each page as a link to all members of compounds. */ virtual QCString trCompoundMembers() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Tietueen kentät"; // "Data Fields" + return "Tietueen kentät"; // "Data Fields" } else { return "Luokan jäsenet"; // "Class Members" } } - + /*! This is put above each page as a link to all members of files. */ virtual QCString trFileMembers() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Globaalit"; // "Globals" + return "Globaalit"; // "Globals" } else { @@ -281,16 +275,16 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 /*! This is put above each page as a link to all related pages. */ virtual QCString trRelatedPages() { return "Liittyvät sivut"; } // "Related Pages" - - /*! This is put above each page as a link to all examples. */ + + /*! This is put above each page as a link to all examples. */ virtual QCString trExamples() { return "Esimerkit"; } // "Examples" - - /*! This is put above each page as a link to the search engine. */ + + /*! This is put above each page as a link to the search engine. */ virtual QCString trSearch() { return "Etsi"; } // "Search" - - /*! This is an introduction to the class hierarchy. */ + + /*! This is an introduction to the class hierarchy. */ virtual QCString trClassHierarchyDescription() { return "Tämä periytymislista on päätasoltaan aakkostettu " // "This inheritance list is sorted roughly, " "mutta alijäsenet on aakkostettu itsenäisesti:"; // "but not completely, alphabetically:"; @@ -304,11 +298,11 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 result+="tiedostoista lyhyen selitteen kanssa:"; // "files with brief descriptions:" return result; } - + /*! This is an introduction to the annotated compound list. */ virtual QCString trCompoundListDescription() { - + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "Tässä ovat tietueet lyhyen selitteen kanssa:"; // "Here are the data structures with brief descriptions:" @@ -319,7 +313,7 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 "yhdisteet lyhyen selitteen kanssa:"; // "unions with brief descriptions:" } } - + /*! This is an introduction to the page with all class members. */ virtual QCString trCompoundMembersDescription(bool extractAll) { @@ -337,7 +331,7 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 result+="luokkien jäsenistä"; // "class members" } result+=" linkitettyinä "; // " with links to " - if (!extractAll) + if (!extractAll) { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { @@ -348,7 +342,7 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 result+="jokaisen jäsenen luokkadokumentaatioon:"; // "the class documentation for each member:" } } - else + else { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { @@ -367,7 +361,7 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 { QCString result="Tässä on lista kaikista "; // "Here is a list of all " if (!extractAll) result+="dokumentoiduista "; // "documented " - + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { result+="funktioista, muuttujista, määrittelyistä, luettelotyypeistä ja tyyppimäärittelyistä"; // "functions, variables, defines, enums, and typedefs" @@ -377,50 +371,50 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 result+="tiedoston jäsenistä"; // "file members" } result+=" linkitettyinä "; // " with links to " - if (extractAll) + if (extractAll) result+="tiedostoihin, joihin ne kuuluvat:"; // "the files they belong to:" - else + else result+="dokumentaatioon:"; // "the documentation:" return result; } - + /*! This is an introduction to the page with the list of all examples */ virtual QCString trExamplesDescription() { return "Tässä on lista kaikista esimerkeistä:"; } // "Here is a list of all examples:" - - /*! This is an introduction to the page with the list of related pages */ + + /*! This is an introduction to the page with the list of related pages */ virtual QCString trRelatedPagesDescription() { return "Tässä on lista kaikista liittyvistä dokumentaatiosivuista:"; } // "Here is a list of all related documentation pages:" - - /*! This is an introduction to the page with the list of class/file groups */ + + /*! This is an introduction to the page with the list of class/file groups */ virtual QCString trModulesDescription() { return "Tässä on lista kaikista moduleista:"; } // "Here is a list of all modules:" - - // index titles (the project name is prepended for these) - + + // index titles (the project name is prepended for these) + /*! This is used in HTML as the title of index.html. */ virtual QCString trDocumentation() { return "Dokumentaatio"; } // "Documentation" - - /*! This is used in LaTeX as the title of the chapter with the + + /*! This is used in LaTeX as the title of the chapter with the * index of all groups. */ virtual QCString trModuleIndex() { return "Moduuliluettelo"; } // "Module Index" - - /*! This is used in LaTeX as the title of the chapter with the + + /*! This is used in LaTeX as the title of the chapter with the * class hierarchy. */ virtual QCString trHierarchicalIndex() { return "Hierarkinen luettelo"; } // "Hierarchical Index" - - /*! This is used in LaTeX as the title of the chapter with the + + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index. */ virtual QCString trCompoundIndex() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { + { return "Tietueluettelo"; // "Data Structure Index" } else @@ -428,19 +422,19 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 return "Luokkaluettelo"; // "Class Index" } } - + /*! This is used in LaTeX as the title of the chapter with the * list of all files. */ - virtual QCString trFileIndex() + virtual QCString trFileIndex() { return "Tiedostoluettelo"; } // "File Index" - + /*! This is used in LaTeX as the title of the chapter containing * the documentation of all groups. */ virtual QCString trModuleDocumentation() { return "Moduulien dokumentaatio"; } // "Module Documentation" - + /*! This is used in LaTeX as the title of the chapter containing * the documentation of all classes, structs and unions. */ @@ -461,60 +455,54 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 */ virtual QCString trFileDocumentation() { return "Tiedostojen dokumentaatio"; } // "File Documentation" - + /*! This is used in LaTeX as the title of the chapter containing * the documentation of all examples. */ virtual QCString trExampleDocumentation() { return "Esimerkkien dokumentaatio"; } // "Example Documentation" - + /*! This is used in LaTeX as the title of the chapter containing * the documentation of all related pages. */ virtual QCString trPageDocumentation() { return "Sivujen dokumentaatio"; } // "Page Documentation" - + /*! This is used in LaTeX as the title of the document */ virtual QCString trReferenceManual() { return "Käsikirja"; } // "Reference Manual" - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of defines */ virtual QCString trDefines() { return "Määrittelyt"; } // "Defines" - - /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "Funktioiden prototyypit"; } // "Function Prototypes" - - /*! This is used in the documentation of a file as a header before the + + /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() { return "Tyyppimäärittelyt"; } // "Typedefs" - - /*! This is used in the documentation of a file as a header before the + + /*! This is used in the documentation of a file as a header before the * list of enumerations */ virtual QCString trEnumerations() { return "Luettelotyypit"; } // "Enumerations" - - /*! This is used in the documentation of a file as a header before the + + /*! This is used in the documentation of a file as a header before the * list of (global) functions */ virtual QCString trFunctions() { return "Funktiot"; } // "Functions" - - /*! This is used in the documentation of a file as a header before the + + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trVariables() { return "Muuttujat"; } // "Variables" - - /*! This is used in the documentation of a file as a header before the + + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trEnumerationValues() @@ -525,38 +513,32 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 */ virtual QCString trDefineDocumentation() { return "Määritysten dokumentointi"; } // "Define Documentation" - - /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Funktioprototyyppien dokumentaatio"; } // "Function Prototype Documentation" - - /*! This is used in the documentation of a file/namespace before the list + + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() { return "Tyyppimääritysten dokumentaatio"; } // "Typedef Documentation" - - /*! This is used in the documentation of a file/namespace before the list + + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration types */ virtual QCString trEnumerationTypeDocumentation() { return "Luettelotyyppien dokumentaatio"; } // "Enumeration Type Documentation" - - /*! This is used in the documentation of a file/namespace before the list + + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for functions */ virtual QCString trFunctionDocumentation() { return "Funktioiden dokumentaatio"; } // "Function Documentation" - - /*! This is used in the documentation of a file/namespace before the list + + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for variables */ virtual QCString trVariableDocumentation() { return "Muuttujien dokumentaatio"; } // "Variable Documentation" - - /*! This is used in the documentation of a file/namespace/group before + + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds */ virtual QCString trCompounds() @@ -570,12 +552,12 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 return "Luokat"; // "Classes" } } - - /*! This is used in the standard footer of each page and indicates when - * the page was generated + + /*! This is used in the standard footer of each page and indicates when + * the page was generated */ virtual QCString trGeneratedAt(const char *date,const char *projName) - { + { // funktio on hiukan vaikea kääntää prepositioihin sidotun rakenteen vuoksi. // Muutetaan siis lauserakennetta suomalaisemmaksi // Generated on $date for $project by: @@ -585,12 +567,6 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 result+=(QCString)date+" "; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return "kirjoittanut"; // "written by" - } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) @@ -601,47 +577,47 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 /*! this text is generated when the \\internal command is used. */ virtual QCString trForInternalUseOnly() { return "Vain sisäiseen käyttöön."; } // "For internal use only." - + /*! this text is generated when the \\warning command is used. */ virtual QCString trWarning() { return "Varoitus"; } // "Warning" - + /*! this text is generated when the \\version command is used. */ virtual QCString trVersion() { return "Versio"; } // "Version" - + /*! this text is generated when the \\date command is used. */ virtual QCString trDate() { return "Päiväys"; } // "Date" - + /*! this text is generated when the \\return command is used. */ virtual QCString trReturns() { return "Palauttaa"; } // "Returns" - + /*! this text is generated when the \\sa command is used. */ virtual QCString trSeeAlso() { return "Katso myös"; } // "See also" - + /*! this text is generated when the \\param command is used. */ virtual QCString trParameters() { return "Parametrit"; } // "Parameters" - + /*! this text is generated when the \\exception command is used. */ virtual QCString trExceptions() { return "Poikkeukset"; } // "Exceptions" - + /*! this text is used in the title page of a LaTeX document. */ virtual QCString trGeneratedBy() { return "Generoinut"; } // "Generated by" - + ////////////////////////////////////////////////////////////////////////// -// new since 0.49-990307 +// new since 0.49-990307 ////////////////////////////////////////////////////////////////////////// - + /*! used as the title of page containing all the index of all namespaces. */ virtual QCString trNamespaceList() { return "Nimiavaruus Lista"; } // "Namespace List" - + /*! used as an introduction to the namespace list */ virtual QCString trNamespaceListDescription(bool extractAll) { @@ -650,7 +626,7 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 result+="nimiavaruuksista lyhyen selitteen kanssa:"; // "namespaces with brief descriptions:" return result; } - + /*! used in the class documentation as a header before the list of all * friends of a class */ @@ -660,13 +636,13 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 ////////////////////////////////////////////////////////////////////////// - + /*! used in the class documentation as a header before the list of all - * related classes + * related classes */ virtual QCString trRelatedFunctionDocumentation() { return "Ystävät ja niihin liittyvien funktioiden dokumentaatio"; } // "Friends And Related Function Documentation" - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// @@ -700,7 +676,7 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 result+=" tiedostoreferenssi"; // " File Reference" return result; } - + /*! used as the title of the HTML page of a namespace */ virtual QCString trNamespaceReference(const char *namespaceName) { @@ -708,7 +684,7 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 result+=" nimiavaruusreferenssi"; // " Namespace Reference" return result; } - + virtual QCString trPublicMembers() { return "Julkiset jäsenfunktiot"; } // "Public Member Functions" virtual QCString trPublicSlots() @@ -738,23 +714,23 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 QCString result; int i; // the inherits list contain `numEntries' classes - for (i=0;i<numEntries;i++) + for (i=0;i<numEntries;i++) { // use generateMarker to generate placeholders for the class links! - result+=generateMarker(i); // generate marker for entry i in the list + result+=generateMarker(i); // generate marker for entry i in the list // (order is left to right) - + if (i!=numEntries-1) // not the last entry, so we need a separator { - if (i<numEntries-2) // not the fore last entry + if (i<numEntries-2) // not the fore last entry result+=", "; else // the fore last entry result+=" ja "; // ", and " } } - return result; + return result; } - + /*! used in class documentation to produce a list of base classes, * if class diagrams are disabled. */ @@ -762,7 +738,7 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 { return (QCString)"Periytyy "+(numEntries > 1 ? "luokista " : "luokasta ")+trWriteList(numEntries)+"."; // "Inherits " } - + /*! used in class documentation to produce a list of super classes, * if class diagrams are disabled. */ @@ -770,15 +746,15 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 { return (QCString)"Periytetään "+(numEntries > 1 ? "luokissa " : "luokassa ")+trWriteList(numEntries)+"."; // "Inherited by " } - - /*! used in member documentation blocks to produce a list of + + /*! used in member documentation blocks to produce a list of * members that are hidden by this one. */ virtual QCString trReimplementedFromList(int numEntries) { return (QCString)"Uudelleentoteuttaa "+(numEntries > 1 ? "luokat " : "luokan ")+trWriteList(numEntries)+"."; // "Reimplemented from " } - + /*! used in member documentation blocks to produce a list of * all member that overwrite the implementation of this member. */ @@ -790,25 +766,25 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 /*! This is put above each page as a link to all members of namespaces. */ virtual QCString trNamespaceMembers() { return "Nimiavaruuden jäsenet"; } // "Namespace Members" - + /*! This is an introduction to the page with all namespace members */ virtual QCString trNamespaceMemberDescription(bool extractAll) - { + { QCString result="Tässä on lista kaikista "; // "Here is a list of all " if (!extractAll) result+="dokumentoiduista "; // "documented " result+="nimiavaruuden jäsenistä linkitettynä "; // "namespace members with links to " - if (extractAll) + if (extractAll) result+="nimiavaruuden dokumentaatioon johon ne kuuluvat:"; // "the namespace documentation for each member:"; - else + else result+="nimiavaruuksiin joihin ne kuuluvat:"; // "the namespaces they belong to:" return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all namespaces. - */ + */ virtual QCString trNamespaceIndex() { return "Nimiavaruuksien luettelo"; } // "Namespace Index" - + /*! This is used in LaTeX as the title of the chapter containing * the documentation of all namespaces. */ @@ -853,12 +829,6 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "Aakkosellinen lista"; } // "Alphabetical List" - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -872,7 +842,7 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 virtual QCString trMainPage() { return "Pääsivu"; } // "Main Page" - /*! This is used in references to page that are put in the LaTeX + /*! This is used in references to page that are put in the LaTeX * documentation. It should be an abbreviation of the word page. */ virtual QCString trPageAbbreviation() @@ -974,7 +944,7 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 ////////////////////////////////////////////////////////////////////////// // new since 1.1.0 ////////////////////////////////////////////////////////////////////////// - + virtual QCString trNote() { // FIXME: Missähän merkityksessä tätä käytetään? @@ -1067,7 +1037,7 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 // FIXME: Missä merkityksessä tätä käytetään? return "Lähtien"; // "Since" } - + ////////////////////////////////////////////////////////////////////////// // new since 1.1.5 ////////////////////////////////////////////////////////////////////////// @@ -1077,12 +1047,12 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 { return "Kaavion selite"; // "Graph Legend" } - /*! page explaining how the dot graph's should be interpreted + /*! page explaining how the dot graph's should be interpreted * The %A in the text below are to prevent link to classes called "A". */ virtual QCString trLegendDocs() { - return + return "Tämä sivu selittää, kuinka doxygenin luomia kaavioita tulkitaan.<p>\n" // "This page explains how to interpret the graphs that are generated " // "by doxygen.<p>\n" @@ -1194,11 +1164,11 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 { return "selite"; // "legend" } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.0 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a test item */ virtual QCString trTest() { @@ -1211,16 +1181,6 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "DCOP-jäsenfunktiot"; // "DCOP Member Functions" - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1276,11 +1236,11 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 { return "Arvo:"; // "Value:" } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.5 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a \\bug item */ virtual QCString trBug() { @@ -1296,9 +1256,9 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 // new since 1.2.6 ////////////////////////////////////////////////////////////////////////// - /*! Used as ansicpg for RTF file - * - * The following table shows the correlation of Charset name, Charset Value and + /*! Used as ansicpg for RTF file + * + * The following table shows the correlation of Charset name, Charset Value and * <pre> * Codepage number: * Charset Name Charset Value(hex) Codepage number @@ -1319,15 +1279,15 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 * GB2313_CHARSET 134 (x86) 936 * CHINESEBIG5_CHARSET 136 (x88) 950 * </pre> - * + * */ virtual QCString trRTFansicp() { return "1252"; } - - /*! Used as ansicpg for RTF fcharset + + /*! Used as ansicpg for RTF fcharset * \see trRTFansicp() for a table of possible values. */ virtual QCString trRTFCharSet() @@ -1340,82 +1300,82 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 { return "Hakemisto"; // "Index" } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trClass(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Luokka" : "luokka")); // "Class" / "class" if (!singular) result=(first_capital ? "Luokat" : "luokat"); // "+es" -> "Classes" / "classes" - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trFile(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Tiedosto" : "tiedosto")); // "File" / "file" if (!singular) result+="t"; // "+s" -> "Files" / "files" - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trNamespace(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Nimiavaruus" : "nimiavaruus")); // "Namespace" / "namespace" if (!singular) result=(first_capital ? "Nimiavaruudet" : "nimiavaruudet"); // "+s" - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGroup(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Ryhmä" : "ryhmä")); // "Group" / "group" if (!singular) result+="t"; // "+s" - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trPage(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Sivu" : "sivu")); // "Page" / "page" if (!singular) result+="t"; // "+s" - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trMember(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Jäsen" : "jäsen")); // "Member" / "member" if (!singular) result+="et"; // "+s" - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGlobal(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Globaali" : "globaali")); // "Global" / "global" if (!singular) result+="t"; // "+s" - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1425,10 +1385,10 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 /*! This text is generated when the \\author command is used and * for the author section in man pages. */ virtual QCString trAuthor(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Tekijä" : "tekijä")); // "Author" / "author" if (!singular) result+="t"; // "+s" - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1446,7 +1406,7 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 // new since 1.2.13 ////////////////////////////////////////////////////////////////////////// - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are implemented by this one. */ virtual QCString trImplementedFromList(int numEntries) @@ -1478,8 +1438,8 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 // new since 1.2.17 ////////////////////////////////////////////////////////////////////////// - /*! Used as the header of the list of item that have been - * flagged deprecated + /*! Used as the header of the list of item that have been + * flagged deprecated */ virtual QCString trDeprecatedList() { @@ -1490,7 +1450,7 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 // new since 1.2.18 ////////////////////////////////////////////////////////////////////////// - /*! Used as a header for declaration section of the events found in + /*! Used as a header for declaration section of the events found in * a C# program */ virtual QCString trEvents() @@ -1510,43 +1470,43 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 /*! Used as a heading for a list of Java class types with package scope. */ virtual QCString trPackageTypes() - { + { return "Paketin tyypit"; // "Package Types" } - /*! Used as a heading for a list of Java class functions with package - * scope. + /*! Used as a heading for a list of Java class functions with package + * scope. */ virtual QCString trPackageMembers() - { + { return "Paketin funktiot"; // "Package Functions" } - /*! Used as a heading for a list of static Java class functions with + /*! Used as a heading for a list of static Java class functions with * package scope. */ virtual QCString trStaticPackageMembers() - { + { return "Paketin staattiset funktiot"; // "Static Package Functions" } - /*! Used as a heading for a list of Java class variables with package + /*! Used as a heading for a list of Java class variables with package * scope. */ virtual QCString trPackageAttribs() - { + { return "Paketin attribuutit"; // "Package Attributes" } - /*! Used as a heading for a list of static Java class variables with + /*! Used as a heading for a list of static Java class variables with * package scope. */ virtual QCString trStaticPackageAttribs() - { + { return "Paketin staattiset attribuutit"; // "Static Package Attributes" } - + ////////////////////////////////////////////////////////////////////////// // new since 1.3.1 ////////////////////////////////////////////////////////////////////////// - /*! Used in the quick index of a class/file/namespace member list page + /*! Used in the quick index of a class/file/namespace member list page * to link to the unfiltered list of all members. */ virtual QCString trAll() @@ -1563,14 +1523,6 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Etsi"; // "Search for" - } /*! This string is used as the title for the page listing the search * results. */ @@ -1582,7 +1534,7 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 * text can be different depending on the number of documents found. * Inside the text you can put the special marker $num to insert * the number representing the actual number of search results. - * The @a numDocuments parameter can be either 0, 1 or 2, where the + * The @a numDocuments parameter can be either 0, 1 or 2, where the * value 2 represents 2 or more matches. HTML markup is allowed inside * the returned string. */ @@ -1596,13 +1548,13 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 { return "Löytyi <b>1</b> dokumentti, joka vastasi hakuasi."; // "Found <b>1</b> document matching your query."; } - else + else { return "Löytyi <b>$num</b> dokumenttia, jotka vastasivat hakuasi. " // "Found <b>$num</b> documents matching your query. " "Parhaat tulokset näytetään ensin."; // "Showing best matches first." } } - /*! This string is put before the list of matched words, for each search + /*! This string is put before the list of matched words, for each search * result. What follows is the list of words that matched the query. */ virtual QCString trSearchMatches() @@ -1643,7 +1595,7 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 virtual QCString trDirectories() { return "Hakemistot"; } // "Directories" - /*! This returns a sentences that introduces the directory hierarchy. + /*! This returns a sentences that introduces the directory hierarchy. * and the fact that it is sorted alphabetically per level */ virtual QCString trDirDescription() @@ -1663,10 +1615,10 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 * (\a first_capital) and in sigular or plural form (\a singular). */ virtual QCString trDir(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Hakemisto" : "hakemisto")); // "Director" / "director" if (singular) result+=""; else result+="t"; // "+y" / "+ies" - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1696,7 +1648,7 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 return "Tässä on kutsukaavio tälle funktiolle:"; // "Here is the caller graph for this function:" } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration values */ virtual QCString trEnumerationValueDocumentation() @@ -1705,12 +1657,12 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 ////////////////////////////////////////////////////////////////////////// // new since 1.5.4 (mainly for Fortran) ////////////////////////////////////////////////////////////////////////// - + /*! header that is put before the list of member subprograms (Fortran). */ virtual QCString trMemberFunctionDocumentationFortran() { return "Jäsenfunktioiden/aliohjelmien dokumentaatio"; } // "Member Function/Subroutine Documentation" - /*! This is put above each page as a link to the list of annotated data types (Fortran). */ + /*! This is put above each page as a link to the list of annotated data types (Fortran). */ virtual QCString trCompoundListFortran() { return "Tietotyyppien lista"; } // "Data Types List" @@ -1732,18 +1684,18 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 } result+="tietotyyppien jäsenistä"; // "data types members" result+=", sekä linkit "; // " with links to " - if (!extractAll) + if (!extractAll) { result+="tietueen dokumentaatioon jokaiselle jäsenelle"; // "the data structure documentation for each member" } - else + else { result+="tietotyyppeihin, joihin ne kuuluvat:"; // "the data types they belong to:" } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index (Fortran). */ virtual QCString trCompoundIndexFortran() @@ -1755,24 +1707,24 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 virtual QCString trTypeDocumentation() { return "Tietotyyppien dokumentaatio"; } // "Data Type Documentation" - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) subprograms (Fortran). */ virtual QCString trSubprograms() { return "Funktiot/aliohjelmat"; } // "Functions/Subroutines" - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for subprograms (Fortran) */ virtual QCString trSubprogramDocumentation() { return "Funktioiden/aliohjelmien dokumentaatio"; } // "Function/Subroutine Documentation" - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds (Fortran) */ virtual QCString trDataTypes() { return "Tietotyypit"; } // "Data Types" - + /*! used as the title of page containing all the index of all modules (Fortran). */ virtual QCString trModulesList() { return "Moduulilista"; } // "Modules List" @@ -1814,43 +1766,43 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 result+=" moduulin referenssi"; // " Module Reference" return result; } - + /*! This is put above each page as a link to all members of modules. (Fortran) */ virtual QCString trModulesMembers() { return "Moduulin jäsenet"; } // "Module Members" /*! This is an introduction to the page with all modules members (Fortran) */ virtual QCString trModulesMemberDescription(bool extractAll) - { + { QCString result="Tässä on lista moduulin kaikista "; // "Here is a list of all " if (!extractAll) result+="dokumentoiduista"; // "documented " result+="jäsenistä, sekä linkit "; // "module members with links to " - if (extractAll) + if (extractAll) { result+="moduulin dokumentaatioon jokaiselle jäsenelle:"; // "the module documentation for each member:" } - else + else { result+="moduuleihin, joihin ne kuuluvat:"; // "the modules they belong to:" } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all modules (Fortran). */ virtual QCString trModulesIndex() { return "Moduulien hakemisto"; } // "Modules Index" - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * 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 ? "Moduuli" : "moduuli")); // "Module" / "module" if (!singular) result+="t"; // "+s" - return result; + 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. @@ -1876,24 +1828,24 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0 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 + * 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 ? "Tyyppi" : "tyyppi")); // "Type" / "type" if (!singular) result=(first_capital ? "Tyypit" : "tyypit"); // "+s" - return result; + 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 + * 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 ? "Aliohjelma" : "aliohjelma")); // "Subprogram" / "subprogram" if (!singular) result+="t"; // "+s" - return result; + return result; } /*! C# Type Constraint list */ diff --git a/src/translator_fr.h b/src/translator_fr.h index 87bc874..45ff252 100644 --- a/src/translator_fr.h +++ b/src/translator_fr.h @@ -134,13 +134,6 @@ class TranslatorFrench : public Translator return "\\usepackage[french]{babel}\n"; } - /*! return the language charset. This will be used - when transcoding the translatable strings in this file to UTF-8 */ - virtual QCString idLanguageCharset() - { - return "utf-8"; - } - // --- Language translation methods ------------------- /*! used in the compound documentation before a list of related functions. */ @@ -482,12 +475,6 @@ class TranslatorFrench : public Translator { return "Macros"; } /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "Prototypes de fonction"; } - - /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() @@ -524,12 +511,6 @@ class TranslatorFrench : public Translator { return "Documentation des macros"; } /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Documentation des prototypes de fonction"; } - - /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() @@ -578,12 +559,6 @@ class TranslatorFrench : public Translator result+=(QCString)" par"; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return "écrit par"; - } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) @@ -850,12 +825,6 @@ class TranslatorFrench : public Translator return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "Liste alphabétique"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -1157,16 +1126,6 @@ class TranslatorFrench : public Translator } ////////////////////////////////////////////////////////////////////////// - // new since 1.2.1 - ////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "Fonctions membres DCOP"; - } - - ////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1510,14 +1469,6 @@ class TranslatorFrench : public Translator // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Rechercher"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1884,12 +1835,6 @@ class TranslatorFrench : public Translator // new since 1.6.3 ////////////////////////////////////////////////////////////////////////// - /*! introduction text for the directory dependency graph */ - virtual QCString trDirDependency(const char *name) - { - return (QCString)"Graphe des dépendances de répertoire pour "+name; - } - /*! when clicking a directory dependency label, a page with a * table is shown. The heading for the first column mentions the * source file that has a relation to another file. diff --git a/src/translator_gr.h b/src/translator_gr.h index 3b6aaf4..1523445 100644 --- a/src/translator_gr.h +++ b/src/translator_gr.h @@ -47,12 +47,6 @@ class TranslatorGreek : public TranslatorAdapter_1_8_4 return "\\usepackage[greek,english]{babel}\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. */ @@ -395,12 +389,6 @@ class TranslatorGreek : public TranslatorAdapter_1_8_4 { return "Ορισμοί"; } /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "Πρωτοτυπήσεις Συναρτήσεων"; } - - /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() @@ -437,12 +425,6 @@ class TranslatorGreek : public TranslatorAdapter_1_8_4 { return "Τεκμηρίωση Ορισμών"; } /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Τεκμηρίωση Πρωτοτυπήσεων των Συναρτήσεων"; } - - /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() @@ -491,12 +473,6 @@ class TranslatorGreek : public TranslatorAdapter_1_8_4 result+=(QCString)" από"; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return "γραμμένο από τον "; - } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) @@ -759,12 +735,6 @@ class TranslatorGreek : public TranslatorAdapter_1_8_4 return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "Αλφαβητική Λίστα"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -1068,16 +1038,6 @@ class TranslatorGreek : public TranslatorAdapter_1_8_4 } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "Μέδοδοι DCOP"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1419,14 +1379,6 @@ class TranslatorGreek : public TranslatorAdapter_1_8_4 // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Αναζήτηση για"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1792,12 +1744,6 @@ class TranslatorGreek : public TranslatorAdapter_1_8_4 // new since 1.6.3 (missing items for the directory pages) ////////////////////////////////////////////////////////////////////////// - /*! introduction text for the directory dependency graph */ - virtual QCString trDirDependency(const char *name) - { - return (QCString)"Διάγραμμα εξάρτησης φακέλου για το "+name; - } - /*! when clicking a directory dependency label, a page with a * table is shown. The heading for the first column mentions the * source file that has a relation to another file. diff --git a/src/translator_hr.h b/src/translator_hr.h index bb124dd..5c79f61 100644 --- a/src/translator_hr.h +++ b/src/translator_hr.h @@ -1,12 +1,12 @@ /****************************************************************************** * - * + * * * Copyright (C) 1997-2013 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 + * 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. * @@ -17,7 +17,7 @@ // translation by Boris Bralo <boris.bralo@gmail.com> // Updates: // -------- -// 2000/08/20 +// 2000/08/20 // - Better handling of ISO-8859-2/ WIN 1250 stuff based on (actually stolen from :-)) Czech translations // implemented by Petr Prikryl (prikrylp@skil.cz). // As opposed to Czech translation this one assumes that Doxygen strings are written in Linux ( it's true, @@ -27,7 +27,7 @@ // - Added strings from 1.2.1 // - Removed unneeeded decode() calls // - Changed some CS terminology -// +// // 2001/01/22 // - Added strings from 1.2.4 // @@ -40,9 +40,9 @@ // - Method latexBabelPackage() removed, ude latexLanguageSupportCommand // // 2001/11/13 -// - inherits from Translator +// - inherits from Translator // - Added strings for 1.2.11 -// - better output for C documentation (trCompoundMembersDescription(), trClassDocumentation()) +// - better output for C documentation (trCompoundMembersDescription(), trClassDocumentation()) // // 2001/11/13 // - Added strings for 1.2.13 @@ -71,29 +71,25 @@ // 2009/01/09 // - Updated trLegendDocs // -// 2010/03/04 +// 2010/03/04 // - Updates for "new since 1.6.0 (mainly for the new search engine)". // - UTF-8 // - removed decode() // -// 2010/05/27 -// - Updates for 1.6.3 -// 2012/04/12 -// - Updates for 1.8.0 +// 2010/05/27 +// - Updates for 1.6.3 +// 2012/04/12 +// - Updates for 1.8.0 #ifndef TRANSLATOR_HR_H #define TRANSLATOR_HR_H class TranslatorCroatian : public TranslatorAdapter_1_8_2 { private: - + public: QCString idLanguage() { return "croatian"; } - QCString idLanguageCharset() - { - return "utf-8"; - } QCString latexLanguageSupportCommand() { return "\\usepackage[croatian]{babel}\n"; } QCString trRelatedFunctions() @@ -121,9 +117,9 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 QCString trIncludingInheritedMembers() { return ", uključujući naslijeđene članove."; } QCString trGeneratedAutomatically(const char *s) - { QCString result="napravljeno automatski Doxygen-om"; + { QCString result="napravljeno automatski Doxygen-om"; if (s) result+=(QCString)" za "+s; - result+=" iz programskog koda."; + result+=" iz programskog koda."; return result; } QCString trEnumName() @@ -144,7 +140,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 } else { - return "Sve klase"; + return "Sve klase"; } } QCString trFileList() @@ -152,9 +148,9 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 QCString trCompoundMembers() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - return "Svi članovi struktura"; + return "Svi članovi struktura"; else - return "Svi članovi klasa"; + return "Svi članovi klasa"; } QCString trFileMembers() { return "članovi klasa u datoteci"; } @@ -177,7 +173,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 } QCString trCompoundListDescription() { return "Popis svih klasa, unija i struktura " - "s kratkim opisom :"; + "s kratkim opisom :"; } QCString trCompoundMembersDescription(bool extractAll) { @@ -189,7 +185,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 result+="članova klasa s linkovima na "; else result+="članova struktura s linkovima na "; - + if (!extractAll) { result+="dokumentaciju svakog člana:"; @@ -231,7 +227,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 QCString trCompoundIndex() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { + { return "Kazalo struktura podataka"; } else @@ -239,7 +235,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 return "Skupno kazalo "; } } - QCString trFileIndex() + QCString trFileIndex() { return "Kazalo datoteka"; } QCString trModuleDocumentation() { return "Dokumentacija modula"; } @@ -247,7 +243,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Dokumentacija struktura podataka"; + return "Dokumentacija struktura podataka"; } else { @@ -265,8 +261,6 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 QCString trDefines() { return "Definicije"; } - QCString trFuncProtos() - { return "Prototipi funkcija"; } QCString trTypedefs() { return "Typedef-ovi"; } QCString trEnumerations() @@ -279,8 +273,6 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 { return "Vrijednosti enumeracija"; } QCString trDefineDocumentation() { return "Dokumentacija definicija"; } - QCString trFunctionPrototypeDocumentation() - { return "Dokumentacija prototipa funkcije"; } QCString trTypedefDocumentation() { return "Dokumentacija typedef-a"; } QCString trEnumerationTypeDocumentation() @@ -292,16 +284,12 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 QCString trCompounds() { return "Strukture"; } QCString trGeneratedAt(const char *date,const char *projName) - { + { QCString result=(QCString)"Napravljeno "+date; if (projName) result+=(QCString)" projekt: "+projName; result+=" generator: "; return result; } - QCString trWrittenBy() - { - return "napisao "; - } QCString trClassDiagram(const char *clName) { return QCString("Dijagram klasa za ")+clName; @@ -324,11 +312,11 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 { return "Iznimke"; } QCString trGeneratedBy() { return "Generirao"; } - + ////////////////////////////////////////////////////////////////////////// -// new since 0.49-990307 +// new since 0.49-990307 ////////////////////////////////////////////////////////////////////////// - + QCString trNamespaceList() { return "Popis imenika"; } QCString trNamespaceListDescription(bool extractAll) @@ -344,10 +332,10 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 ////////////////////////////////////////////////////////////////////////// - + QCString trRelatedFunctionDocumentation() { return "Dokumentacija povezanih funkcija"; } - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// @@ -364,8 +352,8 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 case ClassDef::Struct: result+=" strukture "; break; case ClassDef::Union: result+=" unije "; break; case ClassDef::Interface: result+=" sučelja (interface) "; break; - case ClassDef::Protocol: result+=" protokola "; break; - case ClassDef::Category: result+=" kategorije "; break; + case ClassDef::Protocol: result+=" protokola "; break; + case ClassDef::Category: result+=" kategorije "; break; case ClassDef::Exception: result+=" iznimke (exception) "; break; default: break; } @@ -375,7 +363,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 QCString trFileReference(const char *fileName) // used as the title of the HTML page of a file { - QCString result="Opis datoteke "; + QCString result="Opis datoteke "; result+=fileName; return result; } @@ -384,11 +372,11 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 { QCString result ="Opis imenika "; result+=namespaceName; - + return result; } - - // these are for the member sections of a class, struct or union + + // these are for the member sections of a class, struct or union QCString trPublicMembers() { return "Public članovi"; } QCString trPublicSlots() @@ -409,8 +397,8 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 { return "Privatni slotovi"; } QCString trStaticPrivateMembers() { return "Statični privatni članovi"; } - // end of member sections - + // end of member sections + QCString trWriteList(int numEntries) { // this function is used to produce a comma-separated list of items. @@ -418,23 +406,23 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 QCString result; int i; // the inherits list contain `numEntries' classes - for (i=0;i<numEntries;i++) + for (i=0;i<numEntries;i++) { // use generateMarker to generate placeholders for the class links! - result+=generateMarker(i); // generate marker for entry i in the list + result+=generateMarker(i); // generate marker for entry i in the list // (order is left to right) - + if (i!=numEntries-1) // not the last entry, so we need a separator { - if (i<numEntries-2) // not the fore last entry + if (i<numEntries-2) // not the fore last entry result+=", "; else // the fore last entry result+=""; } } - return result; + return result; } - + QCString trInheritsList(int numEntries) // used in class documentation to produce a list of base classes, // if class diagrams are disabled. @@ -448,7 +436,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 return "Naslijeđena u "+trWriteList(numEntries)+"."; } QCString trReimplementedFromList(int numEntries) - // used in member documentation blocks to produce a list of + // used in member documentation blocks to produce a list of // members that are hidden by this one. { return "Reimplementirano od "+trWriteList(numEntries)+"."; @@ -465,18 +453,18 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 { return "članovi imenika"; } QCString trNamespaceMemberDescription(bool extractAll) // This is an introduction to the page with all namespace members - { + { QCString result="Lista svih "; if (!extractAll) result+="dokumentiranih "; result+="članova imenika s linkovima na "; - if (extractAll) + if (extractAll) result+="imeničku dokumentaciju svakog člana:"; - else + else result+="imenike kojima pripadaju:"; return result; } QCString trNamespaceIndex() - // This is used in LaTeX as the title of the chapter with the + // This is used in LaTeX as the title of the chapter with the // index of all namespaces. { return "Kazalo imenika"; } QCString trNamespaceDocumentation() @@ -514,8 +502,8 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 case ClassDef::Struct: result+="strukture"; break; case ClassDef::Union: result+="unije"; break; case ClassDef::Interface: result+="sučelja (interface)"; break; - case ClassDef::Protocol: result+="protokola"; break; - case ClassDef::Category: result+="kategorije"; break; + case ClassDef::Protocol: result+="protokola"; break; + case ClassDef::Category: result+="kategorije"; break; case ClassDef::Exception: result+="iznimke (exception)"; break; default: break; } @@ -523,12 +511,6 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - QCString trAlphabeticalList() - { return "Abecedni popis"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -542,7 +524,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 QCString trMainPage() { return "Glavna stranica"; } - /*! This is used in references to page that are put in the LaTeX + /*! This is used in references to page that are put in the LaTeX * documentation. It should be an abbreviation of the word page. */ QCString trPageAbbreviation() @@ -587,7 +569,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 /*! header that is put before the list of constructor/destructors. */ QCString trConstructorDocumentation() { - return "Dokumentacija konstruktora i destruktora "; + return "Dokumentacija konstruktora i destruktora "; } /*! Used in the file documentation to point to the corresponding sources. */ QCString trGotoSourceCode() @@ -644,7 +626,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 ////////////////////////////////////////////////////////////////////////// // new since 1.1.0 ////////////////////////////////////////////////////////////////////////// - + QCString trNote() { return "Primjedba"; @@ -738,7 +720,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 /*! page explaining how the dot graph's should be interpreted */ virtual QCString trLegendDocs() { - return + return "Ova stranica objašnjava kako interpretirati grafikone koje je generirao " "doxygen.<p>\n" "Na primjer:\n" @@ -803,7 +785,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 ////////////////////////////////////////////////////////////////////////// // new since 1.2.0 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a test item */ virtual QCString trTest() { @@ -816,15 +798,6 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "DCOP metode"; - } -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -877,7 +850,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 ////////////////////////////////////////////////////////////////////////// // new since 1.2.5 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a \\bug item */ virtual QCString trBug() { @@ -907,89 +880,89 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 { return "Sadržaj"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trClass(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Klas" : "klas")); result+= (singular ? "a" : "e"); - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trFile(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Datotek" : "datotek")); result+= (singular ? "a" : "e"); - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trNamespace(bool first_capital, bool singular) - { + { QCString result; if (singular) result = ((first_capital ? "Imenik" : "imenik")); else result = ((first_capital ? "Imenici" : "imenici")); - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGroup(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Grup" : "grup")); result+= (singular ? "a" : "e"); - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trPage(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Stranic" : "stranic")); result+= (singular ? "a" : "e"); - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trMember(bool first_capital, bool singular) - { + { QCString result((first_capital ? "član" : "član")); if (!singular) result+="ovi"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGlobal(bool first_capital, bool singular) - { + { QCString result((first_capital ? "G" : "g")); if( singular ) result += "lobalna varijabla"; else result += "lobalne varijable"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -999,10 +972,10 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 /*! This text is generated when the \\author command is used and * for the author section in man pages. */ virtual QCString trAuthor(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Autor" : "autor")); if (!singular) result+="i"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1019,7 +992,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 // new since 1.2.13 ////////////////////////////////////////////////////////////////////////// - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are implemented by this one. */ virtual QCString trImplementedFromList(int numEntries) @@ -1049,8 +1022,8 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 // new since 1.2.17 ////////////////////////////////////////////////////////////////////////// - /*! Used as the header of the list of item that have been - * flagged deprecated + /*! Used as the header of the list of item that have been + * flagged deprecated */ virtual QCString trDeprecatedList() { @@ -1060,7 +1033,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 // new since 1.2.18 ////////////////////////////////////////////////////////////////////////// - /*! Used as a header for declaration section of the events found in + /*! Used as a header for declaration section of the events found in * a C# program */ virtual QCString trEvents() @@ -1079,42 +1052,42 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 /*! Used as a heading for a list of Java class types with package scope. */ virtual QCString trPackageTypes() - { + { return "Tipovi u paketu"; } - /*! Used as a heading for a list of Java class functions with package - * scope. + /*! Used as a heading for a list of Java class functions with package + * scope. */ virtual QCString trPackageMembers() - { + { return "Funkcije u paketu"; } - /*! Used as a heading for a list of static Java class functions with + /*! Used as a heading for a list of static Java class functions with * package scope. */ virtual QCString trStaticPackageMembers() - { + { return "Statičke funkcije u paketu"; } - /*! Used as a heading for a list of Java class variables with package + /*! Used as a heading for a list of Java class variables with package * scope. */ virtual QCString trPackageAttribs() - { + { return "Atributi u paketu"; } - /*! Used as a heading for a list of static Java class variables with + /*! Used as a heading for a list of static Java class variables with * package scope. */ virtual QCString trStaticPackageAttribs() - { + { return "Statički atributi u paketu"; } ////////////////////////////////////////////////////////////////////////// // new since 1.3.1 ////////////////////////////////////////////////////////////////////////// - /*! Used in the quick index of a class/file/namespace member list page + /*! Used in the quick index of a class/file/namespace member list page * to link to the unfiltered list of all members. */ virtual QCString trAll() @@ -1131,14 +1104,6 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Traži"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1150,7 +1115,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 * text can be different depending on the number of documents found. * Inside the text you can put the special marker $num to insert * the number representing the actual number of search results. - * The @a numDocuments parameter can be either 0, 1 or 2, where the + * The @a numDocuments parameter can be either 0, 1 or 2, where the * value 2 represents 2 or more matches. HTML markup is allowed inside * the returned string. */ @@ -1164,20 +1129,20 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 { return "Nađen <b>1</b> dokument koji odgovara vašem upitu."; } - else if (numDocuments<5) + else if (numDocuments<5) { - // Croatian (AFAIK all Slavic languages except Macedonian and Bulgarian) - // have different plural form for 2,3,4. + // Croatian (AFAIK all Slavic languages except Macedonian and Bulgarian) + // have different plural form for 2,3,4. return "Nađena <b>$num</b> dokumenta koji odgovaraju vašem upitu." "Najbolji su prikazani prvi."; } - else + else { return "Nađeno <b>$num</b> dokumenata koji odgovaraju vašem upitu." "Najbolji su prikazani prvi."; } } - /*! This string is put before the list of matched words, for each search + /*! This string is put before the list of matched words, for each search * result. What follows is the list of words that matched the query. */ virtual QCString trSearchMatches() @@ -1218,7 +1183,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 virtual QCString trDirectories() { return "Direktoriji"; } - /*! This returns a sentences that introduces the directory hierarchy. + /*! This returns a sentences that introduces the directory hierarchy. * and the fact that it is sorted alphabetically per level */ virtual QCString trDirDescription() @@ -1234,10 +1199,10 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 * (\a first_capital) and in sigular or plural form (\a singular). */ virtual QCString trDir(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Direktorij" : "direktorij")); - if (!singular) result+="i"; - return result; + if (!singular) result+="i"; + return result; } ////////////////////////////////////////////////////////////////////////// // new since 1.4.1 @@ -1263,7 +1228,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 return "Ovo je graf funkcija koje pozivaju ovu funkciju:"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration values */ virtual QCString trEnumerationValueDocumentation() @@ -1276,7 +1241,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 virtual QCString trMemberFunctionDocumentationFortran() { return "Dokumentacija member funkcija/subrutina"; } - /*! This is put above each page as a link to the list of annotated data types (Fortran). */ + /*! This is put above each page as a link to the list of annotated data types (Fortran). */ virtual QCString trCompoundListFortran() { return "Lista tipova podataka"; } @@ -1298,18 +1263,18 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 } result+="polja"; result+=" s linkovima na "; - if (!extractAll) + if (!extractAll) { result+="dokumentaciju struktura podataka za svako polje"; } - else + else { result+="strukture kojima pripadaju:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index (Fortran). */ virtual QCString trCompoundIndexFortran() @@ -1321,19 +1286,19 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 virtual QCString trTypeDocumentation() { return "Dokumentacija tipova podataka"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) subprograms (Fortran). */ virtual QCString trSubprograms() { return "Funkcije/Subrutine"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for subprograms (Fortran) */ virtual QCString trSubprogramDocumentation() { return "Documentacija funkcija/subrutina"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds (Fortran) */ virtual QCString trDataTypes() @@ -1377,7 +1342,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 virtual QCString trModuleReference(const char *namespaceName) { QCString result=namespaceName; - result+=" - Sadržaj modula"; + result+=" - Sadržaj modula"; return result; } @@ -1387,36 +1352,36 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 /*! This is an introduction to the page with all modules members (Fortran) */ virtual QCString trModulesMemberDescription(bool extractAll) - { + { QCString result="Lista svih "; if (!extractAll) result+="dokumentiranih "; result+="članova modula s linkovima na "; - if (extractAll) + if (extractAll) { result+="dokumentaciju modula za svaki član:"; } - else + else { result+="modul kojem pripadaju:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all modules (Fortran). */ virtual QCString trModulesIndex() { return "Kazalo modula"; } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * 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 ? "Modul" : "modul")); if (!singular) result+="i"; - return result; + 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. @@ -1441,24 +1406,24 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 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 + * 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 ? "Tip" : "tip")); if (!singular) result+="ovi"; - return result; + 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 + * 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 ? "Subprogram" : "subprogram")); if (!singular) result+="i"; - return result; + return result; } /*! C# Type Constraint list */ @@ -1504,12 +1469,6 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 // new since 1.6.3 (missing items for the directory pages) ////////////////////////////////////////////////////////////////////////// - /*! introduction text for the directory dependency graph */ - virtual QCString trDirDependency(const char *name) - { - return (QCString)"Graf povezanih direktorija za "+name; - } - /*! when clicking a directory dependency label, a page with a * table is shown. The heading for the first column mentions the * source file that has a relation to another file. @@ -1528,7 +1487,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 return (QCString)"Uključuje datotake u "+name; } - /** Compiles a date string. + /** Compiles a date string. * @param year Year in 4 digits * @param month Month of the year: 1=January * @param day Day of the Month: 1..31 @@ -1602,8 +1561,8 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 virtual QCString trInheritedFrom(const char *members,const char *what) { return QCString(members)+" naslijeđeni od "+what; } - /*! Header of the sections with inherited members specific for the - * base class(es) + /*! Header of the sections with inherited members specific for the + * base class(es) */ virtual QCString trAdditionalInheritedMembers() { return "Dodatni naslijeđeni članovi"; } diff --git a/src/translator_hu.h b/src/translator_hu.h index d9f485b..157247c 100644 --- a/src/translator_hu.h +++ b/src/translator_hu.h @@ -58,12 +58,6 @@ class TranslatorHungarian : public TranslatorAdapter_1_4_6 "\\usepackage[magyar]{babel}\n"; } - /*! return the language charset. This will be used for the HTML output */ - virtual QCString idLanguageCharset() - { - return "iso-8859-2"; - } - // --- Language translation methods ------------------- /*! used in the compound documentation before a list of related functions. */ @@ -405,12 +399,6 @@ class TranslatorHungarian : public TranslatorAdapter_1_4_6 { return "Makródefiníciók"; } /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "Függvény-prototípusok"; } - - /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() @@ -447,12 +435,6 @@ class TranslatorHungarian : public TranslatorAdapter_1_4_6 { return "Makródefiníciók dokumentációja"; } /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Függvény-prototípusok dokumentációja"; } - - /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() @@ -501,12 +483,6 @@ class TranslatorHungarian : public TranslatorAdapter_1_4_6 result+=(QCString)" Készült: "+date+" Készítette: "; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return " melyet írt "; - } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) @@ -770,12 +746,6 @@ class TranslatorHungarian : public TranslatorAdapter_1_4_6 return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "Betűrendes lista"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -1073,16 +1043,6 @@ class TranslatorHungarian : public TranslatorAdapter_1_4_6 } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "DCOP tagfüggvények"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1425,14 +1385,6 @@ class TranslatorHungarian : public TranslatorAdapter_1_4_6 // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Keresési kulcs"; - } /*! This string is used as the title for the page listing the search * results. */ diff --git a/src/translator_id.h b/src/translator_id.h index bcf0efc..7ecdbe7 100644 --- a/src/translator_id.h +++ b/src/translator_id.h @@ -58,12 +58,6 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0 return "\\usepackage[bahasa]{babel}"; } - /*! 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. */ @@ -406,12 +400,6 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0 { return "Makro Definisi"; } /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "Prototipe Fungsi"; } - - /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() @@ -448,12 +436,6 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0 { return "Dokumentasi Makro Definisi"; } /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Dokumentasi Prototipe Fungsi"; } - - /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() @@ -502,12 +484,6 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0 result+=(QCString)" oleh"; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return "ditulis oleh"; - } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) @@ -771,12 +747,6 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0 return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "Daftar Berdasarkan Abjad"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -1076,16 +1046,6 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0 } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "Fungsi Anggota: DCOP"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1428,14 +1388,6 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0 // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Cari"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1799,12 +1751,6 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0 // new since 1.6.3 (missing items for the directory pages) ////////////////////////////////////////////////////////////////////////// - /*! introduction text for the directory dependency graph */ - virtual QCString trDirDependency(const char *name) - { - return (QCString)"Bagan dependensi direktori untuk "+name; - } - /*! when clicking a directory dependency label, a page with a * table is shown. The heading for the first column mentions the * source file that has a relation to another file. diff --git a/src/translator_it.h b/src/translator_it.h index db8bd81..912f389 100644 --- a/src/translator_it.h +++ b/src/translator_it.h @@ -108,12 +108,6 @@ class TranslatorItalian : public TranslatorAdapter_1_8_2 return "\\usepackage[italian]{babel}\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. */ @@ -434,12 +428,6 @@ class TranslatorItalian : public TranslatorAdapter_1_8_2 { return "Definizioni"; } /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - QCString trFuncProtos() - { return "Prototipi delle funzioni"; } - - /*! This is used in the documentation of a file as a header before the * list of typedefs */ QCString trTypedefs() @@ -476,12 +464,6 @@ class TranslatorItalian : public TranslatorAdapter_1_8_2 { return "Documentazione delle definizioni"; } /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - QCString trFunctionPrototypeDocumentation() - { return "Documentazione dei prototipi delle funzioni"; } - - /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ QCString trTypedefDocumentation() @@ -530,12 +512,6 @@ class TranslatorItalian : public TranslatorAdapter_1_8_2 result+=(QCString)" da"; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - QCString trWrittenBy() - { - return "scritto da"; - } /*! this text is put before a class diagram */ QCString trClassDiagram(const char *clName) @@ -803,12 +779,6 @@ class TranslatorItalian : public TranslatorAdapter_1_8_2 return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - QCString trAlphabeticalList() - { return "Lista in ordine alfabetico";} - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -1103,16 +1073,6 @@ class TranslatorItalian : public TranslatorAdapter_1_8_2 } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "Metodi DCOP"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1427,14 +1387,6 @@ class TranslatorItalian : public TranslatorAdapter_1_8_2 // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Cerca"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1507,7 +1459,7 @@ class TranslatorItalian : public TranslatorAdapter_1_8_2 virtual QCString trDirectories() { return "Directory"; } - /*! This returns a sentences that introduces the directory hierarchy. + /*! This returns a sentences that introduces the directory hierarchy. * and the fact that it is sorted alphabetically per level */ virtual QCString trDirDescription() @@ -1554,7 +1506,7 @@ class TranslatorItalian : public TranslatorAdapter_1_8_2 return "Questo è il grafo dei chiamanti di questa funzione:"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration values */ virtual QCString trEnumerationValueDocumentation() @@ -1563,12 +1515,12 @@ class TranslatorItalian : public TranslatorAdapter_1_8_2 ////////////////////////////////////////////////////////////////////////// // new since 1.5.4 (mainly for Fortran) ////////////////////////////////////////////////////////////////////////// - + /*! header that is put before the list of member subprograms (Fortran). */ virtual QCString trMemberFunctionDocumentationFortran() { return "Documentazione delle funzioni membro/subroutine"; } - /*! This is put above each page as a link to the list of annotated data types (Fortran). */ + /*! This is put above each page as a link to the list of annotated data types (Fortran). */ virtual QCString trCompoundListFortran() { return "Elenco dei tipi di dato"; } @@ -1589,18 +1541,18 @@ class TranslatorItalian : public TranslatorAdapter_1_8_2 result+="documentati "; } result+="dei tipi di dato con collegamenti "; - if (!extractAll) + if (!extractAll) { result+="alla documentazione della struttura dati per ciascun membro:"; } - else + else { result+="ai tipi dato a cui appartengono:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index (Fortran). */ virtual QCString trCompoundIndexFortran() @@ -1612,24 +1564,24 @@ class TranslatorItalian : public TranslatorAdapter_1_8_2 virtual QCString trTypeDocumentation() { return "Documentazione dei tipi dato"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) subprograms (Fortran). */ virtual QCString trSubprograms() { return "Funzioni/Subroutine"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for subprograms (Fortran) */ virtual QCString trSubprogramDocumentation() { return "Documentazione funzioni/subroutine"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds (Fortran) */ virtual QCString trDataTypes() { return "Tipi di dato"; } - + /*! used as the title of page containing all the index of all modules (Fortran). */ virtual QCString trModulesList() { return "Elenco dei moduli"; } @@ -1669,47 +1621,47 @@ class TranslatorItalian : public TranslatorAdapter_1_8_2 virtual QCString trModuleReference(const char *namespaceName) { QCString result="Riferimenti per il modulo "; - result+=namespaceName; + result+=namespaceName; return result; } - + /*! This is put above each page as a link to all members of modules. (Fortran) */ virtual QCString trModulesMembers() { return "Membri del modulo"; } /*! This is an introduction to the page with all modules members (Fortran) */ virtual QCString trModulesMemberDescription(bool extractAll) - { + { QCString result="Questo è un elenco di tutti i membri dei moduli "; if (!extractAll) result+="documentati "; result+="con collegamenti "; - if (extractAll) + if (extractAll) { result+="alla documentazione del modulo per ciascun membro:"; } - else + else { result+="al modulo a cui appartengono:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all modules (Fortran). */ virtual QCString trModulesIndex() { return "Indice dei moduli"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * 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 ? "Modul" : "modul")); if (singular) result+="o"; else result+="i"; - return result; + 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. @@ -1735,26 +1687,26 @@ class TranslatorItalian : public TranslatorAdapter_1_8_2 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 + * 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 ? "Tip" : "tip")); if (singular) result+="o"; else result+="i"; - return result; + 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 + * 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 ? "Sottoprogramm" : "sottoprogramm")); if (singular) result+="a"; else result+="i"; - return result; + return result; } /*! C# Type Contraint list */ @@ -1801,12 +1753,6 @@ class TranslatorItalian : public TranslatorAdapter_1_8_2 // new since 1.6.3 (missing items for the directory pages) ////////////////////////////////////////////////////////////////////////// - /*! introduction text for the directory dependency graph */ - virtual QCString trDirDependency(const char *name) - { - return (QCString)"Grafo di dipendenza delle directory per "+name; - } - /*! when clicking a directory dependency label, a page with a * table is shown. The heading for the first column mentions the * source file that has a relation to another file. @@ -1901,8 +1847,8 @@ class TranslatorItalian : public TranslatorAdapter_1_8_2 virtual QCString trInheritedFrom(const char *members,const char *what) { return QCString(members)+" ereditati da "+what; } - /*! Header of the sections with inherited members specific for the - * base class(es) + /*! Header of the sections with inherited members specific for the + * base class(es) */ virtual QCString trAdditionalInheritedMembers() { return "Altri membri ereditati"; } diff --git a/src/translator_je.h b/src/translator_je.h index c6bfdcb..894452a 100644 --- a/src/translator_je.h +++ b/src/translator_je.h @@ -35,20 +35,8 @@ class TranslatorJapaneseEn : public TranslatorEnglish virtual QCString idLanguage() { return "japanese-en"; } virtual QCString latexLanguageSupportCommand() - { - return "platex"; - } - /*! returns the name of the package that is included by LaTeX */ - virtual QCString idLanguageCharset() { - //if (Config_getBool("USE_WINDOWS_ENCODING")) - //{ - // return "Shift_JIS"; - //} - //else - //{ - return "euc-jp"; - //} + return "platex"; } virtual QCString trRTFansicp() { diff --git a/src/translator_jp.h b/src/translator_jp.h index 8e973cf..22b9cd7 100644 --- a/src/translator_jp.h +++ b/src/translator_jp.h @@ -37,15 +37,11 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 public: virtual QCString idLanguage() { return "japanese"; } + virtual QCString latexLanguageSupportCommand() { return ""; } - /*! returns the name of the package that is included by LaTeX */ - virtual QCString idLanguageCharset() - { - return "utf-8"; - } /*! used in the compound documentation before a list of related functions. */ virtual QCString trRelatedFunctions() @@ -378,12 +374,6 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 { return "マクロ定義"; } /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "関数プロトタイプ"; } - - /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() @@ -419,12 +409,6 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 { return "マクロ定義"; } /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "関数プロトタイプ"; } - - /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() @@ -472,12 +456,6 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 result+=(QCString)date+"に生成されました。"; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return "作者"; - } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) @@ -744,12 +722,6 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "アルファベット順一覧"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -1049,16 +1021,6 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "DCOPメソッド"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1405,14 +1367,6 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "検索"; - } /*! This string is used as the title for the page listing the search * results. */ diff --git a/src/translator_ke.h b/src/translator_ke.h index f089d38..357465d 100644 --- a/src/translator_ke.h +++ b/src/translator_ke.h @@ -34,13 +34,8 @@ class TranslatorKoreanEn : public TranslatorEnglish virtual QCString idLanguage() { return "korean-en"; } virtual QCString latexLanguageSupportCommand() - { - return "\\usepackage{hfont}\n"; - } - /*! returns the name of the package that is included by LaTeX */ - virtual QCString idLanguageCharset() { - return "euc-kr"; + return "\\usepackage{hfont}\n"; } virtual QCString trRTFansicp() { diff --git a/src/translator_kr.h b/src/translator_kr.h index 6de6044..348fa10 100644 --- a/src/translator_kr.h +++ b/src/translator_kr.h @@ -89,12 +89,6 @@ class TranslatorKorean : public Translator return "\\usepackage{hfont}\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. */ @@ -444,12 +438,6 @@ class TranslatorKorean : public Translator { return "매크로"; } /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "함수 원형"; } - - /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() @@ -486,12 +474,6 @@ class TranslatorKorean : public Translator { return "매크로 문서화"; } /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "함수 원형 문서화"; } - - /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() @@ -540,12 +522,6 @@ class TranslatorKorean : public Translator result+=(QCString)", 생성자 : "; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return "작성자 : "; - } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) @@ -809,12 +785,6 @@ class TranslatorKorean : public Translator return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "알파벳순 목록"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -1109,16 +1079,6 @@ class TranslatorKorean : public Translator } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "DCOP 멤버 함수"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1461,14 +1421,6 @@ class TranslatorKorean : public Translator // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "검색"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1834,12 +1786,6 @@ class TranslatorKorean : public Translator // new since 1.6.3 (missing items for the directory pages) ////////////////////////////////////////////////////////////////////////// - /*! introduction text for the directory dependency graph */ - virtual QCString trDirDependency(const char *name) - { - return QCString(name) + "에 대한 디렉토리 의존 그래프"; - } - /*! when clicking a directory dependency label, a page with a * table is shown. The heading for the first column mentions the * source file that has a relation to another file. diff --git a/src/translator_lt.h b/src/translator_lt.h index 20b262f..9edbe57 100644 --- a/src/translator_lt.h +++ b/src/translator_lt.h @@ -65,12 +65,6 @@ class TranslatorLithuanian : public TranslatorAdapter_1_4_6 "\\usepackage[lithuanian]{babel}\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. */ @@ -414,12 +408,6 @@ class TranslatorLithuanian : public TranslatorAdapter_1_4_6 { return "Apibrėžimai"; } /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "Funkcijų Prototipai"; } - - /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() @@ -456,12 +444,6 @@ class TranslatorLithuanian : public TranslatorAdapter_1_4_6 { return "Apibrėžimų Dokumentacija"; } /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Funkcijų Prototipų Dokumentacija"; } - - /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() @@ -510,12 +492,6 @@ class TranslatorLithuanian : public TranslatorAdapter_1_4_6 result+=(QCString)" ";/*FIXME*/ return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return "parašyta"; - } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) @@ -777,12 +753,6 @@ class TranslatorLithuanian : public TranslatorAdapter_1_4_6 return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "Abėcėlinis Sąrašas"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -1084,16 +1054,6 @@ class TranslatorLithuanian : public TranslatorAdapter_1_4_6 } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "DCOP Metodai"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1442,14 +1402,6 @@ class TranslatorLithuanian : public TranslatorAdapter_1_4_6 // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Ieškoti"; - } /*! This string is used as the title for the page listing the search * results. */ diff --git a/src/translator_lv.h b/src/translator_lv.h index 55cdf3b..4460946 100644 --- a/src/translator_lv.h +++ b/src/translator_lv.h @@ -80,13 +80,6 @@ class TranslatorLatvian : public Translator "\\usepackage[latvian]{babel}\n"; } - /*! return the language charset. This will be used - when transcoding the translatable strings in this file to UTF-8 */ - virtual QCString idLanguageCharset() - { - return "utf-8"; - } - // --- Language translation methods ------------------- /*! used in the compound documentation before a list of related functions. */ @@ -430,12 +423,6 @@ class TranslatorLatvian : public Translator { return "Makro"; } /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "Funkciju prototipi"; } - - /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() @@ -472,12 +459,6 @@ class TranslatorLatvian : public Translator { return "Makro definīcijas dokumentācija"; } /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Funkcijas prototipu dokumentācija"; } - - /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() @@ -526,12 +507,6 @@ class TranslatorLatvian : public Translator result+=(QCString)" ar"; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return "uzrakstījis"; - } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) @@ -791,12 +766,6 @@ class TranslatorLatvian : public Translator return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "Alfabētiskais saraksts"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -1100,16 +1069,6 @@ class TranslatorLatvian : public Translator } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "DCOP elementu funkcijas"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1452,14 +1411,6 @@ class TranslatorLatvian : public Translator // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Meklēt"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1825,12 +1776,6 @@ class TranslatorLatvian : public Translator // new since 1.6.3 (missing items for the directory pages) ////////////////////////////////////////////////////////////////////////// - /*! introduction text for the directory dependency graph */ - virtual QCString trDirDependency(const char *name) - { - return (QCString)"Direktoriju atkarību grafs priekš "+name; - } - /*! when clicking a directory dependency label, a page with a * table is shown. The heading for the first column mentions the * source file that has a relation to another file. diff --git a/src/translator_mk.h b/src/translator_mk.h index e190241..15da8e1 100644 --- a/src/translator_mk.h +++ b/src/translator_mk.h @@ -1,12 +1,12 @@ /****************************************************************************** * - * + * * * Copyright (C) 1997-2013 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 + * 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. * @@ -21,7 +21,7 @@ // // Updates: // -------- -// 2007/12/09 +// 2007/12/09 // - Initial translation to Macedonian. // // 2008/05/22 @@ -37,19 +37,19 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 public: // --- Language control methods ------------------- - - /*! Used for identification of the language. The identification - * should not be translated. It should be replaced by the name + + /*! Used for identification of the language. The identification + * should not be translated. It should be replaced by the name * of the language in English using lower-case characters only - * (e.g. "czech", "japanese", "russian", etc.). It should be equal to + * (e.g. "czech", "japanese", "russian", etc.). It should be equal to * the identification used in language.cpp. */ virtual QCString idLanguage() { return "macedonian"; } - - /*! Used to get the LaTeX command(s) for the language support. + + /*! Used to get the LaTeX command(s) for the language support. * This method should return string with commands that switch - * LaTeX to the desired language. For example + * LaTeX to the desired language. For example * <pre>"\\usepackage[german]{babel}\n" * </pre> * or @@ -57,7 +57,7 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 * "\\usepackage[latin2]{inputenc}\n" * "\\usepackage[T1]{fontenc}\n" * </pre> - * + * * The English LaTeX does not use such commands. Because of this * the empty string is returned in this implementation. */ @@ -66,12 +66,6 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 return "\\usepackage[macedonian]{babel}\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. */ @@ -89,26 +83,26 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 /*! header that is put before the list of typedefs. */ virtual QCString trMemberTypedefDocumentation() { return "Документација на членови дефиниции на тип"; } - + /*! header that is put before the list of enumerations. */ virtual QCString trMemberEnumerationDocumentation() { return "Документација на набројани членови"; } - + /*! header that is put before the list of member functions. */ virtual QCString trMemberFunctionDocumentation() { return "Документација на функции членови"; } - + /*! header that is put before the list of member attributes. */ virtual QCString trMemberDataDocumentation() - { + { //if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Документација на членови"; - } + return "Документација на членови"; + } } /*! this is the text of a link put after brief descriptions. */ - virtual QCString trMore() + virtual QCString trMore() { return "Повеќе..."; } /*! put in the class documentation */ @@ -126,44 +120,44 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 /*! this is the remainder of the sentence after the class name */ virtual QCString trIncludingInheritedMembers() { return ", вклучувајќи ги сите наследени членови."; } - + /*! this is put at the author sections at the bottom of man pages. * parameter s is name of the project name. */ virtual QCString trGeneratedAutomatically(const char *s) { QCString result="Автоматски создадено од Doxygen"; if (s) result+=(QCString)" за "+s; - result+=" изворниот код."; + result+=" изворниот код."; return result; } /*! put after an enum name in the list of all members */ virtual QCString trEnumName() { return "име на набројан член"; } - + /*! put after an enum value in the list of all members */ virtual QCString trEnumValue() { return "вредност на набројан член"; } - + /*! put after an undocumented member in the list of all members */ virtual QCString trDefinedIn() { return "дефиниран во"; } // quick reference sections - /*! This is put above each page as a link to the list of all groups of + /*! This is put above each page as a link to the list of all groups of * compounds or files (see the \\group command). */ virtual QCString trModules() { return "Модули"; } - + /*! This is put above each page as a link to the class hierarchy */ virtual QCString trClassHierarchy() { return "Стебло на класи"; } - + /*! This is put above each page as a link to the list of annotated classes */ virtual QCString trCompoundList() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "Список на Структури"; @@ -173,34 +167,34 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 return "Список на Класи"; } } - + /*! This is put above each page as a link to the list of documented files */ virtual QCString trFileList() { return "Список на Датотеки"; } /*! This is put above each page as a link to all members of compounds. */ virtual QCString trCompoundMembers() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Членови"; + return "Членови"; } else { - return "Членови на Класата"; + return "Членови на Класата"; } } /*! This is put above each page as a link to all members of files. */ virtual QCString trFileMembers() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Глобални Членови"; + return "Глобални Членови"; } else { - return "Членови на Датотеката"; + return "Членови на Датотеката"; } } @@ -232,16 +226,16 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 /*! This is an introduction to the annotated compound list. */ virtual QCString trCompoundListDescription() - { - + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Список на структури со кратки описи:"; + return "Список на структури со кратки описи:"; } else { return "Список на класи, структури, унии и интерфејси " - "со кратки описи:"; + "со кратки описи:"; } } @@ -262,7 +256,7 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 result+="членови на класата"; } result+=" со врски до "; - if (!extractAll) + if (!extractAll) { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { @@ -273,7 +267,7 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 result+="документацијата на секој член на класата:"; } } - else + else { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { @@ -292,7 +286,7 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 { QCString result="Список на сите "; if (!extractAll) result+="документирани "; - + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { result+="функции, променливи, дефиниции, набројувања и дефиниции на тип"; @@ -302,9 +296,9 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 result+="членови на датотеки"; } result+=" со врски до "; - if (extractAll) + if (extractAll) result+="датотеките на кои што припаѓаат:"; - else + else result+="документацијата:"; return result; } @@ -321,43 +315,43 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 virtual QCString trModulesDescription() { return "Список на сите модули:"; } - // index titles (the project name is prepended for these) + // index titles (the project name is prepended for these) /*! This is used in HTML as the title of index.html. */ virtual QCString trDocumentation() { return "Документација"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all groups. */ virtual QCString trModuleIndex() { return "Попис на Модули"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * class hierarchy. */ virtual QCString trHierarchicalIndex() { return "Попис на Стебло"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index. */ virtual QCString trCompoundIndex() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { + { return "Попис на Структури"; } else { - return "Попис на Класи"; + return "Попис на Класи"; } } /*! This is used in LaTeX as the title of the chapter with the * list of all files. */ - virtual QCString trFileIndex() + virtual QCString trFileIndex() { return "Попис на Датотеки"; } /*! This is used in LaTeX as the title of the chapter containing @@ -370,14 +364,14 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 * the documentation of all classes, structs and unions. */ virtual QCString trClassDocumentation() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Документација на Структури"; + return "Документација на Структури"; } else { - return "Документација на Класи"; + return "Документација на Класи"; } } @@ -402,123 +396,105 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 /*! This is used in LaTeX as the title of the document */ virtual QCString trReferenceManual() { return "Прирачник"; } - - /*! This is used in the documentation of a file as a header before the + + /*! This is used in the documentation of a file as a header before the * list of defines */ virtual QCString trDefines() { return "Дефинирања"; } - /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "Прототипи на Функции"; } - - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() { return "Дефиниции на Тип"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of enumerations */ virtual QCString trEnumerations() { return "Набројувања"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) functions */ virtual QCString trFunctions() { return "Функции"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trVariables() { return "Променливи"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trEnumerationValues() { return "Вредности на Набројувањата"; } - + /*! This is used in the documentation of a file before the list of * documentation blocks for defines */ virtual QCString trDefineDocumentation() { return "Документција на Дефиниции"; } - /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Документација на Прототип на Функции"; } - - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() { return "Документација на Дефиниции на Тип"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration types */ virtual QCString trEnumerationTypeDocumentation() { return "Документација на Набројувања"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for functions */ virtual QCString trFunctionDocumentation() { return "Документација на Функции"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for variables */ virtual QCString trVariableDocumentation() { return "Документација на Променливи"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds */ virtual QCString trCompounds() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Структури"; + return "Структури"; } else { - return "Класи"; + return "Класи"; } } - /*! This is used in the standard footer of each page and indicates when - * the page was generated + /*! This is used in the standard footer of each page and indicates when + * the page was generated */ virtual QCString trGeneratedAt(const char *date,const char *projName) - { + { QCString result=(QCString)"Создадено на "+date; if (projName) result+=(QCString)" за "+projName; result+=(QCString)" од"; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return "напишано од"; - } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) { return (QCString)"Диаграм на наследување за "+clName+":"; } - + /*! this text is generated when the \\internal command is used. */ virtual QCString trForInternalUseOnly() { return "Само за интерна употреба."; } @@ -550,7 +526,7 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 /*! this text is generated when the \\exception command is used. */ virtual QCString trExceptions() { return "Исклучоци"; } - + /*! this text is used in the title page of a LaTeX document. */ virtual QCString trGeneratedBy() { return "Создадено од"; } @@ -558,7 +534,7 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 ////////////////////////////////////////////////////////////////////////// // new since 0.49-990307 ////////////////////////////////////////////////////////////////////////// - + /*! used as the title of page containing all the index of all namespaces. */ virtual QCString trNamespaceList() { return "Список на Имиња на Простор"; } @@ -577,17 +553,17 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 */ virtual QCString trFriends() { return "Пријатели"; } - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 ////////////////////////////////////////////////////////////////////////// - + /*! used in the class documentation as a header before the list of all - * related classes + * related classes */ virtual QCString trRelatedFunctionDocumentation() { return "Документација на Пријатели и Поврзани Функции"; } - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// @@ -618,7 +594,7 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 virtual QCString trFileReference(const char *fileName) { QCString result = "Опис на Датотекaта "; - result += fileName; + result += fileName; return result; } @@ -629,7 +605,7 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 result += namespaceName; return result; } - + virtual QCString trPublicMembers() { return "Јавни Функции Членови"; } virtual QCString trPublicSlots() @@ -650,7 +626,7 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 { return "Приватни Слотови"; } virtual QCString trStaticPrivateMembers() { return "Статични Приватни Функции Членови"; } - + /*! this function is used to produce a comma-separated list of items. * use generateMarker(i) to indicate where item i should be put. */ @@ -659,23 +635,23 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 QCString result; int i; // the inherits list contain `numEntries' classes - for (i=0;i<numEntries;i++) + for (i=0;i<numEntries;i++) { // use generateMarker to generate placeholders for the class links! - result+=generateMarker(i); // generate marker for entry i in the list + result+=generateMarker(i); // generate marker for entry i in the list // (order is left to right) - + if (i!=numEntries-1) // not the last entry, so we need a separator { - if (i<numEntries-2) // not the fore last entry + if (i<numEntries-2) // not the fore last entry result+=", "; else // the fore last entry result+=" и "; } } - return result; + return result; } - + /*! used in class documentation to produce a list of base classes, * if class diagrams are disabled. */ @@ -692,7 +668,7 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 return "Наследено од "+trWriteList(numEntries)+"."; } - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are hidden by this one. */ virtual QCString trReimplementedFromList(int numEntries) @@ -714,17 +690,17 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 /*! This is an introduction to the page with all namespace members */ virtual QCString trNamespaceMemberDescription(bool extractAll) - { + { QCString result="Список на сите "; if (!extractAll) result+="документирани "; result+="членови на името на простор со врски до "; - if (extractAll) + if (extractAll) result+="документацијата на секој член:"; - else + else result+="името на простор на кое што му припаѓаат:"; return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all namespaces. */ virtual QCString trNamespaceIndex() @@ -774,12 +750,6 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "Азбучен Список"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -793,7 +763,7 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 virtual QCString trMainPage() { return "Главна Страна"; } - /*! This is used in references to page that are put in the LaTeX + /*! This is used in references to page that are put in the LaTeX * documentation. It should be an abbreviation of the word page. */ virtual QCString trPageAbbreviation() @@ -838,7 +808,7 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 /*! header that is put before the list of constructor/destructors. */ virtual QCString trConstructorDocumentation() { - return "Документација на Конструктор и Деструктор"; + return "Документација на Конструктор и Деструктор"; } /*! Used in the file documentation to point to the corresponding sources. */ virtual QCString trGotoSourceCode() @@ -895,7 +865,7 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 ////////////////////////////////////////////////////////////////////////// // new since 1.1.0 ////////////////////////////////////////////////////////////////////////// - + virtual QCString trNote() { return "Забелешка"; @@ -984,7 +954,7 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 { return "Од"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.1.5 ////////////////////////////////////////////////////////////////////////// @@ -994,12 +964,12 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 { return "Легенда на Дијаграмот"; } - /*! page explaining how the dot graph's should be interpreted + /*! page explaining how the dot graph's should be interpreted * The %A in the text below are to prevent link to classes called "A". */ virtual QCString trLegendDocs() { - return + return "Оваа страна објаснува како да ги толкувате дијаграмите создадени" " од doxygen.<p>\n" "На пример:\n" @@ -1063,11 +1033,11 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 { return "Легенда"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.0 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a test item */ virtual QCString trTest() { @@ -1080,16 +1050,6 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "DCOP Функции Членови"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1145,11 +1105,11 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 { return "Вредност:"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.5 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a \\bug item */ virtual QCString trBug() { @@ -1165,9 +1125,9 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 // new since 1.2.6 ////////////////////////////////////////////////////////////////////////// - /*! Used as ansicpg for RTF file - * - * The following table shows the correlation of Charset name, Charset Value and + /*! Used as ansicpg for RTF file + * + * The following table shows the correlation of Charset name, Charset Value and * <pre> * Codepage number: * Charset Name Charset Value(hex) Codepage number @@ -1188,15 +1148,15 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 * GB2313_CHARSET 134 (x86) 936 * CHINESEBIG5_CHARSET 136 (x88) 950 * </pre> - * + * */ virtual QCString trRTFansicp() { return "1251"; } - - /*! Used as ansicpg for RTF fcharset + + /*! Used as ansicpg for RTF fcharset * \see trRTFansicp() for a table of possible values. */ virtual QCString trRTFCharSet() @@ -1209,82 +1169,82 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 { return "Попис"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trClass(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Клас" : "клас")); result += (singular ? "а" : "и"); - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trFile(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Датотек" : "датотек")); result += (singular ? "а" : "и"); - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trNamespace(bool first_capital, bool singular) - { - QCString result((first_capital ? "Им" : "им")); + { + QCString result((first_capital ? "Им" : "им")); result += (singular ? "е на простор" : "иња на простори"); - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGroup(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Груп" : "груп")); result += (singular ? "а" : "и"); - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trPage(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Стран" : "стран")); result += (singular ? "а" : "и"); - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trMember(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Член" : "член")); if (!singular) result+="ови"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGlobal(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Глобал" : "глобал")); result += (singular ? "ен" : "ни"); - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1294,10 +1254,10 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 /*! This text is generated when the \\author command is used and * for the author section in man pages. */ virtual QCString trAuthor(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Автор" : "автор")); if (!singular) result+="и"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1315,7 +1275,7 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 // new since 1.2.13 ////////////////////////////////////////////////////////////////////////// - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are implemented by this one. */ virtual QCString trImplementedFromList(int numEntries) @@ -1347,8 +1307,8 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 // new since 1.2.17 ////////////////////////////////////////////////////////////////////////// - /*! Used as the header of the list of item that have been - * flagged deprecated + /*! Used as the header of the list of item that have been + * flagged deprecated */ virtual QCString trDeprecatedList() { @@ -1359,7 +1319,7 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 // new since 1.2.18 ////////////////////////////////////////////////////////////////////////// - /*! Used as a header for declaration section of the events found in + /*! Used as a header for declaration section of the events found in * a C# program */ virtual QCString trEvents() @@ -1379,43 +1339,43 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 /*! Used as a heading for a list of Java class types with package scope. */ virtual QCString trPackageTypes() - { + { return "Типови во Пакетот"; } - /*! Used as a heading for a list of Java class functions with package - * scope. + /*! Used as a heading for a list of Java class functions with package + * scope. */ virtual QCString trPackageMembers() - { + { return "Функции во Пакетот"; } - /*! Used as a heading for a list of static Java class functions with + /*! Used as a heading for a list of static Java class functions with * package scope. */ virtual QCString trStaticPackageMembers() - { + { return "Статични Функции во Пакетот"; } - /*! Used as a heading for a list of Java class variables with package + /*! Used as a heading for a list of Java class variables with package * scope. */ virtual QCString trPackageAttribs() - { + { return "Членови во Пакетот"; } - /*! Used as a heading for a list of static Java class variables with + /*! Used as a heading for a list of static Java class variables with * package scope. */ virtual QCString trStaticPackageAttribs() - { + { return "Статични Членови во Пакетот"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.3.1 ////////////////////////////////////////////////////////////////////////// - /*! Used in the quick index of a class/file/namespace member list page + /*! Used in the quick index of a class/file/namespace member list page * to link to the unfiltered list of all members. */ virtual QCString trAll() @@ -1432,14 +1392,6 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Пребарај"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1451,7 +1403,7 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 * text can be different depending on the number of documents found. * Inside the text you can put the special marker $num to insert * the number representing the actual number of search results. - * The @a numDocuments parameter can be either 0, 1 or 2, where the + * The @a numDocuments parameter can be either 0, 1 or 2, where the * value 2 represents 2 or more matches. HTML markup is allowed inside * the returned string. */ @@ -1465,13 +1417,13 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 { return "Пронајден <b>1</b> документ кој се поклопува со вашето барање."; } - else + else { return "Пронајдени <b>$num</b> документи кои се поклопуваат со вашето барање." "Најдобро поклопените документи се прикажани први."; } } - /*! This string is put before the list of matched words, for each search + /*! This string is put before the list of matched words, for each search * result. What follows is the list of words that matched the query. */ virtual QCString trSearchMatches() @@ -1512,7 +1464,7 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 virtual QCString trDirectories() { return "Именици"; } - /*! This returns a sentences that introduces the directory hierarchy. + /*! This returns a sentences that introduces the directory hierarchy. * and the fact that it is sorted alphabetically per level */ virtual QCString trDirDescription() @@ -1528,10 +1480,10 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 * (\a first_capital) and in sigular or plural form (\a singular). */ virtual QCString trDir(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Имени" : "имени")); if (singular) result+="к"; else result+="ци"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1557,7 +1509,7 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 return "Ова е графот на повикување за оваа фунција:"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration values */ virtual QCString trEnumerationValueDocumentation() @@ -1566,12 +1518,12 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 ////////////////////////////////////////////////////////////////////////// // new since 1.5.4 (mainly for Fortran) ////////////////////////////////////////////////////////////////////////// - + /*! header that is put before the list of member subprograms (Fortran). */ virtual QCString trMemberFunctionDocumentationFortran() { return "Документација на функции/процедури членови"; } - /*! This is put above each page as a link to the list of annotated data types (Fortran). */ + /*! This is put above each page as a link to the list of annotated data types (Fortran). */ virtual QCString trCompoundListFortran() { return "Список на Типови"; } @@ -1593,18 +1545,18 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 } result+="членови на типови"; result+=" со врски до "; - if (!extractAll) + if (!extractAll) { result+="документацијата за секој член:"; } - else + else { result+="типовите на кои што припаѓаат:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index (Fortran). */ virtual QCString trCompoundIndexFortran() @@ -1616,24 +1568,24 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 virtual QCString trTypeDocumentation() { return "Документација на Типови"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) subprograms (Fortran). */ virtual QCString trSubprograms() { return "Функции/Процедури"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for subprograms (Fortran) */ virtual QCString trSubprogramDocumentation() { return "Документација на Функции/Процедури"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds (Fortran) */ virtual QCString trDataTypes() { return "Типови"; } - + /*! used as the title of page containing all the index of all modules (Fortran). */ virtual QCString trModulesList() { return "Попис на Модули"; } @@ -1671,46 +1623,46 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 virtual QCString trModuleReference(const char *namespaceName) { QCString result=namespaceName; - result+=" - Содржина на Модул"; + result+=" - Содржина на Модул"; return result; } - + /*! This is put above each page as a link to all members of modules. (Fortran) */ virtual QCString trModulesMembers() { return "Членови на Модул"; } /*! This is an introduction to the page with all modules members (Fortran) */ virtual QCString trModulesMemberDescription(bool extractAll) - { + { QCString result="Список на сите "; if (!extractAll) result+="документирани "; result+="членови на модулот со врски до "; - if (extractAll) + if (extractAll) { result+="документацијата за секој член:"; } - else + else { result+="модулите на кои што припаѓаат:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all modules (Fortran). */ virtual QCString trModulesIndex() { return "Попис на Модули"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * 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 ? "Модул" : "модул")); if (!singular) result+="и"; - return result; + 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. @@ -1736,29 +1688,29 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0 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 + * 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 ? "Тип" : "тип")); if (!singular) result+="ови"; - return result; + 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 + * 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 ? "Потпрограм" : "потпрограм")); if (singular){ result+="а"; }else{ result+="и"; } - - return result; + + return result; } /*! C# Type Constraint list */ diff --git a/src/translator_nl.h b/src/translator_nl.h index 405d712..2525b4f 100644 --- a/src/translator_nl.h +++ b/src/translator_nl.h @@ -1,12 +1,12 @@ /****************************************************************************** * - * + * * * Copyright (C) 1997-2013 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 + * 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. * @@ -23,9 +23,9 @@ class TranslatorDutch : public Translator public: QCString idLanguage() { return "dutch"; } - /*! Used to get the LaTeX command(s) for the language support. + /*! Used to get the LaTeX command(s) for the language support. * This method should return string with commands that switch - * LaTeX to the desired language. For example + * LaTeX to the desired language. For example * <pre>"\\usepackage[german]{babel}\n" * </pre> * or @@ -38,12 +38,6 @@ class TranslatorDutch : public Translator { return "\\usepackage[dutch]{babel}\n"; } - /*! return the language charset. This will be used for the HTML output */ - QCString idLanguageCharset() - { - return "iso-8859-1"; - } - QCString trRelatedFunctions() { return "Gerelateerde functies"; } QCString trRelatedSubscript() @@ -69,9 +63,9 @@ class TranslatorDutch : public Translator QCString trIncludingInheritedMembers() { return ", inclusief alle overgeërfde members."; } QCString trGeneratedAutomatically(const char *s) - { QCString result="Automatisch gegenereerd door Doxygen"; + { QCString result="Automatisch gegenereerd door Doxygen"; if (s) result+=(QCString)" voor "+s; - result+=" uit de programmatekst."; + result+=" uit de programmatekst."; return result; } QCString trEnumName() @@ -111,7 +105,7 @@ class TranslatorDutch : public Translator } QCString trCompoundListDescription() { return "Hieronder volgen de klassen, structs en " - "unions met voor elk een korte beschrijving:"; + "unions met voor elk een korte beschrijving:"; } QCString trCompoundMembersDescription(bool extractAll) { @@ -146,7 +140,7 @@ class TranslatorDutch : public Translator { return "Hiërarchische Index"; } QCString trCompoundIndex() { return "Klasse Index"; } - QCString trFileIndex() + QCString trFileIndex() { return "Bestand Index"; } QCString trModuleDocumentation() { return "Module Documentatie"; } @@ -163,8 +157,6 @@ class TranslatorDutch : public Translator QCString trDefines() { return "Macros"; } - QCString trFuncProtos() - { return "Functie Prototypes"; } QCString trTypedefs() { return "Typedefs"; } QCString trEnumerations() @@ -177,8 +169,6 @@ class TranslatorDutch : public Translator { return "Enumeratie waarden"; } QCString trDefineDocumentation() { return "Documentatie van macro's"; } - QCString trFunctionPrototypeDocumentation() - { return "Documentatie van functie Prototypes"; } QCString trTypedefDocumentation() { return "Documentatie van typedefs"; } QCString trEnumerationTypeDocumentation() @@ -192,16 +182,12 @@ class TranslatorDutch : public Translator QCString trCompounds() { return "Klassen"; } QCString trGeneratedAt(const char *date,const char *projName) - { + { QCString result=(QCString)"Gegenereerd op "+date; if (projName) result+=(QCString)" voor "+projName; result+=(QCString)" door"; return result; } - QCString trWrittenBy() - { - return "geschreven door"; - } QCString trClassDiagram(const char *clName) { return (QCString)"Klasse diagram voor "+clName; @@ -224,11 +210,11 @@ class TranslatorDutch : public Translator { return "Excepties"; } QCString trGeneratedBy() { return "Gegenereerd door"; } - + ////////////////////////////////////////////////////////////////////////// -// new since 0.49-990307 +// new since 0.49-990307 ////////////////////////////////////////////////////////////////////////// - + QCString trNamespaceList() { return "Namespace Lijst"; } QCString trNamespaceListDescription(bool extractAll) @@ -244,10 +230,10 @@ class TranslatorDutch : public Translator ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 ////////////////////////////////////////////////////////////////////////// - + QCString trRelatedFunctionDocumentation() { return "Documentatie van friends en gerelateerde functies"; } - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// @@ -277,7 +263,7 @@ class TranslatorDutch : public Translator // used as the title of the HTML page of a file { QCString result=fileName; - result+=" Bestand Referentie"; + result+=" Bestand Referentie"; return result; } QCString trNamespaceReference(const char *namespaceName) @@ -287,8 +273,8 @@ class TranslatorDutch : public Translator result+=" Namespace Referentie"; return result; } - - // these are for the member sections of a class, struct or union + + // these are for the member sections of a class, struct or union QCString trPublicMembers() { return "Public Members"; } QCString trPublicSlots() @@ -309,8 +295,8 @@ class TranslatorDutch : public Translator { return "Private Slots"; } QCString trStaticPrivateMembers() { return "Static Private Members"; } - // end of member sections - + // end of member sections + QCString trWriteList(int numEntries) { // this function is used to produce a comma-separated list of items. @@ -318,23 +304,23 @@ class TranslatorDutch : public Translator QCString result; int i; // the inherits list contain `numEntries' classes - for (i=0;i<numEntries;i++) + for (i=0;i<numEntries;i++) { // use generateMarker to generate placeholders for the class links! - result+=generateMarker(i); // generate marker for entry i in the list + result+=generateMarker(i); // generate marker for entry i in the list // (order is left to right) - + if (i!=numEntries-1) // not the last entry, so we need a separator { - if (i<numEntries-2) // not the fore last entry + if (i<numEntries-2) // not the fore last entry result+=", "; else // the fore last entry result+=" en "; } } - return result; + return result; } - + QCString trInheritsList(int numEntries) // used in class documentation to produce a list of base classes, // if class diagrams are disabled. @@ -348,7 +334,7 @@ class TranslatorDutch : public Translator return "Wordt overgeërfd door "+trWriteList(numEntries)+"."; } QCString trReimplementedFromList(int numEntries) - // used in member documentation blocks to produce a list of + // used in member documentation blocks to produce a list of // members that are hidden by this one. { return "Nieuwe implementatie van "+trWriteList(numEntries)+"."; @@ -365,18 +351,18 @@ class TranslatorDutch : public Translator { return "Namespace Members"; } QCString trNamespaceMemberDescription(bool extractAll) // This is an introduction to the page with all namespace members - { + { QCString result="Hier is een lijst van alle "; if (!extractAll) result+="gedocumenteerde "; result+="namespace members met links naar "; - if (extractAll) + if (extractAll) result+="de namespace documentatie voor iedere member:"; - else + else result+="de namespaces waartoe ze behoren:"; return result; } QCString trNamespaceIndex() - // This is used in LaTeX as the title of the chapter with the + // This is used in LaTeX as the title of the chapter with the // index of all namespaces. { return "Namespace Index"; } QCString trNamespaceDocumentation() @@ -426,12 +412,6 @@ class TranslatorDutch : public Translator return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - QCString trAlphabeticalList() - { return "Alphabetical List"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -445,7 +425,7 @@ class TranslatorDutch : public Translator QCString trMainPage() { return "Hoofd Pagina"; } - /*! This is used in references to page that are put in the LaTeX + /*! This is used in references to page that are put in the LaTeX * documentation. It should be an abbreviation of the word page. */ QCString trPageAbbreviation() @@ -490,7 +470,7 @@ class TranslatorDutch : public Translator /*! header that is put before the list of constructor/destructors. */ QCString trConstructorDocumentation() { - return "Constructor & Destructor Documentatie"; + return "Constructor & Destructor Documentatie"; } /*! Used in the file documentation to point to the corresponding sources. */ QCString trGotoSourceCode() @@ -547,7 +527,7 @@ class TranslatorDutch : public Translator ////////////////////////////////////////////////////////////////////////// // new since 1.1.0 ////////////////////////////////////////////////////////////////////////// - + QCString trNote() { return "Noot"; @@ -630,7 +610,7 @@ class TranslatorDutch : public Translator { return "Sinds"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.1.5 ////////////////////////////////////////////////////////////////////////// @@ -643,7 +623,7 @@ class TranslatorDutch : public Translator /*! page explaining how the dot graph's should be interpreted */ QCString trLegendDocs() { - return + return "Deze pagina legt uit hoe de grafen die gegenereerd worden door doxygen " "geïnterpreteerd dienen te worden.<p>\n" "Beschouw het volgende voorbeeld:\n" @@ -711,7 +691,7 @@ class TranslatorDutch : public Translator ////////////////////////////////////////////////////////////////////////// // new since 1.2.0 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a test item */ QCString trTest() { @@ -724,16 +704,6 @@ class TranslatorDutch : public Translator } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - QCString trDCOPMethods() - { - return "DCOP Methoden"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -747,7 +717,7 @@ class TranslatorDutch : public Translator { return "Property Documentatie"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.4 ////////////////////////////////////////////////////////////////////////// @@ -782,11 +752,11 @@ class TranslatorDutch : public Translator { return "Waarde:"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.5 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a \\bug item */ QCString trBug() { @@ -802,9 +772,9 @@ class TranslatorDutch : public Translator // new since 1.2.6 ////////////////////////////////////////////////////////////////////////// - /*! Used as ansicpg for RTF file - * - * The following table shows the correlation of Charset name, Charset Value and + /*! Used as ansicpg for RTF file + * + * The following table shows the correlation of Charset name, Charset Value and * <pre> * Codepage number: * Charset Name Charset Value(hex) Codepage number @@ -825,15 +795,15 @@ class TranslatorDutch : public Translator * GB2313_CHARSET 134 (x86) 936 * CHINESEBIG5_CHARSET 136 (x88) 950 * </pre> - * + * */ virtual QCString trRTFansicp() { return "1252"; } - - /*! Used as ansicpg for RTF fcharset + + /*! Used as ansicpg for RTF fcharset * \see trRTFansicp() for a table of possible values. */ virtual QCString trRTFCharSet() @@ -846,82 +816,82 @@ class TranslatorDutch : public Translator { return "Index"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trClass(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Klasse" : "klass")); if (!singular) result+="n"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trFile(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Bestand" : "bestand")); if (!singular) result+="en"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trNamespace(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Namespace" : "namespace")); if (!singular) result+="s"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGroup(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Groep" : "groep")); if (!singular) result+="en"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trPage(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Pagina" : "pagina")); if (!singular) result+="s"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trMember(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Member" : "member")); if (!singular) result+="s"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGlobal(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Globale member" : "globale member")); if (!singular) result+="s"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -931,10 +901,10 @@ class TranslatorDutch : public Translator /*! This text is generated when the \\author command is used and * for the author section in man pages. */ virtual QCString trAuthor(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Auteur" : "auteur")); if (!singular) result+="s"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -952,7 +922,7 @@ class TranslatorDutch : public Translator // new since 1.2.13 ////////////////////////////////////////////////////////////////////////// - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are implemented by this one. */ virtual QCString trImplementedFromList(int numEntries) @@ -979,8 +949,8 @@ class TranslatorDutch : public Translator // new since 1.2.17 ////////////////////////////////////////////////////////////////////////// - /*! Used as the header of the list of item that have been - * flagged deprecated + /*! Used as the header of the list of item that have been + * flagged deprecated */ virtual QCString trDeprecatedList() { @@ -1010,35 +980,35 @@ class TranslatorDutch : public Translator /*! Used as a heading for a list of Java class types with package scope. */ virtual QCString trPackageTypes() - { + { return "Package Types"; } - /*! Used as a heading for a list of Java class functions with package - * scope. + /*! Used as a heading for a list of Java class functions with package + * scope. */ virtual QCString trPackageMembers() - { + { return "Package Functies"; } - /*! Used as a heading for a list of static Java class functions with + /*! Used as a heading for a list of static Java class functions with * package scope. */ virtual QCString trStaticPackageMembers() - { + { return "Statische Package Functies"; } - /*! Used as a heading for a list of Java class variables with package + /*! Used as a heading for a list of Java class variables with package * scope. */ virtual QCString trPackageAttribs() - { + { return "Package Attributen"; } - /*! Used as a heading for a list of static Java class variables with + /*! Used as a heading for a list of static Java class variables with * package scope. */ virtual QCString trStaticPackageAttribs() - { + { return "Statische Package Attributen"; } @@ -1046,7 +1016,7 @@ class TranslatorDutch : public Translator // new since 1.3.1 ////////////////////////////////////////////////////////////////////////// - /*! Used in the quick index of a class/file/namespace member list page + /*! Used in the quick index of a class/file/namespace member list page * to link to the unfiltered list of all members. */ virtual QCString trAll() @@ -1063,13 +1033,6 @@ class TranslatorDutch : public Translator // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the index - * of each page before the search field. - */ - virtual QCString trSearchForIndex() - { - return "Zoek naar"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1081,7 +1044,7 @@ class TranslatorDutch : public Translator * text can be different depending on the number of documents found. * Inside the text you can put the special marker $num to insert * the number representing the actual number of search results. - * The @a numDocuments parameter can be either 0, 1 or 2, where the + * The @a numDocuments parameter can be either 0, 1 or 2, where the * value 2 represents 2 or more matches. HTML markup is allowed inside * the returned string. */ @@ -1095,13 +1058,13 @@ class TranslatorDutch : public Translator { return "Er is <b>1</b> document gevonden dat aan de zoekopdracht voldoet."; } - else + else { return "Er zijn <b>$num</b> documenten gevonden die aan de zoekopdracht voldoen. " "De beste resultaten worden eerst getoond."; } } - /*! This string is put before the list of matched words, for each search + /*! This string is put before the list of matched words, for each search * result. What follows is the list of words that matched the query. */ virtual QCString trSearchMatches() @@ -1142,7 +1105,7 @@ class TranslatorDutch : public Translator virtual QCString trDirectories() { return "Folders"; } - /*! This returns a sentences that introduces the directory hierarchy. + /*! This returns a sentences that introduces the directory hierarchy. * and the fact that it is sorted alphabetically per level */ virtual QCString trDirDescription() @@ -1160,10 +1123,10 @@ class TranslatorDutch : public Translator * (\a first_capital) and in sigular or plural form (\a singular). */ virtual QCString trDir(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Folder" : "folder")); if (!singular) result+="s"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1189,7 +1152,7 @@ class TranslatorDutch : public Translator { return "Hier is de caller graaf voor deze functie:"; } - + /*! header that is put before the list of member subprograms (Fortran). */ virtual QCString trMemberFunctionDocumentationFortran() { return "Member Functie/Subroutine Documentatie"; } @@ -1198,7 +1161,7 @@ class TranslatorDutch : public Translator // new since 1.5.4 (mainly for Fortran) ////////////////////////////////////////////////////////////////////////// - /*! This is put above each page as a link to the list of annotated data types (Fortran). */ + /*! This is put above each page as a link to the list of annotated data types (Fortran). */ virtual QCString trCompoundListFortran() { return "Lijst met data types"; } @@ -1221,7 +1184,7 @@ class TranslatorDutch : public Translator return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index (Fortran). */ virtual QCString trCompoundIndexFortran() @@ -1233,24 +1196,24 @@ class TranslatorDutch : public Translator virtual QCString trTypeDocumentation() { return "Data Type Documentatie"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) subprograms (Fortran). */ virtual QCString trSubprograms() { return "Functies/Subroutines"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for subprograms (Fortran) */ virtual QCString trSubprogramDocumentation() { return "Functie/Subroutine Documentatie"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds (Fortran) */ virtual QCString trDataTypes() { return "Data Types"; } - + /*! used as the title of page containing all the index of all modules (Fortran). */ virtual QCString trModulesList() { return "Module Lijst"; } @@ -1289,42 +1252,42 @@ class TranslatorDutch : public Translator virtual QCString trModuleReference(const char *namespaceName) { QCString result=namespaceName; - result+=" Module Referentie"; + result+=" Module Referentie"; return result; } - + /*! This is put above each page as a link to all members of modules. (Fortran) */ virtual QCString trModulesMembers() { return "Module Members"; } /*! This is an introduction to the page with all modules members (Fortran) */ virtual QCString trModulesMemberDescription(bool extractAll) - { + { QCString result="Hier is een lijst van alle "; if (!extractAll) result+="gedocumenteerde "; result+="module members met links naar "; - if (extractAll) + if (extractAll) result+="de module documentatie voor iedere member:"; - else + else result+="de module waartoe ze behoren:"; return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all modules (Fortran). */ virtual QCString trModulesIndex() { return "Module Index"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * 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 ? "Module" : "module")); if (!singular) result+="n"; - return result; + 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. @@ -1352,24 +1315,24 @@ class TranslatorDutch : public Translator 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 + * 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 ? "Type" : "type")); if (!singular) result+="s"; - return result; + 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 + * 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 ? "Subprogramma" : "subprogramma")); if (!singular) result+="s"; - return result; + return result; } /*! C# Type Contraint list */ @@ -1416,12 +1379,6 @@ class TranslatorDutch : public Translator // new since 1.6.3 (missing items for the directory pages) ////////////////////////////////////////////////////////////////////////// - /*! introduction text for the directory dependency graph */ - virtual QCString trDirDependency(const char *name) - { - return (QCString)"Folder afhankelijkheidsgraaf voor "+name; - } - /*! when clicking a directory dependency label, a page with a * table is shown. The heading for the first column mentions the * source file that has a relation to another file. @@ -1505,8 +1462,8 @@ class TranslatorDutch : public Translator virtual QCString trInheritedFrom(const char *members,const char *what) { return QCString(members)+" overgeërfd van "+what; } - /*! Header of the sections with inherited members specific for the - * base class(es) + /*! Header of the sections with inherited members specific for the + * base class(es) */ virtual QCString trAdditionalInheritedMembers() { return "Additionele Overgeërfde Members"; } @@ -1516,7 +1473,7 @@ class TranslatorDutch : public Translator ////////////////////////////////////////////////////////////////////////// /*! Used as a tooltip for the toggle button that appears in the - * navigation tree in the HTML output when GENERATE_TREEVIEW is + * navigation tree in the HTML output when GENERATE_TREEVIEW is * enabled. This tooltip explains the meaning of the button. */ virtual QCString trPanelSynchronisationTooltip(bool enable) diff --git a/src/translator_no.h b/src/translator_no.h index dbc14dc..3d20f08 100644 --- a/src/translator_no.h +++ b/src/translator_no.h @@ -76,12 +76,6 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 "\\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. */ @@ -439,12 +433,6 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 { return "Definisjoner"; } /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "Funksjonprototyper"; } - - /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() @@ -481,12 +469,6 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 { return "Define-dokumentasjon"; } /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Funksjonsprototypedokumentasjon"; } - - /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() @@ -541,12 +523,6 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 result+=(QCString)" av"; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return "skrevet av"; - } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) @@ -817,12 +793,6 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "Alfabetisk Liste"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -1125,16 +1095,6 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 // new since 1.2.1 ////////////////////////////////////////////////////////////////////////// - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "DCOP-metoder"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - /*! Used as a section header for IDL properties */ virtual QCString trProperties() { @@ -1495,14 +1455,6 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Søk etter"; - } /*! This string is used as the title for the page listing the search * results. */ diff --git a/src/translator_pl.h b/src/translator_pl.h index b1e90ce..d819f66 100644 --- a/src/translator_pl.h +++ b/src/translator_pl.h @@ -5,8 +5,8 @@ * Copyright (C) 1997-2013 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 + * 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. * @@ -27,12 +27,12 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 public: // --- Language control methods ------------------- - - /*! Used for identification of the language. May resemble + + /*! 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 + * (e.g. Czech, Japanese, Russian, etc.). It should be equal to * the identification in language.h. */ QCString idLanguage() @@ -48,12 +48,6 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 "\\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. */ @@ -71,30 +65,30 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 /*! 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"; + return "Dokumentacja pól"; } else { - return "Dokumentacja atrybutów składowych"; + return "Dokumentacja atrybutów składowych"; } } /*! this is the text of a link put after brief descriptions. */ - QCString trMore() + QCString trMore() { return "Więcej..."; } /*! put in the class documentation */ @@ -112,54 +106,54 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 /*! 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+="."; + 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 + /*! 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"; + return "Lista klas"; } - } - + } + /*! This is put above each page as a link to the list of documented files */ QCString trFileList() { return "Lista plików"; } @@ -170,27 +164,27 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 /*! 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"; + return "Pola danych"; } else { - return "Składowe klas"; + 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"; + return "Globalne"; } else { - return "Składowe plików"; + return "Składowe plików"; } } @@ -223,16 +217,16 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 /*! 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:"; + 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:"; + "unie i interfejsy wraz z ich krótkimi opisami:"; } } @@ -253,7 +247,7 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 result+="składowych"; } result+=" wraz z odnośnikami do "; - if (!extractAll) + if (!extractAll) { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { @@ -264,7 +258,7 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 result+="dokumentacji klas dla każdej składowej:"; } } - else + else { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { @@ -292,9 +286,9 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 result+="składowych plików"; } result+=" wraz z odnośnikami do "; - if (extractAll) + if (extractAll) result+="plików, do których one należą:"; - else + else result+="dokumentacji:"; return result; } @@ -316,49 +310,49 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 { return "Tutaj znajduje się lista wszystkich grup:"; } /*! This sentences is used in the annotated class/file lists if no brief - * description is given. + * description is given. */ QCString trNoDescriptionAvailable() { return "Brak opisu"; } - - // index titles (the project name is prepended for these) + + // 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 + /*! 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 + /*! 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 + /*! 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"; + return "Indeks klas"; } } /*! This is used in LaTeX as the title of the chapter with the * list of all files. */ - QCString trFileIndex() + QCString trFileIndex() { return "Indeks plików"; } /*! This is used in LaTeX as the title of the chapter containing @@ -371,14 +365,14 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 * the documentation of all classes, structs and unions. */ QCString trClassDocumentation() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Dokumentacja struktur danych"; + return "Dokumentacja struktur danych"; } else { - return "Dokumentacja klas"; + return "Dokumentacja klas"; } } @@ -403,123 +397,105 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 /*! 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 + + /*! 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 + /*! 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 + /*! 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 + /*! 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 + /*! 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 + /*! 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 + /*! 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 + /*! 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 + /*! 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 + /*! 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 + /*! 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"; + return "Struktury danych"; } else { - return "Komponenty"; + return "Komponenty"; } } - /*! This is used in the standard footer of each page and indicates when - * the page was generated + /*! 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."; } @@ -559,13 +535,13 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 /*! 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"; } @@ -584,17 +560,17 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 */ QCString trFriends() { return "Przyjaciele"; } - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 ////////////////////////////////////////////////////////////////////////// - + /*! used in the class documentation as a header before the list of all - * related classes + * related classes */ QCString trRelatedFunctionDocumentation() { return "Dokumentacja przyjaciół i funkcji związanych"; } - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// @@ -625,7 +601,7 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 QCString trFileReference(const char *fileName) { QCString result="Dokumentacja pliku "; - result+=fileName; + result+=fileName; return result; } @@ -636,7 +612,7 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 result+=namespaceName; return result; } - + /* these are for the member sections of a class, struct or union */ QCString trPublicMembers() { return "Metody publiczne"; } @@ -658,7 +634,7 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 { 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. */ @@ -667,23 +643,23 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 QCString result; int i; // the inherits list contain `numEntries' classes - for (i=0;i<numEntries;i++) + for (i=0;i<numEntries;i++) { // use generateMarker to generate placeholders for the class links! - result+=generateMarker(i); // generate marker for entry i in the list + result+=generateMarker(i); // generate marker for entry i in the list // (order is left to right) - + if (i!=numEntries-1) // not the last entry, so we need a separator { - if (i<numEntries-2) // not the fore last entry + if (i<numEntries-2) // not the fore last entry result+=", "; else // the fore last entry result+=" i "; } } - return result; + return result; } - + /*! used in class documentation to produce a list of base classes, * if class diagrams are disabled. */ @@ -700,7 +676,7 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 return "Dziedziczona przez "+trWriteList(numEntries)+"."; } - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are hidden by this one. */ QCString trReimplementedFromList(int numEntries) @@ -722,17 +698,17 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 /*! This is an introduction to the page with all namespace members */ QCString trNamespaceMemberDescription(bool extractAll) - { + { QCString result="Tutaj znajduje się lista wszystkich "; if (!extractAll) result+="udokumentowanych "; result+="składowych wraz z odnośnikami do "; - if (extractAll) + if (extractAll) result+="dokumentacji przestrzeni nazw dla każdej składowej:"; - else + else result+="przestrzeni nazw do których składowe te należą:"; return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all namespaces. */ QCString trNamespaceIndex() @@ -782,12 +758,6 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - QCString trAlphabeticalList() - { return "Lista alfabetyczna"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -801,7 +771,7 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 QCString trMainPage() { return "Strona główna"; } - /*! This is used in references to page that are put in the LaTeX + /*! This is used in references to page that are put in the LaTeX * documentation. It should be an abbreviation of the word page. */ QCString trPageAbbreviation() @@ -850,7 +820,7 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 /*! header that is put before the list of constructor/destructors. */ QCString trConstructorDocumentation() { - return "Dokumentacja konstruktora i destruktora"; + return "Dokumentacja konstruktora i destruktora"; } /*! Used in the file documentation to point to the corresponding sources. */ QCString trGotoSourceCode() @@ -907,7 +877,7 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 ////////////////////////////////////////////////////////////////////////// // new since 1.1.0 ////////////////////////////////////////////////////////////////////////// - + QCString trNote() { return "Nota"; @@ -1009,7 +979,7 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 /*! page explaining how the dot graph's should be interpreted */ QCString trLegendDocs() { - return + return "Ta strona wyjaśnia jak interpretować wykresy, które są wygenerowane " "przez doxygen.<p>\n" "Rozważ następujący przykład:\n" @@ -1088,15 +1058,6 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 { return "Lista testu"; } -////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "Metody DCOP"; - } ////////////////////////////////////////////////////////////////////////// // new since 1.2.2 @@ -1167,7 +1128,7 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 ////////////////////////////////////////////////////////////////////////// // new since 1.2.5 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a \\bug item */ virtual QCString trBug() { @@ -1188,7 +1149,7 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 { return "1250"; } - + /*! Used as ansicpg for RTF fcharset */ virtual QCString trRTFCharSet() { @@ -1200,94 +1161,94 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 { return "Indeks"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trClass(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Klas" : "klas")); result+=(singular ? "a" : "y"); - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trFile(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Plik" : "plik")); if (!singular) result+="i"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trNamespace(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Przestrze" : "przestrze")); result+=(singular ? "ń" : "nie"); result+=" nazw"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGroup(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Grupa" : "grupa")); result+=(singular ? "a" : "y"); - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trPage(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Stron" : "stron")); result+=(singular ? "a" : "y"); - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trMember(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Składow" : "składow")); result+=(singular ? "a" : "e"); - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trField(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Pol" : "pol")); result+=(singular ? "e" : "a"); - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGlobal(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Global" : "global")); result+=(singular ? "ny" : "ne"); - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1297,10 +1258,10 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 /*! This text is generated when the \\author command is used and * for the author section in man pages. */ virtual QCString trAuthor(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Auto" : "auto")); result += (singular) ? "r" : "rzy"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1314,18 +1275,18 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 return "Odwołuje się do"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.13 ////////////////////////////////////////////////////////////////////////// - - virtual QCString trImplementedFromList(int numEntries) - { + + virtual QCString trImplementedFromList(int numEntries) + { return "Implementuje "+trWriteList(numEntries)+"."; } - virtual QCString trImplementedInList(int numEntries) + virtual QCString trImplementedInList(int numEntries) { return "Implementowany w "+trWriteList(numEntries)+"."; } @@ -1346,8 +1307,8 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 // new since 1.2.17 ////////////////////////////////////////////////////////////////////////// - /*! Used as the header of the list of item that have been - * flagged deprecated + /*! Used as the header of the list of item that have been + * flagged deprecated */ virtual QCString trDeprecatedList() { @@ -1358,7 +1319,7 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 // new since 1.2.18 ////////////////////////////////////////////////////////////////////////// - /*! Used as a header for declaration section of the events found in + /*! Used as a header for declaration section of the events found in * a C# program */ virtual QCString trEvents() @@ -1378,43 +1339,43 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 /*! Used as a heading for a list of Java class types with package scope. */ virtual QCString trPackageTypes() - { + { return "Typy pakietu"; } - /*! Used as a heading for a list of Java class functions with package - * scope. + /*! Used as a heading for a list of Java class functions with package + * scope. */ virtual QCString trPackageMembers() - { + { return "Funkcje pakietu"; } - /*! Used as a heading for a list of static Java class functions with + /*! Used as a heading for a list of static Java class functions with * package scope. */ virtual QCString trStaticPackageMembers() - { + { return "Statyczne funkcje pakietu"; } - /*! Used as a heading for a list of Java class variables with package + /*! Used as a heading for a list of Java class variables with package * scope. */ virtual QCString trPackageAttribs() - { + { return "Atrybuty pakietu"; } - /*! Used as a heading for a list of static Java class variables with + /*! Used as a heading for a list of static Java class variables with * package scope. */ virtual QCString trStaticPackageAttribs() - { + { return "Statyczne atrybuty pakietu"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.3.1 ////////////////////////////////////////////////////////////////////////// - /*! Used in the quick index of a class/file/namespace member list page + /*! Used in the quick index of a class/file/namespace member list page * to link to the unfiltered list of all members. */ virtual QCString trAll() @@ -1431,14 +1392,6 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Szukaj"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1450,7 +1403,7 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 * text can be different depending on the number of documents found. * Inside the text you can put the special marker $num to insert * the number representing the actual number of search results. - * The @a numDocuments parameter can be either 0, 1 or 2, where the + * The @a numDocuments parameter can be either 0, 1 or 2, where the * value 2 represents 2 or more matches. HTML markup is allowed inside * the returned string. */ @@ -1470,13 +1423,13 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 return "Znaleziono <b>$num</b> dokumenty pasujące do twojego zapytania. " "Najlepiej pasujące dokumenty wyświetlane są na początku listy."; } - else + else { return "Znaleziono <b>$num</b> dokumentów pasujących do twojego zapytania. " "Najlepiej pasujące dokumenty wyświetlane są na początku listy."; } } - /*! This string is put before the list of matched words, for each search + /*! This string is put before the list of matched words, for each search * result. What follows is the list of words that matched the query. */ virtual QCString trSearchMatches() @@ -1517,11 +1470,11 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 virtual QCString trDirectories() { return "Katalogi"; } - /*! This returns a sentences that introduces the directory hierarchy. + /*! This returns a sentences that introduces the directory hierarchy. * and the fact that it is sorted alphabetically per level */ virtual QCString trDirDescription() - { + { return "Ta struktura katalogów jest posortowana jest z grubsza, " "choć nie całkowicie, alfabetycznie:"; } @@ -1536,10 +1489,10 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 * (\a first_capital) and in sigular or plural form (\a singular). */ virtual QCString trDir(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Katalog" : "katalog")); if (! singular) result+="i"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1552,9 +1505,9 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 virtual QCString trOverloadText() { return "To jest metoda przeciążona, udostępniona dla wygody. " - "Różni się od powyższej metody tylko zestawem akceptowanych argumentów."; + "Różni się od powyższej metody tylko zestawem akceptowanych argumentów."; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.4.6 ////////////////////////////////////////////////////////////////////////// @@ -1565,7 +1518,7 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 return "Oto graf wywoływań tej funkcji:"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration values */ virtual QCString trEnumerationValueDocumentation() @@ -1574,12 +1527,12 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 ////////////////////////////////////////////////////////////////////////// // 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). */ + /*! 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"; } @@ -1601,18 +1554,18 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 } result+="składowych typów danych"; result+=" wraz z odnośnikami do "; - if (!extractAll) - { + if (!extractAll) + { result+="dokumentacji struktury danych dla każdej składowej"; } - else + 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 + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index (Fortran). */ virtual QCString trCompoundIndexFortran() @@ -1624,24 +1577,24 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 virtual QCString trTypeDocumentation() { return "Dokumentacja typów danych"; } - /*! This is used in the documentation of a file as a header before the + /*! 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 + /*! 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 + /*! 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"; } @@ -1678,48 +1631,48 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 } /*! 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; + 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) + if (extractAll) { result+="dokumentacji modułu dla każdej składowej:"; } - else + 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 + /*! 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 + * 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; + 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. @@ -1745,24 +1698,24 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 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 + * 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; + 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 + * 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; + return result; } /*! C# Type Constraint list */ @@ -1804,17 +1757,11 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 { return "Brak dopasowań"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.6.3 (missing items for the directory pages) ////////////////////////////////////////////////////////////////////////// - /*! introduction text for the directory dependency graph */ - virtual QCString trDirDependency(const char *name) - { - return (QCString)"Wykres zależności katalogu dla "+name; - } - /*! when clicking a directory dependency label, a page with a * table is shown. The heading for the first column mentions the * source file that has a relation to another file. @@ -1833,7 +1780,7 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 return (QCString)"Zawiera plik w "+name; } - /** Compiles a date string. + /** Compiles a date string. * @param year Year in 4 digits * @param month Month of the year: 1=January * @param day Day of the Month: 1..31 @@ -1907,8 +1854,8 @@ class TranslatorPolish : public TranslatorAdapter_1_8_2 virtual QCString trInheritedFrom(const char *members,const char *what) { return QCString(members)+" dziedziczone z "+what; } - /*! Header of the sections with inherited members specific for the - * base class(es) + /*! Header of the sections with inherited members specific for the + * base class(es) */ virtual QCString trAdditionalInheritedMembers() { return "Dodatkowe Dziedziczone Składowe"; } diff --git a/src/translator_pt.h b/src/translator_pt.h index 5130fcf..8e91181 100644 --- a/src/translator_pt.h +++ b/src/translator_pt.h @@ -11,7 +11,7 @@ * input used in their production; they are not affected by this license. * * Portuguese translation version 20110428 - * Maintainer (from 04/28/2011): + * Maintainer (from 04/28/2011): * Fabio "FJTC" Jun Takada Chino <jun-chino at uol.com.br> * Maintainer (until 04/28/2011): * Rui Godinho Lopes <rui at ruilopes.com> @@ -25,10 +25,10 @@ * --------------- * History: * 20110628: - * - Updated to 1.7.5; + * - Updated to 1.7.5; * - All obsolete methods have been removed; * 20110428 - * - Updated to doxygen 1.6.3 using the Brazilian Portuguese as the base. + * - Updated to doxygen 1.6.3 using the Brazilian Portuguese as the base. * Requires revision by a Portuguese (Portugal native speaker); * 007 09 june 2003 * ! Updated for doxygen v1.3.1 @@ -58,18 +58,18 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 // --- Language control methods ------------------- - /*! Used for identification of the language. The identification - * should not be translated. It should be replaced by the name + /*! Used for identification of the language. The identification + * should not be translated. It should be replaced by the name * of the language in English using lower-case characters only - * (e.g. "czech", "japanese", "russian", etc.). It should be equal to + * (e.g. "czech", "japanese", "russian", etc.). It should be equal to * the identification used in language.cpp. */ QCString idLanguage() { return "portuguese"; } - /*! Used to get the LaTeX command(s) for the language support. + /*! Used to get the LaTeX command(s) for the language support. * This method should return string with commands that switch - * LaTeX to the desired language. For example + * LaTeX to the desired language. For example * <pre>"\\usepackage[german]{babel}\n" * </pre> * or @@ -77,17 +77,13 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 * "\\usepackage[latin2]{inputenc}\n" * "\\usepackage[T1]{fontenc}\n" * </pre> - * + * * The English LaTeX does not use such commands. Because of this * the empty string is returned in this implementation. */ virtual QCString latexLanguageSupportCommand() { return "Portuguese"; } - /*! 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. */ @@ -119,7 +115,7 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Documentação dos campos e atributos"; + return "Documentação dos campos e atributos"; } else { @@ -251,7 +247,7 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 /*! This is an introduction to the annotated compound list. */ QCString trCompoundListDescription() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "Lista das estruturas de dados com uma breve descrição:"; @@ -279,7 +275,7 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 result+=" documentadas"; } result+=" com referência para "; - if (!extractAll) + if (!extractAll) { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { @@ -290,7 +286,7 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 result+="a documentação de cada membro:"; } } - else + else { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { @@ -319,9 +315,9 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 if (!extractAll) result+="documentados "; } result+="com referência para "; - if (extractAll) + if (extractAll) result+="o ficheiro a que pertecem:"; - else + else result+="a respectiva documentação:"; return result; } @@ -363,7 +359,7 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 QCString trCompoundIndex() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { + { return "Índice das estruturas de dados"; } else @@ -419,12 +415,6 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 { return "Macros"; } /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - QCString trFuncProtos() - { return "Protótipos de funções"; } - - /*! This is used in the documentation of a file as a header before the * list of typedefs */ QCString trTypedefs() @@ -461,12 +451,6 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 { return "Documentação das macros"; } /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - QCString trFunctionPrototypeDocumentation() - { return "Documentação dos protótipos de funções"; } - - /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ QCString trTypedefDocumentation() @@ -515,12 +499,6 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 result+=(QCString)" por"; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - QCString trWrittenBy() - { - return "escrito por"; - } /*! this text is put before a class diagram */ QCString trClassDiagram(const char *clName) @@ -787,15 +765,6 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { - return "Lista alfabética"; - } - - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -1089,16 +1058,6 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "Métodos DCOP"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1324,7 +1283,7 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 // new since 1.2.13 ////////////////////////////////////////////////////////////////////////// - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are implemented by this one. */ virtual QCString trImplementedFromList(int numEntries) @@ -1368,7 +1327,7 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 // new since 1.2.18 ////////////////////////////////////////////////////////////////////////// - /*! Used as a header for declaration section of the events found in + /*! Used as a header for declaration section of the events found in * a C# program */ virtual QCString trEvents() @@ -1388,43 +1347,43 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 /*! Used as a heading for a list of Java class types with package scope. */ virtual QCString trPackageTypes() - { + { return "Tipos do Pacote"; } - /*! Used as a heading for a list of Java class functions with package - * scope. + /*! Used as a heading for a list of Java class functions with package + * scope. */ virtual QCString trPackageMembers() - { + { return "Funções do Pacote"; } - /*! Used as a heading for a list of static Java class functions with + /*! Used as a heading for a list of static Java class functions with * package scope. */ virtual QCString trStaticPackageMembers() - { + { return "Funções Estáticas do Pacote"; } - /*! Used as a heading for a list of Java class variables with package + /*! Used as a heading for a list of Java class variables with package * scope. */ virtual QCString trPackageAttribs() - { + { return "Atributos do Pacote"; } - /*! Used as a heading for a list of static Java class variables with + /*! Used as a heading for a list of static Java class variables with * package scope. */ virtual QCString trStaticPackageAttribs() - { + { return "Atributos Estáticos do Pacote"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.3.1 ////////////////////////////////////////////////////////////////////////// - /*! Used in the quick index of a class/file/namespace member list page + /*! Used in the quick index of a class/file/namespace member list page * to link to the unfiltered list of all members. */ virtual QCString trAll() @@ -1436,19 +1395,11 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 { return "Grafo de chamadas desta função:"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.3.3 - Based on the Brazilian Portuguese Translation ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Procurar por"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1487,7 +1438,7 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 { return "Resultados:"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.3.8 ////////////////////////////////////////////////////////////////////////// @@ -1521,7 +1472,7 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 virtual QCString trDirectories() { return "Diretórios"; } - /*! This returns a sentences that introduces the directory hierarchy. + /*! This returns a sentences that introduces the directory hierarchy. * and the fact that it is sorted alphabetically per level */ virtual QCString trDirDescription() @@ -1541,10 +1492,10 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 * (\a first_capital) and in sigular or plural form (\a singular). */ virtual QCString trDir(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Diretório" : "diretório")); if (!singular) result+="s"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// // new since 1.4.1 @@ -1558,7 +1509,7 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 return "Este é um método provido por conveniência. " "Ele difere do método acima apenas na lista de " "argumentos que devem ser utilizados."; - } + } ////////////////////////////////////////////////////////////////////////// // new since 1.4.6 @@ -1570,22 +1521,22 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 return "Este é o diagrama das funções que utilizam esta função:"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration values */ virtual QCString trEnumerationValueDocumentation() { return "Documentação da enumeração"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.5.4 (mainly for Fortran) ////////////////////////////////////////////////////////////////////////// - + /*! header that is put before the list of member subprograms (Fortran). */ virtual QCString trMemberFunctionDocumentationFortran() { return "Documentação de Função Membro/Subrotina"; } - /*! This is put above each page as a link to the list of annotated data types (Fortran). */ + /*! This is put above each page as a link to the list of annotated data types (Fortran). */ virtual QCString trCompoundListFortran() { return "Lista de Tipos de Dados"; } @@ -1603,18 +1554,18 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 QCString result="Esta é a lista de todos os membros "; if (!extractAll) result+="documentados "; result+="dos tipos de dados com links para "; - if (extractAll) + if (extractAll) { result+="a documentação dos tipos de dados para cada membro:"; } - else + else { result+="os tipos de dados a que pertencem:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index (Fortran). */ virtual QCString trCompoundIndexFortran() @@ -1626,24 +1577,24 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 virtual QCString trTypeDocumentation() { return "Documentação dos Tipos de Dados"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) subprograms (Fortran). */ virtual QCString trSubprograms() { return "Funções/Subrotinas"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for subprograms (Fortran) */ virtual QCString trSubprogramDocumentation() { return "Documentação da Função/Subrotina"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds (Fortran) */ virtual QCString trDataTypes() { return "Tipos de Dados"; } - + /*! used as the title of page containing all the index of all modules (Fortran). */ virtual QCString trModulesList() { return "Lista de Módulos"; } @@ -1665,7 +1616,7 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 QCString result = (QCString)"Referência "; if (isTemplate) result+="da Template "; - + switch(compType) { case ClassDef::Class: result+="do Modulo "; break; @@ -1677,54 +1628,54 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 case ClassDef::Exception: result+="da Exceção "; break; default: break; } - result += clName; - + result += clName; + return result; } /*! used as the title of the HTML page of a module (Fortran) */ virtual QCString trModuleReference(const char *namespaceName) { QCString result = "Referência do Módulo "; - result += namespaceName; + result += namespaceName; return result; } - + /*! This is put above each page as a link to all members of modules. (Fortran) */ virtual QCString trModulesMembers() { return "Membros do Módulo"; } /*! This is an introduction to the page with all modules members (Fortran) */ virtual QCString trModulesMemberDescription(bool extractAll) - { + { QCString result="Esta é a lista de todos os membros "; if (!extractAll) result+="documentados "; result+="dos módulos com links para "; - if (extractAll) + if (extractAll) { result+="a documentação dos módulos para cada membro:"; } - else + else { result+="os módulos a que pertencem:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all modules (Fortran). */ virtual QCString trModulesIndex() { return "Índice dos Módulos"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * 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 ? "Modulo" : "modulo")); if (!singular) result+="s"; - return result; + 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. @@ -1745,41 +1696,41 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 case ClassDef::Exception: result+="esta exceção "; break; default: break; } - + result+=" foi gerada a partir do"; - if (single) + if (single) result+=" seguinte ficheiro:"; else result+="s seguintes ficheiros:"; - + 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 + * 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 ? "Tipo" : "tipo")); if (!singular) result+="s"; - return result; + 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 + * 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 ? "Subprograma" : "subprograma")); if (!singular) result+="s"; - return result; + return result; } /*! C# Type Contraint list */ virtual QCString trTypeConstraints() { return "Restrições do Tipo"; - } + } ////////////////////////////////////////////////////////////////////////// // new since 1.6.0 (mainly for the new search engine) @@ -1820,12 +1771,6 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 // new since 1.6.3 (missing items for the directory pages) ////////////////////////////////////////////////////////////////////////// - /*! introduction text for the directory dependency graph */ - virtual QCString trDirDependency(const char *name) - { - return (QCString)"Grafo de dependência de diretórios para " + name; - } - /*! when clicking a directory dependency label, a page with a * table is shown. The heading for the first column mentions the * source file that has a relation to another file. @@ -1844,7 +1789,7 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 return (QCString)"Inclui ficheiro em "+name; } - /** Compiles a date string. + /** Compiles a date string. * @param year Year in 4 digits * @param month Month of the year: 1=January * @param day Day of the Month: 1..31 @@ -1870,7 +1815,7 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 } return sdate; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.7.5 ////////////////////////////////////////////////////////////////////////// @@ -1889,7 +1834,7 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 /*! Header for the graph showing the directory dependencies */ virtual QCString trDirDepGraph(const char *name) - { return QCString("Grafo de dependências do directório ")+name+":"; } + { return QCString("Grafo de dependências do directório ")+name+":"; } }; #endif diff --git a/src/translator_ro.h b/src/translator_ro.h index 70da281..86240c1 100644 --- a/src/translator_ro.h +++ b/src/translator_ro.h @@ -75,12 +75,6 @@ class TranslatorRomanian : public Translator return "\\usepackage[romanian]{babel}\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. */ @@ -436,12 +430,6 @@ class TranslatorRomanian : public Translator { return "Definiţii"; } /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "Prototipuri de funcţii"; } - - /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() @@ -478,12 +466,6 @@ class TranslatorRomanian : public Translator { return "Documentaţia definiţiilor"; } /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Documentaţia prototipurilor de funcţii"; } - - /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() @@ -533,12 +515,6 @@ class TranslatorRomanian : public Translator result+=(QCString)" de către"; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return "scris de"; - } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) @@ -803,12 +779,6 @@ class TranslatorRomanian : public Translator return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "Listă Alfabetică"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -1106,16 +1076,6 @@ class TranslatorRomanian : public Translator } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "Metode DCOP"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1458,14 +1418,6 @@ class TranslatorRomanian : public Translator // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Caută"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1835,12 +1787,6 @@ class TranslatorRomanian : public Translator // new since 1.6.3 (missing items for the directory pages) ////////////////////////////////////////////////////////////////////////// - /*! introduction text for the directory dependency graph */ - virtual QCString trDirDependency(const char *name) - { - return (QCString)"Grafic de dependență a directoarelor pentru "+name; - } - /*! when clicking a directory dependency label, a page with a * table is shown. The heading for the first column mentions the * source file that has a relation to another file. diff --git a/src/translator_ru.h b/src/translator_ru.h index 5c8295a..7bd40f1 100644 --- a/src/translator_ru.h +++ b/src/translator_ru.h @@ -1,12 +1,12 @@ /****************************************************************************** * - * + * * * Copyright (C) 1997-2013 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 + * 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. * @@ -36,13 +36,7 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 /* Used to get the command(s) for the language support. */ virtual QCString latexLanguageSupportCommand() { - return "\\usepackage[T2A]{fontenc}\n\\usepackage[russian]{babel}\n"; - } - - /*! return the language charset. This will be used for the HTML output */ - virtual QCString idLanguageCharset() - { - return "utf-8"; + return "\\usepackage[T2A]{fontenc}\n\\usepackage[russian]{babel}\n"; } // --- Language translation methods ------------------- @@ -118,7 +112,7 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 virtual QCString trGeneratedAutomatically(const char *s) { QCString result="Автоматически создано Doxygen"; if (s) result+=QCString(" для ")+s; - result+=" из исходного текста."; + result+=" из исходного текста."; return result; } @@ -136,7 +130,7 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 // quick reference sections - /*! This is put above each page as a link to the list of all groups of + /*! This is put above each page as a link to the list of all groups of * compounds or files (see the \\group command). */ virtual QCString trModules() @@ -285,26 +279,26 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 virtual QCString trModulesDescription() { return "Полный список групп."; } - // index titles (the project name is prepended for these) + // index titles (the project name is prepended for these) /*! This is used in HTML as the title of index.html. */ virtual QCString trDocumentation() { return "Документация"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all groups. */ virtual QCString trModuleIndex() { return "Алфавитный указатель групп"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * class hierarchy. */ virtual QCString trHierarchicalIndex() { return "Иерархический список классов"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index. */ virtual QCString trCompoundIndex() @@ -368,43 +362,37 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 virtual QCString trReferenceManual() { return "Оглавление"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of defines */ virtual QCString trDefines() { return "Макросы"; } - /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "Прототипы функций"; } - - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() { return "Определения типов"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of enumerations */ virtual QCString trEnumerations() { return "Перечисления"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) functions */ virtual QCString trFunctions() { return "Функции"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trVariables() { return "Переменные"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trEnumerationValues() @@ -416,37 +404,31 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 virtual QCString trDefineDocumentation() { return "Макросы"; } - /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Прототипы функций"; } - - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() { return "Типы"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration types */ virtual QCString trEnumerationTypeDocumentation() { return "Перечисления"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for functions */ virtual QCString trFunctionDocumentation() { return "Функции"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for variables */ virtual QCString trVariableDocumentation() { return "Переменные"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds */ virtual QCString trCompounds() @@ -456,32 +438,26 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 return "Структуры данных"; } else - { + { return "Классы"; } } - /*! This is used in the documentation of a group before the list of + /*! This is used in the documentation of a group before the list of * links to documented files */ - /*! This is used in the standard footer of each page and indicates when - * the page was generated + /*! This is used in the standard footer of each page and indicates when + * the page was generated */ virtual QCString trGeneratedAt(const char *date,const char *projName) - { + { QCString result="Документация "; if (projName) result+=QCString("по ")+projName; result+=QCString(". Последние изменения: ")+date; result+=". Создано системой"; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return "Автор:"; - } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) @@ -524,11 +500,11 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 /*! this text is used in the title page of a LaTeX document. */ virtual QCString trGeneratedBy() { return "Создано системой"; } - + ////////////////////////////////////////////////////////////////////////// -// new since 0.49-990307 +// new since 0.49-990307 ////////////////////////////////////////////////////////////////////////// - + /*! used as the title of page containing all the index of all namespaces. */ virtual QCString trNamespaceList() { return "Пространства имен"; } @@ -551,14 +527,14 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 ////////////////////////////////////////////////////////////////////////// - + /*! used in the class documentation as a header before the list of all - * related classes + * related classes */ virtual QCString trRelatedFunctionDocumentation() { return "Документация по друзьям класса и функциям, отноносящимся" " к классу"; } - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// @@ -569,7 +545,7 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 bool isTemplate) { QCString result; - if (isTemplate) + if (isTemplate) { result="Шаблон "; switch(compType) @@ -613,7 +589,7 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 { return QCString("Пространство имен ")+namespaceName; } - + virtual QCString trPublicMembers() { return "Открытые члены"; } virtual QCString trPublicSlots() @@ -634,7 +610,7 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 { return "Закрытые слоты"; } virtual QCString trStaticPrivateMembers() { return "Закрытые статические члены"; } - + /*! this function is used to produce a comma-separated list of items. * use generateMarker(i) to indicate where item i should be put. */ @@ -643,23 +619,23 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 QCString result; int i; // the inherits list contain `numEntries' classes - for (i=0;i<numEntries;i++) + for (i=0;i<numEntries;i++) { // use generateMarker to generate placeholders for the class links! - result+=generateMarker(i); // generate marker for entry i in the list + result+=generateMarker(i); // generate marker for entry i in the list // (order is left to right) - + if (i!=numEntries-1) // not the last entry, so we need a separator { - if (i<numEntries-2) // not the fore last entry + if (i<numEntries-2) // not the fore last entry result+=", "; else // the fore last entry result+=" и "; } } - return result; + return result; } - + /*! used in class documentation to produce a list of base classes, * if class diagrams are disabled. */ @@ -676,7 +652,7 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 return "Производные классы:"+trWriteList(numEntries)+"."; } - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are hidden by this one. */ virtual QCString trReimplementedFromList(int numEntries) @@ -710,7 +686,7 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all namespaces. */ virtual QCString trNamespaceIndex() @@ -746,10 +722,10 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 QCString result=QCString("Объявления и описания членов "); switch(compType) { - case ClassDef::Class: result+="класс"; + case ClassDef::Class: result+="класс"; if (single) result+="а"; else result+="ов"; break; - case ClassDef::Struct: result+="структур"; + case ClassDef::Struct: result+="структур"; if (single) result+="ы"; break; case ClassDef::Union: result+="объединени"; @@ -767,7 +743,7 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 case ClassDef::Exception: result+="исключени"; if (single) result+="я"; else result+="й"; break; - default: + default: break; } result+=" находятся в файл"; @@ -775,12 +751,6 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "Алфавитный указатель"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -794,7 +764,7 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 virtual QCString trMainPage() { return "Титульная страница"; } - /*! This is used in references to page that are put in the LaTeX + /*! This is used in references to page that are put in the LaTeX * documentation. It should be an abbreviation of the word page. */ virtual QCString trPageAbbreviation() @@ -839,7 +809,7 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 /*! header that is put before the list of constructor/destructors. */ virtual QCString trConstructorDocumentation() { - return "Конструктор(ы)"; + return "Конструктор(ы)"; } /*! Used in the file documentation to point to the corresponding sources. */ virtual QCString trGotoSourceCode() @@ -896,7 +866,7 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 ////////////////////////////////////////////////////////////////////////// // new since 1.1.0 ////////////////////////////////////////////////////////////////////////// - + virtual QCString trNote() { return "Заметки"; @@ -988,7 +958,7 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 { return "Начиная с"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.1.5 ////////////////////////////////////////////////////////////////////////// @@ -1001,7 +971,7 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 /*! page explaining how the dot graph's should be interpreted */ virtual QCString trLegendDocs() { - return + return "Обозначения, используемые в графах.<p>\n" "Рассмотрим следующий пример:\n" "\\code\n" @@ -1070,7 +1040,7 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 ////////////////////////////////////////////////////////////////////////// // new since 1.2.0 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a test item */ virtual QCString trTest() { @@ -1083,16 +1053,6 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "DCOP Методы"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1152,7 +1112,7 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 ////////////////////////////////////////////////////////////////////////// // new since 1.2.5 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a \\bug item */ virtual QCString trBug() { @@ -1184,15 +1144,15 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trClass(bool first_capital, bool singular) - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { QCString result((first_capital ? "Структуры данных" : "структуры данных")); - return result; + return result; } else { @@ -1203,69 +1163,69 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trFile(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Файл" : "файл")); if (!singular) result+="ы"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trNamespace(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Пространств" : "пространств")); result+=(singular?"о имен":"а имен"); - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGroup(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Групп" : "групп")); result+=(singular ? "а" : "ы"); - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trPage(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Страниц" : "страниц")); result+=(singular ? "а" : "ы"); 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trMember(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Член" : "член")); if (!singular) result+="ы"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGlobal(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Глобальны" : "глобальны")); result+=(singular ? "й" : "е"); - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1275,7 +1235,7 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 /*! This text is generated when the \\author command is used and * for the author section in man pages. */ virtual QCString trAuthor(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Автор" : "автор")); if (!singular) result+="ы"; return result; @@ -1296,7 +1256,7 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 // new since 1.2.13 ////////////////////////////////////////////////////////////////////////// - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are implemented by this one. */ virtual QCString trImplementedFromList(int numEntries) @@ -1328,8 +1288,8 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 // new since 1.2.17 ////////////////////////////////////////////////////////////////////////// - /*! Used as the header of the list of item that have been - * flagged deprecated + /*! Used as the header of the list of item that have been + * flagged deprecated */ virtual QCString trDeprecatedList() { @@ -1340,7 +1300,7 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 // new since 1.2.18 ////////////////////////////////////////////////////////////////////////// - /*! Used as a header for declaration section of the events found in + /*! Used as a header for declaration section of the events found in * a C# program */ virtual QCString trEvents() @@ -1360,43 +1320,43 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 /*! Used as a heading for a list of Java class types with package scope. */ virtual QCString trPackageTypes() - { + { return "Типы с областью видимости пакета"; } - /*! Used as a heading for a list of Java class functions with package - * scope. + /*! Used as a heading for a list of Java class functions with package + * scope. */ virtual QCString trPackageMembers() - { + { return "Функции с областью видимости пакета"; } - /*! Used as a heading for a list of static Java class functions with + /*! Used as a heading for a list of static Java class functions with * package scope. */ virtual QCString trStaticPackageMembers() - { + { return "Статические функции с областью видимости пакета"; } - /*! Used as a heading for a list of Java class variables with package + /*! Used as a heading for a list of Java class variables with package * scope. */ virtual QCString trPackageAttribs() - { + { return "Переменные с областью видимости пакета"; } - /*! Used as a heading for a list of static Java class variables with + /*! Used as a heading for a list of static Java class variables with * package scope. */ virtual QCString trStaticPackageAttribs() - { + { return "Статические переменные с областью видимости пакета"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.3.1 ////////////////////////////////////////////////////////////////////////// - /*! Used in the quick index of a class/file/namespace member list page + /*! Used in the quick index of a class/file/namespace member list page * to link to the unfiltered list of all members. */ virtual QCString trAll() @@ -1413,14 +1373,6 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Поиск"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1432,7 +1384,7 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 * text can be different depending on the number of documents found. * Inside the text you can put the special marker $num to insert * the number representing the actual number of search results. - * The @a numDocuments parameter can be either 0, 1 or 2, where the + * The @a numDocuments parameter can be either 0, 1 or 2, where the * value 2 represents 2 or more matches. HTML markup is allowed inside * the returned string. */ @@ -1446,13 +1398,13 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 { return "Найден 1 документ."; } - else + else { return "Найден(о) <b>$num</b> документ(ов). " "Документы отсортированы по релевантности."; } } - /*! This string is put before the list of matched words, for each search + /*! This string is put before the list of matched words, for each search * result. What follows is the list of words that matched the query. */ virtual QCString trSearchMatches() @@ -1493,7 +1445,7 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 virtual QCString trDirectories() { return "Алфавитный указатель директорий"; } - /*! This returns a sentences that introduces the directory hierarchy. + /*! This returns a sentences that introduces the directory hierarchy. * and the fact that it is sorted alphabetically per level */ virtual QCString trDirDescription() @@ -1509,10 +1461,10 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 * (\a first_capital) and in sigular or plural form (\a singular). */ virtual QCString trDir(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Директори" : "директори")); if (singular) result+="я"; else result+="и"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1539,7 +1491,7 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 return "Граф вызова функции:"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration values */ virtual QCString trEnumerationValueDocumentation() @@ -1551,12 +1503,12 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 ////////////////////////////////////////////////////////////////////////// // Простите переводчика, уже лет 20 не писал на фортране... // Любые замечания приму с благодарностью. - + /*! header that is put before the list of member subprograms (Fortran). */ virtual QCString trMemberFunctionDocumentationFortran() { return "Функции/подпрограммы"; } - /*! This is put above each page as a link to the list of annotated data types (Fortran). */ + /*! This is put above each page as a link to the list of annotated data types (Fortran). */ virtual QCString trCompoundListFortran() { return "Типы данных"; } @@ -1577,18 +1529,18 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 result+="документированных "; } result+="членов типа со ссылками "; - if (!extractAll) + if (!extractAll) { result+="на документацию для каждого члена:"; } - else + else { result+="на содержащую структуру:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index (Fortran). */ virtual QCString trCompoundIndexFortran() @@ -1600,24 +1552,24 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 virtual QCString trTypeDocumentation() { return "Оглавление типов данных"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) subprograms (Fortran). */ virtual QCString trSubprograms() { return "Функции/подпрограммы"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for subprograms (Fortran) */ virtual QCString trSubprogramDocumentation() { return "Функции/подпрограммы"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds (Fortran) */ virtual QCString trDataTypes() { return "Типы данных"; } - + /*! used as the title of page containing all the index of all modules (Fortran). */ virtual QCString trModulesList() { return "Указатель модулей"; } @@ -1637,7 +1589,7 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 bool isTemplate) { QCString result=(QCString)clName; - if (isTemplate) + if (isTemplate) { switch(compType) { @@ -1673,43 +1625,43 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 { return QCString("Модуль ") + namespaceName; } - + /*! This is put above each page as a link to all members of modules. (Fortran) */ virtual QCString trModulesMembers() { return "Члены модуля"; } /*! This is an introduction to the page with all modules members (Fortran) */ virtual QCString trModulesMemberDescription(bool extractAll) - { + { QCString result="Список всех "; if (!extractAll) result+="документированных "; result+="модулей со ссылками "; - if (extractAll) + if (extractAll) { result+="на документацию для каждого члена:"; } - else + else { result+="на модули, их содержащие:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all modules (Fortran). */ virtual QCString trModulesIndex() { return "Указатель модулей"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * 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 ? "Модул" : "модул")); - if (singular) result+="ь"; else result+="и"; - return result; + if (singular) result+="ь"; else result+="и"; + 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. @@ -1735,24 +1687,24 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 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 + * 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 ? "Тип" : "тип")); if (!singular) result+="ы"; - return result; + 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 + * 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 ? "Подпрограмм" : "подпрограмм")); - if (singular) result+="а"; else result+="ы"; - return result; + if (singular) result+="а"; else result+="ы"; + return result; } /*! C# Type Constraint list */ @@ -1798,12 +1750,6 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 // new since 1.6.3 (missing items for the directory pages) ////////////////////////////////////////////////////////////////////////// - /*! introduction text for the directory dependency graph */ - virtual QCString trDirDependency(const char *name) - { - return (QCString)"Диаграмма каталогов для "+name; - } - /*! when clicking a directory dependency label, a page with a * table is shown. The heading for the first column mentions the * source file that has a relation to another file. @@ -1822,7 +1768,7 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 return (QCString)"Включает файл в "+name; } - /** Compiles a date string. + /** Compiles a date string. * @param year Year in 4 digits * @param month Month of the year: 1=January * @param day Day of the Month: 1..31 diff --git a/src/translator_sc.h b/src/translator_sc.h index edf5ba2..37519d2 100644 --- a/src/translator_sc.h +++ b/src/translator_sc.h @@ -1,12 +1,12 @@ /****************************************************************************** * - * + * * * Copyright (C) 1997-2013 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 + * 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. * @@ -18,7 +18,7 @@ #ifndef TRANSLATOR_SC_H #define TRANSLATOR_SC_H -/*! +/*! When defining a translator class for the new language, follow the description in the documentation. One of the steps says that you should copy the translator_en.h (this) file to your @@ -45,19 +45,19 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 public: // --- Language control methods ------------------- - - /*! Used for identification of the language. The identification - * should not be translated. It should be replaced by the name + + /*! Used for identification of the language. The identification + * should not be translated. It should be replaced by the name * of the language in English using lower-case characters only - * (e.g. "czech", "japanese", "russian", etc.). It should be equal to + * (e.g. "czech", "japanese", "russian", etc.). It should be equal to * the identification used in language.cpp. */ virtual QCString idLanguage() { return "serbiancyr"; } - - /*! Used to get the LaTeX command(s) for the language support. + + /*! Used to get the LaTeX command(s) for the language support. * This method should return string with commands that switch - * LaTeX to the desired language. For example + * LaTeX to the desired language. For example * <pre>"\\usepackage[german]{babel}\n" * </pre> * or @@ -65,7 +65,7 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 * "\\usepackage[latin2]{inputenc}\n" * "\\usepackage[T1]{fontenc}\n" * </pre> - * + * * The English LaTeX does not use such commands. Because of this * the empty string is returned in this implementation. */ @@ -74,12 +74,6 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 return ""; } - /*! 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. */ @@ -97,30 +91,30 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 /*! header that is put before the list of typedefs. */ virtual QCString trMemberTypedefDocumentation() { return "Документација дефиниције типа"; } - + /*! header that is put before the list of enumerations. */ virtual QCString trMemberEnumerationDocumentation() { return "Документација члана набрајања"; } - + /*! header that is put before the list of member functions. */ virtual QCString trMemberFunctionDocumentation() { return "Документација функције чланице"; } - + /*! header that is put before the list of member attributes. */ virtual QCString trMemberDataDocumentation() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Документација поља"; + return "Документација поља"; } else { - return "Документација атрибута"; + return "Документација атрибута"; } } /*! this is the text of a link put after brief descriptions. */ - virtual QCString trMore() + virtual QCString trMore() { return "Још..."; } /*! put in the class documentation */ @@ -138,81 +132,81 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 /*! this is the remainder of the sentence after the class name */ virtual QCString trIncludingInheritedMembers() { return ", укључујући све наслеђене чланове."; } - + /*! this is put at the author sections at the bottom of man pages. * parameter s is name of the project name. */ virtual QCString trGeneratedAutomatically(const char *s) { QCString result="Аутоматски направљено помоћу Doxygen-а"; if (s) result+=(QCString)" за "+s; - result+=" из изворног кода."; + result+=" из изворног кода."; return result; } /*! put after an enum name in the list of all members */ virtual QCString trEnumName() { return "назив набрајања"; } - + /*! put after an enum value in the list of all members */ virtual QCString trEnumValue() { return "вредност набрајања"; } - + /*! put after an undocumented member in the list of all members */ virtual QCString trDefinedIn() { return "дефинисано у"; } // quick reference sections - /*! This is put above each page as a link to the list of all groups of + /*! This is put above each page as a link to the list of all groups of * compounds or files (see the \\group command). */ virtual QCString trModules() { return "Модули"; } - + /*! This is put above each page as a link to the class hierarchy */ virtual QCString trClassHierarchy() { return "Хијерархија класа"; } - + /*! This is put above each page as a link to the list of annotated classes */ virtual QCString trCompoundList() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "Структуре"; } else { - return "Списак класа"; + return "Списак класа"; } } - + /*! This is put above each page as a link to the list of documented files */ virtual QCString trFileList() { return "Списак датотека"; } /*! This is put above each page as a link to all members of compounds. */ virtual QCString trCompoundMembers() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Поља"; + return "Поља"; } else { - return "Чланови класе"; + return "Чланови класе"; } } /*! This is put above each page as a link to all members of files. */ virtual QCString trFileMembers() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Глобално"; + return "Глобално"; } else { - return "Чланови датотеке"; + return "Чланови датотеке"; } } @@ -245,16 +239,16 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 /*! This is an introduction to the annotated compound list. */ virtual QCString trCompoundListDescription() - { - + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Овде су структуре са кратким описима:"; + return "Овде су структуре са кратким описима:"; } else { return "Овде су класе, структуре, " - "уније и интерфејси са кратким описима:"; + "уније и интерфејси са кратким описима:"; } } @@ -275,7 +269,7 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 result+="чланова класа"; } result+=" са везама ка "; - if (!extractAll) + if (!extractAll) { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { @@ -286,7 +280,7 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 result+="документацији класе за сваки члан:"; } } - else + else { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { @@ -305,7 +299,7 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 { QCString result="Овде је списак свих "; if (!extractAll) result+="документованих "; - + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { result+="фрункција, променљивих, макро замена, набрајања, и дефиниција типова"; @@ -315,9 +309,9 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 result+="чланова датотеке"; } result+=" са везама ка "; - if (extractAll) + if (extractAll) result+="датотекама којима припадају:"; - else + else result+="документацији:"; return result; } @@ -334,43 +328,43 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 virtual QCString trModulesDescription() { return "Овде је списак свих модула:"; } - // index titles (the project name is prepended for these) + // index titles (the project name is prepended for these) /*! This is used in HTML as the title of index.html. */ virtual QCString trDocumentation() { return "Документација"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all groups. */ virtual QCString trModuleIndex() { return "Индекс модула"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * class hierarchy. */ virtual QCString trHierarchicalIndex() { return "Хијерархијски индекс"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index. */ virtual QCString trCompoundIndex() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { + { return "Индекс структура"; } else { - return "Индекс класа"; + return "Индекс класа"; } } /*! This is used in LaTeX as the title of the chapter with the * list of all files. */ - virtual QCString trFileIndex() + virtual QCString trFileIndex() { return "Индекс датотека"; } /*! This is used in LaTeX as the title of the chapter containing @@ -383,14 +377,14 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 * the documentation of all classes, structs and unions. */ virtual QCString trClassDocumentation() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Документација структуре"; + return "Документација структуре"; } else { - return "Документација класе"; + return "Документација класе"; } } @@ -415,123 +409,105 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 /*! This is used in LaTeX as the title of the document */ virtual QCString trReferenceManual() { return "Приручник"; } - - /*! This is used in the documentation of a file as a header before the + + /*! This is used in the documentation of a file as a header before the * list of defines */ virtual QCString trDefines() { return "Дефиниције"; } - /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "Декларације функција"; } - - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() { return "Дефиниције типова"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of enumerations */ virtual QCString trEnumerations() { return "Набрајања"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) functions */ virtual QCString trFunctions() { return "Функције"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trVariables() { return "Променљиве"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trEnumerationValues() { return "Вредности набрајања"; } - + /*! This is used in the documentation of a file before the list of * documentation blocks for defines */ virtual QCString trDefineDocumentation() { return "Документација дефиниције"; } - /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Документација декларације функције"; } - - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() { return "Документација дефиниције типа"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration types */ virtual QCString trEnumerationTypeDocumentation() { return "Документација набрајања"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for functions */ virtual QCString trFunctionDocumentation() { return "Документација функције"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for variables */ virtual QCString trVariableDocumentation() { return "Документација променљиве"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds */ virtual QCString trCompounds() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Структуре"; + return "Структуре"; } else { - return "Класе"; + return "Класе"; } } - /*! This is used in the standard footer of each page and indicates when - * the page was generated + /*! This is used in the standard footer of each page and indicates when + * the page was generated */ virtual QCString trGeneratedAt(const char *date,const char *projName) - { + { QCString result=(QCString)"Направљено "+date; if (projName) result+=(QCString)" за "+projName; result+=(QCString)" помоћу"; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return "написао"; - } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) { return (QCString)"Дијаграм наслеђивања за "+clName+":"; } - + /*! this text is generated when the \\internal command is used. */ virtual QCString trForInternalUseOnly() { return "Само за унутрашњу употребу."; } @@ -563,7 +539,7 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 /*! this text is generated when the \\exception command is used. */ virtual QCString trExceptions() { return "Изизеци"; } - + /*! this text is used in the title page of a LaTeX document. */ virtual QCString trGeneratedBy() { return "Направљено помоћу"; } @@ -571,7 +547,7 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 ////////////////////////////////////////////////////////////////////////// // new since 0.49-990307 ////////////////////////////////////////////////////////////////////////// - + /*! used as the title of page containing all the index of all namespaces. */ virtual QCString trNamespaceList() { return "Списак простора имена"; } @@ -590,17 +566,17 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 */ virtual QCString trFriends() { return "Пријатељи"; } - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 ////////////////////////////////////////////////////////////////////////// - + /*! used in the class documentation as a header before the list of all - * related classes + * related classes */ virtual QCString trRelatedFunctionDocumentation() { return "Документација за пријатеље и повезане функције"; } - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// @@ -611,7 +587,7 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 bool isTemplate) { QCString result=(QCString)clName; - if (isTemplate) + if (isTemplate) { result+=" Шаблон"; switch(compType) @@ -625,8 +601,8 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 case ClassDef::Exception: result+="ски изузетак"; break; default: break; } - } - else + } + else { result+=" Референца"; switch(compType) @@ -648,7 +624,7 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 virtual QCString trFileReference(const char *fileName) { QCString result=fileName; - result+=" Референца датотеке"; + result+=" Референца датотеке"; return result; } @@ -659,7 +635,7 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 result+=" Референца простора имена"; return result; } - + virtual QCString trPublicMembers() { return "Јавне функције чланице"; } virtual QCString trPublicSlots() @@ -680,7 +656,7 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 { return "Приватни слотови"; } virtual QCString trStaticPrivateMembers() { return "Статичке приватне функције чланице"; } - + /*! this function is used to produce a comma-separated list of items. * use generateMarker(i) to indicate where item i should be put. */ @@ -689,23 +665,23 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 QCString result; int i; // the inherits list contain `numEntries' classes - for (i=0;i<numEntries;i++) + for (i=0;i<numEntries;i++) { // use generateMarker to generate placeholders for the class links! - result+=generateMarker(i); // generate marker for entry i in the list + result+=generateMarker(i); // generate marker for entry i in the list // (order is left to right) - + if (i!=numEntries-1) // not the last entry, so we need a separator { - if (i<numEntries-2) // not the fore last entry + if (i<numEntries-2) // not the fore last entry result+=", "; else // the fore last entry result+=" и "; } } - return result; + return result; } - + /*! used in class documentation to produce a list of base classes, * if class diagrams are disabled. */ @@ -722,7 +698,7 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 return "Наслеђују "+trWriteList(numEntries)+"."; } - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are hidden by this one. */ virtual QCString trReimplementedFromList(int numEntries) @@ -744,17 +720,17 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 /*! This is an introduction to the page with all namespace members */ virtual QCString trNamespaceMemberDescription(bool extractAll) - { + { QCString result="Овде је списак свих "; if (!extractAll) result+="документованих "; result+="чланова простора имена са везама ка "; - if (extractAll) + if (extractAll) result+="документацији простора имена за сваки члан:"; - else + else result+="просторима имена којима припадају:"; return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all namespaces. */ virtual QCString trNamespaceIndex() @@ -804,12 +780,6 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "Абецедни списак"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -823,7 +793,7 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 virtual QCString trMainPage() { return "Главна страница"; } - /*! This is used in references to page that are put in the LaTeX + /*! This is used in references to page that are put in the LaTeX * documentation. It should be an abbreviation of the word page. */ virtual QCString trPageAbbreviation() @@ -868,7 +838,7 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 /*! header that is put before the list of constructor/destructors. */ virtual QCString trConstructorDocumentation() { - return "Документација конструктора и деструктора"; + return "Документација конструктора и деструктора"; } /*! Used in the file documentation to point to the corresponding sources. */ virtual QCString trGotoSourceCode() @@ -925,7 +895,7 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 ////////////////////////////////////////////////////////////////////////// // new since 1.1.0 ////////////////////////////////////////////////////////////////////////// - + virtual QCString trNote() { return "Напомена"; @@ -1014,7 +984,7 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 { return "Од"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.1.5 ////////////////////////////////////////////////////////////////////////// @@ -1024,12 +994,12 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 { return "Легенда графова"; } - /*! page explaining how the dot graph's should be interpreted + /*! page explaining how the dot graph's should be interpreted * The %A in the text below are to prevent link to classes called "A". */ virtual QCString trLegendDocs() { - return + return "Ова страница објашњава како тумачити графове који су направљени " "doxygen-ом.<p>\n" "Размотримо следећи пример:\n" @@ -1094,11 +1064,11 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 { return "легенда"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.0 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a test item */ virtual QCString trTest() { @@ -1111,16 +1081,6 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "DCOP функције чланице"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1176,11 +1136,11 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 { return "Вредност:"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.5 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a \\bug item */ virtual QCString trBug() { @@ -1196,9 +1156,9 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 // new since 1.2.6 ////////////////////////////////////////////////////////////////////////// - /*! Used as ansicpg for RTF file - * - * The following table shows the correlation of Charset name, Charset Value and + /*! Used as ansicpg for RTF file + * + * The following table shows the correlation of Charset name, Charset Value and * <pre> * Codepage number: * Charset Name Charset Value(hex) Codepage number @@ -1219,15 +1179,15 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 * GB2313_CHARSET 134 (x86) 936 * CHINESEBIG5_CHARSET 136 (x88) 950 * </pre> - * + * */ virtual QCString trRTFansicp() { return "1251"; } - - /*! Used as ansicpg for RTF fcharset + + /*! Used as ansicpg for RTF fcharset * \see trRTFansicp() for a table of possible values. */ virtual QCString trRTFCharSet() @@ -1240,82 +1200,82 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 { return "Индекс"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trClass(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Клас" : "клас")); if (!singular) result+="e"; else result+="a"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trFile(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Датотек" : "датотек")); if (!singular) result+="e"; else result+="a"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trNamespace(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Простор" : "простор")); if (!singular) result+="и имена"; else result+=" имена"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGroup(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Груп" : "груп")); if (!singular) result+="е"; else result+="a"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trPage(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Страниц" : "страниц")); if (!singular) result+="е"; else result += "a"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trMember(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Члан" : "члан")); if (!singular) result+="ови"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGlobal(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Глобалн" : "глобалн")); if (!singular) result+="а"; else result+="о"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1325,10 +1285,10 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 /*! This text is generated when the \\author command is used and * for the author section in man pages. */ virtual QCString trAuthor(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Аутор" : "аутор")); if (!singular) result+="и"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1346,7 +1306,7 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 // new since 1.2.13 ////////////////////////////////////////////////////////////////////////// - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are implemented by this one. */ virtual QCString trImplementedFromList(int numEntries) @@ -1378,8 +1338,8 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 // new since 1.2.17 ////////////////////////////////////////////////////////////////////////// - /*! Used as the header of the list of item that have been - * flagged deprecated + /*! Used as the header of the list of item that have been + * flagged deprecated */ virtual QCString trDeprecatedList() { @@ -1390,7 +1350,7 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 // new since 1.2.18 ////////////////////////////////////////////////////////////////////////// - /*! Used as a header for declaration section of the events found in + /*! Used as a header for declaration section of the events found in * a C# program */ virtual QCString trEvents() @@ -1410,43 +1370,43 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 /*! Used as a heading for a list of Java class types with package scope. */ virtual QCString trPackageTypes() - { + { return "Типови пакета"; } - /*! Used as a heading for a list of Java class functions with package - * scope. + /*! Used as a heading for a list of Java class functions with package + * scope. */ virtual QCString trPackageMembers() - { + { return "Функције пакета"; } - /*! Used as a heading for a list of static Java class functions with + /*! Used as a heading for a list of static Java class functions with * package scope. */ virtual QCString trStaticPackageMembers() - { + { return "Статичке функције пакета"; } - /*! Used as a heading for a list of Java class variables with package + /*! Used as a heading for a list of Java class variables with package * scope. */ virtual QCString trPackageAttribs() - { + { return "Атрибути пакета"; } - /*! Used as a heading for a list of static Java class variables with + /*! Used as a heading for a list of static Java class variables with * package scope. */ virtual QCString trStaticPackageAttribs() - { + { return "Статички атрибути пакета"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.3.1 ////////////////////////////////////////////////////////////////////////// - /*! Used in the quick index of a class/file/namespace member list page + /*! Used in the quick index of a class/file/namespace member list page * to link to the unfiltered list of all members. */ virtual QCString trAll() @@ -1463,14 +1423,6 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Тражим"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1482,7 +1434,7 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 * text can be different depending on the number of documents found. * Inside the text you can put the special marker $num to insert * the number representing the actual number of search results. - * The @a numDocuments parameter can be either 0, 1 or 2, where the + * The @a numDocuments parameter can be either 0, 1 or 2, where the * value 2 represents 2 or more matches. HTML markup is allowed inside * the returned string. */ @@ -1508,13 +1460,13 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 { return "Пронађена <b>4</b> документа која одговарају упиту."; } - else + else { return "Пронађено <b>$num</b> докумената који одговарају упиту. " "Приказују се прво најбољи поготци."; } } - /*! This string is put before the list of matched words, for each search + /*! This string is put before the list of matched words, for each search * result. What follows is the list of words that matched the query. */ virtual QCString trSearchMatches() @@ -1555,7 +1507,7 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 virtual QCString trDirectories() { return "Директоријуми"; } - /*! This returns a sentences that introduces the directory hierarchy. + /*! This returns a sentences that introduces the directory hierarchy. * and the fact that it is sorted alphabetically per level */ virtual QCString trDirDescription() @@ -1573,10 +1525,10 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 * (\a first_capital) and in sigular or plural form (\a singular). */ virtual QCString trDir(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Директоријум" : "директоријум")); if (singular) result+=""; else result+="и"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1602,7 +1554,7 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 return "Ово је граф функција које позивају ову функцију:"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration values */ virtual QCString trEnumerationValueDocumentation() @@ -1611,12 +1563,12 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 ////////////////////////////////////////////////////////////////////////// // new since 1.5.4 (mainly for Fortran) ////////////////////////////////////////////////////////////////////////// - + /*! header that is put before the list of member subprograms (Fortran). */ virtual QCString trMemberFunctionDocumentationFortran() { return "Документацијаr функције чланице, односно потпрограма члана"; } - /*! This is put above each page as a link to the list of annotated data types (Fortran). */ + /*! This is put above each page as a link to the list of annotated data types (Fortran). */ virtual QCString trCompoundListFortran() { return "Списак типова података"; } @@ -1638,18 +1590,18 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 } result+="чланова типова података"; result+=" са везама ка "; - if (!extractAll) + if (!extractAll) { result+="документацији структуре података за сваки члан"; } - else + else { result+="типовима података којима припадају:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index (Fortran). */ virtual QCString trCompoundIndexFortran() @@ -1661,24 +1613,24 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 virtual QCString trTypeDocumentation() { return "Документација типова података"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) subprograms (Fortran). */ virtual QCString trSubprograms() { return "Функције/потпрограми"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for subprograms (Fortran) */ virtual QCString trSubprogramDocumentation() { return "Документација функције/потпрограма"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds (Fortran) */ virtual QCString trDataTypes() { return "Типови података"; } - + /*! used as the title of page containing all the index of all modules (Fortran). */ virtual QCString trModulesList() { return "Списак модула"; } @@ -1717,46 +1669,46 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 virtual QCString trModuleReference(const char *namespaceName) { QCString result=namespaceName; - result+=" Референца модула"; + result+=" Референца модула"; return result; } - + /*! This is put above each page as a link to all members of modules. (Fortran) */ virtual QCString trModulesMembers() { return "Чланови модула"; } /*! This is an introduction to the page with all modules members (Fortran) */ virtual QCString trModulesMemberDescription(bool extractAll) - { + { QCString result="Овде је списак свих "; if (!extractAll) result+="документованих "; result+="чланова модула са везама ка "; - if (extractAll) + if (extractAll) { result+="документацији модула за сваки члан:"; } - else + else { result+="модулима којима припадају:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all modules (Fortran). */ virtual QCString trModulesIndex() { return "Индекс модула"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * 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 ? "Модул" : "модул")); if (!singular) result+="и"; - return result; + 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. @@ -1782,24 +1734,24 @@ class TranslatorSerbianCyrilic : public TranslatorAdapter_1_6_0 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 + * 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 ? "Тип" : "тип")); if (!singular) result+="ови"; - return result; + 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 + * 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 ? "Потпрограм" : "потпрограм")); if (!singular) result+="и"; - return result; + return result; } /*! C# Type Constraint list */ diff --git a/src/translator_si.h b/src/translator_si.h index 8568b1e..57ca5c4 100644 --- a/src/translator_si.h +++ b/src/translator_si.h @@ -38,10 +38,6 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6 { return "\\usepackage[slovene]{babel}\n\\usepackage[T1]{fontenc}\n"; } - QCString idLanguageCharset() - { - return "utf-8"; - } QCString trRelatedFunctions() { return "Povezane funkcije"; } QCString trRelatedSubscript() @@ -168,8 +164,6 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6 QCString trDefines() { return "Makro deklaracije"; } - QCString trFuncProtos() - { return "Prototipi funkcij"; } QCString trTypedefs() { return "Uporabniško definirani tipi"; } QCString trEnumerations() @@ -182,8 +176,6 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6 { return "Vrednosti naštevnih tipov"; } QCString trDefineDocumentation() { return "Opis makro definicije"; } - QCString trFunctionPrototypeDocumentation() - { return "Opis prototipa funkcije"; } QCString trTypedefDocumentation() { return "Opis uporabniško definiranega tipa"; } QCString trEnumerationTypeDocumentation() @@ -201,10 +193,6 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6 result+=(QCString)" generator: "; return result; } - QCString trWrittenBy() - { - return "napisal "; - } QCString trClassDiagram(const char *clName) { return (QCString)"Diagram razredov za "+clName; @@ -434,12 +422,6 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6 return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - QCString trAlphabeticalList() - { return "abecedni seznam"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -747,16 +729,6 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6 } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "DCOP metode"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1120,14 +1092,6 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6 // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Išči"; - } /*! This string is used as the title for the page listing the search * results. */ diff --git a/src/translator_sk.h b/src/translator_sk.h index 836d7f2..8c51147 100644 --- a/src/translator_sk.h +++ b/src/translator_sk.h @@ -43,12 +43,6 @@ class TranslatorSlovak : public Translator virtual QCString latexLanguageSupportCommand() { return "\\usepackage[slovak]{babel}\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. */ @@ -397,12 +391,6 @@ class TranslatorSlovak : public Translator { return "Definícia makier"; } /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "Prototypy"; } - - /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() @@ -439,12 +427,6 @@ class TranslatorSlovak : public Translator { return "Dokumentácia k definíciám makier"; } /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Dokumentácia prototypov"; } - - /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() @@ -494,13 +476,6 @@ class TranslatorSlovak : public Translator return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return " -- autor "; - } - /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) { @@ -775,12 +750,6 @@ class TranslatorSlovak : public Translator return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "Register tried"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -1088,16 +1057,6 @@ class TranslatorSlovak : public Translator } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "Metódy DCOP"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1407,13 +1366,6 @@ class TranslatorSlovak : public Translator // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the index - * of each page before the search field. - */ - virtual QCString trSearchForIndex() - { - return "Vyhľadať"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1788,12 +1740,6 @@ class TranslatorSlovak : public Translator // new since 1.6.3 (missing items for the directory pages) ////////////////////////////////////////////////////////////////////////// - /*! introduction text for the directory dependency graph */ - virtual QCString trDirDependency(const char *name) - { - return (QCString)"Graf závislosti adresárov pre "+name; - } - /*! when clicking a directory dependency label, a page with a * table is shown. The heading for the first column mentions the * source file that has a relation to another file. diff --git a/src/translator_sr.h b/src/translator_sr.h index 86c2777..11ebac2 100644 --- a/src/translator_sr.h +++ b/src/translator_sr.h @@ -1,12 +1,12 @@ /****************************************************************************** * - * + * * * Copyright (C) 1997-2013 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 + * 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. * @@ -14,7 +14,7 @@ * input used in their production; they are not affected by this license. * */ - + #ifndef TRANSLATOR_SR_H #define TRANSLATOR_SR_H @@ -25,23 +25,23 @@ // translation update by Andrija M. Bosnjakovic <andrija@etf.bg.ac.yu> class TranslatorSerbian : public TranslatorAdapter_1_6_0 -{ +{ public: // --- Language control methods ------------------- - - /*! Used for identification of the language. The identification - * should not be translated. It should be replaced by the name + + /*! Used for identification of the language. The identification + * should not be translated. It should be replaced by the name * of the language in English using lower-case characters only - * (e.g. "czech", "japanese", "russian", etc.). It should be equal to + * (e.g. "czech", "japanese", "russian", etc.). It should be equal to * the identification used in language.cpp. */ virtual QCString idLanguage() { return "serbian"; } - - /*! Used to get the LaTeX command(s) for the language support. + + /*! Used to get the LaTeX command(s) for the language support. * This method should return string with commands that switch - * LaTeX to the desired language. For example + * LaTeX to the desired language. For example * <pre>"\\usepackage[german]{babel}\n" * </pre> * or @@ -49,7 +49,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 * "\\usepackage[latin2]{inputenc}\n" * "\\usepackage[T1]{fontenc}\n" * </pre> - * + * * The English LaTeX does not use such commands. Because of this * the empty string is returned in this implementation. */ @@ -59,23 +59,17 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 return result; } - /*! 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. */ virtual QCString trRelatedFunctions() - //! Čini se da je ovako manje loše nego "Povezane funkcije", + //! Čini se da je ovako manje loše nego "Povezane funkcije", //! što uopšte ne izgleda dobro jer ta kartica sadrži prijatelje i globalne funkcije - { return "Relevantne funkcije"; } + { return "Relevantne funkcije"; } /*! subscript for the related functions. */ virtual QCString trRelatedSubscript() - { return "(To nisu funkcije članice.)"; } + { return "(To nisu funkcije članice.)"; } /*! header that is put before the detailed description of files, classes and namespaces. */ virtual QCString trDetailedDescription() @@ -84,31 +78,31 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 /*! header that is put before the list of typedefs. */ virtual QCString trMemberTypedefDocumentation() { return "Dokumentacija unutrašnjih definicija tipa"; } - + /*! header that is put before the list of enumerations. */ virtual QCString trMemberEnumerationDocumentation() //! Ovo je u skladu sa "unutrašnja klasa" što se može videti u knjizi. { return "Dokumentacija unutrašnjih nabrajanja"; } - + /*! header that is put before the list of member functions. */ virtual QCString trMemberFunctionDocumentation() { return "Dokumentacija funkcija članica"; } - + /*! header that is put before the list of member attributes. */ virtual QCString trMemberDataDocumentation() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Dokumentacija polja"; + return "Dokumentacija polja"; } else { - return "Dokumentacija atributa"; + return "Dokumentacija atributa"; } } /*! this is the text of a link put after brief descriptions. */ - virtual QCString trMore() + virtual QCString trMore() { return "Još..."; } /*! put in the class documentation */ @@ -126,81 +120,81 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 /*! this is the remainder of the sentence after the class name */ virtual QCString trIncludingInheritedMembers() { return ", uključujući nasleđene članove."; } - + /*! this is put at the author sections at the bottom of man pages. * parameter s is name of the project name. */ virtual QCString trGeneratedAutomatically(const char *s) { QCString result="Napravljeno automatski korišćenjem alata Doxygen"; if( s ) result+=(QCString)" za projekat " + s; - result+=" od izvornog koda."; + result+=" od izvornog koda."; return result; } /*! put after an enum name in the list of all members */ virtual QCString trEnumName() { return "ime nabrajanja "; } - + /*! put after an enum value in the list of all members */ virtual QCString trEnumValue() { return "vrednost nabrojane konstante"; } - + /*! put after an undocumented member in the list of all members */ virtual QCString trDefinedIn() { return "definicija u"; } // quick reference sections - /*! This is put above each page as a link to the list of all groups of + /*! This is put above each page as a link to the list of all groups of * compounds or files (see the \\group command). */ virtual QCString trModules() { return "Moduli"; } - + /*! This is put above each page as a link to the class hierarchy */ virtual QCString trClassHierarchy() { return "Hijerarhija klasa"; } - + /*! This is put above each page as a link to the list of annotated classes */ virtual QCString trCompoundList() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "Spisak struktura"; } else { - return "Spisak klasa"; + return "Spisak klasa"; } } - + /*! This is put above each page as a link to the list of documented files */ virtual QCString trFileList() { return "Spisak datoteka"; } /*! This is put above each page as a link to all members of compounds. */ virtual QCString trCompoundMembers() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Sva polja struktura"; + return "Sva polja struktura"; } else { - return "Svi članovi klasa"; + return "Svi članovi klasa"; } } /*! This is put above each page as a link to all members of files. */ virtual QCString trFileMembers() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Članovi datoteke"; + return "Članovi datoteke"; } else { - return "Članovi datoteke"; + return "Članovi datoteke"; } } @@ -231,11 +225,11 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 /*! This is an introduction to the annotated compound list. */ virtual QCString trCompoundListDescription() - { - + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Spisak struktura sa kratkim opisima:"; + return "Spisak struktura sa kratkim opisima:"; } else { @@ -260,18 +254,18 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 result+="članova klasa"; } result+=" sa vezama ka "; - if (extractAll) + if (extractAll) { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - result+="dokumentaciji svakog polja strukture/unije:"; + result+="dokumentaciji svakog polja strukture/unije:"; } else { - result+="dokumentaciji svakog člana klase:"; + result+="dokumentaciji svakog člana klase:"; } } - else + else { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { @@ -279,7 +273,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 } else { - result+="klasama kojima pripadaju:"; + result+="klasama kojima pripadaju:"; } } return result; @@ -290,19 +284,19 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 { QCString result="Spisak svih "; if (!extractAll) result+="dokumentovanih "; - + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { result+="funkcija, promenljivih, makro zamena, nabrajanja i definicija tipa"; } else { - result+="članova"; + result+="članova"; } result+=" sa vezama ka "; - if (extractAll) + if (extractAll) result+="datotekama u kojima se nalaze:"; - else + else result+="dokumentaciji:"; return result; } @@ -319,43 +313,43 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 virtual QCString trModulesDescription() { return "Spisak svih modula:"; } - // index titles (the project name is prepended for these) + // index titles (the project name is prepended for these) /*! This is used in HTML as the title of index.html. */ virtual QCString trDocumentation() { return "Dokumentacija"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all groups. */ virtual QCString trModuleIndex() { return "Indeks modula"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * class hierarchy. */ virtual QCString trHierarchicalIndex() { return "Hijerarhijski sadržaj"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index. */ virtual QCString trCompoundIndex() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { - return "Spisak struktura/unija"; + { + return "Spisak struktura/unija"; } else { - return "Spisak klasa"; + return "Spisak klasa"; } } /*! This is used in LaTeX as the title of the chapter with the * list of all files. */ - virtual QCString trFileIndex() + virtual QCString trFileIndex() { return "Indeks datoteka"; } /*! This is used in LaTeX as the title of the chapter containing @@ -368,14 +362,14 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 * the documentation of all classes, structs and unions. */ virtual QCString trClassDocumentation() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Dokumentacija stuktura/unija"; + return "Dokumentacija stuktura/unija"; } else { - return "Dokumentacija klasa"; + return "Dokumentacija klasa"; } } @@ -400,123 +394,105 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 /*! This is used in LaTeX as the title of the document */ virtual QCString trReferenceManual() { return "Priručnik"; } - - /*! This is used in the documentation of a file as a header before the + + /*! This is used in the documentation of a file as a header before the * list of defines */ virtual QCString trDefines() { return "Makro zamene"; } - /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "Deklaracije funkcija"; } - - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() { return "Definicije tipa"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of enumerations */ virtual QCString trEnumerations() { return "Nabrajanja"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) functions */ virtual QCString trFunctions() { return "Funkcije"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trVariables() { return "Promenljive"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trEnumerationValues() { return "Vrednosti nabrojanih konstanti"; } - + /*! This is used in the documentation of a file before the list of * documentation blocks for defines */ virtual QCString trDefineDocumentation() { return "Dokumentacija makro zamene"; } - /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Dokumentacija deklaracije funkcije"; } - - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() { return "Dokumentacija definicije tipa"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration types */ virtual QCString trEnumerationTypeDocumentation() { return "Dokumentacija nabrajanja"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for functions */ virtual QCString trFunctionDocumentation() { return "Dokumentacija funkcije"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for variables */ virtual QCString trVariableDocumentation() { return "Dokumentacija promenljive"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds */ virtual QCString trCompounds() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Strukture i unije"; + return "Strukture i unije"; } else { - return "Klase, strukture i unije"; + return "Klase, strukture i unije"; } } - /*! This is used in the standard footer of each page and indicates when - * the page was generated + /*! This is used in the standard footer of each page and indicates when + * the page was generated */ virtual QCString trGeneratedAt(const char *date,const char *projName) - { + { QCString result=(QCString)"[" + date + "] Napravljeno automatski "; if ( projName ) result+=(QCString)" za projekat " + projName; result+=(QCString)" upotrebom "; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return "napisao"; - } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) { return QCString("Dijagram nasleđivanja za klasu ") + clName + ":"; } - + /*! this text is generated when the \\internal command is used. */ virtual QCString trForInternalUseOnly() { return "Samo za unutrašnju upotrebu."; } @@ -548,7 +524,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 /*! this text is generated when the \\exception command is used. */ virtual QCString trExceptions() { return "Izuzeci"; } - + /*! this text is used in the title page of a LaTeX document. */ virtual QCString trGeneratedBy() { return "Napravio"; } @@ -556,7 +532,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 ////////////////////////////////////////////////////////////////////////// // new since 0.49-990307 ////////////////////////////////////////////////////////////////////////// - + /*! used as the title of page containing all the index of all namespaces. */ virtual QCString trNamespaceList() { return "Spisak prostora imena"; } @@ -575,17 +551,17 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 */ virtual QCString trFriends() { return "Prijatelji"; } - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 ////////////////////////////////////////////////////////////////////////// - + /*! used in the class documentation as a header before the list of all - * related classes + * related classes */ virtual QCString trRelatedFunctionDocumentation() { return "Dokumentacija prijatelja i relevantnih funkcija"; } - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// @@ -594,8 +570,8 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 virtual QCString trCompoundReference(const char *clName, ClassDef::CompoundType compType, bool isTemplate) - { - QCString result( "Dokumentacija " ); + { + QCString result( "Dokumentacija " ); switch(compType) { case ClassDef::Class: result+="klase "; break; @@ -607,7 +583,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 case ClassDef::Exception: result+="izuzetka "; break; default: break; } - if (isTemplate) result += "šablona "; + if (isTemplate) result += "šablona "; result += clName; return result; } @@ -616,7 +592,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 virtual QCString trFileReference(const char *fileName) { QCString result = "Opis datoteke "; - result += fileName; + result += fileName; return result; } @@ -627,7 +603,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 result += namespaceName; return result; } - + virtual QCString trPublicMembers() { return "Javni članovi"; } virtual QCString trPublicSlots() @@ -648,7 +624,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 { return "Privatni slotovi"; } virtual QCString trStaticPrivateMembers() { return "Zajednički privatni članovi"; } - + /*! this function is used to produce a comma-separated list of items. * use generateMarker(i) to indicate where item i should be put. */ @@ -657,23 +633,23 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 QCString result; int i; // the inherits list contain `numEntries' classes - for (i=0;i<numEntries;i++) + for (i=0;i<numEntries;i++) { // use generateMarker to generate placeholders for the class links! - result+=generateMarker(i); // generate marker for entry i in the list + result+=generateMarker(i); // generate marker for entry i in the list // (order is left to right) - + if (i!=numEntries-1) // not the last entry, so we need a separator { - if (i<numEntries-2) // not the fore last entry + if (i<numEntries-2) // not the fore last entry result+=", "; else // the fore last entry result+=" i "; } } - return result; + return result; } - + /*! used in class documentation to produce a list of base classes, * if class diagrams are disabled. */ @@ -690,7 +666,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 return "Spisak izvedenih klasa: "; } - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are hidden by this one. */ virtual QCString trReimplementedFromList(int numEntries) @@ -712,17 +688,17 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 /*! This is an introduction to the page with all namespace members */ virtual QCString trNamespaceMemberDescription(bool extractAll) - { + { QCString result="Spisak svih "; if (!extractAll) result+="dokumentovanih "; result+="članova prostora imena sa vezama prema "; - if (extractAll) + if (extractAll) result+="dokumentaciji svakog člana prostora imena: "; - else + else result+="prostorima imena kojima pripadaju: "; return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all namespaces. */ virtual QCString trNamespaceIndex() @@ -772,12 +748,6 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "Abecedni spisak"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -791,7 +761,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 virtual QCString trMainPage() { return "Glavna strana"; } - /*! This is used in references to page that are put in the LaTeX + /*! This is used in references to page that are put in the LaTeX * documentation. It should be an abbreviation of the word page. */ virtual QCString trPageAbbreviation() @@ -836,7 +806,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 /*! header that is put before the list of constructor/destructors. */ virtual QCString trConstructorDocumentation() { - return "Dokumentacija konstruktora i destruktora"; + return "Dokumentacija konstruktora i destruktora"; } /*! Used in the file documentation to point to the corresponding sources. */ virtual QCString trGotoSourceCode() @@ -893,10 +863,10 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 ////////////////////////////////////////////////////////////////////////// // new since 1.1.0 ////////////////////////////////////////////////////////////////////////// - + virtual QCString trNote() { - return "Beleška"; + return "Beleška"; } virtual QCString trPublicTypes() { @@ -906,7 +876,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Polja"; + return "Polja"; } else { @@ -963,7 +933,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 virtual QCString trReferencedBy() { //! Izbegavanje roda. Uskladjivanje sa trReferences - return "Korisnici: "; + return "Korisnici: "; } virtual QCString trRemarks() { @@ -982,7 +952,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 { return "Od"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.1.5 ////////////////////////////////////////////////////////////////////////// @@ -992,7 +962,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 { return "Objašnjenje korišćenih simbola"; } - /*! page explaining how the dot graph's should be interpreted + /*! page explaining how the dot graph's should be interpreted * The %A in the text below are to prevent link to classes called "A". */ virtual QCString trLegendDocs() @@ -1041,7 +1011,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 "<li>Sa sivom ivicom predstavlja strukturu ili klasu bez doxygen komentara.\n" "<li>Sa crvenom ivicom predstavlja dokumentovanu strukturu ili klasu\n" "za koju nisu prikazani svi relevantni grafovi.\n" - "</ul>" + "</ul>" "Strelice imaju sledeća značenja:\n" "<ul>\n" "<li>Tamnoplava strelica označava javno izvođenje.\n" @@ -1061,11 +1031,11 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 { return "Objašnjenje korišćenih simbola"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.0 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a test item */ virtual QCString trTest() { @@ -1078,16 +1048,6 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "DCOP metode"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1143,11 +1103,11 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 { return "Vrednost:"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.5 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a \\bug item */ virtual QCString trBug() { @@ -1163,9 +1123,9 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 // new since 1.2.6 ////////////////////////////////////////////////////////////////////////// - /*! Used as ansicpg for RTF file - * - * The following table shows the correlation of Charset name, Charset Value and + /*! Used as ansicpg for RTF file + * + * The following table shows the correlation of Charset name, Charset Value and * <pre> * Codepage number: * Charset Name Charset Value(hex) Codepage number @@ -1186,15 +1146,15 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 * GB2313_CHARSET 134 (x86) 936 * CHINESEBIG5_CHARSET 136 (x88) 950 * </pre> - * + * */ virtual QCString trRTFansicp() { return "1252"; } - - /*! Used as ansicpg for RTF fcharset + + /*! Used as ansicpg for RTF fcharset * \see trRTFansicp() for a table of possible values. */ virtual QCString trRTFCharSet() @@ -1207,83 +1167,83 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 { return "Sadržaj"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trClass(bool first_capital, bool singular) - { + { QCString result( (first_capital ? "Klas" : "klas") ); result+= (singular ? "a" : "e"); - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trFile(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Datotek" : "datotek")); result+= (singular ? "a" : "e"); - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trNamespace(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Prostor" : "prostor")); - result += (singular ? "" : "i"); + result += (singular ? "" : "i"); result += " imena"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGroup(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Grup" : "grup")); result+= (singular ? "a" : "e"); - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trPage(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Stran" : "stran")); result+= (singular ? "a" : "e"); - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trMember(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Član" : "član")); result+= (singular ? "" : "ovi"); - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGlobal(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Globalni " : "globalni ")); result+= (singular ? "podatak" : "podaci"); - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1293,10 +1253,10 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 /*! This text is generated when the \\author command is used and * for the author section in man pages. */ virtual QCString trAuthor(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Autor" : "autor")); result+= (singular ? "" : "i"); - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1314,7 +1274,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 // new since 1.2.13 ////////////////////////////////////////////////////////////////////////// - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are implemented by this one. */ virtual QCString trImplementedFromList(int /*numEntries*/) @@ -1341,24 +1301,24 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 { return "Sadržaj"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.17 ////////////////////////////////////////////////////////////////////////// - /*! Used as the header of the list of item that have been - * flagged deprecated + /*! Used as the header of the list of item that have been + * flagged deprecated */ virtual QCString trDeprecatedList() { return "Spisak zastarelih stvari"; - } + } ////////////////////////////////////////////////////////////////////////// // new since 1.2.18 ////////////////////////////////////////////////////////////////////////// - /*! Used as a header for declaration section of the events found in + /*! Used as a header for declaration section of the events found in * a C# program */ virtual QCString trEvents() @@ -1378,43 +1338,43 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 /*! Used as a heading for a list of Java class types with package scope. */ virtual QCString trPackageTypes() - { + { return "Tipovi u paketu"; } - /*! Used as a heading for a list of Java class functions with package - * scope. + /*! Used as a heading for a list of Java class functions with package + * scope. */ virtual QCString trPackageMembers() - { + { return "Funkcije u paketu"; } - /*! Used as a heading for a list of static Java class functions with + /*! Used as a heading for a list of static Java class functions with * package scope. */ virtual QCString trStaticPackageMembers() - { + { return "Statičke funkcije u paketu"; // Zajednicke funkcije u paketu } - /*! Used as a heading for a list of Java class variables with package + /*! Used as a heading for a list of Java class variables with package * scope. */ virtual QCString trPackageAttribs() - { + { return "Atributi u paketu"; // Clanovi u paketu } - /*! Used as a heading for a list of static Java class variables with + /*! Used as a heading for a list of static Java class variables with * package scope. */ virtual QCString trStaticPackageAttribs() - { + { return "Statički atributi u paketu"; // Zajednicki clanovi u paketu } - + ////////////////////////////////////////////////////////////////////////// // new since 1.3.1 ////////////////////////////////////////////////////////////////////////// - /*! Used in the quick index of a class/file/namespace member list page + /*! Used in the quick index of a class/file/namespace member list page * to link to the unfiltered list of all members. */ virtual QCString trAll() @@ -1431,14 +1391,6 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Traži"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1450,7 +1402,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 * text can be different depending on the number of documents found. * Inside the text you can put the special marker $num to insert * the number representing the actual number of search results. - * The @a numDocuments parameter can be either 0, 1 or 2, where the + * The @a numDocuments parameter can be either 0, 1 or 2, where the * value 2 represents 2 or more matches. HTML markup is allowed inside * the returned string. */ @@ -1462,7 +1414,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 } else if (numDocuments==1) { return "Nađen je <b>1</b> dokument koji odgovara vašem upitu."; } - else if (numDocuments<5) + else if (numDocuments<5) { return "Nađena su <b>$num</b> dokumenta koji odgovaraju vašem upitu." " Najbolji su prikazani prvi."; } else @@ -1470,7 +1422,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 " Najbolji su prikazani prvi."; } } - /*! This string is put before the list of matched words, for each search + /*! This string is put before the list of matched words, for each search * result. What follows is the list of words that matched the query. */ virtual QCString trSearchMatches() @@ -1511,7 +1463,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 virtual QCString trDirectories() { return "Direktorijumi"; } - /*! This returns a sentences that introduces the directory hierarchy. + /*! This returns a sentences that introduces the directory hierarchy. * and the fact that it is sorted alphabetically per level */ virtual QCString trDirDescription() @@ -1527,10 +1479,10 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 * (\a first_capital) and in sigular or plural form (\a singular). */ virtual QCString trDir(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Direktorijum" : "direktorijum")); - if (!singular) result+="i"; - return result; + if (!singular) result+="i"; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1556,7 +1508,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 return "Graf funkcija koje pozivaju ovu funkciju:"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration values */ virtual QCString trEnumerationValueDocumentation() @@ -1565,12 +1517,12 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 ////////////////////////////////////////////////////////////////////////// // new since 1.5.4 (mainly for Fortran) ////////////////////////////////////////////////////////////////////////// - + /*! header that is put before the list of member subprograms (Fortran). */ virtual QCString trMemberFunctionDocumentationFortran() { return "Dokumentacija funkcija i procedura"; } - /*! This is put above each page as a link to the list of annotated data types (Fortran). */ + /*! This is put above each page as a link to the list of annotated data types (Fortran). */ /* TODO: Koji je prevod za Compound u Fortran kontekstu */ virtual QCString trCompoundListFortran() { return "Složeni tipovi podataka"; } @@ -1593,18 +1545,18 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 } result+="polja složenih tipova podataka"; result+=" sa vezama ka "; - if (!extractAll) + if (!extractAll) { result+="dokumentaciji strukture podataka za svakog člana"; } - else + else { result+="složenim tipovima podataka kojima pripadaju:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index (Fortran). */ virtual QCString trCompoundIndexFortran() @@ -1616,24 +1568,24 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 virtual QCString trTypeDocumentation() { return "Dokumentacija tipova podataka"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) subprograms (Fortran). */ virtual QCString trSubprograms() { return "Funkcije i procedure"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for subprograms (Fortran) */ virtual QCString trSubprogramDocumentation() { return "Dokumentacija funkcija i procedura"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds (Fortran) */ virtual QCString trDataTypes() { return "Složeni tipovi podataka"; } - + /*! used as the title of page containing all the index of all modules (Fortran). */ virtual QCString trModulesList() { return "Spisak modula"; } @@ -1672,46 +1624,46 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 virtual QCString trModuleReference(const char *namespaceName) { QCString result=namespaceName; - result+=" - sažet pregled modula"; + result+=" - sažet pregled modula"; return result; } - + /*! This is put above each page as a link to all members of modules. (Fortran) */ virtual QCString trModulesMembers() { return "Članovi modula"; } /*! This is an introduction to the page with all modules members (Fortran) */ virtual QCString trModulesMemberDescription(bool extractAll) - { + { QCString result="Spisak svih "; if (!extractAll) result+="dokumentovanih "; result+="članova modula sa vezama ka "; - if (extractAll) + if (extractAll) { result+="dokumentaciji za svakog člana modula:"; } - else + else { result+="modulima kojima pripadaju:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all modules (Fortran). */ virtual QCString trModulesIndex() { return "Spisak modula"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * 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 ? "Modul" : "modul")); if (!singular) result+="i"; - return result; + 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. @@ -1737,24 +1689,24 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 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 + * 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 ? "Tip" : "tip")); if (!singular) result+="ovi"; - return result; + 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 + * 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 ? "Procedura" : "procedura")); if (!singular) result = (first_capital ? "Procedure" : "procedure"); - return result; + return result; } /*! C# Type Constraint list */ @@ -1762,7 +1714,7 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 { return "Ograničenja tipova"; } - + ////////////////////////////////////////////////////////////////////////// // following methods have no corresponding entry in translator_en.h ////////////////////////////////////////////////////////////////////////// @@ -1770,51 +1722,51 @@ class TranslatorSerbian : public TranslatorAdapter_1_6_0 // /*! This is put above each page as a link to the list of all verbatim headers */ // virtual QCString trHeaderFiles() // { return "Zaglavlja"; } -// +// // /*! This is an introduction to the page with the list of all header files. */ // virtual QCString trHeaderFilesDescription() // { return "Zaglavlja koje izgraduju API:"; } -// +// // /*! This sentences is used in the annotated class/file lists if no brief -// * description is given. +// * description is given. // */ // virtual QCString trNoDescriptionAvailable() // { return "Opis nije dostupan"; } -// +// // /*! this text is generated when the \\reimp command is used. */ // virtual QCString trReimplementedForInternalReasons() // { return decode("Preuradeno zbog unutrasnjih razloga; Nema uticaja na API." ); } -// +// // /*! this text is generated when the \\bug command is used. */ // virtual QCString trBugsAndLimitations() // { return "Greske i ogranicenja"; } -// +// // virtual QCString trSources() // { // return decode("Izvorne datoteke" ); // } -// +// // /*! Used for Java interfaces in the summary section of Java packages */ // virtual QCString trInterfaces() // { // return "Interfejsi"; //!< Radna okruzenja. Ali to je dve reci. // } -// +// // /*! Used as a chapter title for Latex & RTF output */ // virtual QCString trPackageDocumentation() // { // return "Dokumentacija paketa"; // } -// +// // /*! This is used for translation of the word that will possibly -// * be followed by a single name or by a list of names +// * be followed by a single name or by a list of names // * of the category. // */ // virtual QCString trField(bool first_capital, bool singular) -// { +// { // QCString result((first_capital ? "Polj" : "polj")); // result+= (singular ? "e" : "a"); -// return result; +// return result; // } }; diff --git a/src/translator_sv.h b/src/translator_sv.h index 35baf88..4ef2bc4 100644 --- a/src/translator_sv.h +++ b/src/translator_sv.h @@ -95,12 +95,6 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 return "\\usepackage[swedish]{babel}\n"; } - /*! return the language charset. This will be used for the HTML output */ - virtual QCString idLanguageCharset() - { - return "utf-8"; - } - virtual QCString trRelatedFunctions() { return "Besläktade funktioner"; } @@ -376,8 +370,6 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 virtual QCString trDefines() { return "Definitioner"; } - virtual QCString trFuncProtos() - { return "Funktionsprototyper"; } virtual QCString trTypedefs() { return "Typdefinitioner"; } virtual QCString trEnumerations() @@ -393,9 +385,6 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 virtual QCString trDefineDocumentation() { return "Dokumentation över definitioner"; } - virtual QCString trFunctionPrototypeDocumentation() - { return "Dokumentation över funktionsprototyper"; } - virtual QCString trTypedefDocumentation() { return "Dokumentation över typdefinitioner"; } @@ -431,11 +420,6 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 return result; } - virtual QCString trWrittenBy() - { - return "skriven av"; - } - virtual QCString trClassDiagram(const char *clName) { return (QCString)"Klassdiagram för "+clName; @@ -658,13 +642,6 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { - return "Alfabetisk lista"; - } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -979,16 +956,6 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "DCOP metoder"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1314,14 +1281,6 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Sök efter"; - } /*! This string is used as the title for the page listing the search * results. */ diff --git a/src/translator_tr.h b/src/translator_tr.h index 9c66c55..2dbfcd8 100644 --- a/src/translator_tr.h +++ b/src/translator_tr.h @@ -1,12 +1,12 @@ /****************************************************************************** * - * + * * * Copyright (C) 1997-2013 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 + * 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. * @@ -18,7 +18,7 @@ #ifndef TRANSLATOR_TR_H #define TRANSLATOR_TR_H -/*! +/*! When defining a translator class for the new language, follow the description in the documentation. One of the steps says that you should copy the translator_en.h (this) file to your @@ -45,19 +45,19 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 public: // --- Language control methods ------------------- - - /*! Used for identification of the language. The identification - * should not be translated. It should be replaced by the name + + /*! Used for identification of the language. The identification + * should not be translated. It should be replaced by the name * of the language in English using lower-case characters only - * (e.g. "czech", "japanese", "russian", etc.). It should be equal to + * (e.g. "czech", "japanese", "russian", etc.). It should be equal to * the identification used in language.cpp. */ virtual QCString idLanguage() { return "turkish"; } - - /*! Used to get the LaTeX command(s) for the language support. + + /*! Used to get the LaTeX command(s) for the language support. * This method should return string with commands that switch - * LaTeX to the desired language. For example + * LaTeX to the desired language. For example * <pre>"\\usepackage[german]{babel}\n" * </pre> * or @@ -65,7 +65,7 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 * "\\usepackage[latin2]{inputenc}\n" * "\\usepackage[T1]{fontenc}\n" * </pre> - * + * * The English LaTeX does not use such commands. Because of this * the empty string is returned in this implementation. */ @@ -74,12 +74,6 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 return ""; } - /*! 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 fonksiyonlar. */ @@ -97,30 +91,30 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 /*! header that is put before the list of typedefs. */ virtual QCString trMemberTypedefDocumentation() { return "Üye Typedef Dokümantasyonu"; } - + /*! header that is put before the list of enumerations. */ virtual QCString trMemberEnumerationDocumentation() { return "Üye Enümerasyon Dokümantasyonu"; } - + /*! header that is put before the list of member fonksiyonlar. */ virtual QCString trMemberFunctionDocumentation() { return "Üye Fonksiyon Dokümantasyonu"; } - + /*! header that is put before the list of member attributes. */ virtual QCString trMemberDataDocumentation() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Alan Dokümantasyonu"; + return "Alan Dokümantasyonu"; } else { - return "Üye Veri Dokümantasyonu"; + return "Üye Veri Dokümantasyonu"; } } /*! this is the text of a link put after brief descriptions. */ - virtual QCString trMore() + virtual QCString trMore() { return "Ayrıntılar..."; } /*! put in the class documentation */ @@ -138,81 +132,81 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 /*! this is the remainder of the sentence after the class name */ virtual QCString trIncludingInheritedMembers() { return " (kalıtımla gelen üyeleri de içerir)."; } - + /*! this is put at the author sections at the bottom of man pages. * parameter s is name of the project name. */ virtual QCString trGeneratedAutomatically(const char *s) { QCString result="Doxygen tarafından"; if (s) result+=s+(QCString)" için "; - result+=" kaynak koddan otomatik üretilmiştir."; + result+=" kaynak koddan otomatik üretilmiştir."; return result; } /*! put after an enum name in the list of all members */ virtual QCString trEnumName() { return "enum adı"; } - + /*! put after an enum value in the list of all members */ virtual QCString trEnumValue() { return "enum değeri"; } - + /*! put after an undocumented member in the list of all members */ virtual QCString trDefinedIn() { return "tanımlandığı yer"; } // quick reference sections - /*! This is put above each page as a link to the list of all groups of + /*! This is put above each page as a link to the list of all groups of * compounds or files (see the \\group command). */ virtual QCString trModules() { return "Modüller"; } - + /*! This is put above each page as a link to the class hierarchy */ virtual QCString trClassHierarchy() { return "Sınıf Hiyerarşisi"; } - + /*! This is put above each page as a link to the list of annotated classes */ virtual QCString trCompoundList() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "Veri Yapıları"; } else { - return "Sınıf Listesi"; + return "Sınıf Listesi"; } } - + /*! This is put above each page as a link to the list of documented files */ virtual QCString trFileList() { return "Dosya Listesi"; } /*! This is put above each page as a link to all members of compounds. */ virtual QCString trCompoundMembers() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Veri Alanları"; + return "Veri Alanları"; } else { - return "Sınıf Üyeleri"; + return "Sınıf Üyeleri"; } } /*! This is put above each page as a link to all members of files. */ virtual QCString trFileMembers() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Globaller"; + return "Globaller"; } else { - return "Dosya Üyeleri"; + return "Dosya Üyeleri"; } } @@ -245,16 +239,16 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 /*! This is an introduction to the annotated compound list. */ virtual QCString trCompoundListDescription() - { - + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Kısa tanımlarıyla birlikte veri yapıları:"; + return "Kısa tanımlarıyla birlikte veri yapıları:"; } else { return "Kısa tanımlarıyla sınıflar, yapılar (struct), " - "birleşimler(union) ve arayüzler:"; + "birleşimler(union) ve arayüzler:"; } } @@ -275,7 +269,7 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 result+="sınıf üyelerini içerir"; } result+=" ve "; - if (!extractAll) + if (!extractAll) { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { @@ -286,7 +280,7 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 result+="her üye için sınıf dokümantasyonuna bağlar:"; } } - else + else { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { @@ -305,7 +299,7 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 { QCString result="Bu liste tüm "; if (!extractAll) result+="dokümante edilmiş "; - + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { result+="fonksiyonları, değişkenleri, makroları, enümerasyonları ve typedef\'leri içerir"; @@ -315,9 +309,9 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 result+="dosya üyelerini içerir"; } result+=" ve "; - if (extractAll) + if (extractAll) result+="ait olduğu dosyalar bağlar:"; - else + else result+="dokümantasyona bağlar:"; return result; } @@ -334,43 +328,43 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 virtual QCString trModulesDescription() { return "Tüm modüllerin listesi aşağıdadır:"; } - // index titles (the project name is prepended for these) + // index titles (the project name is prepended for these) /*! This is used in HTML as the title of index.html. */ virtual QCString trDocumentation() { return "Dokümantasyonu"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all groups. */ virtual QCString trModuleIndex() { return "Modül İndeksi"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * class hierarchy. */ virtual QCString trHierarchicalIndex() { return "Hiyerarşik İndeksi"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index. */ virtual QCString trCompoundIndex() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { + { return "Veri Yapıları İndeksi"; } else { - return "Sınıf İndeksi"; + return "Sınıf İndeksi"; } } /*! This is used in LaTeX as the title of the chapter with the * list of all files. */ - virtual QCString trFileIndex() + virtual QCString trFileIndex() { return "Dosya İndeksi"; } /*! This is used in LaTeX as the title of the chapter containing @@ -383,14 +377,14 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 * the documentation of all classes, structs and unions. */ virtual QCString trClassDocumentation() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Veri Yapıları Dokümantasyonu"; + return "Veri Yapıları Dokümantasyonu"; } else { - return "Sınıf Dokümantasyonu"; + return "Sınıf Dokümantasyonu"; } } @@ -415,123 +409,105 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 /*! This is used in LaTeX as the title of the document */ virtual QCString trReferenceManual() { return "Referans Kitabı"; } - - /*! This is used in the documentation of a file as a header before the + + /*! This is used in the documentation of a file as a header before the * list of defines */ virtual QCString trDefines() { return "Makrolar"; } - /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "Fonksiyon Prototipleri"; } - - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() { return "Typedef\'ler"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of enumerations */ virtual QCString trEnumerations() { return "Enümerasyonlar"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) functions */ virtual QCString trFunctions() { return "Fonksiyonlar"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trVariables() { return "Değişkenler"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trEnumerationValues() { return "Enümeratör"; } - + /*! This is used in the documentation of a file before the list of * documentation blocks for defines */ virtual QCString trDefineDocumentation() { return "Makro Dokümantasyonu"; } - /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Fonksiyon Prototip Dokümantasyonu"; } - - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() { return "Typedef Dokümantasyonu"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration types */ virtual QCString trEnumerationTypeDocumentation() { return "Enümerasyon Tipi Dokümantasyonu"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for functions */ virtual QCString trFunctionDocumentation() { return "Fonksiyon Dokümantasyonu"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for variables */ virtual QCString trVariableDocumentation() { return "Değişken Dokümantasyonu"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds */ virtual QCString trCompounds() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Veri Yapıları"; + return "Veri Yapıları"; } else { - return "Sınıflar"; + return "Sınıflar"; } } - /*! This is used in the standard footer of each page and indicates when - * the page was generated + /*! This is used in the standard footer of each page and indicates when + * the page was generated */ virtual QCString trGeneratedAt(const char *date,const char *projName) - { + { QCString result=projName+(QCString)" için "+date; if (projName) result+=(QCString)" tarihinde "; result+=(QCString)" üreten: "; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return "yazan"; - } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) { return clName+(QCString)" için kalıtım şeması:"; } - + /*! this text is generated when the \\internal command is used. */ virtual QCString trForInternalUseOnly() { return "İç kullanıma ayrılmıştır."; } @@ -563,7 +539,7 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 /*! this text is generated when the \\exception command is used. */ virtual QCString trExceptions() { return "İstisnalar"; } - + /*! this text is used in the title page of a LaTeX document. */ virtual QCString trGeneratedBy() { return "Oluşturan"; } @@ -571,7 +547,7 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 ////////////////////////////////////////////////////////////////////////// // new since 0.49-990307 ////////////////////////////////////////////////////////////////////////// - + /*! used as the title of page containing all the index of all namespaces. */ virtual QCString trNamespaceList() { return "Namespace Listesi"; } @@ -590,17 +566,17 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 */ virtual QCString trFriends() { return "Arkadaşları"; } - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 ////////////////////////////////////////////////////////////////////////// - + /*! used in the class documentation as a header before the list of all - * related classes + * related classes */ virtual QCString trRelatedFunctionDocumentation() { return "Arkadaş Ve İlgili Fonksiyon Dokümantasyonu"; } - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// @@ -631,7 +607,7 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 virtual QCString trFileReference(const char *fileName) { QCString result=fileName; - result+=" Dosya Referansı"; + result+=" Dosya Referansı"; return result; } @@ -642,7 +618,7 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 result+=" Namespace Referansı"; return result; } - + virtual QCString trPublicMembers() { return "Public Üye Fonksiyonlar"; } virtual QCString trPublicSlots() @@ -663,7 +639,7 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 { return "Özel Slotlar"; } virtual QCString trStaticPrivateMembers() { return "Statik Özel Üye Fonksiyonlar"; } - + /*! this function is used to produce a comma-separated list of items. * use generateMarker(i) to indicate where item i should be put. */ @@ -672,23 +648,23 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 QCString result; int i; // the inherits list contain `numEntries' classes - for (i=0;i<numEntries;i++) + for (i=0;i<numEntries;i++) { // use generateMarker to generate placeholders for the class links! - result+=generateMarker(i); // generate marker for entry i in the list + result+=generateMarker(i); // generate marker for entry i in the list // (order is left to right) - + if (i!=numEntries-1) // not the last entry, so we need a separator { - if (i<numEntries-2) // not the fore last entry + if (i<numEntries-2) // not the fore last entry result+=", "; else // the fore last entry result+=" ve "; } } - return result; + return result; } - + /*! used in class documentation to produce a list of base classes, * if class diagrams are disabled. */ @@ -705,7 +681,7 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 return "Şu sınıfların atasıdır : "+trWriteList(numEntries)+"."; } - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are hidden by this one. */ virtual QCString trReimplementedFromList(int numEntries) @@ -727,17 +703,17 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 /*! This is an introduction to the page with all namespace members */ virtual QCString trNamespaceMemberDescription(bool extractAll) - { + { QCString result="Bu liste tüm "; if (!extractAll) result+="dokümante edilmiş "; result+="namespace üyelerini listeler ve "; - if (extractAll) + if (extractAll) result+="her üye için üye dokümantasyonuna bağlar:"; - else + else result+="ait olduğu namespace\'lere bağlar:"; return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all namespaces. */ virtual QCString trNamespaceIndex() @@ -788,12 +764,6 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "Alfabetik Liste"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -807,7 +777,7 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 virtual QCString trMainPage() { return "Ana Sayfa"; } - /*! This is used in references to page that are put in the LaTeX + /*! This is used in references to page that are put in the LaTeX * documentation. It should be an abbreviation of the word page. */ virtual QCString trPageAbbreviation() @@ -852,7 +822,7 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 /*! header that is put before the list of constructor/destructors. */ virtual QCString trConstructorDocumentation() { - return "Constructor & Destructor Dokümantasyonu"; + return "Constructor & Destructor Dokümantasyonu"; } /*! Used in the file documentation to point to the corresponding sources. */ virtual QCString trGotoSourceCode() @@ -909,7 +879,7 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 ////////////////////////////////////////////////////////////////////////// // new since 1.1.0 ////////////////////////////////////////////////////////////////////////// - + virtual QCString trNote() { return "Not"; @@ -998,7 +968,7 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 { return "Şu zamandan beri"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.1.5 ////////////////////////////////////////////////////////////////////////// @@ -1008,12 +978,12 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 { return "Şekil Lejantı"; } - /*! page explaining how the dot graph's should be interpreted + /*! page explaining how the dot graph's should be interpreted * The %A in the text below are to prevent link to classes called "A". */ virtual QCString trLegendDocs() { - return + return "Bu dosya doxygen tarafından üretilen grafiklerin nasıl anlaşılacağını " "açıklar.<p>\n" "Aşağıdaki örneğe bakalım:\n" @@ -1077,11 +1047,11 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 { return "lejant"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.0 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a test item */ virtual QCString trTest() { @@ -1094,16 +1064,6 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "DCOP Üye Fonksiyonlar"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1159,11 +1119,11 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 { return "Değer:"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.5 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a \\bug item */ virtual QCString trBug() { @@ -1179,9 +1139,9 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 // new since 1.2.6 ////////////////////////////////////////////////////////////////////////// - /*! Used as ansicpg for RTF file - * - * The following table shows the correlation of Charset name, Charset Value and + /*! Used as ansicpg for RTF file + * + * The following table shows the correlation of Charset name, Charset Value and * <pre> * Codepage number: * Charset Name Charset Value(hex) Codepage number @@ -1202,15 +1162,15 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 * GB2313_CHARSET 134 (x86) 936 * CHINESEBIG5_CHARSET 136 (x88) 950 * </pre> - * + * */ virtual QCString trRTFansicp() { return "1254"; } - - /*! Used as ansicpg for RTF fcharset + + /*! Used as ansicpg for RTF fcharset * \see trRTFansicp() for a table of possible values. */ virtual QCString trRTFCharSet() @@ -1223,82 +1183,82 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 { return "İndeks"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trClass(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Sınıf" : "sınıf")); if (!singular) result+="lar"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trFile(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Dosya" : "dosya")); if (!singular) result+="lar"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trNamespace(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Namespace" : "namespace")); if (!singular) result+="\'ler"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGroup(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Grup" : "grup")); if (!singular) result+="lar"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trPage(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Sayfa" : "sayfa")); if (!singular) result+="lar"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trMember(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Üye" : "üye")); if (!singular) result+="ler"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGlobal(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Global değişken" : "global değişken")); if (!singular) result+="ler"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1308,10 +1268,10 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 /*! This text is generated when the \\author command is used and * for the author section in man pages. */ virtual QCString trAuthor(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Yazar" : "yazar")); if (!singular) result+="lar"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1329,7 +1289,7 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 // new since 1.2.13 ////////////////////////////////////////////////////////////////////////// - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are implemented by this one. */ virtual QCString trImplementedFromList(int numEntries) @@ -1361,8 +1321,8 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 // new since 1.2.17 ////////////////////////////////////////////////////////////////////////// - /*! Used as the header of the list of item that have been - * flagged deprecated + /*! Used as the header of the list of item that have been + * flagged deprecated */ virtual QCString trDeprecatedList() { @@ -1373,7 +1333,7 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 // new since 1.2.18 ////////////////////////////////////////////////////////////////////////// - /*! Used as a header for declaration section of the events found in + /*! Used as a header for declaration section of the events found in * a C# program */ virtual QCString trEvents() @@ -1393,43 +1353,43 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 /*! Used as a heading for a list of Java class types with package scope. */ virtual QCString trPackageTypes() - { + { return "Paket Tipleri"; } - /*! Used as a heading for a list of Java class fonksiyonlar with package - * scope. + /*! Used as a heading for a list of Java class fonksiyonlar with package + * scope. */ virtual QCString trPackageMembers() - { + { return "Paket Fonksiyonlar"; } - /*! Used as a heading for a list of static Java class fonksiyonlar with + /*! Used as a heading for a list of static Java class fonksiyonlar with * package scope. */ virtual QCString trStaticPackageMembers() - { + { return "Static Pakat Fonksiyonları"; } - /*! Used as a heading for a list of Java class variables with package + /*! Used as a heading for a list of Java class variables with package * scope. */ virtual QCString trPackageAttribs() - { + { return "Packet Özellikleri(attribute)"; } - /*! Used as a heading for a list of static Java class variables with + /*! Used as a heading for a list of static Java class variables with * package scope. */ virtual QCString trStaticPackageAttribs() - { + { return "Statik Packet Özellikleri(attribute)"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.3.1 ////////////////////////////////////////////////////////////////////////// - /*! Used in the quick index of a class/file/namespace member list page + /*! Used in the quick index of a class/file/namespace member list page * to link to the unfiltered list of all members. */ virtual QCString trAll() @@ -1446,14 +1406,6 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Arama yapılacak metin"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1465,7 +1417,7 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 * text can be different depending on the number of documents found. * Inside the text you can put the special marker $num to insert * the number representing the actual number of search results. - * The @a numDocuments parameter can be either 0, 1 or 2, where the + * The @a numDocuments parameter can be either 0, 1 or 2, where the * value 2 represents 2 or more matches. HTML markup is allowed inside * the returned string. */ @@ -1479,13 +1431,13 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 { return "Sorgunuzla eşleşen <b>1</b> doküman bulundu."; } - else + else { return "Sorgunuzla eşleşen <b>$num</b> doküman bulundu. " "Önce en iyi eşleşmeler gösteriliyor."; } } - /*! This string is put before the list of matched words, for each search + /*! This string is put before the list of matched words, for each search * result. What follows is the list of words that matched the query. */ virtual QCString trSearchMatches() @@ -1526,7 +1478,7 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 virtual QCString trDirectories() { return "Dizinler"; } - /*! This returns a sentences that introduces the directory hierarchy. + /*! This returns a sentences that introduces the directory hierarchy. * and the fact that it is sorted alphabetically per level */ virtual QCString trDirDescription() @@ -1544,10 +1496,10 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 * (\a first_capital) and in sigular or plural form (\a singular). */ virtual QCString trDir(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Dizin" : "dizin")); if (!singular) result+="ler"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1574,7 +1526,7 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 return "Bu fonksiyon için çağırılma şeması:"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration values */ virtual QCString trEnumerationValueDocumentation() @@ -1583,12 +1535,12 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 ////////////////////////////////////////////////////////////////////////// // new since 1.5.4 (mainly for Fortran) ////////////////////////////////////////////////////////////////////////// - + /*! header that is put before the list of member subprograms (Fortran). */ virtual QCString trMemberFunctionDocumentationFortran() { return "Üye Fonksiyon/Subroutine Dokümantasyonu"; } - /*! This is put above each page as a link to the list of annotated data types (Fortran). */ + /*! This is put above each page as a link to the list of annotated data types (Fortran). */ virtual QCString trCompoundListFortran() { return "Veri Tipleri Listesi"; } @@ -1609,18 +1561,18 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 result+="dokümante edilmiş "; } result+="veri tiplerini içerir ve "; - if (!extractAll) + if (!extractAll) { result+="her üyeyi veri yapısı dokümantasyonuna bağlar:"; } - else + else { result+="ait oldukları veri tiplerine bağlar:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index (Fortran). */ virtual QCString trCompoundIndexFortran() @@ -1632,24 +1584,24 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 virtual QCString trTypeDocumentation() { return "Veri Tipi Dokümantasyonu"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) subprograms (Fortran). */ virtual QCString trSubprograms() { return "Fonksiyonlar/Subroutine\'ler"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for subprograms (Fortran) */ virtual QCString trSubprogramDocumentation() { return "Fonksiyon/Subroutine Dokümantasyonu"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds (Fortran) */ virtual QCString trDataTypes() { return "Veri Tipleri"; } - + /*! used as the title of page containing all the index of all modules (Fortran). */ virtual QCString trModulesList() { return "Modüller Listesi"; } @@ -1688,46 +1640,46 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 virtual QCString trModuleReference(const char *namespaceName) { QCString result=namespaceName; - result+=" Modül Referansı"; + result+=" Modül Referansı"; return result; } - + /*! This is put above each page as a link to all members of modules. (Fortran) */ virtual QCString trModulesMembers() { return "Modül Üyeleri"; } /*! This is an introduction to the page with all modules members (Fortran) */ virtual QCString trModulesMemberDescription(bool extractAll) - { + { QCString result="Bu liste tüm "; if (!extractAll) result+="dokümante edilmiş "; result+="modül üyelerini içerir ve "; - if (extractAll) + if (extractAll) { result+="her üyeyi modül dokümantasyonuna bağlar:"; } - else + else { result+="ait oldukları modüllere bağlar:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all modules (Fortran). */ virtual QCString trModulesIndex() { return "Modüller Indeksi"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * 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 ? "Modül" : "modül")); if (!singular) result+="ler"; - return result; + 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. @@ -1754,24 +1706,24 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 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 + * 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 ? "Tip" : "tip")); if (!singular) result+="ler"; - return result; + 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 + * 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 ? "Alt program" : "alt program")); if (!singular) result+="lar"; - return result; + return result; } /*! C# Type Constraint list */ @@ -1779,52 +1731,46 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 { return "Tip Sınırlamaları"; } - - + + ////////////////////////////////////////////////////////////////////////// // new since 1.6.0 (mainly for the new search engine) ////////////////////////////////////////////////////////////////////////// - + /*! directory relation for \a name */ virtual QCString trDirRelation(const char *name) { return QCString(name)+" İlişkisi"; } - + /*! Loading message shown when loading search results */ virtual QCString trLoading() { return "Yüklüyor..."; } - + /*! Label used for search results in the global namespace */ virtual QCString trGlobalNamespace() { return "En Üst Seviye"; } - + /*! Message shown while searching */ virtual QCString trSearching() { return "Arıyor..."; } - + /*! Text shown when no search results are found */ virtual QCString trNoMatches() { return "Eşleşme Yok"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.6.3 (missing items for the directory pages) ////////////////////////////////////////////////////////////////////////// - - /*! introduction text for the directory dependency graph */ - virtual QCString trDirDependency(const char *name) - { - return (QCString)(name) + (QCString)" için dizin bağımlılık grafiği"; - } - + /*! when clicking a directory dependency label, a page with a * table is shown. The heading for the first column mentions the * source file that has a relation to another file. @@ -1833,7 +1779,7 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 { return (QCString)(name) + (QCString)" dizinindeki dosya"; } - + /*! when clicking a directory dependency label, a page with a * table is shown. The heading for the second column mentions the * destination file that is included. @@ -1842,8 +1788,8 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 { return (QCString)(name) + (QCString)" dizinindeki dosyayı kapsıyor"; } - - /** Compiles a date string. + + /** Compiles a date string. * @param year Year in 4 digits * @param month Month of the year: 1=January * @param day Day of the Month: 1..31 @@ -1869,8 +1815,8 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5 } return sdate; } - - + + }; #endif diff --git a/src/translator_tw.h b/src/translator_tw.h index 48629fe..86e0a02 100644 --- a/src/translator_tw.h +++ b/src/translator_tw.h @@ -75,12 +75,6 @@ class TranslatorChinesetraditional : public Translator return ""; } - /*! 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. */ @@ -424,12 +418,6 @@ class TranslatorChinesetraditional : public Translator { return "定義"; } /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "函式原型"; } - - /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() @@ -466,12 +454,6 @@ class TranslatorChinesetraditional : public Translator { return "定義巨集說明文件"; } /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "函式原型說明文件"; } - - /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() @@ -526,12 +508,6 @@ class TranslatorChinesetraditional : public Translator result+=(QCString)", 產生器:"; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return "撰寫人:"; - } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) @@ -794,12 +770,6 @@ class TranslatorChinesetraditional : public Translator return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "字母順序列表"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -1101,16 +1071,6 @@ class TranslatorChinesetraditional : public Translator } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "DCOP方法"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1438,14 +1398,6 @@ class TranslatorChinesetraditional : public Translator // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "搜尋索引"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1796,12 +1748,6 @@ class TranslatorChinesetraditional : public Translator // new since 1.6.3 (missing items for the directory pages) ////////////////////////////////////////////////////////////////////////// - /*! introduction text for the directory dependency graph */ - virtual QCString trDirDependency(const char *name) - { - return (QCString)name+"的目錄關連圖"; - } - /*! when clicking a directory dependency label, a page with a * table is shown. The heading for the first column mentions the * source file that has a relation to another file. diff --git a/src/translator_ua.h b/src/translator_ua.h index e899801..9c89c40 100644 --- a/src/translator_ua.h +++ b/src/translator_ua.h @@ -32,12 +32,6 @@ class TranslatorUkrainian : public TranslatorAdapter_1_8_4 return "\\usepackage[T2A]{fontenc}\n\\usepackage[ukrainian]{babel}\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. */ @@ -367,12 +361,6 @@ class TranslatorUkrainian : public TranslatorAdapter_1_8_4 { return "Макровизначення"; } /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "Прототипи фукцій"; } - - /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() @@ -409,12 +397,6 @@ class TranslatorUkrainian : public TranslatorAdapter_1_8_4 { return "Опис макровизначень"; } /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Опис прототипів функцій"; } - - /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() @@ -468,12 +450,6 @@ class TranslatorUkrainian : public TranslatorAdapter_1_8_4 result+=" системою"; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return "Автор:"; - } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) @@ -757,7 +733,7 @@ class TranslatorUkrainian : public TranslatorAdapter_1_8_4 case ClassDef::Exception: if (single) result+="цього винятку"; else result+="цих винятків"; break; - default: + default: break; } result+=" була створена з файл"; @@ -765,12 +741,6 @@ class TranslatorUkrainian : public TranslatorAdapter_1_8_4 return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "Алфавітний покажчик"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -1069,16 +1039,6 @@ class TranslatorUkrainian : public TranslatorAdapter_1_8_4 } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "DCOP Методи"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1404,14 +1364,6 @@ class TranslatorUkrainian : public TranslatorAdapter_1_8_4 // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Шукати"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1795,12 +1747,6 @@ class TranslatorUkrainian : public TranslatorAdapter_1_8_4 // new since 1.6.3 (missing items for the directory pages) ////////////////////////////////////////////////////////////////////////// - /*! introduction text for the directory dependency graph */ - virtual QCString trDirDependency(const char *name) - { - return (QCString)"Граф залежностей каталогу для "+name; - } - /*! when clicking a directory dependency label, a page with a * table is shown. The heading for the first column mentions the * source file that has a relation to another file. diff --git a/src/translator_vi.h b/src/translator_vi.h index 36fb48a..6657c6b 100644 --- a/src/translator_vi.h +++ b/src/translator_vi.h @@ -1,12 +1,12 @@ /****************************************************************************** * - * + * * * Copyright (C) 1997-2013 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 + * 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. * @@ -25,7 +25,7 @@ */ -/*! +/*! When defining a translator class for the new language, follow the description in the documentation. One of the steps says that you should copy the translator_en.h (this) file to your @@ -52,19 +52,19 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 public: // --- Language control methods ------------------- - - /*! Used for identification of the language. The identification - * should not be translated. It should be replaced by the name + + /*! Used for identification of the language. The identification + * should not be translated. It should be replaced by the name * of the language in English using lower-case characters only - * (e.g. "czech", "japanese", "russian", etc.). It should be equal to + * (e.g. "czech", "japanese", "russian", etc.). It should be equal to * the identification used in language.cpp. */ virtual QCString idLanguage() { return "vietnamese"; } - - /*! Used to get the LaTeX command(s) for the language support. + + /*! Used to get the LaTeX command(s) for the language support. * This method should return string with commands that switch - * LaTeX to the desired language. For example + * LaTeX to the desired language. For example * <pre>"\\usepackage[german]{babel}\n" * </pre> * or @@ -72,7 +72,7 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 * "\\usepackage[latin2]{inputenc}\n" * "\\usepackage[T1]{fontenc}\n" * </pre> - * + * * The English LaTeX does not use such commands. Because of this * the empty string is returned in this implementation. */ @@ -81,12 +81,6 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 return ""; } - /*! 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. */ @@ -104,30 +98,30 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 /*! header that is put before the list of typedefs. */ virtual QCString trMemberTypedefDocumentation() { return "Thông tin về Member Typedef"; } - + /*! header that is put before the list of enumerations. */ virtual QCString trMemberEnumerationDocumentation() { return "Thông tin về Member Enumeration"; } - + /*! header that is put before the list of member functions. */ virtual QCString trMemberFunctionDocumentation() { return "Thông tin về hàm thành viên"; } - + /*! header that is put before the list of member attributes. */ virtual QCString trMemberDataDocumentation() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Thông tin về trường"; + return "Thông tin về trường"; } else { - return "Thông tin về Member Data"; + return "Thông tin về Member Data"; } } /*! this is the text of a link put after brief descriptions. */ - virtual QCString trMore() + virtual QCString trMore() { return "Tiếp..."; } /*! put in the class documentation */ @@ -145,81 +139,81 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 /*! this is the remainder of the sentence after the class name */ virtual QCString trIncludingInheritedMembers() { return ", cùng với tất cả các thành viên kế thừa."; } - + /*! this is put at the author sections at the bottom of man pages. * parameter s is name of the project name. */ virtual QCString trGeneratedAutomatically(const char *s) { QCString result="Được tạo ra bởi Doxygen"; if (s) result+=(QCString)" cho "+s; - result+=" từ mã nguồn."; + result+=" từ mã nguồn."; return result; } /*! put after an enum name in the list of all members */ virtual QCString trEnumName() { return "tên enum"; } - + /*! put after an enum value in the list of all members */ virtual QCString trEnumValue() { return "giá trị enum"; } - + /*! put after an undocumented member in the list of all members */ virtual QCString trDefinedIn() { return "được định nghĩa trong"; } // quick reference sections - /*! This is put above each page as a link to the list of all groups of + /*! This is put above each page as a link to the list of all groups of * compounds or files (see the \\group command). */ virtual QCString trModules() { return "Các Modules"; } - + /*! This is put above each page as a link to the class hierarchy */ virtual QCString trClassHierarchy() { return "Kiến trúc Class"; } - + /*! This is put above each page as a link to the list of annotated classes */ virtual QCString trCompoundList() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "Cấu trúc cơ sở dữ liệu (Data Structures)"; } else { - return "Danh mục các Class"; + return "Danh mục các Class"; } } - + /*! This is put above each page as a link to the list of documented files */ virtual QCString trFileList() { return "Danh mục File"; } /*! This is put above each page as a link to all members of compounds. */ virtual QCString trCompoundMembers() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Các trường dữ liệu"; + return "Các trường dữ liệu"; } else { - return "Các thành viên của Class"; + return "Các thành viên của Class"; } } /*! This is put above each page as a link to all members of files. */ virtual QCString trFileMembers() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Toàn cục"; + return "Toàn cục"; } else { - return "File thành viên"; + return "File thành viên"; } } @@ -252,16 +246,16 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 /*! This is an introduction to the annotated compound list. */ virtual QCString trCompoundListDescription() - { - + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Đây là cấu trúc cơ sở dữ liệu với mô tả tóm tắt:"; + return "Đây là cấu trúc cơ sở dữ liệu với mô tả tóm tắt:"; } else { return "Đây là các classes, structs, " - "unions và interfaces với các mô tả tóm tắt:"; + "unions và interfaces với các mô tả tóm tắt:"; } } @@ -282,7 +276,7 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 result+="class members"; } result+=" cùng với các các liên kết đến "; - if (!extractAll) + if (!extractAll) { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { @@ -293,7 +287,7 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 result+="Thông tin về class cho từng thành viên:"; } } - else + else { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { @@ -312,7 +306,7 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 { QCString result="Danh sách tất cả các "; if (!extractAll) result+="(đã được mô tat) "; - + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { result+="functions, variables, defines, enums, và typedefs"; @@ -322,9 +316,9 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 result+="các file thành viên"; } result+=" cùng với links tới "; - if (extractAll) + if (extractAll) result+="các files thuộc:"; - else + else result+="tài liệu:"; return result; } @@ -341,43 +335,43 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 virtual QCString trModulesDescription() { return "Danh sách tất cả các thành viên:"; } - // index titles (the project name is prepended for these) + // index titles (the project name is prepended for these) /*! This is used in HTML as the title of index.html. */ virtual QCString trDocumentation() { return "Thông tin"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all groups. */ virtual QCString trModuleIndex() { return "Chỉ mục (Index) Module"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * class hierarchy. */ virtual QCString trHierarchicalIndex() { return "Hierarchical Index"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index. */ virtual QCString trCompoundIndex() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { + { return "Index cấu trúc cơ sở dữ liệu"; } else { - return "Class Index"; + return "Class Index"; } } /*! This is used in LaTeX as the title of the chapter with the * list of all files. */ - virtual QCString trFileIndex() + virtual QCString trFileIndex() { return "File Index"; } /*! This is used in LaTeX as the title of the chapter containing @@ -390,14 +384,14 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 * the documentation of all classes, structs and unions. */ virtual QCString trClassDocumentation() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Thông tin về cấu trúc cơ sở dữ liệu"; + return "Thông tin về cấu trúc cơ sở dữ liệu"; } else { - return "Thông tin về Class"; + return "Thông tin về Class"; } } @@ -422,123 +416,105 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 /*! This is used in LaTeX as the title of the document */ virtual QCString trReferenceManual() { return "Thông tin tham chiếu"; } - - /*! This is used in the documentation of a file as a header before the + + /*! This is used in the documentation of a file as a header before the * list of defines */ virtual QCString trDefines() { return "Định nghĩa"; } - /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "Function Prototypes"; } - - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() { return "Typedefs"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of enumerations */ virtual QCString trEnumerations() { return "Enumerations"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) functions */ virtual QCString trFunctions() { return "Các hàm"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trVariables() { return "Các biến"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trEnumerationValues() { return "Enumerator"; } - + /*! This is used in the documentation of a file before the list of * documentation blocks for defines */ virtual QCString trDefineDocumentation() { return "Thông tin về định nghĩa"; } - /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Thông tin về Function Prototype"; } - - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() { return "Thông tin về Typedef"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration types */ virtual QCString trEnumerationTypeDocumentation() { return "Thông tin về Enumeration Type"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for functions */ virtual QCString trFunctionDocumentation() { return "Thông tin về hàm"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for variables */ virtual QCString trVariableDocumentation() { return "Thông tin về các biến"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds */ virtual QCString trCompounds() - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Cấu trúc cơ sở dữ liệu"; + return "Cấu trúc cơ sở dữ liệu"; } else { - return "Classes"; + return "Classes"; } } - /*! This is used in the standard footer of each page and indicates when - * the page was generated + /*! This is used in the standard footer of each page and indicates when + * the page was generated */ virtual QCString trGeneratedAt(const char *date,const char *projName) - { + { QCString result=(QCString)"Được biên soạn vào "+date; if (projName) result+=(QCString)" cho mã nguồn dự án "+projName; result+=(QCString)" bởi"; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return "được viết bởi"; - } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) { return (QCString)"Sơ đồ kế thừa cho "+clName+":"; } - + /*! this text is generated when the \\internal command is used. */ virtual QCString trForInternalUseOnly() { return "Chỉ cho sử dụng nội bộ."; } @@ -570,7 +546,7 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 /*! this text is generated when the \\exception command is used. */ virtual QCString trExceptions() { return "Exceptions"; } - + /*! this text is used in the title page of a LaTeX document. */ virtual QCString trGeneratedBy() { return "Được biên soạn bởi"; } @@ -578,7 +554,7 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 ////////////////////////////////////////////////////////////////////////// // new since 0.49-990307 ////////////////////////////////////////////////////////////////////////// - + /*! used as the title of page containing all the index of all namespaces. */ virtual QCString trNamespaceList() { return "Danh sách Namespace"; } @@ -597,17 +573,17 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 */ virtual QCString trFriends() { return "Friends"; } - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 ////////////////////////////////////////////////////////////////////////// - + /*! used in the class documentation as a header before the list of all - * related classes + * related classes */ virtual QCString trRelatedFunctionDocumentation() { return "Thông tin về Friends và các hàm liên quan"; } - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// @@ -638,7 +614,7 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 virtual QCString trFileReference(const char *fileName) { QCString result=fileName; - result+=" File Tham chiếu"; + result+=" File Tham chiếu"; return result; } @@ -649,7 +625,7 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 result+=" Namespace Tham chiếu"; return result; } - + virtual QCString trPublicMembers() { return "Các hàm thành viên Public"; } virtual QCString trPublicSlots() @@ -670,7 +646,7 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 { return "Private Slots"; } virtual QCString trStaticPrivateMembers() { return "Các hàm thành viên Static Private"; } - + /*! this function is used to produce a comma-separated list of items. * use generateMarker(i) to indicate where item i should be put. */ @@ -679,23 +655,23 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 QCString result; int i; // the inherits list contain `numEntries' classes - for (i=0;i<numEntries;i++) + for (i=0;i<numEntries;i++) { // use generateMarker to generate placeholders for the class links! - result+=generateMarker(i); // generate marker for entry i in the list + result+=generateMarker(i); // generate marker for entry i in the list // (order is left to right) - + if (i!=numEntries-1) // not the last entry, so we need a separator { - if (i<numEntries-2) // not the fore last entry + if (i<numEntries-2) // not the fore last entry result+=", "; else // the fore last entry result+=", và "; } } - return result; + return result; } - + /*! used in class documentation to produce a list of base classes, * if class diagrams are disabled. */ @@ -712,7 +688,7 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 return "Được kế thừa bởi "+trWriteList(numEntries)+"."; } - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are hidden by this one. */ virtual QCString trReimplementedFromList(int numEntries) @@ -734,17 +710,17 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 /*! This is an introduction to the page with all namespace members */ virtual QCString trNamespaceMemberDescription(bool extractAll) - { + { QCString result="Danh sách tất cả các "; if (!extractAll) result+="(đã được biên soạn) "; result+="các thành viên namespace cùng với link tới "; - if (extractAll) + if (extractAll) result+="Thông tin namespace cho từng thành viên:"; - else + else result+=" namespaces mà phụ thuộc bởi:"; return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all namespaces. */ virtual QCString trNamespaceIndex() @@ -794,12 +770,6 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "Danh sách theo ABC"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -813,7 +783,7 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 virtual QCString trMainPage() { return "Tranh chính"; } - /*! This is used in references to page that are put in the LaTeX + /*! This is used in references to page that are put in the LaTeX * documentation. It should be an abbreviation of the word page. */ virtual QCString trPageAbbreviation() @@ -858,7 +828,7 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 /*! header that is put before the list of constructor/destructors. */ virtual QCString trConstructorDocumentation() { - return "Thông tin về Constructor và Destructor"; + return "Thông tin về Constructor và Destructor"; } /*! Used in the file documentation to point to the corresponding sources. */ virtual QCString trGotoSourceCode() @@ -915,7 +885,7 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 ////////////////////////////////////////////////////////////////////////// // new since 1.1.0 ////////////////////////////////////////////////////////////////////////// - + virtual QCString trNote() { return "Ghi chú"; @@ -1004,7 +974,7 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 { return "Từ"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.1.5 ////////////////////////////////////////////////////////////////////////// @@ -1014,12 +984,12 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 { return "Chú giải Graph"; } - /*! page explaining how the dot graph's should be interpreted + /*! page explaining how the dot graph's should be interpreted * The %A in the text below are to prevent link to classes called "A". */ virtual QCString trLegendDocs() { - return + return "Trang này giải nghĩa các biểu đồ được biên soạn bởi " " doxygen.<p>\n" "Hãy xem xét các ví dụ sau:\n" @@ -1083,11 +1053,11 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 { return "Chú giải"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.0 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a test item */ virtual QCString trTest() { @@ -1100,16 +1070,6 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "Các hàm thành viên DCOP"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1165,11 +1125,11 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 { return "Giá trị:"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.2.5 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a \\bug item */ virtual QCString trBug() { @@ -1185,9 +1145,9 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 // new since 1.2.6 ////////////////////////////////////////////////////////////////////////// - /*! Used as ansicpg for RTF file - * - * The following table shows the correlation of Charset name, Charset Value and + /*! Used as ansicpg for RTF file + * + * The following table shows the correlation of Charset name, Charset Value and * <pre> * Codepage number: * Charset Name Charset Value(hex) Codepage number @@ -1208,15 +1168,15 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 * GB2313_CHARSET 134 (x86) 936 * CHINESEBIG5_CHARSET 136 (x88) 950 * </pre> - * + * */ virtual QCString trRTFansicp() { return "1258"; } - - /*! Used as ansicpg for RTF fcharset + + /*! Used as ansicpg for RTF fcharset * \see trRTFansicp() for a table of possible values. */ virtual QCString trRTFCharSet() @@ -1229,82 +1189,82 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 { return "Chỉ số"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trClass(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Class" : "class")); if (!singular) result+="es"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trFile(bool first_capital, bool singular) - { + { QCString result((first_capital ? "File" : "file")); if (!singular) result+="s"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trNamespace(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Namespace" : "namespace")); if (!singular) result+="s"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGroup(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Group" : "group")); if (!singular) result+="s"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trPage(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Trang" : "trang")); if (!singular) result+=""; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trMember(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Member" : "member")); if (!singular) result+="s"; - return result; + 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 + * be followed by a single name or by a list of names * of the category. */ virtual QCString trGlobal(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Global" : "global")); if (!singular) result+="s"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1314,10 +1274,10 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 /*! This text is generated when the \\author command is used and * for the author section in man pages. */ virtual QCString trAuthor(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Tác giả" : "tác giả")); if (!singular) result+=""; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1335,7 +1295,7 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 // new since 1.2.13 ////////////////////////////////////////////////////////////////////////// - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are implemented by this one. */ virtual QCString trImplementedFromList(int numEntries) @@ -1367,8 +1327,8 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 // new since 1.2.17 ////////////////////////////////////////////////////////////////////////// - /*! Used as the header of the list of item that have been - * flagged deprecated + /*! Used as the header of the list of item that have been + * flagged deprecated */ virtual QCString trDeprecatedList() { @@ -1379,7 +1339,7 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 // new since 1.2.18 ////////////////////////////////////////////////////////////////////////// - /*! Used as a header for declaration section of the events found in + /*! Used as a header for declaration section of the events found in * a C# program */ virtual QCString trEvents() @@ -1399,43 +1359,43 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 /*! Used as a heading for a list of Java class types with package scope. */ virtual QCString trPackageTypes() - { + { return "Kiểu gói"; } - /*! Used as a heading for a list of Java class functions with package - * scope. + /*! Used as a heading for a list of Java class functions with package + * scope. */ virtual QCString trPackageMembers() - { + { return "Các hàm Package"; } - /*! Used as a heading for a list of static Java class functions with + /*! Used as a heading for a list of static Java class functions with * package scope. */ virtual QCString trStaticPackageMembers() - { + { return "Các hàm Static Package"; } - /*! Used as a heading for a list of Java class variables with package + /*! Used as a heading for a list of Java class variables with package * scope. */ virtual QCString trPackageAttribs() - { + { return "Các thuộc tính Package"; } - /*! Used as a heading for a list of static Java class variables with + /*! Used as a heading for a list of static Java class variables with * package scope. */ virtual QCString trStaticPackageAttribs() - { + { return "Các thuộc tính Static Package"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.3.1 ////////////////////////////////////////////////////////////////////////// - /*! Used in the quick index of a class/file/namespace member list page + /*! Used in the quick index of a class/file/namespace member list page * to link to the unfiltered list of all members. */ virtual QCString trAll() @@ -1452,14 +1412,6 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Tìm kiếm cho"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1471,7 +1423,7 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 * text can be different depending on the number of documents found. * Inside the text you can put the special marker $num to insert * the number representing the actual number of search results. - * The @a numDocuments parameter can be either 0, 1 or 2, where the + * The @a numDocuments parameter can be either 0, 1 or 2, where the * value 2 represents 2 or more matches. HTML markup is allowed inside * the returned string. */ @@ -1485,13 +1437,13 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 { return "Tìm thấy <b>1</b> tài liệu thỏa mã truy vấn của bạn."; } - else + else { return "Tìm thấy tất cả <b>$num</b> tài liệu thỏa mã truy vấn của bạn. " "Hiển thị những thỏa mãn tốt nhất trước."; } } - /*! This string is put before the list of matched words, for each search + /*! This string is put before the list of matched words, for each search * result. What follows is the list of words that matched the query. */ virtual QCString trSearchMatches() @@ -1532,7 +1484,7 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 virtual QCString trDirectories() { return "Các thư mục"; } - /*! This returns a sentences that introduces the directory hierarchy. + /*! This returns a sentences that introduces the directory hierarchy. * and the fact that it is sorted alphabetically per level */ virtual QCString trDirDescription() @@ -1550,10 +1502,10 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 * (\a first_capital) and in sigular or plural form (\a singular). */ virtual QCString trDir(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Thư mục" : "thư mục")); if (singular) result+=""; else result+=""; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1580,7 +1532,7 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 return "Biểu đồ các lời gọi cho hàm này:"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration values */ virtual QCString trEnumerationValueDocumentation() @@ -1589,12 +1541,12 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 ////////////////////////////////////////////////////////////////////////// // new since 1.5.4 (mainly for Fortran) ////////////////////////////////////////////////////////////////////////// - + /*! header that is put before the list of member subprograms (Fortran). */ virtual QCString trMemberFunctionDocumentationFortran() { return "Thông tin về các hàm và các thủ tục thành viên"; } - /*! This is put above each page as a link to the list of annotated data types (Fortran). */ + /*! This is put above each page as a link to the list of annotated data types (Fortran). */ virtual QCString trCompoundListFortran() { return "Danh sách kiêu dữ liệu"; } @@ -1616,18 +1568,18 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 } result+="các kiểu dữ liệu thành viên"; result+=" cùng với liên kết với "; - if (!extractAll) + if (!extractAll) { result+="Thông tin cấu trúc dữ liệu cho từng thành viên"; } - else + else { result+=" các kiểu dữ liệu thuộc:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index (Fortran). */ virtual QCString trCompoundIndexFortran() @@ -1639,24 +1591,24 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 virtual QCString trTypeDocumentation() { return "Thông tin về kiểu dữ liệu"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) subprograms (Fortran). */ virtual QCString trSubprograms() { return "Functions/Subroutines"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for subprograms (Fortran) */ virtual QCString trSubprogramDocumentation() { return "Thông tin về Function/Subroutine"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds (Fortran) */ virtual QCString trDataTypes() { return "Kiểu dữ liệu"; } - + /*! used as the title of page containing all the index of all modules (Fortran). */ virtual QCString trModulesList() { return "Danh sách Modules"; } @@ -1695,46 +1647,46 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 virtual QCString trModuleReference(const char *namespaceName) { QCString result=namespaceName; - result+=" Tham chiếu Module"; + result+=" Tham chiếu Module"; return result; } - + /*! This is put above each page as a link to all members of modules. (Fortran) */ virtual QCString trModulesMembers() { return "Thành viên Module"; } /*! This is an introduction to the page with all modules members (Fortran) */ virtual QCString trModulesMemberDescription(bool extractAll) - { + { QCString result="Danh sách tất cả "; if (!extractAll) result+="(đã được mô tả) "; result+="các module thành viên cùng với liên kết tới "; - if (extractAll) + if (extractAll) { result+="Thông tin module cho từng thành viên:"; } - else + else { result+="các module thuộc:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all modules (Fortran). */ virtual QCString trModulesIndex() { return "Chỉ mục các Module"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * 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 ? "Module" : "module")); if (!singular) result+=""; - return result; + 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. @@ -1760,24 +1712,24 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 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 + * 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 ? "Kiểu" : "kiểu")); if (!singular) result+=""; - return result; + 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 + * 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 ? "Chương trình con" : "chương trình con")); if (!singular) result+=""; - return result; + return result; } /*! C# Type Constraint list */ diff --git a/src/translator_za.h b/src/translator_za.h index af4ba41..184eaa9 100644 --- a/src/translator_za.h +++ b/src/translator_za.h @@ -62,12 +62,6 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 return ""; } - /*! 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. */ @@ -409,12 +403,6 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 { return "Definiesies"; } /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "Funksie Prototipes"; } - - /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() @@ -451,12 +439,6 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 { return "Define Documentation"; } /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Funksie Prototipe Dokumentasie"; } - - /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() @@ -505,12 +487,6 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 result+=(QCString)" deur"; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return "geskryf deur"; - } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) @@ -773,12 +749,6 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "Alfabetiese Lys"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -1080,16 +1050,6 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "DCOP Lede Funksies"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1432,14 +1392,6 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Soek vir"; - } /*! This string is used as the title for the page listing the search * results. */ diff --git a/src/translatordecoder.h b/src/translatordecoder.h deleted file mode 100644 index 6537774..0000000 --- a/src/translatordecoder.h +++ /dev/null @@ -1,821 +0,0 @@ -/****************************************************************************** - * - * - * - * Copyright (C) 1997-2013 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. - * - */ - -#ifndef TRANSLATORDECODER_H -#define TRANSLATORDECODER_H - -#include "translator.h" -#include "portable.h" - -/** Decoder adapter for translator file that are not yet UTF-8 encoded. */ -class TranslatorDecoder : public Translator -{ - public: - - TranslatorDecoder(Translator *translator) : m_translator(translator) - { - m_toUtf8 = portable_iconv_open("UTF-8",translator->idLanguageCharset()); - m_fromUtf8 = portable_iconv_open(translator->idLanguageCharset(),"UTF-8"); - } - virtual ~TranslatorDecoder() - { - if (m_toUtf8!=(void *)(-1)) portable_iconv_close(m_toUtf8); - if (m_fromUtf8!=(void *)(-1)) portable_iconv_close(m_fromUtf8); - delete m_translator; - } - - /*! This method is used to provide warning message that is displayed - * if the user chooses a language whose translation is not up to date. - * It is implemented by the adapter classes. - */ - virtual QCString updateNeededMessage() { return m_translator->updateNeededMessage(); } - - // Please, have a look at comments inside the translator_en.h file - // to learn the meaning of the following methods. The translator_en.h - // file contains the TranslatorEnglish implementation, which is - // always up-to-date (by definition). - - // --- Language control methods ------------------- - - QCString idLanguage() - { return m_translator->idLanguage(); } - QCString latexLanguageSupportCommand() - { return m_translator->latexLanguageSupportCommand(); } - QCString idLanguageCharset() - { return m_translator->idLanguageCharset(); } - - QCString recode(const QCString &s,void *cd) - { - if (cd==(void*)(-1)) return s; - int iSize = s.length(); - int oSize = iSize*4+1; - QCString output(oSize); - size_t iLeft = iSize; - size_t oLeft = oSize; - char *iPtr = s.data(); - char *oPtr = output.data(); - if (!portable_iconv(cd,&iPtr,&iLeft,&oPtr,&oLeft)) - { - oSize -= (int)oLeft; - output.resize(oSize+1); - output.at(oSize)='\0'; - return output; - } - else - { - return s; - } - } - QCString toUtf8(const QCString &s) - { - return recode(s,m_toUtf8); - } - QCString fromUtf8(const QCString &s) - { - return recode(s,m_fromUtf8); - } - - // --- Language translation methods ------------------- - - QCString trRelatedFunctions() - { return toUtf8(m_translator->trRelatedFunctions()); } - QCString trRelatedSubscript() - { return toUtf8(m_translator->trRelatedSubscript()); } - QCString trDetailedDescription() - { return toUtf8(m_translator->trDetailedDescription()); } - QCString trMemberTypedefDocumentation() - { return toUtf8(m_translator->trMemberTypedefDocumentation()); } - QCString trMemberEnumerationDocumentation() - { return toUtf8(m_translator->trMemberEnumerationDocumentation()); } - - QCString trMemberFunctionDocumentation() - { return toUtf8(m_translator->trMemberFunctionDocumentation()); } - QCString trMemberDataDocumentation() - { return toUtf8(m_translator->trMemberDataDocumentation()); } - QCString trMore() - { return toUtf8(m_translator->trMore()); } - QCString trListOfAllMembers() - { return toUtf8(m_translator->trListOfAllMembers()); } - QCString trMemberList() - { return toUtf8(m_translator->trMemberList()); } - QCString trThisIsTheListOfAllMembers() - { return toUtf8(m_translator->trThisIsTheListOfAllMembers()); } - QCString trIncludingInheritedMembers() - { return toUtf8(m_translator->trIncludingInheritedMembers()); } - QCString trGeneratedAutomatically(const char *s) - { return toUtf8(m_translator->trGeneratedAutomatically(fromUtf8(s))); } - QCString trEnumName() - { return toUtf8(m_translator->trEnumName()); } - QCString trEnumValue() - { return toUtf8(m_translator->trEnumValue()); } - QCString trDefinedIn() - { return toUtf8(m_translator->trDefinedIn()); } - - // quick reference sections - - QCString trModules() - { return toUtf8(m_translator->trModules()); } - QCString trClassHierarchy() - { return toUtf8(m_translator->trClassHierarchy()); } - QCString trCompoundList() - { return toUtf8(m_translator->trCompoundList()); } - - QCString trFileList() - { return toUtf8(m_translator->trFileList()); } - QCString trCompoundMembers() - { return toUtf8(m_translator->trCompoundMembers()); } - QCString trFileMembers() - { return toUtf8(m_translator->trFileMembers()); } - QCString trRelatedPages() - { return toUtf8(m_translator->trRelatedPages()); } - QCString trExamples() - { return toUtf8(m_translator->trExamples()); } - QCString trSearch() - { return toUtf8(m_translator->trSearch()); } - QCString trClassHierarchyDescription() - { return toUtf8(m_translator->trClassHierarchyDescription()); } - QCString trFileListDescription(bool extractAll) - { return toUtf8(m_translator->trFileListDescription(extractAll)); } - QCString trCompoundListDescription() - { return toUtf8(m_translator->trCompoundListDescription()); } - QCString trCompoundMembersDescription(bool extractAll) - { return toUtf8(m_translator->trCompoundMembersDescription(extractAll)); } - QCString trFileMembersDescription(bool extractAll) - { return toUtf8(m_translator->trFileMembersDescription(extractAll)); } - QCString trExamplesDescription() - { return toUtf8(m_translator->trExamplesDescription()); } - QCString trRelatedPagesDescription() - { return toUtf8(m_translator->trRelatedPagesDescription()); } - QCString trModulesDescription() - { return toUtf8(m_translator->trModulesDescription()); } - - // index titles (the project name is prepended for these) - - QCString trDocumentation() - { return toUtf8(m_translator->trDocumentation()); } - QCString trModuleIndex() - { return toUtf8(m_translator->trModuleIndex()); } - QCString trHierarchicalIndex() - { return toUtf8(m_translator->trHierarchicalIndex()); } - QCString trCompoundIndex() - { return toUtf8(m_translator->trCompoundIndex()); } - QCString trFileIndex() - { return toUtf8(m_translator->trFileIndex()); } - QCString trModuleDocumentation() - { return toUtf8(m_translator->trModuleDocumentation()); } - QCString trClassDocumentation() - { return toUtf8(m_translator->trClassDocumentation()); } - QCString trFileDocumentation() - { return toUtf8(m_translator->trFileDocumentation()); } - QCString trExampleDocumentation() - { return toUtf8(m_translator->trExampleDocumentation()); } - QCString trPageDocumentation() - { return toUtf8(m_translator->trPageDocumentation()); } - QCString trReferenceManual() - { return toUtf8(m_translator->trReferenceManual()); } - QCString trDefines() - { return toUtf8(m_translator->trDefines()); } - QCString trFuncProtos() - { return toUtf8(m_translator->trFuncProtos()); } - QCString trTypedefs() - { return toUtf8(m_translator->trTypedefs()); } - QCString trEnumerations() - { return toUtf8(m_translator->trEnumerations()); } - QCString trFunctions() - { return toUtf8(m_translator->trFunctions()); } - QCString trVariables() - { return toUtf8(m_translator->trVariables()); } - QCString trEnumerationValues() - { return toUtf8(m_translator->trEnumerationValues()); } - QCString trDefineDocumentation() - { return toUtf8(m_translator->trDefineDocumentation()); } - QCString trFunctionPrototypeDocumentation() - { return toUtf8(m_translator->trFunctionPrototypeDocumentation()); } - QCString trTypedefDocumentation() - { return toUtf8(m_translator->trTypedefDocumentation()); } - QCString trEnumerationTypeDocumentation() - { return toUtf8(m_translator->trEnumerationTypeDocumentation()); } - QCString trFunctionDocumentation() - { return toUtf8(m_translator->trFunctionDocumentation()); } - QCString trVariableDocumentation() - { return toUtf8(m_translator->trVariableDocumentation()); } - QCString trCompounds() - { return toUtf8(m_translator->trCompounds()); } - QCString trGeneratedAt(const char *date,const char *projName) - { return toUtf8(m_translator->trGeneratedAt(fromUtf8(date),fromUtf8(projName))); } - QCString trWrittenBy() - { return toUtf8(m_translator->trWrittenBy()); } - QCString trClassDiagram(const char *clName) - { return toUtf8(m_translator->trClassDiagram(fromUtf8(clName))); } - QCString trForInternalUseOnly() - { return toUtf8(m_translator->trForInternalUseOnly()); } - QCString trWarning() - { return toUtf8(m_translator->trWarning()); } - QCString trVersion() - { return toUtf8(m_translator->trVersion()); } - QCString trDate() - { return toUtf8(m_translator->trDate()); } - QCString trReturns() - { return toUtf8(m_translator->trReturns()); } - QCString trSeeAlso() - { return toUtf8(m_translator->trSeeAlso()); } - QCString trParameters() - { return toUtf8(m_translator->trParameters()); } - QCString trExceptions() - { return toUtf8(m_translator->trExceptions()); } - QCString trGeneratedBy() - { return toUtf8(m_translator->trGeneratedBy()); } - -////////////////////////////////////////////////////////////////////////// -// new since 0.49-990307 -////////////////////////////////////////////////////////////////////////// - - QCString trNamespaceList() - { return toUtf8(m_translator->trNamespaceList()); } - QCString trNamespaceListDescription(bool extractAll) - { return toUtf8(m_translator->trNamespaceListDescription(extractAll)); } - QCString trFriends() - { return toUtf8(m_translator->trFriends()); } - -////////////////////////////////////////////////////////////////////////// -// new since 0.49-990405 -////////////////////////////////////////////////////////////////////////// - - QCString trRelatedFunctionDocumentation() - { return toUtf8(m_translator->trRelatedFunctionDocumentation()); } - -////////////////////////////////////////////////////////////////////////// -// new since 0.49-990425 -////////////////////////////////////////////////////////////////////////// - - QCString trCompoundReference(const char *clName, - ClassDef::CompoundType compType, - bool isTemplate) - { return toUtf8(m_translator->trCompoundReference(fromUtf8(clName),compType,isTemplate)); } - - - QCString trFileReference(const char *fileName) - { return toUtf8(m_translator->trFileReference(fromUtf8(fileName))); } - QCString trNamespaceReference(const char *namespaceName) - { return toUtf8(m_translator->trNamespaceReference(fromUtf8(namespaceName))); } - - QCString trPublicMembers() - { return toUtf8(m_translator->trPublicMembers()); } - QCString trPublicSlots() - { return toUtf8(m_translator->trPublicSlots()); } - QCString trSignals() - { return toUtf8(m_translator->trSignals()); } - QCString trStaticPublicMembers() - { return toUtf8(m_translator->trStaticPublicMembers()); } - QCString trProtectedMembers() - { return toUtf8(m_translator->trProtectedMembers()); } - QCString trProtectedSlots() - { return toUtf8(m_translator->trProtectedSlots()); } - QCString trStaticProtectedMembers() - { return toUtf8(m_translator->trStaticProtectedMembers()); } - QCString trPrivateMembers() - { return toUtf8(m_translator->trPrivateMembers()); } - QCString trPrivateSlots() - { return toUtf8(m_translator->trPrivateSlots()); } - QCString trStaticPrivateMembers() - { return toUtf8(m_translator->trStaticPrivateMembers()); } - QCString trWriteList(int numEntries) - { return toUtf8(m_translator->trWriteList(numEntries)); } - QCString trInheritsList(int numEntries) - { return toUtf8(m_translator->trInheritsList(numEntries)); } - QCString trInheritedByList(int numEntries) - { return toUtf8(m_translator->trInheritedByList(numEntries)); } - QCString trReimplementedFromList(int numEntries) - { return toUtf8(m_translator->trReimplementedFromList(numEntries)); } - QCString trReimplementedInList(int numEntries) - { return toUtf8(m_translator->trReimplementedInList(numEntries)); } - QCString trNamespaceMembers() - { return toUtf8(m_translator->trNamespaceMembers()); } - QCString trNamespaceMemberDescription(bool extractAll) - { return toUtf8(m_translator->trNamespaceMemberDescription(extractAll)); } - - QCString trNamespaceIndex() - { return toUtf8(m_translator->trNamespaceIndex()); } - QCString trNamespaceDocumentation() - { return toUtf8(m_translator->trNamespaceDocumentation()); } - -////////////////////////////////////////////////////////////////////////// -// new since 0.49-990522 -////////////////////////////////////////////////////////////////////////// - - QCString trNamespaces() - { return toUtf8(m_translator->trNamespaces()); } - -////////////////////////////////////////////////////////////////////////// -// new since 0.49-990728 -////////////////////////////////////////////////////////////////////////// - - QCString trGeneratedFromFiles(ClassDef::CompoundType compType, - bool single) - { return toUtf8(m_translator->trGeneratedFromFiles(compType,single)); } - - - QCString trAlphabeticalList() - { return toUtf8(m_translator->trAlphabeticalList()); } - -////////////////////////////////////////////////////////////////////////// -// new since 0.49-990901 -////////////////////////////////////////////////////////////////////////// - - QCString trReturnValues() - { return toUtf8(m_translator->trReturnValues()); } - QCString trMainPage() - { return toUtf8(m_translator->trMainPage()); } - QCString trPageAbbreviation() - { return toUtf8(m_translator->trPageAbbreviation()); } - -////////////////////////////////////////////////////////////////////////// -// new since 0.49-991003 -////////////////////////////////////////////////////////////////////////// - - QCString trDefinedAtLineInSourceFile() - { return toUtf8(m_translator->trDefinedAtLineInSourceFile()); } - QCString trDefinedInSourceFile() - { return toUtf8(m_translator->trDefinedInSourceFile()); } - -////////////////////////////////////////////////////////////////////////// -// new since 0.49-991205 -////////////////////////////////////////////////////////////////////////// - - QCString trDeprecated() - { return toUtf8(m_translator->trDeprecated()); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.0.0 -////////////////////////////////////////////////////////////////////////// - - QCString trCollaborationDiagram(const char *clName) - { return toUtf8(m_translator->trCollaborationDiagram(fromUtf8(clName))); } - QCString trInclDepGraph(const char *fName) - { return toUtf8(m_translator->trInclDepGraph(fromUtf8(fName))); } - QCString trConstructorDocumentation() - { return toUtf8(m_translator->trConstructorDocumentation()); } - QCString trGotoSourceCode() - { return toUtf8(m_translator->trGotoSourceCode()); } - QCString trGotoDocumentation() - { return toUtf8(m_translator->trGotoDocumentation()); } - QCString trPrecondition() - { return toUtf8(m_translator->trPrecondition()); } - QCString trPostcondition() - { return toUtf8(m_translator->trPostcondition()); } - QCString trInvariant() - { return toUtf8(m_translator->trInvariant()); } - QCString trInitialValue() - { return toUtf8(m_translator->trInitialValue()); } - QCString trCode() - { return toUtf8(m_translator->trCode()); } - - QCString trGraphicalHierarchy() - { return toUtf8(m_translator->trGraphicalHierarchy()); } - QCString trGotoGraphicalHierarchy() - { return toUtf8(m_translator->trGotoGraphicalHierarchy()); } - QCString trGotoTextualHierarchy() - { return toUtf8(m_translator->trGotoTextualHierarchy()); } - QCString trPageIndex() - { return toUtf8(m_translator->trPageIndex()); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.1.0 -////////////////////////////////////////////////////////////////////////// - - QCString trNote() - { return toUtf8(m_translator->trNote()); } - QCString trPublicTypes() - { return toUtf8(m_translator->trPublicTypes()); } - QCString trPublicAttribs() - { return toUtf8(m_translator->trPublicAttribs()); } - QCString trStaticPublicAttribs() - { return toUtf8(m_translator->trStaticPublicAttribs()); } - QCString trProtectedTypes() - { return toUtf8(m_translator->trProtectedTypes()); } - QCString trProtectedAttribs() - { return toUtf8(m_translator->trProtectedAttribs()); } - QCString trStaticProtectedAttribs() - { return toUtf8(m_translator->trStaticProtectedAttribs()); } - QCString trPrivateTypes() - { return toUtf8(m_translator->trPrivateTypes()); } - QCString trPrivateAttribs() - { return toUtf8(m_translator->trPrivateAttribs()); } - QCString trStaticPrivateAttribs() - { return toUtf8(m_translator->trStaticPrivateAttribs()); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.1.3 -////////////////////////////////////////////////////////////////////////// - - QCString trTodo() - { return toUtf8(m_translator->trTodo()); } - QCString trTodoList() - { return toUtf8(m_translator->trTodoList()); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.1.4 -////////////////////////////////////////////////////////////////////////// - - QCString trReferencedBy() - { return toUtf8(m_translator->trReferencedBy()); } - QCString trRemarks() - { return toUtf8(m_translator->trRemarks()); } - QCString trAttention() - { return toUtf8(m_translator->trAttention()); } - QCString trInclByDepGraph() - { return toUtf8(m_translator->trInclByDepGraph()); } - QCString trSince() - { return toUtf8(m_translator->trSince()); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.1.5 -////////////////////////////////////////////////////////////////////////// - - QCString trLegendTitle() - { return toUtf8(m_translator->trLegendTitle()); } - QCString trLegendDocs() - { return toUtf8(m_translator->trLegendDocs()); } - QCString trLegend() - { return toUtf8(m_translator->trLegend()); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.0 -////////////////////////////////////////////////////////////////////////// - - QCString trTest() - { return toUtf8(m_translator->trTest()); } - QCString trTestList() - { return toUtf8(m_translator->trTestList()); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - QCString trDCOPMethods() - { return toUtf8(m_translator->trDCOPMethods()); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.2 -////////////////////////////////////////////////////////////////////////// - - QCString trProperties() - { return toUtf8(m_translator->trProperties()); } - QCString trPropertyDocumentation() - { return toUtf8(m_translator->trPropertyDocumentation()); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.4 -////////////////////////////////////////////////////////////////////////// - - QCString trClasses() - { return toUtf8(m_translator->trClasses()); } - QCString trPackage(const char *name) - { return toUtf8(m_translator->trPackage(fromUtf8(name))); } - QCString trPackageList() - { return toUtf8(m_translator->trPackageList()); } - QCString trPackageListDescription() - { return toUtf8(m_translator->trPackageListDescription()); } - QCString trPackages() - { return toUtf8(m_translator->trPackages()); } - QCString trDefineValue() - { return toUtf8(m_translator->trDefineValue()); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.5 -////////////////////////////////////////////////////////////////////////// - - QCString trBug() - { return toUtf8(m_translator->trBug()); } - QCString trBugList() - { return toUtf8(m_translator->trBugList()); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.6 -////////////////////////////////////////////////////////////////////////// - - QCString trRTFansicp() - { return toUtf8(m_translator->trRTFansicp()); } - QCString trRTFCharSet() - { return toUtf8(m_translator->trRTFCharSet()); } - QCString trRTFGeneralIndex() - { return toUtf8(m_translator->trRTFGeneralIndex()); } - - // Translation of the word - - QCString trClass(bool first_capital, bool singular) - { return toUtf8(m_translator->trClass(first_capital,singular)); } - QCString trFile(bool first_capital, bool singular) - { return toUtf8(m_translator->trFile(first_capital,singular)); } - QCString trNamespace(bool first_capital, bool singular) - { return toUtf8(m_translator->trNamespace(first_capital,singular)); } - - QCString trGroup(bool first_capital, bool singular) - { return toUtf8(m_translator->trGroup(first_capital,singular)); } - QCString trPage(bool first_capital, bool singular) - { return toUtf8(m_translator->trPage(first_capital,singular)); } - QCString trMember(bool first_capital, bool singular) - { return toUtf8(m_translator->trMember(first_capital,singular)); } - QCString trGlobal(bool first_capital, bool singular) - { return toUtf8(m_translator->trGlobal(first_capital,singular)); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.7 -////////////////////////////////////////////////////////////////////////// - - QCString trAuthor(bool first_capital, bool singular) - { return toUtf8(m_translator->trAuthor(first_capital,singular)); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.11 -////////////////////////////////////////////////////////////////////////// - - QCString trReferences() - { return toUtf8(m_translator->trReferences()); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.13 -////////////////////////////////////////////////////////////////////////// - - QCString trImplementedFromList(int numEntries) - { return toUtf8(m_translator->trImplementedFromList(numEntries)); } - QCString trImplementedInList(int numEntries) - { return toUtf8(m_translator->trImplementedInList(numEntries)); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.16 -////////////////////////////////////////////////////////////////////////// - - QCString trRTFTableOfContents() - { return toUtf8(m_translator->trRTFTableOfContents()); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.17 -////////////////////////////////////////////////////////////////////////// - - QCString trDeprecatedList() - { return toUtf8(m_translator->trDeprecatedList()); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.18 -////////////////////////////////////////////////////////////////////////// - - QCString trEvents() - { return toUtf8(m_translator->trEvents()); } - QCString trEventDocumentation() - { return toUtf8(m_translator->trEventDocumentation()); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.3 -////////////////////////////////////////////////////////////////////////// - - QCString trPackageTypes() - { return toUtf8(m_translator->trPackageTypes()); } - QCString trPackageMembers() - { return toUtf8(m_translator->trPackageMembers()); } - QCString trStaticPackageMembers() - { return toUtf8(m_translator->trStaticPackageMembers()); } - QCString trPackageAttribs() - { return toUtf8(m_translator->trPackageAttribs()); } - QCString trStaticPackageAttribs() - { return toUtf8(m_translator->trStaticPackageAttribs()); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.3.1 -////////////////////////////////////////////////////////////////////////// - - QCString trAll() - { return toUtf8(m_translator->trAll()); } - QCString trCallGraph() - { return toUtf8(m_translator->trCallGraph()); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.3.3 -////////////////////////////////////////////////////////////////////////// - - QCString trSearchForIndex() - { return toUtf8(m_translator->trSearchForIndex()); } - QCString trSearchResultsTitle() - { return toUtf8(m_translator->trSearchResultsTitle()); } - QCString trSearchResults(int numDocuments) - { return toUtf8(m_translator->trSearchResults(numDocuments)); } - QCString trSearchMatches() - { return toUtf8(m_translator->trSearchMatches()); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.3.8 -////////////////////////////////////////////////////////////////////////// - - QCString trSourceFile(QCString& filename) - { return toUtf8(m_translator->trSourceFile(filename)); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.3.9 -////////////////////////////////////////////////////////////////////////// - - QCString trDirIndex() - { return toUtf8(m_translator->trDirIndex()); } - QCString trDirDocumentation() - { return toUtf8(m_translator->trDirDocumentation()); } - QCString trDirectories() - { return toUtf8(m_translator->trDirectories()); } - QCString trDirDescription() - { return toUtf8(m_translator->trDirDescription()); } - QCString trDirReference(const char *dirName) - { return toUtf8(m_translator->trDirReference(fromUtf8(dirName))); } - QCString trDir(bool first_capital, bool singular) - { return toUtf8(m_translator->trDir(first_capital,singular)); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.4.1 -////////////////////////////////////////////////////////////////////////// - - QCString trOverloadText() - { return toUtf8(m_translator->trOverloadText()); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.4.6 -////////////////////////////////////////////////////////////////////////// - - QCString trCallerGraph() - { return toUtf8(m_translator->trCallerGraph()); } - QCString trEnumerationValueDocumentation() - { return toUtf8(m_translator->trEnumerationValueDocumentation()); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.5.4 -////////////////////////////////////////////////////////////////////////// - - QCString trMemberFunctionDocumentationFortran() - { return toUtf8(m_translator->trMemberFunctionDocumentationFortran()); } - QCString trCompoundListFortran() - { return toUtf8(m_translator->trCompoundListFortran()); } - QCString trCompoundMembersFortran() - { return toUtf8(m_translator->trCompoundMembersFortran()); } - QCString trCompoundListDescriptionFortran() - { return toUtf8(m_translator->trCompoundListDescriptionFortran()); } - QCString trCompoundMembersDescriptionFortran(bool extractAll) - { return toUtf8(m_translator->trCompoundMembersDescriptionFortran(extractAll)); } - QCString trCompoundIndexFortran() - { return toUtf8(m_translator->trCompoundIndexFortran()); } - QCString trTypeDocumentation() - { return toUtf8(m_translator->trTypeDocumentation()); } - QCString trSubprograms() - { return toUtf8(m_translator->trSubprograms()); } - QCString trSubprogramDocumentation() - { return toUtf8(m_translator->trSubprogramDocumentation()); } - QCString trDataTypes() - { return toUtf8(m_translator->trDataTypes()); } - QCString trModulesList() - { return toUtf8(m_translator->trModulesList()); } - QCString trModulesListDescription(bool extractAll) - { return toUtf8(m_translator->trModulesListDescription(extractAll)); } - QCString trCompoundReferenceFortran(const char *clName, - ClassDef::CompoundType compType, - bool isTemplate) - { return toUtf8(m_translator->trCompoundReferenceFortran(fromUtf8(clName),compType,isTemplate)); } - QCString trModuleReference(const char *namespaceName) - { return toUtf8(m_translator->trModuleReference(fromUtf8(namespaceName))); } - QCString trModulesMembers() - { return toUtf8(m_translator->trModulesMembers()); } - QCString trModulesMemberDescription(bool extractAll) - { return toUtf8(m_translator->trModulesMemberDescription(extractAll)); } - QCString trModulesIndex() - { return toUtf8(m_translator->trModulesIndex()); } - QCString trModule(bool first_capital, bool singular) - { return toUtf8(m_translator->trModule(first_capital,singular)); } - QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, - bool single) - { return toUtf8(m_translator->trGeneratedFromFilesFortran(compType,single)); } - QCString trType(bool first_capital, bool singular) - { return toUtf8(m_translator->trType(first_capital,singular)); } - QCString trSubprogram(bool first_capital, bool singular) - { return toUtf8(m_translator->trSubprogram(first_capital,singular)); } - QCString trTypeConstraints() - { return toUtf8(m_translator->trTypeConstraints()); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.6.0 -////////////////////////////////////////////////////////////////////////// - - QCString trDirRelation(const char *name) - { return toUtf8(m_translator->trDirRelation(fromUtf8(name))); } - QCString trLoading() - { return toUtf8(m_translator->trLoading()); } - QCString trGlobalNamespace() - { return toUtf8(m_translator->trGlobalNamespace()); } - QCString trSearching() - { return toUtf8(m_translator->trSearching()); } - QCString trNoMatches() - { return toUtf8(m_translator->trNoMatches()); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.6.3 -////////////////////////////////////////////////////////////////////////// - - QCString trDirDependency(const char *name) - { return toUtf8(m_translator->trDirDependency(fromUtf8(name))); } - QCString trFileIn(const char *name) - { return toUtf8(m_translator->trFileIn(fromUtf8(name))); } - QCString trIncludesFileIn(const char *name) - { return toUtf8(m_translator->trIncludesFileIn(fromUtf8(name))); } - QCString trDateTime(int year,int month,int day,int dayOfWeek, - int hour,int minutes,int seconds,bool includeTime) - { return toUtf8(m_translator->trDateTime(year,month,day,dayOfWeek, - hour,minutes,seconds,includeTime)); - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.7.5 -////////////////////////////////////////////////////////////////////////// - - QCString trCiteReferences() - { return toUtf8(m_translator->trCiteReferences()); } - QCString trCopyright() - { return toUtf8(m_translator->trCopyright()); } - QCString trDirDepGraph(const char *name) - { return toUtf8(m_translator->trDirDepGraph(fromUtf8(name))); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.8.0 -////////////////////////////////////////////////////////////////////////// - - QCString trDetailLevel() - { return toUtf8(m_translator->trDetailLevel()); } - QCString trTemplateParameters() - { return toUtf8(m_translator->trTemplateParameters()); } - QCString trAndMore(const QCString &number) - { return toUtf8(m_translator->trAndMore(fromUtf8(number))); } - QCString trEnumGeneratedFromFiles(bool single) - { return toUtf8(m_translator->trEnumGeneratedFromFiles(single)); } - QCString trEnumReference(const char *name) - { return toUtf8(m_translator->trEnumReference(fromUtf8(name))); } - QCString trInheritedFrom(const char *members,const char *what) - { return toUtf8(m_translator->trInheritedFrom(fromUtf8(members),fromUtf8(what))); } - QCString trAdditionalInheritedMembers() - { return toUtf8(m_translator->trAdditionalInheritedMembers()); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.8.2 -////////////////////////////////////////////////////////////////////////// - - QCString trPanelSynchronisationTooltip(bool enable) - { return toUtf8(m_translator->trPanelSynchronisationTooltip(enable)); } - QCString trProvidedByCategory() - { return toUtf8(m_translator->trProvidedByCategory()); } - QCString trExtendsClass() - { return toUtf8(m_translator->trExtendsClass()); } - QCString trClassMethods() - { return toUtf8(m_translator->trClassMethods()); } - QCString trInstanceMethods() - { return toUtf8(m_translator->trInstanceMethods()); } - QCString trMethodDocumentation() - { return toUtf8(m_translator->trMethodDocumentation()); } - QCString trDesignOverview() - { return toUtf8(m_translator->trDesignOverview()); } - -////////////////////////////////////////////////////////////////////////// -// new since 1.8.4 -////////////////////////////////////////////////////////////////////////// - - QCString trInterfaces() - { return toUtf8(m_translator->trInterfaces()); } - QCString trServices() - { return toUtf8(m_translator->trServices()); } - QCString trConstantGroups() - { return toUtf8(m_translator->trConstantGroups()); } - QCString trConstantGroupReference(const char *namespaceName) - { return toUtf8(m_translator->trConstantGroupReference(fromUtf8(namespaceName))); } - QCString trServiceReference(const char *sName) - { return toUtf8(m_translator->trServiceReference(fromUtf8(sName))); } - QCString trSingletonReference(const char *sName) - { return toUtf8(m_translator->trSingletonReference(fromUtf8(sName))); } - QCString trServiceGeneratedFromFiles(bool single) - { return toUtf8(m_translator->trServiceGeneratedFromFiles(single)); } - QCString trSingletonGeneratedFromFiles(bool single) - { return toUtf8(m_translator->trSingletonGeneratedFromFiles(single)); } - - -////////////////////////////////////////////////////////////////////////// - private: - Translator *m_translator; - void *m_toUtf8; - void *m_fromUtf8; - -}; - -#endif |