Commit dcf13520 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Merge pull request #12 from pepr/master

Almost all translators converted to UTF-8
parents d63fb848 4bc65b54
mailto.txt
\ No newline at end of file
...@@ -91,7 +91,7 @@ when the translator was updated. ...@@ -91,7 +91,7 @@ when the translator was updated.
<td>Chinese Traditional</td> <td>Chinese Traditional</td>
<td>Daniel YC Lin<br/>Gary Lee</td> <td>Daniel YC Lin<br/>Gary Lee</td>
<td>dlin dot tw at gmail dot com<br/>garywlee at gmail dot com</td> <td>dlin dot tw at gmail dot com<br/>garywlee at gmail dot com</td>
<td>1.8.0</td> <td>up-to-date</td>
</tr> </tr>
<tr bgcolor="#ffffff"> <tr bgcolor="#ffffff">
<td>Croatian</td> <td>Croatian</td>
...@@ -173,7 +173,7 @@ when the translator was updated. ...@@ -173,7 +173,7 @@ when the translator was updated.
</tr> </tr>
<tr bgcolor="#ffffff"> <tr bgcolor="#ffffff">
<td>Japanese</td> <td>Japanese</td>
<td>Hiroki Iseri<br/>Ryunosuke Satoh<br/>Kenji Nagamatsu<br/>Iwasa Kazmi</td> <td>Hiroki Iseri<br/>Ryūnosuke Satoh<br/>Kenji Nagamatsu<br/>Iwasa Kazmi</td>
<td>goyoki at gmail dot com<br/>sun594 at hotmail dot com<br/>naga at joyful dot club dot ne dot jp<br/><span style="color: brown">[unreachable]</span></td> <td>goyoki at gmail dot com<br/>sun594 at hotmail dot com<br/>naga at joyful dot club dot ne dot jp<br/><span style="color: brown">[unreachable]</span></td>
<td>1.6.0</td> <td>1.6.0</td>
</tr> </tr>
...@@ -335,7 +335,7 @@ when the translator was updated. ...@@ -335,7 +335,7 @@ when the translator was updated.
~ & Li Daobing & {\tt\tiny lidaobing at gmail dot com} & ~ \\ ~ & Li Daobing & {\tt\tiny lidaobing at gmail dot com} & ~ \\
~ & Wei Liu & {\tt\tiny liuwei at asiainfo dot com} & ~ \\ ~ & Wei Liu & {\tt\tiny liuwei at asiainfo dot com} & ~ \\
\hline \hline
Chinese Traditional & Daniel YC Lin & {\tt\tiny dlin dot tw at gmail dot com} & 1.8.0 \\ Chinese Traditional & Daniel YC Lin & {\tt\tiny dlin dot tw at gmail dot com} & up-to-date \\
~ & Gary Lee & {\tt\tiny garywlee at gmail dot com} & ~ \\ ~ & Gary Lee & {\tt\tiny garywlee at gmail dot com} & ~ \\
\hline \hline
Croatian & Boris Bralo & {\tt\tiny boris dot bralo at gmail dot com} & 1.8.2 \\ Croatian & Boris Bralo & {\tt\tiny boris dot bralo at gmail dot com} & 1.8.2 \\
...@@ -371,7 +371,7 @@ when the translator was updated. ...@@ -371,7 +371,7 @@ when the translator was updated.
~ & Ahmed Aldo Faisal & {\tt\tiny aaf23 at cam dot ac dot uk} & ~ \\ ~ & Ahmed Aldo Faisal & {\tt\tiny aaf23 at cam dot ac dot uk} & ~ \\
\hline \hline
Japanese & Hiroki Iseri & {\tt\tiny goyoki at gmail dot com} & 1.6.0 \\ Japanese & Hiroki Iseri & {\tt\tiny goyoki at gmail dot com} & 1.6.0 \\
~ & Ryunosuke Satoh & {\tt\tiny sun594 at hotmail dot com} & ~ \\ ~ & Ryūnosuke Satoh & {\tt\tiny sun594 at hotmail dot com} & ~ \\
~ & Kenji Nagamatsu & {\tt\tiny naga at joyful dot club dot ne dot jp} & ~ \\ ~ & Kenji Nagamatsu & {\tt\tiny naga at joyful dot club dot ne dot jp} & ~ \\
~ & Iwasa Kazmi & {\tt\tiny [unreachable] iwasa at cosmo-system dot jp} & ~ \\ ~ & Iwasa Kazmi & {\tt\tiny [unreachable] iwasa at cosmo-system dot jp} & ~ \\
\hline \hline
......
...@@ -86,7 +86,7 @@ Ahmed Aldo Faisal: aaf23 at cam dot ac dot uk ...@@ -86,7 +86,7 @@ Ahmed Aldo Faisal: aaf23 at cam dot ac dot uk
TranslatorJapanese TranslatorJapanese
Hiroki Iseri: goyoki at gmail dot com Hiroki Iseri: goyoki at gmail dot com
Ryunosuke Satoh: sun594 at hotmail dot com Ryūnosuke Satoh: sun594 at hotmail dot com
Kenji Nagamatsu: naga at joyful dot club dot ne dot jp Kenji Nagamatsu: naga at joyful dot club dot ne dot jp
Iwasa Kazmi: [unreachable] iwasa at cosmo-system dot jp Iwasa Kazmi: [unreachable] iwasa at cosmo-system dot jp
......
...@@ -16,9 +16,7 @@ ...@@ -16,9 +16,7 @@
Originally, the script was written in Perl and was known as translator.pl. Originally, the script was written in Perl and was known as translator.pl.
The last Perl version was dated 2002/05/21 (plus some later corrections) The last Perl version was dated 2002/05/21 (plus some later corrections)
$Id$ Petr Prikryl (prikryl at atlas dot cz)
Petr Prikryl (prikrylp@skil.cz)
History: History:
-------- --------
......
...@@ -10,7 +10,7 @@ Macedonian, Norwegian, Persian, Polish, Portuguese, Romanian, Russian, ...@@ -10,7 +10,7 @@ Macedonian, Norwegian, Persian, Polish, Portuguese, Romanian, Russian,
Serbian, SerbianCyrilic, Slovak, Slovene, Spanish, Swedish, Turkish, Serbian, SerbianCyrilic, Slovak, Slovene, Spanish, Swedish, Turkish,
Ukrainian, and Vietnamese. Ukrainian, and Vietnamese.
Of them, 9 translators are up-to-date, 31 translators are based on Of them, 10 translators are up-to-date, 30 translators are based on
some adapter class, and 2 are English based. some adapter class, and 2 are English based.
---------------------------------------------------------------------- ----------------------------------------------------------------------
...@@ -19,6 +19,7 @@ alphabetically). This means that they derive from the Translator class ...@@ -19,6 +19,7 @@ alphabetically). This means that they derive from the Translator class
and they implement all 250 of the required methods. Anyway, there and they implement all 250 of the required methods. Anyway, there
still may be some details listed even for them: still may be some details listed even for them:
TranslatorChinesetraditional -- The MAX_DOT_GRAPH_HEIGHT found in trLegendDocs()
TranslatorCzech TranslatorCzech
TranslatorDutch TranslatorDutch
TranslatorEnglish TranslatorEnglish
...@@ -45,12 +46,7 @@ must be implemented to become up-to-date: ...@@ -45,12 +46,7 @@ must be implemented to become up-to-date:
TranslatorChinese 1.8.2 15 methods to implement (6 %) TranslatorChinese 1.8.2 15 methods to implement (6 %)
TranslatorPortuguese 1.8.0 22 methods to implement (8 %) TranslatorPortuguese 1.8.0 22 methods to implement (8 %)
TranslatorIndonesian 1.8.0 22 methods to implement (8 %) TranslatorIndonesian 1.8.0 22 methods to implement (8 %)
Note: Reimplementation using UTF-8 suggested.
TranslatorDanish 1.8.0 22 methods to implement (8 %) TranslatorDanish 1.8.0 22 methods to implement (8 %)
TranslatorChinesetraditional 1.8.0 22 methods to implement (8 %)
Note: Reimplementation using UTF-8 suggested.
TranslatorCatalan 1.8.0 22 methods to implement (8 %) TranslatorCatalan 1.8.0 22 methods to implement (8 %)
TranslatorBrazilian 1.8.0 22 methods to implement (8 %) TranslatorBrazilian 1.8.0 22 methods to implement (8 %)
TranslatorArmenian 1.8.0 22 methods to implement (8 %) TranslatorArmenian 1.8.0 22 methods to implement (8 %)
...@@ -59,23 +55,13 @@ must be implemented to become up-to-date: ...@@ -59,23 +55,13 @@ must be implemented to become up-to-date:
TranslatorPersian 1.7.5 25 methods to implement (10 %) TranslatorPersian 1.7.5 25 methods to implement (10 %)
TranslatorVietnamese 1.6.0 34 methods to implement (13 %) TranslatorVietnamese 1.6.0 34 methods to implement (13 %)
TranslatorSwedish 1.6.0 34 methods to implement (13 %) TranslatorSwedish 1.6.0 34 methods to implement (13 %)
Note: Reimplementation using UTF-8 suggested.
TranslatorSerbian 1.6.0 34 methods to implement (13 %) TranslatorSerbian 1.6.0 34 methods to implement (13 %)
Note: Reimplementation using UTF-8 suggested.
TranslatorSerbianCyrilic 1.6.0 34 methods to implement (13 %) TranslatorSerbianCyrilic 1.6.0 34 methods to implement (13 %)
TranslatorMacedonian 1.6.0 34 methods to implement (13 %) TranslatorMacedonian 1.6.0 34 methods to implement (13 %)
TranslatorJapanese 1.6.0 33 methods to implement (13 %) TranslatorJapanese 1.6.0 33 methods to implement (13 %)
Note: Reimplementation using UTF-8 suggested.
TranslatorFinnish 1.6.0 34 methods to implement (13 %) TranslatorFinnish 1.6.0 34 methods to implement (13 %)
TranslatorAfrikaans 1.6.0 34 methods to implement (13 %) TranslatorAfrikaans 1.6.0 34 methods to implement (13 %)
Note: Reimplementation using UTF-8 suggested.
TranslatorSlovene 1.4.6 58 methods to implement (23 %) TranslatorSlovene 1.4.6 58 methods to implement (23 %)
Note: Reimplementation using UTF-8 suggested.
TranslatorNorwegian 1.4.6 56 methods to implement (22 %) TranslatorNorwegian 1.4.6 56 methods to implement (22 %)
TranslatorLithuanian 1.4.6 58 methods to implement (23 %) TranslatorLithuanian 1.4.6 58 methods to implement (23 %)
TranslatorHungarian 1.4.6 58 methods to implement (23 %) TranslatorHungarian 1.4.6 58 methods to implement (23 %)
...@@ -348,35 +334,10 @@ TranslatorChinese (TranslatorAdapter_1_8_2) 15 methods to implement (6 %) ...@@ -348,35 +334,10 @@ TranslatorChinese (TranslatorAdapter_1_8_2) 15 methods to implement (6 %)
virtual QCString trInstanceMethods() virtual QCString trInstanceMethods()
TranslatorChinesetraditional (TranslatorAdapter_1_8_0) 22 methods to implement (8 %) TranslatorChinesetraditional (Translator)
---------------------------- ----------------------------
Implements 228 of the required methods (91 %). Implements 250 of the required methods (100 %).
Missing methods (should be implemented):
virtual QCString trDetailLevel()
virtual QCString trTemplateParameters()
virtual QCString trServices()
virtual QCString trClassMethods()
virtual QCString trProvidedByCategory()
virtual QCString trSingletonGeneratedFromFiles(bool single)
virtual QCString trServiceReference(const char * sName)
virtual QCString trDesignOverview()
virtual QCString trAndMore(const QCString & number)
virtual QCString trConstantGroups()
virtual QCString trMethodDocumentation()
virtual QCString trEnumReference(const char * name)
virtual QCString trInheritedFrom(const char * members, const char * what)
virtual QCString trAdditionalInheritedMembers()
virtual QCString trInterfaces()
virtual QCString trServiceGeneratedFromFiles(bool single)
virtual QCString trEnumGeneratedFromFiles(bool single)
virtual QCString trConstantGroupReference(const char * namespaceName)
virtual QCString trPanelSynchronisationTooltip(bool enable)
virtual QCString trExtendsClass()
virtual QCString trSingletonReference(const char * sName)
virtual QCString trInstanceMethods()
TranslatorCroatian (TranslatorAdapter_1_8_2) 15 methods to implement (6 %) TranslatorCroatian (TranslatorAdapter_1_8_2) 15 methods to implement (6 %)
......
...@@ -189,7 +189,7 @@ bool setTranslator(const char *langName) ...@@ -189,7 +189,7 @@ bool setTranslator(const char *langName)
#ifdef LANG_SV #ifdef LANG_SV
else if (L_EQUAL("swedish")) else if (L_EQUAL("swedish"))
{ {
theTranslator=new TranslatorDecoder(new TranslatorSwedish); theTranslator=new TranslatorSwedish;
} }
#endif #endif
#ifdef LANG_CZ #ifdef LANG_CZ
...@@ -207,7 +207,7 @@ bool setTranslator(const char *langName) ...@@ -207,7 +207,7 @@ bool setTranslator(const char *langName)
#ifdef LANG_ID #ifdef LANG_ID
else if (L_EQUAL("indonesian")) else if (L_EQUAL("indonesian"))
{ {
theTranslator=new TranslatorDecoder(new TranslatorIndonesian); theTranslator=new TranslatorIndonesian;
} }
#endif #endif
#ifdef LANG_IT #ifdef LANG_IT
...@@ -225,7 +225,7 @@ bool setTranslator(const char *langName) ...@@ -225,7 +225,7 @@ bool setTranslator(const char *langName)
#ifdef LANG_JP #ifdef LANG_JP
else if (L_EQUAL("japanese")) else if (L_EQUAL("japanese"))
{ {
theTranslator=new TranslatorDecoder(new TranslatorJapanese); theTranslator=new TranslatorJapanese;
} }
#endif #endif
#ifdef LANG_JE #ifdef LANG_JE
...@@ -297,7 +297,7 @@ bool setTranslator(const char *langName) ...@@ -297,7 +297,7 @@ bool setTranslator(const char *langName)
#ifdef LANG_SI #ifdef LANG_SI
else if (L_EQUAL("slovene")) else if (L_EQUAL("slovene"))
{ {
theTranslator=new TranslatorDecoder(new TranslatorSlovene); theTranslator=new TranslatorSlovene;
} }
#endif #endif
#ifdef LANG_CN #ifdef LANG_CN
...@@ -309,7 +309,7 @@ bool setTranslator(const char *langName) ...@@ -309,7 +309,7 @@ bool setTranslator(const char *langName)
#ifdef LANG_TW #ifdef LANG_TW
else if (L_EQUAL("chinese-traditional")) else if (L_EQUAL("chinese-traditional"))
{ {
theTranslator=new TranslatorDecoder(new TranslatorChinesetraditional); theTranslator=new TranslatorChinesetraditional;
} }
#endif #endif
#ifdef LANG_NO #ifdef LANG_NO
...@@ -351,7 +351,7 @@ bool setTranslator(const char *langName) ...@@ -351,7 +351,7 @@ bool setTranslator(const char *langName)
#ifdef LANG_SR #ifdef LANG_SR
else if (L_EQUAL("serbian")) else if (L_EQUAL("serbian"))
{ {
theTranslator=new TranslatorDecoder(new TranslatorSerbian); theTranslator=new TranslatorSerbian;
} }
#endif #endif
#ifdef LANG_SC #ifdef LANG_SC
...@@ -381,7 +381,7 @@ bool setTranslator(const char *langName) ...@@ -381,7 +381,7 @@ bool setTranslator(const char *langName)
#ifdef LANG_ZA #ifdef LANG_ZA
else if (L_EQUAL("afrikaans")) else if (L_EQUAL("afrikaans"))
{ {
theTranslator=new TranslatorDecoder(new TranslatorAfrikaans); theTranslator=new TranslatorAfrikaans;
} }
#endif #endif
#ifdef LANG_AR #ifdef LANG_AR
......
...@@ -61,7 +61,7 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0 ...@@ -61,7 +61,7 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
/*! return the language charset. This will be used for the HTML output */ /*! return the language charset. This will be used for the HTML output */
virtual QCString idLanguageCharset() virtual QCString idLanguageCharset()
{ {
return "iso-8859-1"; return "utf-8";
} }
// --- Language translation methods ------------------- // --- Language translation methods -------------------
......
...@@ -34,19 +34,6 @@ ...@@ -34,19 +34,6 @@
class TranslatorJapanese : public TranslatorAdapter_1_6_0 class TranslatorJapanese : public TranslatorAdapter_1_6_0
{ {
private:
/*! The decode() can change euc into sjis */
inline QCString decode(const QCString & sInput)
{
//if (Config_getBool("USE_WINDOWS_ENCODING"))
//{
// return JapaneseEucToSjis(sInput);
//}
//else
//{
return sInput;
//}
}
public: public:
virtual QCString idLanguage() virtual QCString idLanguage()
{ return "japanese"; } { return "japanese"; }
...@@ -57,46 +44,39 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -57,46 +44,39 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
/*! returns the name of the package that is included by LaTeX */ /*! returns the name of the package that is included by LaTeX */
virtual QCString idLanguageCharset() virtual QCString idLanguageCharset()
{ {
//if (Config_getBool("USE_WINDOWS_ENCODING")) return "utf-8";
//{
// return "Shift_JIS";
//}
//else
//{
return "euc-jp";
//}
} }
/*! 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() virtual QCString trRelatedFunctions()
{ return decode("関連する関数"); } { return "関連する関数"; }
/*! subscript for the related functions. */ /*! subscript for the related functions. */
virtual QCString trRelatedSubscript() virtual QCString trRelatedSubscript()
{ return decode("(これらはメソッドでないことに注意)"); } { 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() virtual QCString trDetailedDescription()
{ return decode("説明"); } { return "説明"; }
/*! header that is put before the list of typedefs. */ /*! header that is put before the list of typedefs. */
virtual QCString trMemberTypedefDocumentation() virtual QCString trMemberTypedefDocumentation()
{ return decode("型定義"); } { return "型定義"; }
/*! header that is put before the list of enumerations. */ /*! header that is put before the list of enumerations. */
virtual QCString trMemberEnumerationDocumentation() virtual QCString trMemberEnumerationDocumentation()
{ return decode("列挙型"); } { return "列挙型"; }
/*! header that is put before the list of member functions. */ /*! header that is put before the list of member functions. */
virtual QCString trMemberFunctionDocumentation() virtual QCString trMemberFunctionDocumentation()
{ {
if( Config_getBool("OPTIMIZE_OUTPUT_JAVA")) if( Config_getBool("OPTIMIZE_OUTPUT_JAVA"))
{ {
return decode("メソッド"); return "メソッド";
} }
else else
{ {
return decode("関数"); return "関数";
} }
} }
...@@ -105,55 +85,55 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -105,55 +85,55 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
{ {
if( Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if( Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return decode("構造体"); return "構造体";
} }
else else
{ {
return decode("変数"); return "変数";
} }
} }
/*! this is the text of a link put after brief descriptions. */ /*! this is the text of a link put after brief descriptions. */
virtual QCString trMore() virtual QCString trMore()
{ return decode("[詳細]"); } { return "[詳細]"; }
/*! put in the class documentation */ /*! put in the class documentation */
virtual QCString trListOfAllMembers() virtual QCString trListOfAllMembers()
{ return decode("すべてのメンバ一覧"); } { return "すべてのメンバ一覧"; }
/*! used as the title of the "list of all members" page of a class */ /*! used as the title of the "list of all members" page of a class */
virtual QCString trMemberList() virtual QCString trMemberList()
{ return decode("メンバ一覧"); } { return "メンバ一覧"; }
/*! this is the first part of a sentence that is followed by a class name */ /*! this is the first part of a sentence that is followed by a class name */
virtual QCString trThisIsTheListOfAllMembers() virtual QCString trThisIsTheListOfAllMembers()
{ return decode("これは全メンバの一覧です。"); } { return "これは全メンバの一覧です。"; }
/*! this is the remainder of the sentence after the class name */ /*! this is the remainder of the sentence after the class name */
virtual QCString trIncludingInheritedMembers() virtual QCString trIncludingInheritedMembers()
{ return decode("継承メンバも含んでいます。"); } { return "継承メンバも含んでいます。"; }
/*! this is put at the author sections at the bottom of man pages. /*! this is put at the author sections at the bottom of man pages.
* parameter s is name of the project name. * parameter s is name of the project name.
*/ */
virtual QCString trGeneratedAutomatically(const char *s) virtual QCString trGeneratedAutomatically(const char *s)
{ QCString result; { QCString result;
if (s) result=(QCString)s+decode("の"); if (s) result=(QCString)s+"の";
result+=decode("ソースから Doxygen により生成しました。"); result+="ソースから Doxygen により生成しました。";
return result; return result;
} }
/*! put after an enum name in the list of all members */ /*! put after an enum name in the list of all members */
virtual QCString trEnumName() virtual QCString trEnumName()
{ return decode("Enum"); } { return "Enum"; }
/*! put after an enum value in the list of all members */ /*! put after an enum value in the list of all members */
virtual QCString trEnumValue() virtual QCString trEnumValue()
{ return decode("Enum 値"); } { return "Enum 値"; }
/*! put after an undocumented member in the list of all members */ /*! put after an undocumented member in the list of all members */
virtual QCString trDefinedIn() virtual QCString trDefinedIn()
{ return decode("次で定義されています。"); } { return "次で定義されています。"; }
// quick reference sections // quick reference sections
...@@ -161,43 +141,43 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -161,43 +141,43 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
* compounds or files (see the \\group command). * compounds or files (see the \\group command).
*/ */
virtual QCString trModules() virtual QCString trModules()
{ return decode("モジュール"); } { return "モジュール"; }
/*! This is put above each page as a link to the class hierarchy */ /*! This is put above each page as a link to the class hierarchy */
virtual QCString trClassHierarchy() virtual QCString trClassHierarchy()
{ return decode("クラス階層"); } { return "クラス階層"; }
/*! 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() virtual QCString trCompoundList()
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return decode("データ構造"); return "データ構造";
} }
else else
{ {
return decode("構成"); return "構成";
} }
} }
/*! This is put above each page as a link to the list of documented files */ /*! This is put above each page as a link to the list of documented files */
virtual QCString trFileList() virtual QCString trFileList()
{ return decode("ファイル一覧"); } { return "ファイル一覧"; }
/*! This is put above each page as a link to the list of all verbatim headers */ /*! This is put above each page as a link to the list of all verbatim headers */
virtual QCString trHeaderFiles() virtual QCString trHeaderFiles()
{ return decode("ヘッダファイル"); } { return "ヘッダファイル"; }
/*! 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() virtual QCString trCompoundMembers()
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return decode("データフィールド"); return "データフィールド";
} }
else else
{ {
return decode("構成メンバ"); return "構成メンバ";
} }
} }
...@@ -206,36 +186,36 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -206,36 +186,36 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return decode("グローバル"); return "グローバル";
} }
else else
{ {
return decode("ファイルメンバ"); return "ファイルメンバ";
} }
} }
/*! This is put above each page as a link to all related pages. */ /*! This is put above each page as a link to all related pages. */
virtual QCString trRelatedPages() virtual QCString trRelatedPages()
{ return decode("関連ページ"); } { return "関連ページ"; }
/*! 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() virtual QCString trExamples()
{ return decode("例"); } { return "例"; }
/*! 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() virtual QCString trSearch()
{ return decode("検索"); } { return "検索"; }
/*! This is an introduction to the class hierarchy. */ /*! This is an introduction to the class hierarchy. */
virtual QCString trClassHierarchyDescription() virtual QCString trClassHierarchyDescription()
{ return decode("この継承一覧はおおまかにはソートされていますが、" { return "この継承一覧はおおまかにはソートされていますが、"
"完全にアルファベット順でソートされてはいません。"); "完全にアルファベット順でソートされてはいません。";
} }
/*! This is an introduction to the list with all files. */ /*! This is an introduction to the list with all files. */
virtual QCString trFileListDescription(bool /*extractAll*/) virtual QCString trFileListDescription(bool /*extractAll*/)
{ {
QCString result=decode("これは"); QCString result="これは";
result+=decode("ファイル一覧です。"); result+="ファイル一覧です。";
return result; return result;
} }
...@@ -244,88 +224,88 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -244,88 +224,88 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return decode("データ構造の説明です。"); return "データ構造の説明です。";
} }
else else
{ {
return decode("クラス、構造体、共用体、インタフェースの説明です。"); return "クラス、構造体、共用体、インタフェースの説明です。";
} }
} }
/*! This is an introduction to the page with all class members. */ /*! This is an introduction to the page with all class members. */
virtual QCString trCompoundMembersDescription(bool extractAll) virtual QCString trCompoundMembersDescription(bool extractAll)
{ {
QCString result=decode("これは"); QCString result="これは";
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
result+=decode("フィールドの一覧でそれぞれ"); result+="フィールドの一覧でそれぞれ";
if (extractAll) result+=decode("が属している構造体/共用体"); if (extractAll) result+="が属している構造体/共用体";
} }
else else
{ {
result+=decode("クラスメンバの一覧で、それぞれ"); result+="クラスメンバの一覧で、それぞれ";
if (extractAll) result+=decode("が属しているクラス"); if (extractAll) result+="が属しているクラス";
} }
result+=decode("の説明へリンクしています。"); result+="の説明へリンクしています。";
return result; return result;
} }
/*! This is an introduction to the page with all file members. */ /*! This is an introduction to the page with all file members. */
virtual QCString trFileMembersDescription(bool /*extractAll*/) virtual QCString trFileMembersDescription(bool /*extractAll*/)
{ {
QCString result=decode("これは"); QCString result="これは";
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
result+=decode("関数、変数、マクロ、Enum、Typedef の"); result+="関数、変数、マクロ、Enum、Typedef の";
} }
else else
{ {
result+=decode("ファイルメンバの"); result+="ファイルメンバの";
} }
result+=decode("一覧です。それぞれが属しているファイルの説明へリンクしています。"); result+="一覧です。それぞれが属しているファイルの説明へリンクしています。";
return result; return result;
} }
/*! This is an introduction to the page with the list of all header files. */ /*! This is an introduction to the page with the list of all header files. */
virtual QCString trHeaderFilesDescription() virtual QCString trHeaderFilesDescription()
{ return decode("APIを構成するヘッダファイルです。"); } { return "APIを構成するヘッダファイルです。"; }
/*! This is an introduction to the page with the list of all examples */ /*! This is an introduction to the page with the list of all examples */
virtual QCString trExamplesDescription() virtual QCString trExamplesDescription()
{ return decode("すべての例の一覧です。"); } { return "すべての例の一覧です。"; }
/*! 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() virtual QCString trRelatedPagesDescription()
{ return decode("関連ページの一覧です。"); } { return "関連ページの一覧です。"; }
/*! 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() virtual QCString trModulesDescription()
{ return decode("すべてのモジュールの一覧です。"); } { return "すべてのモジュールの一覧です。"; }
/*! This sentences is used in the annotated class/file lists if no brief /*! This sentences is used in the annotated class/file lists if no brief
* description is given. * description is given.
*/ */
virtual QCString trNoDescriptionAvailable() virtual QCString trNoDescriptionAvailable()
{ return decode("ドキュメントが記述されていません。"); } { 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. */ /*! This is used in HTML as the title of index.html. */
virtual QCString trDocumentation() virtual QCString trDocumentation()
{ return decode("ドキュメント"); } { 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. * index of all groups.
*/ */
virtual QCString trModuleIndex() virtual QCString trModuleIndex()
{ return decode("モジュール索引"); } { 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. * class hierarchy.
*/ */
virtual QCString trHierarchicalIndex() virtual QCString trHierarchicalIndex()
{ return decode("階層索引"); } { 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. * annotated compound index.
...@@ -334,11 +314,11 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -334,11 +314,11 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return decode("データ構造索引"); return "データ構造索引";
} }
else else
{ {
return decode("構成索引"); return "構成索引";
} }
} }
...@@ -346,13 +326,13 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -346,13 +326,13 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
* list of all files. * list of all files.
*/ */
virtual QCString trFileIndex() virtual QCString trFileIndex()
{ return decode("ファイル索引"); } { return "ファイル索引"; }
/*! This is used in LaTeX as the title of the chapter containing /*! This is used in LaTeX as the title of the chapter containing
* the documentation of all groups. * the documentation of all groups.
*/ */
virtual QCString trModuleDocumentation() virtual QCString trModuleDocumentation()
{ return decode("モジュール"); } { return "モジュール"; }
/*! This is used in LaTeX as the title of the chapter containing /*! This is used in LaTeX as the title of the chapter containing
* the documentation of all classes, structs and unions. * the documentation of all classes, structs and unions.
...@@ -361,11 +341,11 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -361,11 +341,11 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return decode("データ構造"); return "データ構造";
} }
else else
{ {
return decode("クラス"); return "クラス";
} }
} }
...@@ -373,100 +353,100 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -373,100 +353,100 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
* the documentation of all files. * the documentation of all files.
*/ */
virtual QCString trFileDocumentation() virtual QCString trFileDocumentation()
{ return decode("ファイル"); } { return "ファイル"; }
/*! This is used in LaTeX as the title of the chapter containing /*! This is used in LaTeX as the title of the chapter containing
* the documentation of all examples. * the documentation of all examples.
*/ */
virtual QCString trExampleDocumentation() virtual QCString trExampleDocumentation()
{ return decode("例"); } { return "例"; }
/*! This is used in LaTeX as the title of the chapter containing /*! This is used in LaTeX as the title of the chapter containing
* the documentation of all related pages. * the documentation of all related pages.
*/ */
virtual QCString trPageDocumentation() virtual QCString trPageDocumentation()
{ return decode("ページ"); } { return "ページ"; }
/*! This is used in LaTeX as the title of the document */ /*! This is used in LaTeX as the title of the document */
virtual QCString trReferenceManual() virtual QCString trReferenceManual()
{ return decode("リファレンスマニュアル"); } { 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 * list of defines
*/ */
virtual QCString trDefines() virtual QCString trDefines()
{ return decode("マクロ定義"); } { 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 function prototypes * list of function prototypes
*/ */
virtual QCString trFuncProtos() virtual QCString trFuncProtos()
{ return decode("関数プロトタイプ"); } { 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 * list of typedefs
*/ */
virtual QCString trTypedefs() virtual QCString trTypedefs()
{ return decode("型定義"); } { 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 * list of enumerations
*/ */
virtual QCString trEnumerations() virtual QCString trEnumerations()
{ return decode("列挙型"); } { 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 * list of (global) functions
*/ */
virtual QCString trFunctions() virtual QCString trFunctions()
{ return decode("関数"); } { 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 * list of (global) variables
*/ */
virtual QCString trVariables() virtual QCString trVariables()
{ return decode("変数"); } { 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 * list of (global) variables
*/ */
virtual QCString trEnumerationValues() virtual QCString trEnumerationValues()
{ return decode("列挙型の値"); } { return "列挙型の値"; }
/*! This is used in the documentation of a file before the list of /*! This is used in the documentation of a file before the list of
* documentation blocks for defines * documentation blocks for defines
*/ */
virtual QCString trDefineDocumentation() virtual QCString trDefineDocumentation()
{ return decode("マクロ定義"); } { 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 function prototypes * of documentation blocks for function prototypes
*/ */
virtual QCString trFunctionPrototypeDocumentation() virtual QCString trFunctionPrototypeDocumentation()
{ return decode("関数プロトタイプ"); } { 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 * of documentation blocks for typedefs
*/ */
virtual QCString trTypedefDocumentation() virtual QCString trTypedefDocumentation()
{ return decode("型定義"); } { 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 * of documentation blocks for enumeration types
*/ */
virtual QCString trEnumerationTypeDocumentation() virtual QCString trEnumerationTypeDocumentation()
{ return decode("列挙型"); } { 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 * of documentation blocks for functions
*/ */
virtual QCString trFunctionDocumentation() virtual QCString trFunctionDocumentation()
{ return decode("関数"); } { 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 * of documentation blocks for variables
*/ */
virtual QCString trVariableDocumentation() virtual QCString trVariableDocumentation()
{ return decode("変数"); } { 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 * the list of links to documented compounds
...@@ -475,11 +455,11 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -475,11 +455,11 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return decode("データ構造"); return "データ構造";
} }
else else
{ {
return decode("構成"); return "構成";
} }
} }
/*! This is used in the standard footer of each page and indicates when /*! This is used in the standard footer of each page and indicates when
...@@ -488,67 +468,67 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -488,67 +468,67 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
virtual QCString trGeneratedAt(const char *date,const char *projName) virtual QCString trGeneratedAt(const char *date,const char *projName)
{ {
QCString result; QCString result;
if (projName) result+=(QCString)projName+decode("に対して"); if (projName) result+=(QCString)projName+"に対して";
result+=(QCString)date+decode("に生成されました。"); result+=(QCString)date+"に生成されました。";
return result; return result;
} }
/*! This is part of the sentence used in the standard footer of each page. /*! This is part of the sentence used in the standard footer of each page.
*/ */
virtual QCString trWrittenBy() virtual QCString trWrittenBy()
{ {
return decode("作者"); return "作者";
} }
/*! this text is put before a class diagram */ /*! this text is put before a class diagram */
virtual QCString trClassDiagram(const char *clName) virtual QCString trClassDiagram(const char *clName)
{ {
return (QCString)clName+decode("に対する継承グラフ"); return (QCString)clName+"に対する継承グラフ";
} }
/*! this text is generated when the \\internal command is used. */ /*! this text is generated when the \\internal command is used. */
virtual QCString trForInternalUseOnly() virtual QCString trForInternalUseOnly()
{ return decode("内部使用のみ。"); } { return "内部使用のみ。"; }
/*! this text is generated when the \\reimp command is used. */ /*! this text is generated when the \\reimp command is used. */
virtual QCString trReimplementedForInternalReasons() virtual QCString trReimplementedForInternalReasons()
{ return decode("内部的な理由により再実装されましたが、APIには影響しません。"); { return "内部的な理由により再実装されましたが、APIには影響しません。";
} }
/*! this text is generated when the \\warning command is used. */ /*! this text is generated when the \\warning command is used. */
virtual QCString trWarning() virtual QCString trWarning()
{ return decode("警告"); } { return "警告"; }
/*! this text is generated when the \\bug command is used. */ /*! this text is generated when the \\bug command is used. */
virtual QCString trBugsAndLimitations() virtual QCString trBugsAndLimitations()
{ return decode("バグと制限"); } { return "バグと制限"; }
/*! this text is generated when the \\version command is used. */ /*! this text is generated when the \\version command is used. */
virtual QCString trVersion() virtual QCString trVersion()
{ return decode("バージョン"); } { return "バージョン"; }
/*! this text is generated when the \\date command is used. */ /*! this text is generated when the \\date command is used. */
virtual QCString trDate() virtual QCString trDate()
{ return decode("日付"); } { return "日付"; }
/*! this text is generated when the \\return command is used. */ /*! this text is generated when the \\return command is used. */
virtual QCString trReturns() virtual QCString trReturns()
{ return decode("戻り値"); } { return "戻り値"; }
/*! this text is generated when the \\sa command is used. */ /*! this text is generated when the \\sa command is used. */
virtual QCString trSeeAlso() virtual QCString trSeeAlso()
{ return decode("参照"); } { return "参照"; }
/*! this text is generated when the \\param command is used. */ /*! this text is generated when the \\param command is used. */
virtual QCString trParameters() virtual QCString trParameters()
{ return decode("引数"); } { return "引数"; }
/*! this text is generated when the \\exception command is used. */ /*! this text is generated when the \\exception command is used. */
virtual QCString trExceptions() virtual QCString trExceptions()
{ return decode("例外"); } { return "例外"; }
/*! this text is used in the title page of a LaTeX document. */ /*! this text is used in the title page of a LaTeX document. */
virtual QCString trGeneratedBy() virtual QCString trGeneratedBy()
{ return decode("作成:"); } { return "作成:"; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 0.49-990307 // new since 0.49-990307
...@@ -556,21 +536,19 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -556,21 +536,19 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
/*! used as the title of page containing all the index of all namespaces. */ /*! used as the title of page containing all the index of all namespaces. */
virtual QCString trNamespaceList() virtual QCString trNamespaceList()
{ return decode("ネームスペース一覧"); } { return "ネームスペース一覧"; }
/*! used as an introduction to the namespace list */ /*! used as an introduction to the namespace list */
virtual QCString trNamespaceListDescription(bool /*extractAll*/) virtual QCString trNamespaceListDescription(bool /*extractAll*/)
{ {
QCString result=decode(""); return "ネームスペースの一覧です。";
result+=decode("ネームスペースの一覧です。");
return result;
} }
/*! used in the class documentation as a header before the list of all /*! used in the class documentation as a header before the list of all
* friends of a class * friends of a class
*/ */
virtual QCString trFriends() virtual QCString trFriends()
{ return decode("フレンド"); } { return "フレンド"; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 0.49-990405 // new since 0.49-990405
...@@ -580,7 +558,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -580,7 +558,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
* related classes * related classes
*/ */
virtual QCString trRelatedFunctionDocumentation() virtual QCString trRelatedFunctionDocumentation()
{ return decode("フレンドと関連する関数"); } { return "フレンドと関連する関数"; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 0.49-990425 // new since 0.49-990425
...@@ -594,16 +572,16 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -594,16 +572,16 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
QCString result=""; QCString result="";
switch(compType) switch(compType)
{ {
case ClassDef::Class: result+=decode("クラス "); break; case ClassDef::Class: result+="クラス "; break;
case ClassDef::Struct: result+=decode("構造体 "); break; case ClassDef::Struct: result+="構造体 "; break;
case ClassDef::Union: result+=decode("共用体 "); break; case ClassDef::Union: result+="共用体 "; break;
case ClassDef::Interface: result+=decode("インタフェース "); break; case ClassDef::Interface: result+="インタフェース "; break;
case ClassDef::Protocol: result+=decode("プロトコル "); break; case ClassDef::Protocol: result+="プロトコル "; break;
case ClassDef::Category: result+=decode("カテゴリ "); break; case ClassDef::Category: result+="カテゴリ "; break;
case ClassDef::Exception: result+=decode("例外 "); break; case ClassDef::Exception: result+="例外 "; break;
default: break; default: break;
} }
if (isTemplate) result+=decode("テンプレート "); if (isTemplate) result+="テンプレート ";
result+=(QCString)clName; result+=(QCString)clName;
return result; return result;
} }
...@@ -611,38 +589,38 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -611,38 +589,38 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
/*! used as the title of the HTML page of a file */ /*! used as the title of the HTML page of a file */
virtual QCString trFileReference(const char *fileName) virtual QCString trFileReference(const char *fileName)
{ {
QCString result=decode("")+(QCString)fileName; QCString result=""+(QCString)fileName;
return result; return result;
} }
/*! used as the title of the HTML page of a namespace */ /*! used as the title of the HTML page of a namespace */
virtual QCString trNamespaceReference(const char *namespaceName) virtual QCString trNamespaceReference(const char *namespaceName)
{ {
QCString result=decode("ネームスペース ")+(QCString)namespaceName; QCString result="ネームスペース "+(QCString)namespaceName;
return result; 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() virtual QCString trPublicMembers()
{ return decode("Public メソッド"); } { return "Public メソッド"; }
virtual QCString trPublicSlots() virtual QCString trPublicSlots()
{ return decode("Public スロット"); } { return "Public スロット"; }
virtual QCString trSignals() virtual QCString trSignals()
{ return decode("シグナル"); } { return "シグナル"; }
virtual QCString trStaticPublicMembers() virtual QCString trStaticPublicMembers()
{ return decode("Static Public メソッド"); } { return "Static Public メソッド"; }
virtual QCString trProtectedMembers() virtual QCString trProtectedMembers()
{ return decode("Protected メソッド"); } { return "Protected メソッド"; }
virtual QCString trProtectedSlots() virtual QCString trProtectedSlots()
{ return decode("Protected スロット"); } { return "Protected スロット"; }
virtual QCString trStaticProtectedMembers() virtual QCString trStaticProtectedMembers()
{ return decode("Static Protected メソッド"); } { return "Static Protected メソッド"; }
virtual QCString trPrivateMembers() virtual QCString trPrivateMembers()
{ return decode("Private メソッド"); } { return "Private メソッド"; }
virtual QCString trPrivateSlots() virtual QCString trPrivateSlots()
{ return decode("Private スロット"); } { return "Private スロット"; }
virtual QCString trStaticPrivateMembers() virtual QCString trStaticPrivateMembers()
{ return decode("Static Private メソッド"); } { return "Static Private メソッド"; }
/*! this function is used to produce a comma-separated list of items. /*! this function is used to produce a comma-separated list of items.
* use generateMarker(i) to indicate where item i should be put. * use generateMarker(i) to indicate where item i should be put.
...@@ -661,9 +639,9 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -661,9 +639,9 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
if (i!=numEntries-1) // not the last entry, so we need a separator 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+=decode(", "); result+=", ";
else // the fore last entry else // the fore last entry
result+=decode(", と "); result+=", と ";
} }
} }
return result; return result;
...@@ -674,7 +652,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -674,7 +652,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trInheritsList(int numEntries) virtual QCString trInheritsList(int numEntries)
{ {
return trWriteList(numEntries)+decode("を継承しています。"); return trWriteList(numEntries)+"を継承しています。";
} }
/*! used in class documentation to produce a list of super classes, /*! used in class documentation to produce a list of super classes,
...@@ -682,7 +660,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -682,7 +660,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trInheritedByList(int numEntries) virtual QCString trInheritedByList(int numEntries)
{ {
return trWriteList(numEntries)+decode("に継承されています。"); return trWriteList(numEntries)+"に継承されています。";
} }
/*! used in member documentation blocks to produce a list of /*! used in member documentation blocks to produce a list of
...@@ -690,7 +668,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -690,7 +668,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trReimplementedFromList(int numEntries) virtual QCString trReimplementedFromList(int numEntries)
{ {
return trWriteList(numEntries)+decode("を再定義しています。"); return trWriteList(numEntries)+"を再定義しています。";
} }
/*! used in member documentation blocks to produce a list of /*! used in member documentation blocks to produce a list of
...@@ -698,36 +676,36 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -698,36 +676,36 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trReimplementedInList(int numEntries) virtual QCString trReimplementedInList(int numEntries)
{ {
return trWriteList(numEntries)+decode("で再定義されています。"); return trWriteList(numEntries)+"で再定義されています。";
} }
/*! This is put above each page as a link to all members of namespaces. */ /*! This is put above each page as a link to all members of namespaces. */
virtual QCString trNamespaceMembers() virtual QCString trNamespaceMembers()
{ return decode("ネームスペースメンバ"); } { return "ネームスペースメンバ"; }
/*! This is an introduction to the page with all namespace members */ /*! This is an introduction to the page with all namespace members */
virtual QCString trNamespaceMemberDescription(bool extractAll) virtual QCString trNamespaceMemberDescription(bool extractAll)
{ {
QCString result=decode("これは"); QCString result="これは";
result+=decode("ネームスペースの一覧です。それぞれ"); result+="ネームスペースの一覧です。それぞれ";
if (extractAll) if (extractAll)
result+=decode("のネームスペース"); result+="のネームスペース";
else else
result+=decode("が属しているネームスペース"); result+="が属しているネームスペース";
result+=decode("へリンクしています。"); result+="へリンクしています。";
return 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. * index of all namespaces.
*/ */
virtual QCString trNamespaceIndex() virtual QCString trNamespaceIndex()
{ return decode("ネームスペース索引"); } { return "ネームスペース索引"; }
/*! This is used in LaTeX as the title of the chapter containing /*! This is used in LaTeX as the title of the chapter containing
* the documentation of all namespaces. * the documentation of all namespaces.
*/ */
virtual QCString trNamespaceDocumentation() virtual QCString trNamespaceDocumentation()
{ return decode("ネームスペース"); } { return "ネームスペース"; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 0.49-990522 // new since 0.49-990522
...@@ -737,7 +715,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -737,7 +715,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
* namespaces in a file. * namespaces in a file.
*/ */
virtual QCString trNamespaces() virtual QCString trNamespaces()
{ return decode("ネームスペース"); } { return "ネームスペース"; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 0.49-990728 // new since 0.49-990728
...@@ -750,19 +728,19 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -750,19 +728,19 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
bool) bool)
{ // here s is one of " Class", " Struct" or " Union" { // here s is one of " Class", " Struct" or " Union"
// single is true implies a single file // single is true implies a single file
QCString result=(QCString)decode("この"); QCString result=(QCString)"この";
switch(compType) switch(compType)
{ {
case ClassDef::Class: result+=decode("クラス"); break; case ClassDef::Class: result+="クラス"; break;
case ClassDef::Struct: result+=decode("構造体"); break; case ClassDef::Struct: result+="構造体"; break;
case ClassDef::Union: result+=decode("共用体"); break; case ClassDef::Union: result+="共用体"; break;
case ClassDef::Interface: result+=decode("インタフェース"); break; case ClassDef::Interface: result+="インタフェース"; break;
case ClassDef::Protocol: result+=decode("プロトコル"); break; case ClassDef::Protocol: result+="プロトコル"; break;
case ClassDef::Category: result+=decode("カテゴリ"); break; case ClassDef::Category: result+="カテゴリ"; break;
case ClassDef::Exception: result+=decode("例外"); break; case ClassDef::Exception: result+="例外"; break;
default: break; default: break;
} }
result+=decode("の説明は次のファイルから生成されました:"); result+="の説明は次のファイルから生成されました:";
return result; return result;
} }
...@@ -770,7 +748,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -770,7 +748,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
* list. * list.
*/ */
virtual QCString trAlphabeticalList() virtual QCString trAlphabeticalList()
{ return decode("アルファベット順一覧"); } { return "アルファベット順一覧"; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 0.49-990901 // new since 0.49-990901
...@@ -778,18 +756,18 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -778,18 +756,18 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
/*! This is used as the heading text for the retval command. */ /*! This is used as the heading text for the retval command. */
virtual QCString trReturnValues() virtual QCString trReturnValues()
{ return decode("戻り値"); } { return "戻り値"; }
/*! This is in the (quick) index as a link to the main page (index.html) /*! This is in the (quick) index as a link to the main page (index.html)
*/ */
virtual QCString trMainPage() virtual QCString trMainPage()
{ return decode("メインページ"); } { 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. * documentation. It should be an abbreviation of the word page.
*/ */
virtual QCString trPageAbbreviation() virtual QCString trPageAbbreviation()
{ return decode("p."); } { return "p."; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 0.49-991003 // new since 0.49-991003
...@@ -797,15 +775,15 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -797,15 +775,15 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
virtual QCString trSources() virtual QCString trSources()
{ {
return decode("ソース"); return "ソース";
} }
virtual QCString trDefinedAtLineInSourceFile() virtual QCString trDefinedAtLineInSourceFile()
{ {
return decode(" @1 の @0 行で定義されています。"); return " @1 の @0 行で定義されています。";
} }
virtual QCString trDefinedInSourceFile() virtual QCString trDefinedInSourceFile()
{ {
return decode(" @0 で定義されています。"); return " @0 で定義されています。";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -814,7 +792,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -814,7 +792,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
virtual QCString trDeprecated() virtual QCString trDeprecated()
{ {
return decode("非推奨"); return "非推奨";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -824,68 +802,68 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -824,68 +802,68 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
/*! this text is put before a collaboration diagram */ /*! this text is put before a collaboration diagram */
virtual QCString trCollaborationDiagram(const char *clName) virtual QCString trCollaborationDiagram(const char *clName)
{ {
return (QCString)clName+decode("のコラボレーション図"); return (QCString)clName+"のコラボレーション図";
} }
/*! this text is put before an include dependency graph */ /*! this text is put before an include dependency graph */
virtual QCString trInclDepGraph(const char *fName) virtual QCString trInclDepGraph(const char *fName)
{ {
return (QCString)fName+decode("のインクルード依存関係図"); return (QCString)fName+"のインクルード依存関係図";
} }
/*! header that is put before the list of constructor/destructors. */ /*! header that is put before the list of constructor/destructors. */
virtual QCString trConstructorDocumentation() virtual QCString trConstructorDocumentation()
{ {
return decode("コンストラクタとデストラクタ"); return "コンストラクタとデストラクタ";
} }
/*! Used in the file documentation to point to the corresponding sources. */ /*! Used in the file documentation to point to the corresponding sources. */
virtual QCString trGotoSourceCode() virtual QCString trGotoSourceCode()
{ {
return decode("ソースコードを見る。"); return "ソースコードを見る。";
} }
/*! Used in the file sources to point to the corresponding documentation. */ /*! Used in the file sources to point to the corresponding documentation. */
virtual QCString trGotoDocumentation() virtual QCString trGotoDocumentation()
{ {
return decode("説明を見る。"); return "説明を見る。";
} }
/*! Text for the \\pre command */ /*! Text for the \\pre command */
virtual QCString trPrecondition() virtual QCString trPrecondition()
{ {
return decode("事前条件"); return "事前条件";
} }
/*! Text for the \\post command */ /*! Text for the \\post command */
virtual QCString trPostcondition() virtual QCString trPostcondition()
{ {
return decode("事後条件"); return "事後条件";
} }
/*! Text for the \\invariant command */ /*! Text for the \\invariant command */
virtual QCString trInvariant() virtual QCString trInvariant()
{ {
return decode("不変"); return "不変";
} }
/*! Text shown before a multi-line variable/enum initialization */ /*! Text shown before a multi-line variable/enum initialization */
virtual QCString trInitialValue() virtual QCString trInitialValue()
{ {
return decode("初期値:"); return "初期値:";
} }
/*! Text used the source code in the file index */ /*! Text used the source code in the file index */
virtual QCString trCode() virtual QCString trCode()
{ {
return decode("コード"); return "コード";
} }
virtual QCString trGraphicalHierarchy() virtual QCString trGraphicalHierarchy()
{ {
return decode("クラス階層図"); return "クラス階層図";
} }
virtual QCString trGotoGraphicalHierarchy() virtual QCString trGotoGraphicalHierarchy()
{ {
return decode("クラス階層図を見る。"); return "クラス階層図を見る。";
} }
virtual QCString trGotoTextualHierarchy() virtual QCString trGotoTextualHierarchy()
{ {
return decode("クラス階層図を見る。"); return "クラス階層図を見る。";
} }
virtual QCString trPageIndex() virtual QCString trPageIndex()
{ {
return decode("ページ索引"); return "ページ索引";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -894,50 +872,50 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -894,50 +872,50 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
virtual QCString trNote() virtual QCString trNote()
{ {
return decode("覚え書き"); return "覚え書き";
} }
virtual QCString trPublicTypes() virtual QCString trPublicTypes()
{ {
return decode("Public 型"); return "Public 型";
} }
virtual QCString trPublicAttribs() virtual QCString trPublicAttribs()
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return decode("変数"); return "変数";
} }
else else
{ {
return decode("Public 変数"); return "Public 変数";
} }
} }
virtual QCString trStaticPublicAttribs() virtual QCString trStaticPublicAttribs()
{ {
return decode("Static Public 変数"); return "Static Public 変数";
} }
virtual QCString trProtectedTypes() virtual QCString trProtectedTypes()
{ {
return decode("Protected 型"); return "Protected 型";
} }
virtual QCString trProtectedAttribs() virtual QCString trProtectedAttribs()
{ {
return decode("Protected 変数"); return "Protected 変数";
} }
virtual QCString trStaticProtectedAttribs() virtual QCString trStaticProtectedAttribs()
{ {
return decode("Static Protected 変数"); return "Static Protected 変数";
} }
virtual QCString trPrivateTypes() virtual QCString trPrivateTypes()
{ {
return decode("Private 型"); return "Private 型";
} }
virtual QCString trPrivateAttribs() virtual QCString trPrivateAttribs()
{ {
return decode("Private 変数"); return "Private 変数";
} }
virtual QCString trStaticPrivateAttribs() virtual QCString trStaticPrivateAttribs()
{ {
return decode("Static Private 変数"); return "Static Private 変数";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -947,12 +925,12 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -947,12 +925,12 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
/*! Used as a marker that is put before a todo item */ /*! Used as a marker that is put before a todo item */
virtual QCString trTodo() virtual QCString trTodo()
{ {
return decode("TODO"); return "TODO";
} }
/*! Used as the header of the todo list */ /*! Used as the header of the todo list */
virtual QCString trTodoList() virtual QCString trTodoList()
{ {
return decode("TODO一覧"); return "TODO一覧";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -961,24 +939,24 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -961,24 +939,24 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
virtual QCString trReferencedBy() virtual QCString trReferencedBy()
{ {
return decode("参照元"); return "参照元";
} }
virtual QCString trRemarks() virtual QCString trRemarks()
{ {
return decode("意見"); return "意見";
} }
virtual QCString trAttention() virtual QCString trAttention()
{ {
return decode("注意"); return "注意";
} }
virtual QCString trInclByDepGraph() virtual QCString trInclByDepGraph()
{ {
return decode("このグラフは、どのファイルから直接、間接的に" return "このグラフは、どのファイルから直接、間接的に"
"インクルードされているかを示しています。"); "インクルードされているかを示しています。";
} }
virtual QCString trSince() virtual QCString trSince()
{ {
return decode("から"); return "から";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -988,33 +966,33 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -988,33 +966,33 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
/*! title of the graph legend page */ /*! title of the graph legend page */
virtual QCString trLegendTitle() virtual QCString trLegendTitle()
{ {
return decode("グラフの凡例"); return "グラフの凡例";
} }
/*! page explaining how the dot graph's should be interpreted */ /*! page explaining how the dot graph's should be interpreted */
virtual QCString trLegendDocs() virtual QCString trLegendDocs()
{ {
return return
decode("このページでは、doxygen で生成されたグラフをどのようにみたらよいかを" "このページでは、doxygen で生成されたグラフをどのようにみたらよいかを"
"説明します。<p>\n" "説明します。<p>\n"
"次の例を考えてみます。\n" "次の例を考えてみます。\n"
"\\code\n" "\\code\n"
"/*! 省略されて見えないクラス */\n" "/*! 略されて見えないクラス */\n"
"class Invisible { };\n\n" "class Invisible { };\n\n"
"/*! 省略されたクラス(継承関係は隠されている) */\n" "/*! 省略されたクラス(継承関係は隠されている) */\n"
"class Truncated : public Invisible { };\n\n" "class Truncated : public Invisible { };\n\n"
"/* doxygen コメントによるドキュメントがないクラス */\n" "/* doxygen コメントによるドキュメントがないクラス */\n"
"class Undocumented { };\n\n" "class Undocumented { };\n\n"
"/*! public で継承されたクラス */\n" "/*! public 継承されたクラス */\n"
"class PublicBase : public Truncated { };\n\n" "class PublicBase : public Truncated { };\n\n"
"/*! A template class */\n" "/*! A template class */\n"
"template<class T> class Templ { };\n\n" "template<class T> class Templ { };\n\n"
"/*! protected で継承されたクラス */\n" "/*! protected 継承されたクラス */\n"
"class ProtectedBase { };\n\n" "class ProtectedBase { };\n\n"
"/*! private で継承されたクラス */\n" "/*! private 継承されたクラス */\n"
"class PrivateBase { };\n\n" "class PrivateBase { };\n\n"
"/*! 継承されたクラスで使われているクラス */\n" "/*! 継承されたクラスで使われているクラス */\n"
"class Used { };\n\n" "class Used { };\n\n"
"/*! 複数のクラスを継承している上位クラス */\n" "/*! 数のクラスを継承している上位クラス */\n"
"class Inherited : public PublicBase,\n" "class Inherited : public PublicBase,\n"
" protected ProtectedBase,\n" " protected ProtectedBase,\n"
" private PrivateBase,\n" " private PrivateBase,\n"
...@@ -1025,34 +1003,34 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1025,34 +1003,34 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
" Used *m_usedClass;\n" " Used *m_usedClass;\n"
"};\n" "};\n"
"\\endcode\n" "\\endcode\n"
"設定ファイル中で、タグ \\c MAX_DOT_GRAPH_HEIGHT が 200 にセットされた" "設定ファイル中で、タグ \\c MAX_DOT_GRAPH_HEIGHT が 200 にセットされた"
"場合、次のようなグラフとなります。" "合、次のようなグラフとなります。"
"<p><center><img src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n" "<p><center><img src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
"<p>\n" "<p>\n"
"上のグラフ内のボックスには次のような意味があります。\n" "上のグラフ内のボックスには次のような意味があります。\n"
"<ul>\n" "<ul>\n"
"<li>黒く塗りつぶされたボックスは、このグラフに対応する構造体やクラスを" "<li>黒く塗りつぶされたボックスは、このグラフに対応する構造体やクラスを"
"表します。\n" "表します。\n"
"<li>黒枠のボックスはドキュメントがある構造体やクラスを表します。\n" "<li>黒枠のボックスはドキュメントがある構造体やクラスを表します。\n"
"<li>灰色の枠のボックスはドキュメントがない構造体やクラスを表します。\n" "<li>色の枠のボックスはドキュメントがない構造体やクラスを表します。\n"
"<li>赤枠のボックスはドキュメントがある構造体やクラスを表しますが、" "<li>赤枠のボックスはドキュメントがある構造体やクラスを表しますが、"
"指定されたサイズに収まらないために継承・包含関係をすべて図示する" "指定されたサイズに収まらないために継承・包含関係をすべて図示する"
"ことができなかったことを示します。" "とができなかったことを示します。"
"</ul>\n" "</ul>\n"
"矢印には次のような意味があります。\n" "矢印には次のような意味があります。\n"
"<ul>\n" "<ul>\n"
"<li>青い矢印は二つのクラス間の public 継承関係を示します。\n" "<li>青い矢印は二つのクラス間の public 継承関係を示します。\n"
"<li>緑の矢印は protected 継承関係を示します。\n" "<li>緑の矢印は protected 継承関係を示します。\n"
"<li>赤の矢印は private 継承関係を示します。\n" "<li>赤の矢印は private 継承関係を示します。\n"
"<li>紫の破線矢印は、そのクラスが他のクラスに含まれていたり、" "<li>紫の破線矢印は、そのクラスが他のクラスに含まれていたり、"
"利用されていることを示します。また、矢印が指しているクラスや構造体を" "用されていることを示します。また、矢印が指しているクラスや構造体を"
"どの変数でアクセスできるかを矢印のラベルとして示しています。\n" "どの変数でアクセスできるかを矢印のラベルとして示しています。\n"
"</ul>\n"); "</ul>\n";
} }
/*! text for the link to the legend page */ /*! text for the link to the legend page */
virtual QCString trLegend() virtual QCString trLegend()
{ {
return decode("凡例"); return "凡例";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1062,12 +1040,12 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1062,12 +1040,12 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
/*! Used as a marker that is put before a test item */ /*! Used as a marker that is put before a test item */
virtual QCString trTest() virtual QCString trTest()
{ {
return decode("テスト"); return "テスト";
} }
/*! Used as the header of the test list */ /*! Used as the header of the test list */
virtual QCString trTestList() virtual QCString trTestList()
{ {
return decode("テスト一覧"); return "テスト一覧";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1077,7 +1055,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1077,7 +1055,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
/*! Used as a section header for KDE-2 IDL methods */ /*! Used as a section header for KDE-2 IDL methods */
virtual QCString trDCOPMethods() virtual QCString trDCOPMethods()
{ {
return decode("DCOPメソッド"); return "DCOPメソッド";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1087,12 +1065,12 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1087,12 +1065,12 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
/*! Used as a section header for IDL properties */ /*! Used as a section header for IDL properties */
virtual QCString trProperties() virtual QCString trProperties()
{ {
return decode("プロパティ"); return "プロパティ";
} }
/*! Used as a section header for IDL property documentation */ /*! Used as a section header for IDL property documentation */
virtual QCString trPropertyDocumentation() virtual QCString trPropertyDocumentation()
{ {
return decode("プロパティ"); return "プロパティ";
} }
...@@ -1103,49 +1081,49 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1103,49 +1081,49 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
/*! Used for Java interfaces in the summary section of Java packages */ /*! Used for Java interfaces in the summary section of Java packages */
virtual QCString trInterfaces() virtual QCString trInterfaces()
{ {
return decode("インターフェース"); return "インターフェース";
} }
/*! Used for Java classes in the summary section of Java packages */ /*! Used for Java classes in the summary section of Java packages */
virtual QCString trClasses() virtual QCString trClasses()
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return decode("データ構造"); return "データ構造";
} }
else else
{ {
return decode("クラス"); return "クラス";
} }
} }
/*! Used as the title of a Java package */ /*! Used as the title of a Java package */
virtual QCString trPackage(const char *name) virtual QCString trPackage(const char *name)
{ {
return (QCString)decode("パッケージ ")+name; return (QCString)"パッケージ "+name;
} }
/*! Title of the package index page */ /*! Title of the package index page */
virtual QCString trPackageList() virtual QCString trPackageList()
{ {
return decode("パッケージ一覧"); return "パッケージ一覧";
} }
/*! The description of the package index page */ /*! The description of the package index page */
virtual QCString trPackageListDescription() virtual QCString trPackageListDescription()
{ {
return decode("これはパッケージ一覧です。"); return "これはパッケージ一覧です。";
} }
/*! The link name in the Quick links header for each page */ /*! The link name in the Quick links header for each page */
virtual QCString trPackages() virtual QCString trPackages()
{ {
return decode("パッケージ"); return "パッケージ";
} }
/*! Used as a chapter title for Latex & RTF output */ /*! Used as a chapter title for Latex & RTF output */
virtual QCString trPackageDocumentation() virtual QCString trPackageDocumentation()
{ {
return decode("パッケージ"); return "パッケージ";
} }
/*! Text shown before a multi-line define */ /*! Text shown before a multi-line define */
virtual QCString trDefineValue() virtual QCString trDefineValue()
{ {
return decode("値:"); return "値:";
} }
...@@ -1156,12 +1134,12 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1156,12 +1134,12 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
/*! Used as a marker that is put before a \\bug item */ /*! Used as a marker that is put before a \\bug item */
virtual QCString trBug() virtual QCString trBug()
{ {
return decode("バグ"); return "バグ";
} }
/*! Used as the header of the bug list */ /*! Used as the header of the bug list */
virtual QCString trBugList() virtual QCString trBugList()
{ {
return decode("バグ一覧"); return "バグ一覧";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1210,7 +1188,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1210,7 +1188,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
/*! Used as header RTF general index */ /*! Used as header RTF general index */
virtual QCString trRTFGeneralIndex() virtual QCString trRTFGeneralIndex()
{ {
return decode("索引"); return "索引";
} }
/*! This is used for translation of the word that will possibly /*! This is used for translation of the word that will possibly
...@@ -1219,8 +1197,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1219,8 +1197,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trClass(bool /*first_capital*/, bool /*singular*/) virtual QCString trClass(bool /*first_capital*/, bool /*singular*/)
{ {
QCString result(decode("クラス")); return "クラス";
return result;
} }
/*! This is used for translation of the word that will possibly /*! This is used for translation of the word that will possibly
...@@ -1229,8 +1206,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1229,8 +1206,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trFile(bool /*first_capital*/, bool /*singular*/) virtual QCString trFile(bool /*first_capital*/, bool /*singular*/)
{ {
QCString result(decode("ファイル")); return "ファイル";
return result;
} }
/*! This is used for translation of the word that will possibly /*! This is used for translation of the word that will possibly
...@@ -1239,8 +1215,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1239,8 +1215,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trNamespace(bool /*first_capital*/, bool /*singular*/) virtual QCString trNamespace(bool /*first_capital*/, bool /*singular*/)
{ {
QCString result(decode("ネームスペース")); return "ネームスペース";
return result;
} }
/*! This is used for translation of the word that will possibly /*! This is used for translation of the word that will possibly
...@@ -1249,8 +1224,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1249,8 +1224,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trGroup(bool /*first_capital*/, bool /*singular*/) virtual QCString trGroup(bool /*first_capital*/, bool /*singular*/)
{ {
QCString result(decode("グループ")); return "グループ";
return result;
} }
/*! This is used for translation of the word that will possibly /*! This is used for translation of the word that will possibly
...@@ -1259,8 +1233,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1259,8 +1233,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trPage(bool /*first_capital*/, bool /*singular*/) virtual QCString trPage(bool /*first_capital*/, bool /*singular*/)
{ {
QCString result(decode("ページ")); return "ページ";
return result;
} }
/*! This is used for translation of the word that will possibly /*! This is used for translation of the word that will possibly
...@@ -1269,8 +1242,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1269,8 +1242,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trMember(bool /*first_capital*/, bool /*singular*/) virtual QCString trMember(bool /*first_capital*/, bool /*singular*/)
{ {
QCString result(decode("メンバ")); return "メンバ";
return result;
} }
/*! This is used for translation of the word that will possibly /*! This is used for translation of the word that will possibly
...@@ -1279,8 +1251,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1279,8 +1251,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trField(bool /*first_capital*/, bool /*singular*/) virtual QCString trField(bool /*first_capital*/, bool /*singular*/)
{ {
QCString result(decode("フィールド")); return "フィールド";
return result;
} }
/*! This is used for translation of the word that will possibly /*! This is used for translation of the word that will possibly
...@@ -1289,8 +1260,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1289,8 +1260,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trGlobal(bool /*first_capital*/, bool /*singular*/) virtual QCString trGlobal(bool /*first_capital*/, bool /*singular*/)
{ {
QCString result(decode("グローバル")); return "グローバル";
return result;
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1301,8 +1271,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1301,8 +1271,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
* for the author section in man pages. */ * for the author section in man pages. */
virtual QCString trAuthor(bool /*first_capital*/, bool /*singular*/) virtual QCString trAuthor(bool /*first_capital*/, bool /*singular*/)
{ {
QCString result(decode("作者")); return "作者";
return result;
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1313,7 +1282,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1313,7 +1282,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trReferences() virtual QCString trReferences()
{ {
return decode("参照先"); return "参照先";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1325,7 +1294,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1325,7 +1294,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trImplementedFromList(int numEntries) virtual QCString trImplementedFromList(int numEntries)
{ {
return trWriteList(numEntries)+decode("を実装しています。"); return trWriteList(numEntries)+"を実装しています。";
} }
/*! used in member documentation blocks to produce a list of /*! used in member documentation blocks to produce a list of
...@@ -1333,7 +1302,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1333,7 +1302,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trImplementedInList(int numEntries) virtual QCString trImplementedInList(int numEntries)
{ {
return trWriteList(numEntries)+decode("で実装されています。"); return trWriteList(numEntries)+"で実装されています。";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 1.2.16 // new since 1.2.16
...@@ -1344,7 +1313,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1344,7 +1313,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trRTFTableOfContents() virtual QCString trRTFTableOfContents()
{ {
return decode("目次"); return "目次";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1356,7 +1325,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1356,7 +1325,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trDeprecatedList() virtual QCString trDeprecatedList()
{ {
return decode("非推奨一覧"); return "非推奨一覧";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1368,12 +1337,12 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1368,12 +1337,12 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trEvents() virtual QCString trEvents()
{ {
return decode("イベント"); return "イベント";
} }
/*! Header used for the documentation section of a class' events. */ /*! Header used for the documentation section of a class' events. */
virtual QCString trEventDocumentation() virtual QCString trEventDocumentation()
{ {
return decode("イベント"); return "イベント";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1384,35 +1353,35 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1384,35 +1353,35 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trPackageTypes() virtual QCString trPackageTypes()
{ {
return decode("パッケージ内の型定義"); return "パッケージ内の型定義";
} }
/*! Used as a heading for a list of Java class functions with package /*! Used as a heading for a list of Java class functions with package
* scope. * scope.
*/ */
virtual QCString trPackageMembers() virtual QCString trPackageMembers()
{ {
return decode("関数"); 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. * package scope.
*/ */
virtual QCString trStaticPackageMembers() virtual QCString trStaticPackageMembers()
{ {
return decode("スタティック関数"); 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. * scope.
*/ */
virtual QCString trPackageAttribs() virtual QCString trPackageAttribs()
{ {
return decode("変数"); 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. * package scope.
*/ */
virtual QCString trStaticPackageAttribs() virtual QCString trStaticPackageAttribs()
{ {
return decode("スタティック変数"); return "スタティック変数";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1424,12 +1393,12 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1424,12 +1393,12 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trAll() virtual QCString trAll()
{ {
return decode("全て"); return "全て";
} }
/*! Put in front of the call graph for a function. */ /*! Put in front of the call graph for a function. */
virtual QCString trCallGraph() virtual QCString trCallGraph()
{ {
return decode("関数の呼び出しグラフ:"); return "関数の呼び出しグラフ:";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1442,14 +1411,14 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1442,14 +1411,14 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trSearchForIndex() virtual QCString trSearchForIndex()
{ {
return decode("検索"); return "検索";
} }
/*! This string is used as the title for the page listing the search /*! This string is used as the title for the page listing the search
* results. * results.
*/ */
virtual QCString trSearchResultsTitle() virtual QCString trSearchResultsTitle()
{ {
return decode("検索結果"); return "検索結果";
} }
/*! This string is put just before listing the search results. The /*! This string is put just before listing the search results. The
* text can be different depending on the number of documents found. * text can be different depending on the number of documents found.
...@@ -1463,16 +1432,16 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1463,16 +1432,16 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
{ {
if (numDocuments==0) if (numDocuments==0)
{ {
return decode("入力された条件にマッチするドキュメントがありませんでした."); return "入力された条件にマッチするドキュメントがありませんでした.";
} }
else if (numDocuments==1) else if (numDocuments==1)
{ {
return decode("入力された条件にマッチするドキュメントが <b>1</b> 件みつかりました."); return "入力された条件にマッチするドキュメントが <b>1</b> 件みつかりました.";
} }
else else
{ {
return decode("入力された条件にマッチするドキュメントが <b>$num</b> 件みつかりました. " 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
...@@ -1480,7 +1449,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1480,7 +1449,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trSearchMatches() virtual QCString trSearchMatches()
{ {
return decode("マッチした単語:"); return "マッチした単語:";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1491,7 +1460,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1491,7 +1460,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trSourceFile(QCString& filename) virtual QCString trSourceFile(QCString& filename)
{ {
return filename + decode(" ソースファイル"); return filename + " ソースファイル";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1502,40 +1471,40 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1502,40 +1471,40 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
* hierarchy. * hierarchy.
*/ */
virtual QCString trDirIndex() virtual QCString trDirIndex()
{ return decode("ディレクトリ索引"); } { return "ディレクトリ索引"; }
/*! This is used as the name of the chapter containing the documentation /*! This is used as the name of the chapter containing the documentation
* of the directories. * of the directories.
*/ */
virtual QCString trDirDocumentation() virtual QCString trDirDocumentation()
{ return decode("ディレクトリ構成"); } { return "ディレクトリ構成"; }
/*! This is used as the title of the directory index and also in the /*! This is used as the title of the directory index and also in the
* Quick links of an HTML page, to link to the directory hierarchy. * Quick links of an HTML page, to link to the directory hierarchy.
*/ */
virtual QCString trDirectories() virtual QCString trDirectories()
{ return decode("ディレクトリ"); } { 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 * and the fact that it is sorted alphabetically per level
*/ */
virtual QCString trDirDescription() virtual QCString trDirDescription()
{ return decode("このディレクトリ一覧はおおまかにはソートされていますが、" { return "このディレクトリ一覧はおおまかにはソートされていますが、"
"完全にアルファベット順でソートされてはいません。"); "完全にアルファベット順でソートされてはいません。";
} }
/*! This returns the title of a directory page. The name of the /*! This returns the title of a directory page. The name of the
* directory is passed via \a dirName. * directory is passed via \a dirName.
*/ */
virtual QCString trDirReference(const char *dirName) virtual QCString trDirReference(const char *dirName)
{ QCString result=dirName; result+=decode(" ディレクトリリファレンス"); return result; } { QCString result=dirName; result+=" ディレクトリリファレンス"; return result; }
/*! This returns the word directory with or without starting capital /*! This returns the word directory with or without starting capital
* (\a first_capital) and in sigular or plural form (\a singular). * (\a first_capital) and in sigular or plural form (\a singular).
*/ */
virtual QCString trDir(bool, bool) virtual QCString trDir(bool, bool)
{ {
return decode("ディレクトリ"); return "ディレクトリ";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1547,9 +1516,9 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1547,9 +1516,9 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trOverloadText() virtual QCString trOverloadText()
{ {
return decode("これはオーバーロードされたメンバ関数です。" return "これはオーバーロードされたメンバ関数です。"
"利便性のために用意されています。" "利便性のために用意されています。"
"元の関数との違いは引き数のみです。"); "元の関数との違いは引き数のみです。";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1560,14 +1529,14 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1560,14 +1529,14 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
virtual QCString trCallerGraph() virtual QCString trCallerGraph()
{ {
// return "Here is the caller graph for this function:"; // return "Here is the caller graph for this function:";
return decode("呼出しグラフ:"); 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 * of documentation blocks for enumeration values
*/ */
virtual QCString trEnumerationValueDocumentation() virtual QCString trEnumerationValueDocumentation()
{ return decode("列挙型"); } { return "列挙型"; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1576,30 +1545,30 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1576,30 +1545,30 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
/*! header that is put before the list of member subprograms (Fortran). */ /*! header that is put before the list of member subprograms (Fortran). */
virtual QCString trMemberFunctionDocumentationFortran() virtual QCString trMemberFunctionDocumentationFortran()
{ return decode("関数/サブルーチン"); } { 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() virtual QCString trCompoundListFortran()
{ return decode("データ型"); } { return "データ型"; }
/*! This is put above each page as a link to all members of compounds (Fortran). */ /*! This is put above each page as a link to all members of compounds (Fortran). */
virtual QCString trCompoundMembersFortran() virtual QCString trCompoundMembersFortran()
{ return decode("データフィールド"); } { return "データフィールド"; }
/*! This is an introduction to the annotated compound list (Fortran). */ /*! This is an introduction to the annotated compound list (Fortran). */
virtual QCString trCompoundListDescriptionFortran() virtual QCString trCompoundListDescriptionFortran()
{ return decode("これはデータ型の一覧です"); } { return "これはデータ型の一覧です"; }
/*! This is an introduction to the page with all data types (Fortran). */ /*! This is an introduction to the page with all data types (Fortran). */
virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
{ {
QCString result=decode("これは"); QCString result="これは";
result+=decode("フィールドの一覧です。それぞれ"); result+="フィールドの一覧です。それぞれ";
if (extractAll) if (extractAll)
{ {
result+=decode("が属しているデータ型"); result+="が属しているデータ型";
} }
result+=decode("の説明へリンクしています。"); result+="の説明へリンクしています。";
return result; return result;
} }
...@@ -1607,43 +1576,43 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1607,43 +1576,43 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
* annotated compound index (Fortran). * annotated compound index (Fortran).
*/ */
virtual QCString trCompoundIndexFortran() virtual QCString trCompoundIndexFortran()
{ return decode("データ型索引"); } { return "データ型索引"; }
/*! This is used in LaTeX as the title of the chapter containing /*! This is used in LaTeX as the title of the chapter containing
* the documentation of all data types (Fortran). * the documentation of all data types (Fortran).
*/ */
virtual QCString trTypeDocumentation() virtual QCString trTypeDocumentation()
{ return decode("データ型"); } { 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). * list of (global) subprograms (Fortran).
*/ */
virtual QCString trSubprograms() virtual QCString trSubprograms()
{ return decode("関数/サブルーチン"); } { 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) * of documentation blocks for subprograms (Fortran)
*/ */
virtual QCString trSubprogramDocumentation() virtual QCString trSubprogramDocumentation()
{ return decode("関数/サブルーチン"); } { 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) * the list of links to documented compounds (Fortran)
*/ */
virtual QCString trDataTypes() virtual QCString trDataTypes()
{ return decode("データ型"); } { return "データ型"; }
/*! used as the title of page containing all the index of all modules (Fortran). */ /*! used as the title of page containing all the index of all modules (Fortran). */
virtual QCString trModulesList() virtual QCString trModulesList()
{ return decode("モジュール一覧"); } { return "モジュール一覧"; }
/*! used as an introduction to the modules list (Fortran) */ /*! used as an introduction to the modules list (Fortran) */
virtual QCString trModulesListDescription(bool extractAll) virtual QCString trModulesListDescription(bool extractAll)
{ {
QCString result=decode("これは"); QCString result="これは";
if (!extractAll) result+=decode("生成された"); if (!extractAll) result+="生成された";
result+=decode("モジュール一覧です"); result+="モジュール一覧です";
return result; return result;
} }
...@@ -1655,16 +1624,16 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1655,16 +1624,16 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
QCString result=""; QCString result="";
switch(compType) switch(compType)
{ {
case ClassDef::Class: result+=decode("モジュール "); break; case ClassDef::Class: result+="モジュール "; break;
case ClassDef::Struct: result+=decode("TYPE "); break; case ClassDef::Struct: result+="TYPE "; break;
case ClassDef::Union: result+=decode("共用体 "); break; case ClassDef::Union: result+="共用体 "; break;
case ClassDef::Interface: result+=decode("インターフェース "); break; case ClassDef::Interface: result+="インターフェース "; break;
case ClassDef::Protocol: result+=decode("プロトコル "); break; case ClassDef::Protocol: result+="プロトコル "; break;
case ClassDef::Category: result+=decode("カテゴリ "); break; case ClassDef::Category: result+="カテゴリ "; break;
case ClassDef::Exception: result+=decode("例外 "); break; case ClassDef::Exception: result+="例外 "; break;
default: break; default: break;
} }
if (isTemplate) result += decode("テンプレート "); if (isTemplate) result += "テンプレート ";
result+=(QCString)clName; result+=(QCString)clName;
return result; return result;
} }
...@@ -1672,23 +1641,23 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1672,23 +1641,23 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
virtual QCString trModuleReference(const char *namespaceName) virtual QCString trModuleReference(const char *namespaceName)
{ {
QCString result=namespaceName; QCString result=namespaceName;
result+=decode("モジュール"); result+="モジュール";
return result; return result;
} }
/*! This is put above each page as a link to all members of modules. (Fortran) */ /*! This is put above each page as a link to all members of modules. (Fortran) */
virtual QCString trModulesMembers() virtual QCString trModulesMembers()
{ return decode("モジュールメンバ"); } { return "モジュールメンバ"; }
/*! This is an introduction to the page with all modules members (Fortran) */ /*! This is an introduction to the page with all modules members (Fortran) */
virtual QCString trModulesMemberDescription(bool extractAll) virtual QCString trModulesMemberDescription(bool extractAll)
{ {
QCString result=decode("これはモジュールメンバ一覧です。それぞれ "); QCString result="これはモジュールメンバ一覧です。それぞれ ";
if (extractAll) if (extractAll)
{ {
result+=decode("属しているモジュール"); result+="属しているモジュール";
} }
result+=decode("の説明へリンクしています。"); result+="の説明へリンクしています。";
return result; return result;
} }
...@@ -1696,7 +1665,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1696,7 +1665,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
* index of all modules (Fortran). * index of all modules (Fortran).
*/ */
virtual QCString trModulesIndex() virtual QCString trModulesIndex()
{ return decode("モジュール索引"); } { return "モジュール索引"; }
/*! This is used for translation of the word that will possibly /*! 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
...@@ -1704,7 +1673,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1704,7 +1673,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trModule(bool /*first_capital*/, bool /*singular*/) virtual QCString trModule(bool /*first_capital*/, bool /*singular*/)
{ {
return decode("モジュール"); return "モジュール";
} }
/*! This is put at the bottom of a module documentation page and is /*! 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. * followed by a list of files that were used to generate the page.
...@@ -1716,16 +1685,16 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1716,16 +1685,16 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
QCString result=""; QCString result="";
switch(compType) switch(compType)
{ {
case ClassDef::Class: result+=decode("モジュール"); break; case ClassDef::Class: result+="モジュール"; break;
case ClassDef::Struct: result+=decode("TYPE"); break; case ClassDef::Struct: result+="TYPE"; break;
case ClassDef::Union: result+=decode("共用体"); break; case ClassDef::Union: result+="共用体"; break;
case ClassDef::Interface: result+=decode("インターフェース"); break; case ClassDef::Interface: result+="インターフェース"; break;
case ClassDef::Protocol: result+=decode("プロトコル"); break; case ClassDef::Protocol: result+="プロトコル"; break;
case ClassDef::Category: result+=decode("カテゴリ"); break; case ClassDef::Category: result+="カテゴリ"; break;
case ClassDef::Exception: result+=decode("例外"); break; case ClassDef::Exception: result+="例外"; break;
default: break; default: break;
} }
result+=decode(decode("の説明は次のファイルから生成されました:")); result+="の説明は次のファイルから生成されました:";
return result; return result;
} }
/*! This is used for translation of the word that will possibly /*! This is used for translation of the word that will possibly
...@@ -1734,7 +1703,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1734,7 +1703,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trType(bool /*first_capital*/, bool /*singular*/) virtual QCString trType(bool /*first_capital*/, bool /*singular*/)
{ {
QCString result = decode("TYPE"); QCString result = "TYPE";
return result; return result;
} }
/*! This is used for translation of the word that will possibly /*! This is used for translation of the word that will possibly
...@@ -1743,14 +1712,14 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 ...@@ -1743,14 +1712,14 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trSubprogram(bool /*first_capital*/, bool /*singular*/) virtual QCString trSubprogram(bool /*first_capital*/, bool /*singular*/)
{ {
QCString result = decode("サブプログラム"); QCString result = "サブプログラム";
return result; return result;
} }
/*! C# Type Constraint list */ /*! C# Type Constraint list */
virtual QCString trTypeConstraints() virtual QCString trTypeConstraints()
{ {
return decode("型制約"); return "型制約";
} }
}; };
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
class TranslatorSlovene : public TranslatorAdapter_1_4_6 class TranslatorSlovene : public TranslatorAdapter_1_4_6
//public TranslatorAdapter_1_2_16
{ {
protected: protected:
friend class TranslatorAdapterBase; friend class TranslatorAdapterBase;
...@@ -41,11 +40,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6 ...@@ -41,11 +40,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
} }
QCString idLanguageCharset() QCString idLanguageCharset()
{ {
//#ifdef _WIN32 return "utf-8";
return "windows-1250";
//#else
// return "iso-8859-2";
//#endif
} }
QCString trRelatedFunctions() QCString trRelatedFunctions()
{ return "Povezane funkcije"; } { return "Povezane funkcije"; }
...@@ -54,11 +49,11 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6 ...@@ -54,11 +49,11 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
QCString trDetailedDescription() QCString trDetailedDescription()
{ return "Podroben opis"; } { return "Podroben opis"; }
QCString trMemberTypedefDocumentation() QCString trMemberTypedefDocumentation()
{ return "Opis uporabni¹ko definiranih tipov"; } { return "Opis uporabniško definiranih tipov"; }
QCString trMemberEnumerationDocumentation() QCString trMemberEnumerationDocumentation()
{ return "Opis komponent na¹tevnih tipov"; } { return "Opis komponent naštevnih tipov"; }
/* QCString trEnumerationValueDocumentation() */ /* QCString trEnumerationValueDocumentation() */
/* { return "Opis vrednosti na¹tevnih tipov (enum) "; } */ /* { return "Opis vrednosti naštevnih tipov (enum) "; } */
QCString trMemberFunctionDocumentation() QCString trMemberFunctionDocumentation()
{ return "Opis metod"; } { return "Opis metod"; }
QCString trMemberDataDocumentation() QCString trMemberDataDocumentation()
...@@ -72,7 +67,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6 ...@@ -72,7 +67,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
QCString trThisIsTheListOfAllMembers() QCString trThisIsTheListOfAllMembers()
{ return "Seznam metod razreda "; } { return "Seznam metod razreda "; }
QCString trIncludingInheritedMembers() QCString trIncludingInheritedMembers()
{ return ", vkljuèujoè dedovane metode in atribute."; } { return ", vključujoč dedovane metode in atribute."; }
QCString trGeneratedAutomatically(const char *s) QCString trGeneratedAutomatically(const char *s)
{ QCString result="zgenerirano z Doxygen-om"; { QCString result="zgenerirano z Doxygen-om";
if (s) result+=(QCString)" za "+s; if (s) result+=(QCString)" za "+s;
...@@ -80,9 +75,9 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6 ...@@ -80,9 +75,9 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
return result; return result;
} }
QCString trEnumName() QCString trEnumName()
{ return "na¹tevno ime"; } { return "naštevno ime"; }
QCString trEnumValue() QCString trEnumValue()
{ return "na¹tevna vrednost"; } { return "naštevna vrednost"; }
QCString trDefinedIn() QCString trDefinedIn()
{ return "definirano v"; } { return "definirano v"; }
QCString trModules() QCString trModules()
...@@ -104,9 +99,9 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6 ...@@ -104,9 +99,9 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
QCString trExamples() QCString trExamples()
{ return "Primeri"; } { return "Primeri"; }
QCString trSearch() QCString trSearch()
{ return "I¹èi"; } { return "Išči"; }
QCString trClassHierarchyDescription() QCString trClassHierarchyDescription()
{ return "Hierarhièno drevo je (okvirno) sortirano po abecedi. "; { return "Hierarhično drevo je (okvirno) sortirano po abecedi. ";
} }
QCString trFileListDescription(bool extractAll) QCString trFileListDescription(bool extractAll)
{ {
...@@ -116,7 +111,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6 ...@@ -116,7 +111,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
return result; return result;
} }
QCString trCompoundListDescription() QCString trCompoundListDescription()
{ return "Seznam razredov, mno¾ic in struktur " { return "Seznam razredov, množic in struktur "
"s kratkim opisom :"; "s kratkim opisom :";
} }
QCString trCompoundMembersDescription(bool extractAll) QCString trCompoundMembersDescription(bool extractAll)
...@@ -153,7 +148,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6 ...@@ -153,7 +148,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
QCString trModuleIndex() QCString trModuleIndex()
{ return "seznam modulov"; } { return "seznam modulov"; }
QCString trHierarchicalIndex() QCString trHierarchicalIndex()
{ return "Hierarhièni indeks"; } { return "Hierarhični indeks"; }
QCString trCompoundIndex() QCString trCompoundIndex()
{ return "abecedni seznam"; } { return "abecedni seznam"; }
QCString trFileIndex() QCString trFileIndex()
...@@ -169,30 +164,30 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6 ...@@ -169,30 +164,30 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
QCString trPageDocumentation() QCString trPageDocumentation()
{ return "Opis povezanih strani"; } { return "Opis povezanih strani"; }
QCString trReferenceManual() QCString trReferenceManual()
{ return "Priroènik"; } { return "Priročnik"; }
QCString trDefines() QCString trDefines()
{ return "Makro deklaracije"; } { return "Makro deklaracije"; }
QCString trFuncProtos() QCString trFuncProtos()
{ return "Prototipi funkcij"; } { return "Prototipi funkcij"; }
QCString trTypedefs() QCString trTypedefs()
{ return "Uporabni¹ko definirani tipi"; } { return "Uporabniško definirani tipi"; }
QCString trEnumerations() QCString trEnumerations()
{ return "Na¹tevni tipi"; } { return "Naštevni tipi"; }
QCString trFunctions() QCString trFunctions()
{ return "Funkcije"; } { return "Funkcije"; }
QCString trVariables() QCString trVariables()
{ return "Spremenljivke"; } { return "Spremenljivke"; }
QCString trEnumerationValues() QCString trEnumerationValues()
{ return "Vrednosti na¹tevnih tipov"; } { return "Vrednosti naštevnih tipov"; }
QCString trDefineDocumentation() QCString trDefineDocumentation()
{ return "Opis makro definicije"; } { return "Opis makro definicije"; }
QCString trFunctionPrototypeDocumentation() QCString trFunctionPrototypeDocumentation()
{ return "Opis prototipa funkcije"; } { return "Opis prototipa funkcije"; }
QCString trTypedefDocumentation() QCString trTypedefDocumentation()
{ return "Opis uporabni¹ko definiranega tipa"; } { return "Opis uporabniško definiranega tipa"; }
QCString trEnumerationTypeDocumentation() QCString trEnumerationTypeDocumentation()
{ return "Opis na¹tevnega (enum) tipa"; } { return "Opis naštevnega (enum) tipa"; }
QCString trFunctionDocumentation() QCString trFunctionDocumentation()
{ return "Opis funkcije"; } { return "Opis funkcije"; }
QCString trVariableDocumentation() QCString trVariableDocumentation()
...@@ -237,7 +232,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6 ...@@ -237,7 +232,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
QCString trExceptions() QCString trExceptions()
{ return "Prekinitve"; } { return "Prekinitve"; }
QCString trGeneratedBy() QCString trGeneratedBy()
{ return "Izdelano s pomoèjo"; } { return "Izdelano s pomočjo"; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 0.49-990307 // new since 0.49-990307
...@@ -276,7 +271,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6 ...@@ -276,7 +271,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
{ {
case ClassDef::Class: result+=" Razred "; break; case ClassDef::Class: result+=" Razred "; break;
case ClassDef::Struct: result+=" Struktura "; break; case ClassDef::Struct: result+=" Struktura "; break;
case ClassDef::Union: result+=" Mno¾ica "; break; case ClassDef::Union: result+=" Množica "; break;
case ClassDef::Interface: result+=" IDL vmesnik "; break; case ClassDef::Interface: result+=" IDL vmesnik "; break;
case ClassDef::Protocol: result+=" protocol "; break; // translate me! case ClassDef::Protocol: result+=" protocol "; break; // translate me!
case ClassDef::Category: result+=" category "; break; // translate me! case ClassDef::Category: result+=" category "; break; // translate me!
...@@ -311,19 +306,19 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6 ...@@ -311,19 +306,19 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
QCString trSignals() QCString trSignals()
{ return "Programske prekinitve"; } { return "Programske prekinitve"; }
QCString trStaticPublicMembers() QCString trStaticPublicMembers()
{ return "Statiène javne metode in atributi"; } { return "Statične javne metode in atributi"; }
QCString trProtectedMembers() QCString trProtectedMembers()
{ return "Za¹èitene metode in atributi"; } { return "Zaščitene metode in atributi"; }
QCString trProtectedSlots() QCString trProtectedSlots()
{ return "Za¹èiteni sloti"; } { return "Zaščiteni sloti"; }
QCString trStaticProtectedMembers() QCString trStaticProtectedMembers()
{ return "Statiène za¹èitene metode in atributi"; } { return "Statične zaščitene metode in atributi"; }
QCString trPrivateMembers() QCString trPrivateMembers()
{ return "Skrite metode in atributi"; } { return "Skrite metode in atributi"; }
QCString trPrivateSlots() QCString trPrivateSlots()
{ return "Skriti slotovi"; } { return "Skriti slotovi"; }
QCString trStaticPrivateMembers() QCString trStaticPrivateMembers()
{ return "Statiène skrite metode in atributi"; } { return "Statične skrite metode in atributi"; }
// end of member sections // end of member sections
QCString trWriteList(int numEntries) QCString trWriteList(int numEntries)
...@@ -504,10 +499,10 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6 ...@@ -504,10 +499,10 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
{ {
return (QCString)"Graf prikazuje seznam datotek, " return (QCString)"Graf prikazuje seznam datotek, "
"ki jih datoteka \""+fName+"\" " "ki jih datoteka \""+fName+"\" "
"direktno ali indirektno vkljuèuje. Pravokotniki ponazarjajo datoteke, pu¹èice " "direktno ali indirektno vključuje. Pravokotniki ponazarjajo datoteke, puščice "
"predstavljajo relacije med njimi. " "predstavljajo relacije med njimi. "
"Èrn pravokotnik ponazarja datoteko "+fName+". Pu¹èice A->B ponazarjajo " "črn pravokotnik ponazarja datoteko "+fName+". Puščice A->B ponazarjajo "
"usmerjeno relacijo \"A vkljuèuje B\"." "usmerjeno relacijo \"A vključuje B\"."
; ;
} }
/*! header that is put before the list of constructor/destructors. */ /*! header that is put before the list of constructor/destructors. */
...@@ -523,7 +518,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6 ...@@ -523,7 +518,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
/*! Used in the file sources to point to the corresponding documentation. */ /*! Used in the file sources to point to the corresponding documentation. */
QCString trGotoDocumentation() QCString trGotoDocumentation()
{ {
return "dokumenacija tekoèe datoteke."; return "dokumenacija tekoče datoteke.";
} }
/*! Text for the \pre command */ /*! Text for the \pre command */
QCString trPrecondition() QCString trPrecondition()
...@@ -543,7 +538,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6 ...@@ -543,7 +538,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
/*! Text shown before a multi-line variable/enum initialization */ /*! Text shown before a multi-line variable/enum initialization */
QCString trInitialValue() QCString trInitialValue()
{ {
return "Zaèetna vrednost / definicija :"; return "Začetna vrednost / definicija :";
} }
/*! Text used the source code in the file index */ /*! Text used the source code in the file index */
QCString trCode() QCString trCode()
...@@ -552,11 +547,11 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6 ...@@ -552,11 +547,11 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
} }
QCString trGraphicalHierarchy() QCString trGraphicalHierarchy()
{ {
return "Hierarhija razredov v grafièni obliki"; return "Hierarhija razredov v grafični obliki";
} }
QCString trGotoGraphicalHierarchy() QCString trGotoGraphicalHierarchy()
{ {
return "Dedovalna hierarhija v grafièni obliki"; return "Dedovalna hierarhija v grafični obliki";
} }
QCString trGotoTextualHierarchy() QCString trGotoTextualHierarchy()
{ {
...@@ -585,19 +580,19 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6 ...@@ -585,19 +580,19 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
} }
QCString trStaticPublicAttribs() QCString trStaticPublicAttribs()
{ {
return "Statièni javni atributi"; return "Statični javni atributi";
} }
QCString trProtectedTypes() QCString trProtectedTypes()
{ {
return "Za¹èiteni tipi"; return "Zaščiteni tipi";
} }
QCString trProtectedAttribs() QCString trProtectedAttribs()
{ {
return "Za¹èiteni atributi"; return "Zaščiteni atributi";
} }
QCString trStaticProtectedAttribs() QCString trStaticProtectedAttribs()
{ {
return "Statièni za¹èiteni tipi"; return "Statični zaščiteni tipi";
} }
QCString trPrivateTypes() QCString trPrivateTypes()
{ {
...@@ -609,7 +604,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6 ...@@ -609,7 +604,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
} }
QCString trStaticPrivateAttribs() QCString trStaticPrivateAttribs()
{ {
return "Statièni skriti atributi"; return "Statični skriti atributi";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 1.1.3 // new since 1.1.3
...@@ -623,7 +618,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6 ...@@ -623,7 +618,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
/*! Used as the header of the todo list */ /*! Used as the header of the todo list */
virtual QCString trTodoList() virtual QCString trTodoList()
{ {
return "Seznam nedokonèanih opravil"; return "Seznam nedokončanih opravil";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -645,12 +640,12 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6 ...@@ -645,12 +640,12 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
virtual QCString trInclByDepGraph() virtual QCString trInclByDepGraph()
{ {
return "Graf prikazuje datoteke, ki posredno ali neposredno " return "Graf prikazuje datoteke, ki posredno ali neposredno "
"vkljuèujejo tekoèo datoteko. Pravokotniki simbolizirajo datoteke, " "vključujejo tekočo datoteko. Pravokotniki simbolizirajo datoteke, "
"pu¹èice pa relacije med datotekami. Tekoèa datoteka je prikazana " "puščice pa relacije med datotekami. Tekoča datoteka je prikazana "
"kot pravokotnik s èrno podlago, ostale pa kot pravokotnik brez podlage. " "kot pravokotnik s črno podlago, ostale pa kot pravokotnik brez podlage. "
"Smer pu¹èice A->B definira relacijo \"A vkljuèuje B\". " "Smer puščice A->B definira relacijo \"A vključuje B\". "
"Vse datoteke, ki torej mejijo na tekoèo (t.j. obstaja povezava med èrnim in " "Vse datoteke, ki torej mejijo na tekočo (t.j. obstaja povezava med črnim in "
"praznim pravokotnikom), jo direktno vkljuèujejo, medtem, ko jo ostale vkljuèujejo " "praznim pravokotnikom), jo direktno vključujejo, medtem, ko jo ostale vključujejo "
"le posredno. " "le posredno. "
; ;
} }
...@@ -674,7 +669,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6 ...@@ -674,7 +669,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
virtual QCString trLegendDocs() virtual QCString trLegendDocs()
{ {
return return
"Tekoèa stran pojasnjuje naèin interpretacije grafov, ki jih izri¹e " "Tekoča stran pojasnjuje način interpretacije grafov, ki jih izriše "
"doxygen.<p>\n" "doxygen.<p>\n"
"Poglejmo si naslednji primer:\n" "Poglejmo si naslednji primer:\n"
"\\code\n" "\\code\n"
...@@ -684,13 +679,13 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6 ...@@ -684,13 +679,13 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
"class Truncated : public Invisible { };\n\n" "class Truncated : public Invisible { };\n\n"
"/* razred, ki ni opisan z doxygen komentarji */\n" "/* razred, ki ni opisan z doxygen komentarji */\n"
"class Undocumented { };\n\n" "class Undocumented { };\n\n"
"/*! Razred, ki ga dedujemo s pomoèjo javnega dedovanja */\n" "/*! Razred, ki ga dedujemo s pomočjo javnega dedovanja */\n"
"class PublicBase : public Truncated { };\n\n" "class PublicBase : public Truncated { };\n\n"
"/*! A template class */\n" "/*! A template class */\n"
"template<class T> class Templ { };\n\n" "template<class T> class Templ { };\n\n"
"/*! Razred, ki ga dedujemo s pomoèjo za¹èitenega dedovanja */\n" "/*! Razred, ki ga dedujemo s pomočjo zaščitenega dedovanja */\n"
"class ProtectedBase { };\n\n" "class ProtectedBase { };\n\n"
"/*! Razred, ki ga dedujemo s pomoèjo skritega dedovanja */\n" "/*! Razred, ki ga dedujemo s pomočjo skritega dedovanja */\n"
"class PrivateBase { };\n\n" "class PrivateBase { };\n\n"
"/*! Razred, ki ga uporablja dedovani razred */\n" "/*! Razred, ki ga uporablja dedovani razred */\n"
"class Used { };\n\n" "class Used { };\n\n"
......
...@@ -26,17 +26,6 @@ ...@@ -26,17 +26,6 @@
class TranslatorSerbian : public TranslatorAdapter_1_6_0 class TranslatorSerbian : public TranslatorAdapter_1_6_0
{ {
private:
QCString decode(const QCString& sInput)
{
//#ifdef _WIN32
// return ISO88592ToWin1250(sInput);
//#else
return sInput;
//#endif
}
public: public:
// --- Language control methods ------------------- // --- Language control methods -------------------
...@@ -73,11 +62,7 @@ private: ...@@ -73,11 +62,7 @@ private:
/*! return the language charset. This will be used for the HTML output */ /*! return the language charset. This will be used for the HTML output */
virtual QCString idLanguageCharset() virtual QCString idLanguageCharset()
{ {
//#ifdef _WIN32 return "utf-8";
// { return "windows-1250"; }
//#else
{ return "UTF-8"; }
//#endif
} }
// --- Language translation methods ------------------- // --- Language translation methods -------------------
...@@ -86,61 +71,61 @@ private: ...@@ -86,61 +71,61 @@ private:
virtual QCString trRelatedFunctions() 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 //! što uopšte ne izgleda dobro jer ta kartica sadrži prijatelje i globalne funkcije
{ return decode( "Relevantne funkcije" ); } { return "Relevantne funkcije"; }
/*! subscript for the related functions. */ /*! subscript for the related functions. */
virtual QCString trRelatedSubscript() virtual QCString trRelatedSubscript()
{ return decode( "(To nisu funkcije članice.)" ); } { return "(To nisu funkcije članice.)"; }
/*! 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() virtual QCString trDetailedDescription()
{ return decode( "Opširniji opis" ); } { return "Opširniji opis"; }
/*! header that is put before the list of typedefs. */ /*! header that is put before the list of typedefs. */
virtual QCString trMemberTypedefDocumentation() virtual QCString trMemberTypedefDocumentation()
{ return decode( "Dokumentacija unutrašnjih definicija tipa" ); } { return "Dokumentacija unutrašnjih definicija tipa"; }
/*! header that is put before the list of enumerations. */ /*! header that is put before the list of enumerations. */
virtual QCString trMemberEnumerationDocumentation() virtual QCString trMemberEnumerationDocumentation()
//! Ovo je u skladu sa "unutrašnja klasa" što se može videti u knjizi. //! Ovo je u skladu sa "unutrašnja klasa" što se može videti u knjizi.
{ return decode( "Dokumentacija unutrašnjih nabrajanja" ); } { return "Dokumentacija unutrašnjih nabrajanja"; }
/*! header that is put before the list of member functions. */ /*! header that is put before the list of member functions. */
virtual QCString trMemberFunctionDocumentation() virtual QCString trMemberFunctionDocumentation()
{ return decode( "Dokumentacija funkcija članica" ); } { return "Dokumentacija funkcija članica"; }
/*! header that is put before the list of member attributes. */ /*! header that is put before the list of member attributes. */
virtual QCString trMemberDataDocumentation() virtual QCString trMemberDataDocumentation()
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return decode( "Dokumentacija polja" ); return "Dokumentacija polja";
} }
else else
{ {
return decode( "Dokumentacija atributa" ); return "Dokumentacija atributa";
} }
} }
/*! this is the text of a link put after brief descriptions. */ /*! this is the text of a link put after brief descriptions. */
virtual QCString trMore() virtual QCString trMore()
{ return decode( "Još..." ); } { return "Još..."; }
/*! put in the class documentation */ /*! put in the class documentation */
virtual QCString trListOfAllMembers() virtual QCString trListOfAllMembers()
{ return decode( "Spisak svih članova" ); } { return "Spisak svih članova"; }
/*! used as the title of the "list of all members" page of a class */ /*! used as the title of the "list of all members" page of a class */
virtual QCString trMemberList() virtual QCString trMemberList()
{ return decode( "Spisak članova" ); } { return "Spisak članova"; }
/*! this is the first part of a sentence that is followed by a class name */ /*! this is the first part of a sentence that is followed by a class name */
virtual QCString trThisIsTheListOfAllMembers() virtual QCString trThisIsTheListOfAllMembers()
{ return decode( "Ovo je spisak svih članova " ); } { return "Ovo je spisak svih članova "; }
/*! this is the remainder of the sentence after the class name */ /*! this is the remainder of the sentence after the class name */
virtual QCString trIncludingInheritedMembers() virtual QCString trIncludingInheritedMembers()
{ return decode( ", uključujući nasleđene članove." ); } { return ", uključujući nasleđene članove."; }
/*! this is put at the author sections at the bottom of man pages. /*! this is put at the author sections at the bottom of man pages.
* parameter s is name of the project name. * parameter s is name of the project name.
...@@ -149,20 +134,20 @@ private: ...@@ -149,20 +134,20 @@ private:
{ QCString result="Napravljeno automatski korišćenjem alata Doxygen"; { QCString result="Napravljeno automatski korišćenjem alata Doxygen";
if( s ) result+=(QCString)" za projekat " + s; if( s ) result+=(QCString)" za projekat " + s;
result+=" od izvornog koda."; result+=" od izvornog koda.";
return decode( result ); return result;
} }
/*! put after an enum name in the list of all members */ /*! put after an enum name in the list of all members */
virtual QCString trEnumName() virtual QCString trEnumName()
{ return decode( "ime nabrajanja " ); } { return "ime nabrajanja "; }
/*! put after an enum value in the list of all members */ /*! put after an enum value in the list of all members */
virtual QCString trEnumValue() virtual QCString trEnumValue()
{ return decode( "vrednost nabrojane konstante" ); } { return "vrednost nabrojane konstante"; }
/*! put after an undocumented member in the list of all members */ /*! put after an undocumented member in the list of all members */
virtual QCString trDefinedIn() virtual QCString trDefinedIn()
{ return decode( "definicija u" ); } { return "definicija u"; }
// quick reference sections // quick reference sections
...@@ -170,39 +155,39 @@ private: ...@@ -170,39 +155,39 @@ private:
* compounds or files (see the \\group command). * compounds or files (see the \\group command).
*/ */
virtual QCString trModules() virtual QCString trModules()
{ return decode( "Moduli" ); } { return "Moduli"; }
/*! This is put above each page as a link to the class hierarchy */ /*! This is put above each page as a link to the class hierarchy */
virtual QCString trClassHierarchy() virtual QCString trClassHierarchy()
{ return decode( "Hijerarhija klasa" ); } { return "Hijerarhija klasa"; }
/*! 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() virtual QCString trCompoundList()
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return decode( "Spisak struktura" ); return "Spisak struktura";
} }
else else
{ {
return decode( "Spisak klasa" ); return "Spisak klasa";
} }
} }
/*! This is put above each page as a link to the list of documented files */ /*! This is put above each page as a link to the list of documented files */
virtual QCString trFileList() virtual QCString trFileList()
{ return decode( "Spisak datoteka" ); } { return "Spisak datoteka"; }
/*! 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() virtual QCString trCompoundMembers()
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return decode( "Sva polja struktura" ); return "Sva polja struktura";
} }
else else
{ {
return decode( "Svi članovi klasa" ); return "Svi članovi klasa";
} }
} }
...@@ -211,31 +196,29 @@ private: ...@@ -211,31 +196,29 @@ private:
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return decode( "Članovi datoteke" ); return "Članovi datoteke";
} }
else else
{ {
return decode( "Članovi datoteke" ); return "Članovi datoteke";
} }
} }
/*! This is put above each page as a link to all related pages. */ /*! This is put above each page as a link to all related pages. */
virtual QCString trRelatedPages() virtual QCString trRelatedPages()
{ return decode( "Stranice koje imaju veze sa ovom stranicom" ); } { return "Stranice koje imaju veze sa ovom stranicom"; }
/*! 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() virtual QCString trExamples()
{ return decode( "Primeri" ); } { return "Primeri"; }
/*! 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() virtual QCString trSearch()
{ return decode( "Traži" ); } { return "Traži"; }
/*! This is an introduction to the class hierarchy. */ /*! This is an introduction to the class hierarchy. */
virtual QCString trClassHierarchyDescription() virtual QCString trClassHierarchyDescription()
{ return decode( "Hijerahija klasa uređena približno " { return "Hijerahija klasa uređena približno po abecedi:"; }
"po abecedi:" );
}
/*! This is an introduction to the list with all files. */ /*! This is an introduction to the list with all files. */
virtual QCString trFileListDescription(bool extractAll) virtual QCString trFileListDescription(bool extractAll)
...@@ -243,7 +226,7 @@ private: ...@@ -243,7 +226,7 @@ private:
QCString result="Spisak svih "; QCString result="Spisak svih ";
if (!extractAll) result+="dokumentovanih "; if (!extractAll) result+="dokumentovanih ";
result+="datoteka, sa kratkim opisima:"; result+="datoteka, sa kratkim opisima:";
return decode( result ); return result;
} }
/*! This is an introduction to the annotated compound list. */ /*! This is an introduction to the annotated compound list. */
...@@ -252,12 +235,11 @@ private: ...@@ -252,12 +235,11 @@ private:
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return decode( "Spisak struktura sa kratkim opisima:" ); return "Spisak struktura sa kratkim opisima:";
} }
else else
{ {
return decode( "Spisak klasa, struktura, " return "Spisak klasa, struktura, unija i interfejsa sa kratkim opisima:";
"unija i interfejsa sa kratkim opisima:" );
} }
} }
...@@ -300,7 +282,7 @@ private: ...@@ -300,7 +282,7 @@ private:
result+="klasama kojima pripadaju:"; result+="klasama kojima pripadaju:";
} }
} }
return decode( result ); return result;
} }
/*! This is an introduction to the page with all file members. */ /*! This is an introduction to the page with all file members. */
...@@ -322,38 +304,38 @@ private: ...@@ -322,38 +304,38 @@ private:
result+="datotekama u kojima se nalaze:"; result+="datotekama u kojima se nalaze:";
else else
result+="dokumentaciji:"; result+="dokumentaciji:";
return decode( result ); return result;
} }
/*! This is an introduction to the page with the list of all examples */ /*! This is an introduction to the page with the list of all examples */
virtual QCString trExamplesDescription() virtual QCString trExamplesDescription()
{ return decode( "Spisak svih primera:" ); } { return "Spisak svih primera:"; }
/*! 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() virtual QCString trRelatedPagesDescription()
{ return decode( "Spisak stranica koje imaju veze sa ovom stranicom:" ); } { return "Spisak stranica koje imaju veze sa ovom stranicom:"; }
/*! 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() virtual QCString trModulesDescription()
{ return decode( "Spisak svih modula:" ); } { 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. */ /*! This is used in HTML as the title of index.html. */
virtual QCString trDocumentation() virtual QCString trDocumentation()
{ return decode("Dokumentacija" ); } { 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. * index of all groups.
*/ */
virtual QCString trModuleIndex() virtual QCString trModuleIndex()
{ return decode( "Indeks modula" ); } { 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. * class hierarchy.
*/ */
virtual QCString trHierarchicalIndex() virtual QCString trHierarchicalIndex()
{ return decode( "Hijerarhijski sadržaj" ); } { 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. * annotated compound index.
...@@ -362,11 +344,11 @@ private: ...@@ -362,11 +344,11 @@ private:
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return decode( "Spisak struktura/unija" ); return "Spisak struktura/unija";
} }
else else
{ {
return decode( "Spisak klasa" ); return "Spisak klasa";
} }
} }
...@@ -374,13 +356,13 @@ private: ...@@ -374,13 +356,13 @@ private:
* list of all files. * list of all files.
*/ */
virtual QCString trFileIndex() virtual QCString trFileIndex()
{ return decode( "Indeks datoteka" ); } { return "Indeks datoteka"; }
/*! This is used in LaTeX as the title of the chapter containing /*! This is used in LaTeX as the title of the chapter containing
* the documentation of all groups. * the documentation of all groups.
*/ */
virtual QCString trModuleDocumentation() virtual QCString trModuleDocumentation()
{ return decode( "Dokumentacija modula" ); } { return "Dokumentacija modula"; }
/*! This is used in LaTeX as the title of the chapter containing /*! This is used in LaTeX as the title of the chapter containing
* the documentation of all classes, structs and unions. * the documentation of all classes, structs and unions.
...@@ -389,11 +371,11 @@ private: ...@@ -389,11 +371,11 @@ private:
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return decode( "Dokumentacija stuktura/unija" ); return "Dokumentacija stuktura/unija";
} }
else else
{ {
return decode( "Dokumentacija klasa" ); return "Dokumentacija klasa";
} }
} }
...@@ -401,101 +383,101 @@ private: ...@@ -401,101 +383,101 @@ private:
* the documentation of all files. * the documentation of all files.
*/ */
virtual QCString trFileDocumentation() virtual QCString trFileDocumentation()
{ return decode( "Dokumentacija datoteke" ); } { return "Dokumentacija datoteke"; }
/*! This is used in LaTeX as the title of the chapter containing /*! This is used in LaTeX as the title of the chapter containing
* the documentation of all examples. * the documentation of all examples.
*/ */
virtual QCString trExampleDocumentation() virtual QCString trExampleDocumentation()
{ return decode( "Dokumentacija primera" ); } { return "Dokumentacija primera"; }
/*! This is used in LaTeX as the title of the chapter containing /*! This is used in LaTeX as the title of the chapter containing
* the documentation of all related pages. * the documentation of all related pages.
*/ */
virtual QCString trPageDocumentation() virtual QCString trPageDocumentation()
{ return decode( "Dokumentacija stranice" ); } { return "Dokumentacija stranice"; }
/*! This is used in LaTeX as the title of the document */ /*! This is used in LaTeX as the title of the document */
virtual QCString trReferenceManual() virtual QCString trReferenceManual()
{ return decode( "Priručnik" ); } { 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 * list of defines
*/ */
virtual QCString trDefines() virtual QCString trDefines()
{ return decode( "Makro zamene" ); } { return "Makro zamene"; }
/*! 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 function prototypes * list of function prototypes
*/ */
virtual QCString trFuncProtos() virtual QCString trFuncProtos()
{ return decode( "Deklaracije funkcija" ); } { 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 * list of typedefs
*/ */
virtual QCString trTypedefs() virtual QCString trTypedefs()
{ return decode( "Definicije tipa" ); } { 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 * list of enumerations
*/ */
virtual QCString trEnumerations() virtual QCString trEnumerations()
{ return decode( "Nabrajanja" ); } { 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 * list of (global) functions
*/ */
virtual QCString trFunctions() virtual QCString trFunctions()
{ return decode( "Funkcije" ); } { 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 * list of (global) variables
*/ */
virtual QCString trVariables() virtual QCString trVariables()
{ return decode( "Promenljive" ); } { 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 * list of (global) variables
*/ */
virtual QCString trEnumerationValues() virtual QCString trEnumerationValues()
{ return decode( "Vrednosti nabrojanih konstanti" ); } { return "Vrednosti nabrojanih konstanti"; }
/*! This is used in the documentation of a file before the list of /*! This is used in the documentation of a file before the list of
* documentation blocks for defines * documentation blocks for defines
*/ */
virtual QCString trDefineDocumentation() virtual QCString trDefineDocumentation()
{ return decode( "Dokumentacija makro zamene" ); } { return "Dokumentacija makro zamene"; }
/*! 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 function prototypes * of documentation blocks for function prototypes
*/ */
virtual QCString trFunctionPrototypeDocumentation() virtual QCString trFunctionPrototypeDocumentation()
{ return decode( "Dokumentacija deklaracije funkcije" ); } { 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 * of documentation blocks for typedefs
*/ */
virtual QCString trTypedefDocumentation() virtual QCString trTypedefDocumentation()
{ return decode( "Dokumentacija definicije tipa" ); } { 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 * of documentation blocks for enumeration types
*/ */
virtual QCString trEnumerationTypeDocumentation() virtual QCString trEnumerationTypeDocumentation()
{ return decode( "Dokumentacija nabrajanja" ); } { 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 * of documentation blocks for functions
*/ */
virtual QCString trFunctionDocumentation() virtual QCString trFunctionDocumentation()
{ return decode( "Dokumentacija funkcije" ); } { 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 * of documentation blocks for variables
*/ */
virtual QCString trVariableDocumentation() virtual QCString trVariableDocumentation()
{ return decode( "Dokumentacija promenljive" ); } { 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 * the list of links to documented compounds
...@@ -504,11 +486,11 @@ private: ...@@ -504,11 +486,11 @@ private:
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return decode( "Strukture i unije" ); return "Strukture i unije";
} }
else else
{ {
return decode( "Klase, strukture i unije" ); return "Klase, strukture i unije";
} }
} }
...@@ -520,56 +502,56 @@ private: ...@@ -520,56 +502,56 @@ private:
QCString result=(QCString)"[" + date + "] Napravljeno automatski "; QCString result=(QCString)"[" + date + "] Napravljeno automatski ";
if ( projName ) result+=(QCString)" za projekat " + projName; if ( projName ) result+=(QCString)" za projekat " + projName;
result+=(QCString)" upotrebom "; result+=(QCString)" upotrebom ";
return decode( result ); return result;
} }
/*! This is part of the sentence used in the standard footer of each page. /*! This is part of the sentence used in the standard footer of each page.
*/ */
virtual QCString trWrittenBy() virtual QCString trWrittenBy()
{ {
return decode( "napisao" ); return "napisao";
} }
/*! this text is put before a class diagram */ /*! this text is put before a class diagram */
virtual QCString trClassDiagram(const char *clName) virtual QCString trClassDiagram(const char *clName)
{ {
return decode( QCString("Dijagram nasleđivanja za klasu ") + clName + ":" ); return QCString("Dijagram nasleđivanja za klasu ") + clName + ":";
} }
/*! this text is generated when the \\internal command is used. */ /*! this text is generated when the \\internal command is used. */
virtual QCString trForInternalUseOnly() virtual QCString trForInternalUseOnly()
{ return decode( "Samo za unutrašnju upotrebu." ); } { return "Samo za unutrašnju upotrebu."; }
/*! this text is generated when the \\warning command is used. */ /*! this text is generated when the \\warning command is used. */
virtual QCString trWarning() virtual QCString trWarning()
{ return decode( "Upozorenje" ); } { return "Upozorenje"; }
/*! this text is generated when the \\version command is used. */ /*! this text is generated when the \\version command is used. */
virtual QCString trVersion() virtual QCString trVersion()
{ return decode( "Verzija" ); } { return "Verzija"; }
/*! this text is generated when the \\date command is used. */ /*! this text is generated when the \\date command is used. */
virtual QCString trDate() virtual QCString trDate()
{ return decode( "Datum" ); } { return "Datum"; }
/*! this text is generated when the \\return command is used. */ /*! this text is generated when the \\return command is used. */
virtual QCString trReturns() virtual QCString trReturns()
{ return decode( "Vrednost funkcije" ); } { return "Vrednost funkcije"; }
/*! this text is generated when the \\sa command is used. */ /*! this text is generated when the \\sa command is used. */
virtual QCString trSeeAlso() virtual QCString trSeeAlso()
{ return decode( "Takođe pogledati" ); } { return "Takođe pogledati"; }
/*! this text is generated when the \\param command is used. */ /*! this text is generated when the \\param command is used. */
virtual QCString trParameters() virtual QCString trParameters()
{ return decode( "Parametri" ); } { return "Parametri"; }
/*! this text is generated when the \\exception command is used. */ /*! this text is generated when the \\exception command is used. */
virtual QCString trExceptions() virtual QCString trExceptions()
{ return decode( "Izuzeci" ); } { return "Izuzeci"; }
/*! this text is used in the title page of a LaTeX document. */ /*! this text is used in the title page of a LaTeX document. */
virtual QCString trGeneratedBy() virtual QCString trGeneratedBy()
{ return decode( "Napravio" ); } { return "Napravio"; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 0.49-990307 // new since 0.49-990307
...@@ -577,7 +559,7 @@ private: ...@@ -577,7 +559,7 @@ private:
/*! used as the title of page containing all the index of all namespaces. */ /*! used as the title of page containing all the index of all namespaces. */
virtual QCString trNamespaceList() virtual QCString trNamespaceList()
{ return decode( "Spisak prostora imena" ); } { return "Spisak prostora imena"; }
/*! used as an introduction to the namespace list */ /*! used as an introduction to the namespace list */
virtual QCString trNamespaceListDescription(bool extractAll) virtual QCString trNamespaceListDescription(bool extractAll)
...@@ -585,14 +567,14 @@ private: ...@@ -585,14 +567,14 @@ private:
QCString result="Spisak svih "; QCString result="Spisak svih ";
if (!extractAll) result+="dokumentovanih "; if (!extractAll) result+="dokumentovanih ";
result+="prostora imena sa kratkim opisom:"; result+="prostora imena sa kratkim opisom:";
return decode( result ); return result;
} }
/*! used in the class documentation as a header before the list of all /*! used in the class documentation as a header before the list of all
* friends of a class * friends of a class
*/ */
virtual QCString trFriends() virtual QCString trFriends()
{ return decode( "Prijatelji" ); } { return "Prijatelji"; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 0.49-990405 // new since 0.49-990405
...@@ -602,7 +584,7 @@ private: ...@@ -602,7 +584,7 @@ private:
* related classes * related classes
*/ */
virtual QCString trRelatedFunctionDocumentation() virtual QCString trRelatedFunctionDocumentation()
{ return decode( "Dokumentacija prijatelja i relevantnih funkcija" ); } { return "Dokumentacija prijatelja i relevantnih funkcija"; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 0.49-990425 // new since 0.49-990425
...@@ -627,7 +609,7 @@ private: ...@@ -627,7 +609,7 @@ private:
} }
if (isTemplate) result += "šablona "; if (isTemplate) result += "šablona ";
result += clName; result += clName;
return decode( result ); return result;
} }
/*! used as the title of the HTML page of a file */ /*! used as the title of the HTML page of a file */
...@@ -635,7 +617,7 @@ private: ...@@ -635,7 +617,7 @@ private:
{ {
QCString result = "Opis datoteke "; QCString result = "Opis datoteke ";
result += fileName; result += fileName;
return decode( result ); return result;
} }
/*! used as the title of the HTML page of a namespace */ /*! used as the title of the HTML page of a namespace */
...@@ -643,29 +625,29 @@ private: ...@@ -643,29 +625,29 @@ private:
{ {
QCString result="Opis prostora imena "; QCString result="Opis prostora imena ";
result += namespaceName; result += namespaceName;
return decode( result ); return result;
} }
virtual QCString trPublicMembers() virtual QCString trPublicMembers()
{ return decode("Javni članovi"); } { return "Javni članovi"; }
virtual QCString trPublicSlots() virtual QCString trPublicSlots()
{ return decode( "Javni slotovi" ); } { return "Javni slotovi"; }
virtual QCString trSignals() virtual QCString trSignals()
{ return decode( "Signali" ); } { return "Signali"; }
virtual QCString trStaticPublicMembers() virtual QCString trStaticPublicMembers()
{ return decode("Zajednički javni članovi"); } { return "Zajednički javni članovi"; }
virtual QCString trProtectedMembers() virtual QCString trProtectedMembers()
{ return decode("Zaštićeni članovi"); } { return "Zaštićeni članovi"; }
virtual QCString trProtectedSlots() virtual QCString trProtectedSlots()
{ return decode("Zaštićeni slotovi"); } { return "Zaštićeni slotovi"; }
virtual QCString trStaticProtectedMembers() virtual QCString trStaticProtectedMembers()
{ return decode("Zajednički zaštićeni članovi"); } { return "Zajednički zaštićeni članovi"; }
virtual QCString trPrivateMembers() virtual QCString trPrivateMembers()
{ return decode("Privatni članovi"); } { return "Privatni članovi"; }
virtual QCString trPrivateSlots() virtual QCString trPrivateSlots()
{ return decode("Privatni slotovi"); } { return "Privatni slotovi"; }
virtual QCString trStaticPrivateMembers() virtual QCString trStaticPrivateMembers()
{ return decode("Zajednički privatni članovi"); } { return "Zajednički privatni članovi"; }
/*! this function is used to produce a comma-separated list of items. /*! this function is used to produce a comma-separated list of items.
* use generateMarker(i) to indicate where item i should be put. * use generateMarker(i) to indicate where item i should be put.
...@@ -697,7 +679,7 @@ private: ...@@ -697,7 +679,7 @@ private:
*/ */
virtual QCString trInheritsList(int numEntries) virtual QCString trInheritsList(int numEntries)
{ {
return decode("Spisak osnovnih klasa: "+trWriteList(numEntries)+"."); return "Spisak osnovnih klasa: ";
} }
/*! used in class documentation to produce a list of derived classes, /*! used in class documentation to produce a list of derived classes,
...@@ -705,7 +687,7 @@ private: ...@@ -705,7 +687,7 @@ private:
*/ */
virtual QCString trInheritedByList(int numEntries) virtual QCString trInheritedByList(int numEntries)
{ {
return decode( "Spisak izvedenih klasa: "+trWriteList(numEntries)+"." ); return "Spisak izvedenih klasa: ";
} }
/*! used in member documentation blocks to produce a list of /*! used in member documentation blocks to produce a list of
...@@ -713,7 +695,7 @@ private: ...@@ -713,7 +695,7 @@ private:
*/ */
virtual QCString trReimplementedFromList(int numEntries) virtual QCString trReimplementedFromList(int numEntries)
{ {
return decode("Menja definiciju iz "+trWriteList(numEntries)+"." ); return "Menja definiciju iz "+trWriteList(numEntries)+".";
} }
/*! used in member documentation blocks to produce a list of /*! used in member documentation blocks to produce a list of
...@@ -721,12 +703,12 @@ private: ...@@ -721,12 +703,12 @@ private:
*/ */
virtual QCString trReimplementedInList(int numEntries) virtual QCString trReimplementedInList(int numEntries)
{ //! Ako već ne možemo jednu reč (redefinicija), da uskladimo sa prethodnim i izbacimo upotrebu roda { //! Ako već ne možemo jednu reč (redefinicija), da uskladimo sa prethodnim i izbacimo upotrebu roda
return decode("Definicija je izmenjena u "+trWriteList(numEntries)+"." ); return "Definicija je izmenjena u "+trWriteList(numEntries)+".";
} }
/*! This is put above each page as a link to all members of namespaces. */ /*! This is put above each page as a link to all members of namespaces. */
virtual QCString trNamespaceMembers() virtual QCString trNamespaceMembers()
{ return decode("Članovi prostora imena"); } { return "Članovi prostora imena"; }
/*! This is an introduction to the page with all namespace members */ /*! This is an introduction to the page with all namespace members */
virtual QCString trNamespaceMemberDescription(bool extractAll) virtual QCString trNamespaceMemberDescription(bool extractAll)
...@@ -738,19 +720,19 @@ private: ...@@ -738,19 +720,19 @@ private:
result+="dokumentaciji svakog člana prostora imena: "; result+="dokumentaciji svakog člana prostora imena: ";
else else
result+="prostorima imena kojima pripadaju: "; result+="prostorima imena kojima pripadaju: ";
return decode( 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. * index of all namespaces.
*/ */
virtual QCString trNamespaceIndex() virtual QCString trNamespaceIndex()
{ return decode( "Indeks prostora imena" ); } { return "Indeks prostora imena"; }
/*! This is used in LaTeX as the title of the chapter containing /*! This is used in LaTeX as the title of the chapter containing
* the documentation of all namespaces. * the documentation of all namespaces.
*/ */
virtual QCString trNamespaceDocumentation() virtual QCString trNamespaceDocumentation()
{ return decode( "Dokumentacija prostora imena" ); } { return "Dokumentacija prostora imena"; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 0.49-990522 // new since 0.49-990522
...@@ -760,7 +742,7 @@ private: ...@@ -760,7 +742,7 @@ private:
* namespaces in a file. * namespaces in a file.
*/ */
virtual QCString trNamespaces() virtual QCString trNamespaces()
{ return decode( "Prostori imena" ); } { return "Prostori imena"; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 0.49-990728 // new since 0.49-990728
...@@ -787,14 +769,14 @@ private: ...@@ -787,14 +769,14 @@ private:
} }
result+=" je napravljena na osnovu "; result+=" je napravljena na osnovu ";
if (single) result+="datoteke "; else result+="sledećih datoteka:"; if (single) result+="datoteke "; else result+="sledećih datoteka:";
return decode( result ); return result;
} }
/*! This is in the (quick) index as a link to the alphabetical compound /*! This is in the (quick) index as a link to the alphabetical compound
* list. * list.
*/ */
virtual QCString trAlphabeticalList() virtual QCString trAlphabeticalList()
{ return decode( "Abecedni spisak" ); } { return "Abecedni spisak"; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 0.49-990901 // new since 0.49-990901
...@@ -802,18 +784,18 @@ private: ...@@ -802,18 +784,18 @@ private:
/*! This is used as the heading text for the retval command. */ /*! This is used as the heading text for the retval command. */
virtual QCString trReturnValues() virtual QCString trReturnValues()
{ return decode( "Karakteristične vrednosti funkcije" ); } { return "Karakteristične vrednosti funkcije"; }
/*! This is in the (quick) index as a link to the main page (index.html) /*! This is in the (quick) index as a link to the main page (index.html)
*/ */
virtual QCString trMainPage() virtual QCString trMainPage()
{ return decode( "Glavna strana" ); } { 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. * documentation. It should be an abbreviation of the word page.
*/ */
virtual QCString trPageAbbreviation() virtual QCString trPageAbbreviation()
{ return decode( "str." ); } { return "str."; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 0.49-991003 // new since 0.49-991003
...@@ -821,11 +803,11 @@ private: ...@@ -821,11 +803,11 @@ private:
virtual QCString trDefinedAtLineInSourceFile() virtual QCString trDefinedAtLineInSourceFile()
{ //! Izbacujemo rod { //! Izbacujemo rod
return decode( "Definicija je u redu @0 datoteke @1." ); return "Definicija je u redu @0 datoteke @1.";
} }
virtual QCString trDefinedInSourceFile() virtual QCString trDefinedInSourceFile()
{ //! Izbacujemo rod { //! Izbacujemo rod
return decode( "Definicija je u datoteci @0." ); return "Definicija je u datoteci @0.";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -834,7 +816,7 @@ private: ...@@ -834,7 +816,7 @@ private:
virtual QCString trDeprecated() virtual QCString trDeprecated()
{ {
return decode( "Zastarelo" ); return "Zastarelo";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -844,68 +826,68 @@ private: ...@@ -844,68 +826,68 @@ private:
/*! this text is put before a collaboration diagram */ /*! this text is put before a collaboration diagram */
virtual QCString trCollaborationDiagram(const char *clName) virtual QCString trCollaborationDiagram(const char *clName)
{ {
return decode( (QCString)"Klasni dijagram za "+clName+":" ); return (QCString)"Klasni dijagram za "+clName+":";
} }
/*! this text is put before an include dependency graph */ /*! this text is put before an include dependency graph */
virtual QCString trInclDepGraph(const char *fName) virtual QCString trInclDepGraph(const char *fName)
{ {
return decode( (QCString)"Graf zavisnosti datoteka za "+fName+":" ); return (QCString)"Graf zavisnosti datoteka za "+fName+":";
} }
/*! header that is put before the list of constructor/destructors. */ /*! header that is put before the list of constructor/destructors. */
virtual QCString trConstructorDocumentation() virtual QCString trConstructorDocumentation()
{ {
return decode( "Dokumentacija konstruktora i destruktora" ); return "Dokumentacija konstruktora i destruktora";
} }
/*! Used in the file documentation to point to the corresponding sources. */ /*! Used in the file documentation to point to the corresponding sources. */
virtual QCString trGotoSourceCode() virtual QCString trGotoSourceCode()
{ {
return decode( "Izvorni kod." ); return "Izvorni kod.";
} }
/*! Used in the file sources to point to the corresponding documentation. */ /*! Used in the file sources to point to the corresponding documentation. */
virtual QCString trGotoDocumentation() virtual QCString trGotoDocumentation()
{ {
return decode( "Dokumentacija." ); return "Dokumentacija.";
} }
/*! Text for the \\pre command */ /*! Text for the \\pre command */
virtual QCString trPrecondition() virtual QCString trPrecondition()
{ {
return decode( "Preduslovi" ); return "Preduslovi";
} }
/*! Text for the \\post command */ /*! Text for the \\post command */
virtual QCString trPostcondition() virtual QCString trPostcondition()
{ {
return decode( "Stanje po izvršenju" ); return "Stanje po izvršenju";
} }
/*! Text for the \\invariant command */ /*! Text for the \\invariant command */
virtual QCString trInvariant() virtual QCString trInvariant()
{ {
return decode( "Invarijanta" ); return "Invarijanta";
} }
/*! Text shown before a multi-line variable/enum initialization */ /*! Text shown before a multi-line variable/enum initialization */
virtual QCString trInitialValue() virtual QCString trInitialValue()
{ {
return decode( "Početna vrednost:" ); return "Početna vrednost:";
} }
/*! Text used the source code in the file index */ /*! Text used the source code in the file index */
virtual QCString trCode() virtual QCString trCode()
{ {
return decode( "programski kod" ); return "programski kod";
} }
virtual QCString trGraphicalHierarchy() virtual QCString trGraphicalHierarchy()
{ {
return decode( "Hijerarhija klasa u obliku grafa" ); return "Hijerarhija klasa u obliku grafa";
} }
virtual QCString trGotoGraphicalHierarchy() virtual QCString trGotoGraphicalHierarchy()
{ {
return decode( "Prikaz hijerarhije klasa u obliku grafa" ); return "Prikaz hijerarhije klasa u obliku grafa";
} }
virtual QCString trGotoTextualHierarchy() virtual QCString trGotoTextualHierarchy()
{ {
return decode( "Prikaz hijerarhije klasa u obliku nazubljenog teksta" ); return "Prikaz hijerarhije klasa u obliku nazubljenog teksta";
} }
virtual QCString trPageIndex() virtual QCString trPageIndex()
{ {
return decode( "Indeks stranice" ); return "Indeks stranice";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -914,50 +896,50 @@ private: ...@@ -914,50 +896,50 @@ private:
virtual QCString trNote() virtual QCString trNote()
{ {
return decode( "Beleška" ); return "Beleška";
} }
virtual QCString trPublicTypes() virtual QCString trPublicTypes()
{ {
return decode( "Javni tipovi" ); return "Javni tipovi";
} }
virtual QCString trPublicAttribs() virtual QCString trPublicAttribs()
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return decode( "Polja" ); return "Polja";
} }
else else
{ {
return decode( "Javni članovi" ); return "Javni članovi";
} }
} }
virtual QCString trStaticPublicAttribs() virtual QCString trStaticPublicAttribs()
{ {
return decode( "Zajednički javni članovi"); return "Zajednički javni članovi";
} }
virtual QCString trProtectedTypes() virtual QCString trProtectedTypes()
{ {
return decode( "Zaštićeni tipovi" ); return "Zaštićeni tipovi";
} }
virtual QCString trProtectedAttribs() virtual QCString trProtectedAttribs()
{ {
return decode( "Zaštićeni članovi" ); return "Zaštićeni članovi";
} }
virtual QCString trStaticProtectedAttribs() virtual QCString trStaticProtectedAttribs()
{ {
return decode( "Zajednički zaštićeni članovi" ); return "Zajednički zaštićeni članovi";
} }
virtual QCString trPrivateTypes() virtual QCString trPrivateTypes()
{ {
return decode( "Privatni tipovi" ); return "Privatni tipovi";
} }
virtual QCString trPrivateAttribs() virtual QCString trPrivateAttribs()
{ {
return decode( "Privatni članovi" ); return "Privatni članovi";
} }
virtual QCString trStaticPrivateAttribs() virtual QCString trStaticPrivateAttribs()
{ {
return decode( "Zajednički privatni članovi" ); return "Zajednički privatni članovi";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -967,12 +949,12 @@ private: ...@@ -967,12 +949,12 @@ private:
/*! Used as a marker that is put before a \\todo item */ /*! Used as a marker that is put before a \\todo item */
virtual QCString trTodo() virtual QCString trTodo()
{ {
return decode( "Uraditi" ); return "Uraditi";
} }
/*! Used as the header of the todo list */ /*! Used as the header of the todo list */
virtual QCString trTodoList() virtual QCString trTodoList()
{ {
return decode("Spisak stvari koje treba uraditi"); return "Spisak stvari koje treba uraditi";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -981,24 +963,24 @@ private: ...@@ -981,24 +963,24 @@ private:
virtual QCString trReferencedBy() virtual QCString trReferencedBy()
{ //! Izbegavanje roda. Uskladjivanje sa trReferences { //! Izbegavanje roda. Uskladjivanje sa trReferences
return decode( "Korisnici: " ); return "Korisnici: ";
} }
virtual QCString trRemarks() virtual QCString trRemarks()
{ {
return decode( "Napomene" ); return "Napomene";
} }
virtual QCString trAttention() virtual QCString trAttention()
{ {
return decode( "Pažnja" ); return "Pažnja";
} }
virtual QCString trInclByDepGraph() virtual QCString trInclByDepGraph()
{ {
return decode("Ovaj graf pokazuje koje datoteke direktno " return "Ovaj graf pokazuje koje datoteke direktno "
"ili indirektno uključuju ovu datoteku: "); "ili indirektno uključuju ovu datoteku: ";
} }
virtual QCString trSince() virtual QCString trSince()
{ {
return decode( "Od" ); return "Od";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1008,14 +990,14 @@ private: ...@@ -1008,14 +990,14 @@ private:
/*! title of the graph legend page */ /*! title of the graph legend page */
virtual QCString trLegendTitle() virtual QCString trLegendTitle()
{ {
return decode( "Objašnjenje korišćenih simbola" ); 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". * The %A in the text below are to prevent link to classes called "A".
*/ */
virtual QCString trLegendDocs() virtual QCString trLegendDocs()
{ {
return decode( return
"Ova stranica objašnjava kako tumačiti grafikone koje je napravio " "Ova stranica objašnjava kako tumačiti grafikone koje je napravio "
"doxygen.<p>\n" "doxygen.<p>\n"
"Na primer:\n" "Na primer:\n"
...@@ -1072,12 +1054,12 @@ private: ...@@ -1072,12 +1054,12 @@ private:
" šablona klase od kojeg je primerak napravljen. " " šablona klase od kojeg je primerak napravljen. "
"Strelica je označena stvarnim argumentima šablona.\n" "Strelica je označena stvarnim argumentima šablona.\n"
"</ul>\n" "</ul>\n"
); ;
} }
/*! text for the link to the legend page */ /*! text for the link to the legend page */
virtual QCString trLegend() virtual QCString trLegend()
{ {
return decode( "Objašnjenje korišćenih simbola" ); return "Objašnjenje korišćenih simbola";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1087,12 +1069,12 @@ private: ...@@ -1087,12 +1069,12 @@ private:
/*! Used as a marker that is put before a test item */ /*! Used as a marker that is put before a test item */
virtual QCString trTest() virtual QCString trTest()
{ {
return decode( "Test" ); return "Test";
} }
/*! Used as the header of the test list */ /*! Used as the header of the test list */
virtual QCString trTestList() virtual QCString trTestList()
{ {
return decode( "Spisak testova" ); return "Spisak testova";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1102,7 +1084,7 @@ private: ...@@ -1102,7 +1084,7 @@ private:
/*! Used as a section header for KDE-2 IDL methods */ /*! Used as a section header for KDE-2 IDL methods */
virtual QCString trDCOPMethods() virtual QCString trDCOPMethods()
{ {
return decode( "DCOP metode" ); return "DCOP metode";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1112,12 +1094,12 @@ private: ...@@ -1112,12 +1094,12 @@ private:
/*! Used as a section header for IDL properties */ /*! Used as a section header for IDL properties */
virtual QCString trProperties() virtual QCString trProperties()
{ {
return decode( "Osobine" ); return "Osobine";
} }
/*! Used as a section header for IDL property documentation */ /*! Used as a section header for IDL property documentation */
virtual QCString trPropertyDocumentation() virtual QCString trPropertyDocumentation()
{ {
return decode( "Dokumentacija osobina" ); return "Dokumentacija osobina";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1129,11 +1111,11 @@ private: ...@@ -1129,11 +1111,11 @@ private:
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return decode( "Strukture i unije" ); return "Strukture i unije";
} }
else else
{ {
return decode( "Klase" ); return "Klase";
} }
} }
/*! Used as the title of a Java package */ /*! Used as the title of a Java package */
...@@ -1144,22 +1126,22 @@ private: ...@@ -1144,22 +1126,22 @@ private:
/*! Title of the package index page */ /*! Title of the package index page */
virtual QCString trPackageList() virtual QCString trPackageList()
{ {
return decode( "Spisak paketa" ); return "Spisak paketa";
} }
/*! The description of the package index page */ /*! The description of the package index page */
virtual QCString trPackageListDescription() virtual QCString trPackageListDescription()
{ {
return decode( "Paketi s kratkim opisom (ukoliko postoji):" ); return "Paketi s kratkim opisom (ukoliko postoji):";
} }
/*! The link name in the Quick links header for each page */ /*! The link name in the Quick links header for each page */
virtual QCString trPackages() virtual QCString trPackages()
{ {
return decode( "Paketi" ); return "Paketi";
} }
/*! Text shown before a multi-line define */ /*! Text shown before a multi-line define */
virtual QCString trDefineValue() virtual QCString trDefineValue()
{ {
return decode( "Vrednost:" ); return "Vrednost:";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1169,12 +1151,12 @@ private: ...@@ -1169,12 +1151,12 @@ private:
/*! Used as a marker that is put before a \\bug item */ /*! Used as a marker that is put before a \\bug item */
virtual QCString trBug() virtual QCString trBug()
{ {
return decode( "Greška" ); return "Greška";
} }
/*! Used as the header of the bug list */ /*! Used as the header of the bug list */
virtual QCString trBugList() virtual QCString trBugList()
{ {
return decode( "Spisak grešaka" ); return "Spisak grešaka";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1223,7 +1205,7 @@ private: ...@@ -1223,7 +1205,7 @@ private:
/*! Used as header RTF general index */ /*! Used as header RTF general index */
virtual QCString trRTFGeneralIndex() virtual QCString trRTFGeneralIndex()
{ {
return decode( "Sadržaj" ); return "Sadržaj";
} }
/*! This is used for translation of the word that will possibly /*! This is used for translation of the word that will possibly
...@@ -1234,7 +1216,7 @@ private: ...@@ -1234,7 +1216,7 @@ private:
{ {
QCString result( (first_capital ? "Klas" : "klas") ); QCString result( (first_capital ? "Klas" : "klas") );
result+= (singular ? "a" : "e"); result+= (singular ? "a" : "e");
return decode( result ); return result;
} }
/*! This is used for translation of the word that will possibly /*! This is used for translation of the word that will possibly
...@@ -1245,7 +1227,7 @@ private: ...@@ -1245,7 +1227,7 @@ private:
{ {
QCString result((first_capital ? "Datotek" : "datotek")); QCString result((first_capital ? "Datotek" : "datotek"));
result+= (singular ? "a" : "e"); result+= (singular ? "a" : "e");
return decode( result ); return result;
} }
/*! This is used for translation of the word that will possibly /*! This is used for translation of the word that will possibly
...@@ -1257,7 +1239,7 @@ private: ...@@ -1257,7 +1239,7 @@ private:
QCString result((first_capital ? "Prostor" : "prostor")); QCString result((first_capital ? "Prostor" : "prostor"));
result += (singular ? "" : "i"); result += (singular ? "" : "i");
result += " imena"; result += " imena";
return decode( result ); return result;
} }
/*! This is used for translation of the word that will possibly /*! This is used for translation of the word that will possibly
...@@ -1268,7 +1250,7 @@ private: ...@@ -1268,7 +1250,7 @@ private:
{ {
QCString result((first_capital ? "Grup" : "grup")); QCString result((first_capital ? "Grup" : "grup"));
result+= (singular ? "a" : "e"); result+= (singular ? "a" : "e");
return decode( result ); return result;
} }
/*! This is used for translation of the word that will possibly /*! This is used for translation of the word that will possibly
...@@ -1279,7 +1261,7 @@ private: ...@@ -1279,7 +1261,7 @@ private:
{ {
QCString result((first_capital ? "Stran" : "stran")); QCString result((first_capital ? "Stran" : "stran"));
result+= (singular ? "a" : "e"); result+= (singular ? "a" : "e");
return decode( result ); return result;
} }
/*! This is used for translation of the word that will possibly /*! This is used for translation of the word that will possibly
...@@ -1290,7 +1272,7 @@ private: ...@@ -1290,7 +1272,7 @@ private:
{ {
QCString result((first_capital ? "Član" : "član")); QCString result((first_capital ? "Član" : "član"));
result+= (singular ? "" : "ovi"); result+= (singular ? "" : "ovi");
return decode( result ); return result;
} }
/*! This is used for translation of the word that will possibly /*! This is used for translation of the word that will possibly
...@@ -1301,7 +1283,7 @@ private: ...@@ -1301,7 +1283,7 @@ private:
{ {
QCString result((first_capital ? "Globalni " : "globalni ")); QCString result((first_capital ? "Globalni " : "globalni "));
result+= (singular ? "podatak" : "podaci"); result+= (singular ? "podatak" : "podaci");
return decode( result ); return result;
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1314,7 +1296,7 @@ private: ...@@ -1314,7 +1296,7 @@ private:
{ {
QCString result((first_capital ? "Autor" : "autor")); QCString result((first_capital ? "Autor" : "autor"));
result+= (singular ? "" : "i"); result+= (singular ? "" : "i");
return decode( result ); return result;
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1325,7 +1307,7 @@ private: ...@@ -1325,7 +1307,7 @@ private:
*/ */
virtual QCString trReferences() virtual QCString trReferences()
{ {
return decode( "Koristi" ); return "Koristi";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1337,7 +1319,7 @@ private: ...@@ -1337,7 +1319,7 @@ private:
*/ */
virtual QCString trImplementedFromList(int numEntries) virtual QCString trImplementedFromList(int numEntries)
{ //! "Definiše" je previše kratko, ispada sa de definišu same apstraktne klase { //! "Definiše" je previše kratko, ispada sa de definišu same apstraktne klase
return decode( "Definiše apstraktnu funkciju deklarisanu u "+trWriteList(numEntries)+"." ); return "Definiše apstraktnu funkciju deklarisanu u ";
} }
/*! used in member documentation blocks to produce a list of /*! used in member documentation blocks to produce a list of
...@@ -1345,7 +1327,7 @@ private: ...@@ -1345,7 +1327,7 @@ private:
*/ */
virtual QCString trImplementedInList(int numEntries) virtual QCString trImplementedInList(int numEntries)
{ //! Izbegavanje roda { //! Izbegavanje roda
return decode( "Definicija u " + trWriteList(numEntries) + "." ); return "Definicija u ";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1357,7 +1339,7 @@ private: ...@@ -1357,7 +1339,7 @@ private:
*/ */
virtual QCString trRTFTableOfContents() virtual QCString trRTFTableOfContents()
{ {
return decode( "Sadržaj" ); return "Sadržaj";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1369,7 +1351,7 @@ private: ...@@ -1369,7 +1351,7 @@ private:
*/ */
virtual QCString trDeprecatedList() virtual QCString trDeprecatedList()
{ {
return decode( "Spisak zastarelih stvari" ); return "Spisak zastarelih stvari";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1381,12 +1363,12 @@ private: ...@@ -1381,12 +1363,12 @@ private:
*/ */
virtual QCString trEvents() virtual QCString trEvents()
{ {
return decode( "Događaji" ); return "Događaji";
} }
/*! Header used for the documentation section of a class' events. */ /*! Header used for the documentation section of a class' events. */
virtual QCString trEventDocumentation() virtual QCString trEventDocumentation()
{ {
return decode( "Dokumentacija događaja" ); return "Dokumentacija događaja";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1397,35 +1379,35 @@ private: ...@@ -1397,35 +1379,35 @@ private:
*/ */
virtual QCString trPackageTypes() virtual QCString trPackageTypes()
{ {
return decode( "Tipovi u paketu" ); return "Tipovi u paketu";
} }
/*! Used as a heading for a list of Java class functions with package /*! Used as a heading for a list of Java class functions with package
* scope. * scope.
*/ */
virtual QCString trPackageMembers() virtual QCString trPackageMembers()
{ {
return decode( "Funkcije u paketu" ); 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. * package scope.
*/ */
virtual QCString trStaticPackageMembers() virtual QCString trStaticPackageMembers()
{ {
return decode( "Statičke funkcije u paketu" ); // Zajednicke funkcije u paketu 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. * scope.
*/ */
virtual QCString trPackageAttribs() virtual QCString trPackageAttribs()
{ {
return decode( "Atributi u paketu" ); // Clanovi u paketu 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. * package scope.
*/ */
virtual QCString trStaticPackageAttribs() virtual QCString trStaticPackageAttribs()
{ {
return decode( "Statički atributi u paketu" ); // Zajednicki clanovi u paketu return "Statički atributi u paketu"; // Zajednicki clanovi u paketu
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1437,12 +1419,12 @@ private: ...@@ -1437,12 +1419,12 @@ private:
*/ */
virtual QCString trAll() virtual QCString trAll()
{ {
return decode( "Sve" ); return "Sve";
} }
/*! Put in front of the call graph for a function. */ /*! Put in front of the call graph for a function. */
virtual QCString trCallGraph() virtual QCString trCallGraph()
{ {
return decode( "Graf poziva iz ove funkcije:" ); return "Graf poziva iz ove funkcije:";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1455,14 +1437,14 @@ private: ...@@ -1455,14 +1437,14 @@ private:
*/ */
virtual QCString trSearchForIndex() virtual QCString trSearchForIndex()
{ {
return decode("Traži"); return "Traži";
} }
/*! This string is used as the title for the page listing the search /*! This string is used as the title for the page listing the search
* results. * results.
*/ */
virtual QCString trSearchResultsTitle() virtual QCString trSearchResultsTitle()
{ {
return decode( "Rezultati pretraživanja" ); return "Rezultati pretraživanja";
} }
/*! This string is put just before listing the search results. The /*! This string is put just before listing the search results. The
* text can be different depending on the number of documents found. * text can be different depending on the number of documents found.
...@@ -1476,16 +1458,16 @@ private: ...@@ -1476,16 +1458,16 @@ private:
{ {
if (numDocuments==0) if (numDocuments==0)
{ {
return decode("Nema dokumenata koji odgovaraju Vašem upitu."); return "Nema dokumenata koji odgovaraju Vašem upitu.";
} }
else if (numDocuments==1) else if (numDocuments==1)
{ return decode("Nađen je <b>1</b> dokument koji odgovara vašem upitu."); } { return "Nađen je <b>1</b> dokument koji odgovara vašem upitu."; }
else if (numDocuments<5) else if (numDocuments<5)
{ return decode("Nađena su <b>$num</b> dokumenta koji odgovaraju vašem upitu." { return "Nađena su <b>$num</b> dokumenta koji odgovaraju vašem upitu."
"Najbolji su prikazani prvi."); } " Najbolji su prikazani prvi."; }
else else
{ return decode("Nađeno je <b>$num</b> dokumenata koji odgovaraju vašem upitu." { return "Nađeno je <b>$num</b> dokumenata koji odgovaraju vašem upitu."
"Najbolji su prikazani prvi."); " 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
...@@ -1493,7 +1475,7 @@ private: ...@@ -1493,7 +1475,7 @@ private:
*/ */
virtual QCString trSearchMatches() virtual QCString trSearchMatches()
{ {
return decode( "Pronađeno:" ); return "Pronađeno:";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1504,7 +1486,7 @@ private: ...@@ -1504,7 +1486,7 @@ private:
*/ */
virtual QCString trSourceFile(QCString& filename) virtual QCString trSourceFile(QCString& filename)
{ {
return decode( "Izvorni kod datoteke " + filename ) ; return "Izvorni kod datoteke " + filename;
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1515,33 +1497,31 @@ private: ...@@ -1515,33 +1497,31 @@ private:
* hierarchy. * hierarchy.
*/ */
virtual QCString trDirIndex() virtual QCString trDirIndex()
{ return decode( "Hijerarhija direktorijuma" ); } { return "Hijerarhija direktorijuma"; }
/*! This is used as the name of the chapter containing the documentation /*! This is used as the name of the chapter containing the documentation
* of the directories. * of the directories.
*/ */
virtual QCString trDirDocumentation() virtual QCString trDirDocumentation()
{ return decode( "Dokumentacija direktorijuma" ); } { return "Dokumentacija direktorijuma"; }
/*! This is used as the title of the directory index and also in the /*! This is used as the title of the directory index and also in the
* Quick links of a HTML page, to link to the directory hierarchy. * Quick links of a HTML page, to link to the directory hierarchy.
*/ */
virtual QCString trDirectories() virtual QCString trDirectories()
{ return decode( "Direktorijumi" ); } { 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 * and the fact that it is sorted alphabetically per level
*/ */
virtual QCString trDirDescription() virtual QCString trDirDescription()
{ return decode( "Hijerarhija direktorijuma uređena približno " { return "Hijerarhija direktorijuma uređena približno po abecedi:"; }
"po abecedi:" );
}
/*! This returns the title of a directory page. The name of the /*! This returns the title of a directory page. The name of the
* directory is passed via \a dirName. * directory is passed via \a dirName.
*/ */
virtual QCString trDirReference(const char *dirName) virtual QCString trDirReference(const char *dirName)
{ QCString result=dirName; result+="Opis direktorijuma"; return decode( result ); } { QCString result=dirName; result+="Opis direktorijuma"; return result; }
/*! This returns the word directory with or without starting capital /*! This returns the word directory with or without starting capital
* (\a first_capital) and in sigular or plural form (\a singular). * (\a first_capital) and in sigular or plural form (\a singular).
...@@ -1550,7 +1530,7 @@ private: ...@@ -1550,7 +1530,7 @@ private:
{ {
QCString result((first_capital ? "Direktorijum" : "direktorijum")); QCString result((first_capital ? "Direktorijum" : "direktorijum"));
if (!singular) result+="i"; if (!singular) result+="i";
return decode( result ); return result;
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1562,8 +1542,8 @@ private: ...@@ -1562,8 +1542,8 @@ private:
*/ */
virtual QCString trOverloadText() virtual QCString trOverloadText()
{ {
return decode ( "Ovo je funkcija prekopljenog imena, razlikuje se " return "Ovo je funkcija prekopljenog imena, razlikuje se "
"od gore navedene samo po argumentima koje prihvata." ); "od gore navedene samo po argumentima koje prihvata.";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1573,14 +1553,14 @@ private: ...@@ -1573,14 +1553,14 @@ private:
/*! This is used to introduce a caller (or called-by) graph */ /*! This is used to introduce a caller (or called-by) graph */
virtual QCString trCallerGraph() virtual QCString trCallerGraph()
{ //! Možda je bolje "Graf pozivalaca ove funkcije" { //! Možda je bolje "Graf pozivalaca ove funkcije"
return decode( "Graf funkcija koje pozivaju ovu funkciju:" ); 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 * of documentation blocks for enumeration values
*/ */
virtual QCString trEnumerationValueDocumentation() virtual QCString trEnumerationValueDocumentation()
{ return decode( "Dokumentacija enum vrednosti" ); } { return "Dokumentacija enum vrednosti"; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 1.5.4 (mainly for Fortran) // new since 1.5.4 (mainly for Fortran)
...@@ -1789,17 +1769,17 @@ private: ...@@ -1789,17 +1769,17 @@ private:
// /*! This is put above each page as a link to the list of all verbatim headers */ // /*! This is put above each page as a link to the list of all verbatim headers */
// virtual QCString trHeaderFiles() // virtual QCString trHeaderFiles()
// { return decode( "Zaglavlja" ); } // { return "Zaglavlja"; }
// //
// /*! This is an introduction to the page with the list of all header files. */ // /*! This is an introduction to the page with the list of all header files. */
// virtual QCString trHeaderFilesDescription() // virtual QCString trHeaderFilesDescription()
// { return decode( "Zaglavlja koje izgraduju API:" ); } // { return "Zaglavlja koje izgraduju API:"; }
// //
// /*! This sentences is used in the annotated class/file lists if no brief // /*! This sentences is used in the annotated class/file lists if no brief
// * description is given. // * description is given.
// */ // */
// virtual QCString trNoDescriptionAvailable() // virtual QCString trNoDescriptionAvailable()
// { return decode( "Opis nije dostupan" ); } // { return "Opis nije dostupan"; }
// //
// /*! this text is generated when the \\reimp command is used. */ // /*! this text is generated when the \\reimp command is used. */
// virtual QCString trReimplementedForInternalReasons() // virtual QCString trReimplementedForInternalReasons()
...@@ -1807,7 +1787,7 @@ private: ...@@ -1807,7 +1787,7 @@ private:
// //
// /*! this text is generated when the \\bug command is used. */ // /*! this text is generated when the \\bug command is used. */
// virtual QCString trBugsAndLimitations() // virtual QCString trBugsAndLimitations()
// { return decode( "Greske i ogranicenja" ); } // { return "Greske i ogranicenja"; }
// //
// virtual QCString trSources() // virtual QCString trSources()
// { // {
...@@ -1817,13 +1797,13 @@ private: ...@@ -1817,13 +1797,13 @@ private:
// /*! Used for Java interfaces in the summary section of Java packages */ // /*! Used for Java interfaces in the summary section of Java packages */
// virtual QCString trInterfaces() // virtual QCString trInterfaces()
// { // {
// return decode( "Interfejsi" ); //!< Radna okruzenja. Ali to je dve reci. // return "Interfejsi"; //!< Radna okruzenja. Ali to je dve reci.
// } // }
// //
// /*! Used as a chapter title for Latex & RTF output */ // /*! Used as a chapter title for Latex & RTF output */
// virtual QCString trPackageDocumentation() // virtual QCString trPackageDocumentation()
// { // {
// return decode( "Dokumentacija paketa" ); // return "Dokumentacija paketa";
// } // }
// //
// /*! This is used for translation of the word that will possibly // /*! This is used for translation of the word that will possibly
...@@ -1834,7 +1814,7 @@ private: ...@@ -1834,7 +1814,7 @@ private:
// { // {
// QCString result((first_capital ? "Polj" : "polj")); // QCString result((first_capital ? "Polj" : "polj"));
// result+= (singular ? "e" : "a"); // result+= (singular ? "e" : "a");
// return decode( result ); // return result;
// } // }
}; };
......
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
/* /*
================================================================================== ==================================================================================
Svensk versttning av: Svensk översättning av:
Samuel Hgglund <sahag96@ite.mh.se> Samuel Hägglund <sahag96@ite.mh.se>
Xet Erixon <xet@xeqt.com> Xet Erixon <xet@xeqt.com>
Mikael Hallin <mikaelhallin@yahoo.se> 2003-07-28 Mikael Hallin <mikaelhallin@yahoo.se> 2003-07-28
================================================================================== ==================================================================================
...@@ -26,17 +26,17 @@ Uppdateringar. ...@@ -26,17 +26,17 @@ Uppdateringar.
1999/04/29 1999/04/29
* Omskrivningar av en hel del ordval, t.ex. * Omskrivningar av en hel del ordval, t.ex.
ENG INNAN EFTER ENG INNAN EFTER
compound inhngnad sammansatt compound inhängnad sammansatt
structs structs strukter structs structs strukter
unions unions unioner unions unions unioner
osv... osv...
* Alla versttnings-strngar returnerar i alla fall en ngot s nr vettig * Alla översättnings-strängar returnerar i alla fall en något så när vettig
frklaring... förklaring...
1999/05/27 1999/05/27
* Det verkade som vi glmt en del mellanslag i vissa strngar vilket resulterade * Det verkade som vi glömt en del mellanslag i vissa strängar vilket resulterade
i att en del ord blev ihopskrivna. i att en del ord blev ihopskrivna.
* Bytt en del ordval igen... * Bytt en del ordval igen...
...@@ -44,26 +44,26 @@ Uppdateringar. ...@@ -44,26 +44,26 @@ Uppdateringar.
reference manual Uppslagsbok referensmanual reference manual Uppslagsbok referensmanual
* Skrivit ihop en del ord som innan hade bindestreck * Skrivit ihop en del ord som innan hade bindestreck
* En del nya versttningar r tillagda. * En del nya översättningar är tillagda.
* Gamla versttningar borttagna * Gamla översättningar borttagna
=================================================================================== ===================================================================================
Problem! Problem!
Slot: nn hygglig svensk versttning??? Slot: nån hygglig svensk översättning???
Skicka grna synpunkter. Skicka gärna synpunkter.
=================================================================================== ===================================================================================
1999/09/01 1999/09/01
* Det verkar som om "namnrymd" r en hyggligt vedertagen svensk versttning * Det verkar som om "namnrymd" är en hyggligt vedertagen svensk översättning
av "namespace", s jag kr med det frn och med nu. av "namespace", så jag kör med det från och med nu.
* "interface" heter numera "grnssnitt" * "interface" heter numera "gränssnitt"
2003/07/28 2003/07/28
* Jag har updaterat versttningen efter ett par rs trda.. * Jag har updaterat översättningen efter ett par års träda..
Problem! Problem!
Deprecated: nn hygglig svensk versttning??? Deprecated: nån hygglig svensk översättning???
Skicka grna synpunkter. Skicka gärna synpunkter.
*/ */
#ifndef TRANSLATOR_SE_H #ifndef TRANSLATOR_SE_H
...@@ -98,14 +98,14 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -98,14 +98,14 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! return the language charset. This will be used for the HTML output */ /*! return the language charset. This will be used for the HTML output */
virtual QCString idLanguageCharset() virtual QCString idLanguageCharset()
{ {
return "iso-8859-1"; return "utf-8";
} }
virtual QCString trRelatedFunctions() virtual QCString trRelatedFunctions()
{ return "Beslktade funktioner"; } { return "Besläktade funktioner"; }
virtual QCString trRelatedSubscript() virtual QCString trRelatedSubscript()
{ return "(Observera att dessa inte r medlemsfunktioner)"; } { return "(Observera att dessa inte är medlemsfunktioner)"; }
virtual QCString trDetailedDescription() virtual QCString trDetailedDescription()
{ return "Detaljerad beskrivning"; } { return "Detaljerad beskrivning"; }
...@@ -114,7 +114,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -114,7 +114,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
{ return "Dokumentation av typdefinierade medlemmar"; } { return "Dokumentation av typdefinierade medlemmar"; }
virtual QCString trMemberEnumerationDocumentation() virtual QCString trMemberEnumerationDocumentation()
{ return "Dokumentation av egenupprknande medlemmar"; } { return "Dokumentation av egenuppräknande medlemmar"; }
virtual QCString trMemberFunctionDocumentation() virtual QCString trMemberFunctionDocumentation()
{ return "Dokumentation av medlemsfunktioner"; } { return "Dokumentation av medlemsfunktioner"; }
...@@ -123,7 +123,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -123,7 +123,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return "Flt dokumentation"; return "Fält dokumentation";
} }
else else
{ {
...@@ -135,21 +135,21 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -135,21 +135,21 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
{ return "Mer..."; } { return "Mer..."; }
virtual QCString trListOfAllMembers() virtual QCString trListOfAllMembers()
{ return "Lista ver alla medlemmar"; } { return "Lista över alla medlemmar"; }
virtual QCString trMemberList() virtual QCString trMemberList()
{ return "Medlemslista"; } { return "Medlemslista"; }
virtual QCString trThisIsTheListOfAllMembers() virtual QCString trThisIsTheListOfAllMembers()
{ return "Det hr r en fullstndig lista ver medlemmar fr "; } { return "Det här är en fullständig lista över medlemmar för "; }
virtual QCString trIncludingInheritedMembers() virtual QCString trIncludingInheritedMembers()
{ return " med alla rvda medlemmar."; } { return " med alla ärvda medlemmar."; }
virtual QCString trGeneratedAutomatically(const char *s) virtual QCString trGeneratedAutomatically(const char *s)
{ QCString result="Automatiskt skapad av Doxygen"; { QCString result="Automatiskt skapad av Doxygen";
if (s) result+=(QCString)" fr "+s; if (s) result+=(QCString)" för "+s;
result+=" frn kllkoden."; result+=" från källkoden.";
return result; return result;
} }
...@@ -157,14 +157,14 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -157,14 +157,14 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
{ return "enum namn"; } { return "enum namn"; }
virtual QCString trEnumValue() virtual QCString trEnumValue()
{ return "enum vrde"; } { return "enum värde"; }
virtual QCString trDefinedIn() virtual QCString trDefinedIn()
{ return "definierad i"; } { return "definierad i"; }
/* /*
QCString trVerbatimText(const char *f) QCString trVerbatimText(const char *f)
{ return (QCString)"Detta r den ordagranna texten frn inkluderingsfilen "+f; } { return (QCString)"Detta är den ordagranna texten från inkluderingsfilen "+f; }
*/ */
virtual QCString trModules() virtual QCString trModules()
{ return "Moduler"; } { return "Moduler"; }
...@@ -191,7 +191,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -191,7 +191,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return "Data flt"; return "Data fält";
} }
else else
{ {
...@@ -212,22 +212,22 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -212,22 +212,22 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
} }
virtual QCString trRelatedPages() virtual QCString trRelatedPages()
{ return "Beslktade sidor"; } { return "Besläktade sidor"; }
virtual QCString trExamples() virtual QCString trExamples()
{ return "Exempel"; } { return "Exempel"; }
virtual QCString trSearch() virtual QCString trSearch()
{ return "Sk"; } { return "Sök"; }
virtual QCString trClassHierarchyDescription() virtual QCString trClassHierarchyDescription()
{ return "Denna lista ver arv r grovt, men inte helt, " { return "Denna lista över arv är grovt, men inte helt, "
"sorterad i alfabetisk ordning:"; "sorterad i alfabetisk ordning:";
} }
virtual QCString trFileListDescription(bool extractAll) virtual QCString trFileListDescription(bool extractAll)
{ {
QCString result="Hr fljer en lista ver alla "; QCString result="Här följer en lista över alla ";
if (!extractAll) result+="dokumenterade "; if (!extractAll) result+="dokumenterade ";
result+="filer, med en kort beskrivning:"; result+="filer, med en kort beskrivning:";
return result; return result;
...@@ -238,52 +238,52 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -238,52 +238,52 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return "Hr fljer datastrukturerna med korta beskrivningar:"; return "Här följer datastrukturerna med korta beskrivningar:";
} }
else else
{ {
return "Hr fljer klasserna, strukterna, unionerna och " return "Här följer klasserna, strukterna, unionerna och "
"grnssnitten med korta beskrivningar:"; "gränssnitten med korta beskrivningar:";
} }
} }
/*! This is an introduction to the page with all class members. */ /*! This is an introduction to the page with all class members. */
virtual QCString trCompoundMembersDescription(bool extractAll) virtual QCString trCompoundMembersDescription(bool extractAll)
{ {
QCString result="Hr r en lista ver alla "; QCString result="Här är en lista över alla ";
if (!extractAll) if (!extractAll)
{ {
result+="dokumenterade "; result+="dokumenterade ";
} }
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
result+="struktur- och unions-flt"; result+="struktur- och unions-fält";
} }
else else
{ {
result+="klassmedlemmar"; result+="klassmedlemmar";
} }
result+=" med lnkar till "; result+=" med länkar till ";
if (!extractAll) if (!extractAll)
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
result+="struktur/unions-dokumentationen fr varje flt:"; result+="struktur/unions-dokumentationen för varje fält:";
} }
else else
{ {
result+="klassdokumentationen fr varje medlem:"; result+="klassdokumentationen för varje medlem:";
} }
} }
else else
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
result+=" strukturerna/unionerna de tillhr:"; result+=" strukturerna/unionerna de tillhör:";
} }
else else
{ {
result+="klasserna de tillhr:"; result+="klasserna de tillhör:";
} }
} }
return result; return result;
...@@ -291,7 +291,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -291,7 +291,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
virtual QCString trFileMembersDescription(bool extractAll) virtual QCString trFileMembersDescription(bool extractAll)
{ {
QCString result="Hr fljer en lista ver alla "; QCString result="Här följer en lista över alla ";
if (!extractAll) result+="dokumenterade "; if (!extractAll) result+="dokumenterade ";
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
...@@ -303,22 +303,22 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -303,22 +303,22 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
{ {
result+= "filmedlemmar"; result+= "filmedlemmar";
} }
result+= " med lnkar till "; result+= " med länkar till ";
if (extractAll) if (extractAll)
result+= "filerna som de tillhr:"; result+= "filerna som de tillhör:";
else else
result+= "dokumentationen:"; result+= "dokumentationen:";
return result; return result;
} }
virtual QCString trExamplesDescription() virtual QCString trExamplesDescription()
{ return "Hr fljer en lista med alla exempel:"; } { return "Här följer en lista med alla exempel:"; }
virtual QCString trRelatedPagesDescription() virtual QCString trRelatedPagesDescription()
{ return "Hr fljer en lista ver alla beslktade dokumentationssidor:";} { return "Här följer en lista över alla besläktade dokumentationssidor:";}
virtual QCString trModulesDescription() virtual QCString trModulesDescription()
{ return "Hr fljer en lista ver alla moduler:"; } { return "Här följer en lista över alla moduler:"; }
virtual QCString trDocumentation() virtual QCString trDocumentation()
{ return "Dokumentation"; } { return "Dokumentation"; }
...@@ -335,9 +335,9 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -335,9 +335,9 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
virtual QCString trCompoundIndex() virtual QCString trCompoundIndex()
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
return "Index ver datastrukturer"; return "Index över datastrukturer";
} else { } else {
return "Index ver sammensatta typer"; return "Index över sammensatta typer";
} }
} }
...@@ -345,7 +345,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -345,7 +345,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
{ return "Filindex"; } { return "Filindex"; }
virtual QCString trModuleDocumentation() virtual QCString trModuleDocumentation()
{ return "Dokumentation ver moduler"; } { return "Dokumentation över moduler"; }
/*! This is used in LaTeX as the title of the chapter containing /*! This is used in LaTeX as the title of the chapter containing
* the documentation of all classes, structs and unions. * the documentation of all classes, structs and unions.
...@@ -354,19 +354,19 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -354,19 +354,19 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return "Dokumentation ver datastrukturer"; return "Dokumentation över datastrukturer";
} }
else else
{ {
return "Documentation ver klasser"; return "Documentation över klasser";
} }
} }
virtual QCString trFileDocumentation() virtual QCString trFileDocumentation()
{ return "Dokumentation ver filer"; } { return "Dokumentation över filer"; }
virtual QCString trExampleDocumentation() virtual QCString trExampleDocumentation()
{ return "Dokumentation ver exempel"; } { return "Dokumentation över exempel"; }
virtual QCString trPageDocumentation() virtual QCString trPageDocumentation()
{ return "Dokumentation av sidor"; } { return "Dokumentation av sidor"; }
...@@ -381,32 +381,32 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -381,32 +381,32 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
virtual QCString trTypedefs() virtual QCString trTypedefs()
{ return "Typdefinitioner"; } { return "Typdefinitioner"; }
virtual QCString trEnumerations() virtual QCString trEnumerations()
{ return "Egenupprknande typer"; } { return "Egenuppräknande typer"; }
virtual QCString trFunctions() virtual QCString trFunctions()
{ return "Funktioner"; } { return "Funktioner"; }
virtual QCString trVariables() virtual QCString trVariables()
{ return "Variabler"; } { return "Variabler"; }
virtual QCString trEnumerationValues() virtual QCString trEnumerationValues()
{ return "Egenupprknade typers vrden"; } { return "Egenuppräknade typers värden"; }
virtual QCString trDefineDocumentation() virtual QCString trDefineDocumentation()
{ return "Dokumentation ver definitioner"; } { return "Dokumentation över definitioner"; }
virtual QCString trFunctionPrototypeDocumentation() virtual QCString trFunctionPrototypeDocumentation()
{ return "Dokumentation ver funktionsprototyper"; } { return "Dokumentation över funktionsprototyper"; }
virtual QCString trTypedefDocumentation() virtual QCString trTypedefDocumentation()
{ return "Dokumentation ver typdefinitioner"; } { return "Dokumentation över typdefinitioner"; }
virtual QCString trEnumerationTypeDocumentation() virtual QCString trEnumerationTypeDocumentation()
{ return "Dokumentation ver egenupprknande typer"; } { return "Dokumentation över egenuppräknande typer"; }
virtual QCString trFunctionDocumentation() virtual QCString trFunctionDocumentation()
{ return "Dokumentation ver funktioner"; } { return "Dokumentation över funktioner"; }
virtual QCString trVariableDocumentation() virtual QCString trVariableDocumentation()
{ return "Dokumentation ver variabler"; } { return "Dokumentation över variabler"; }
/*! 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 * the list of links to documented compounds
...@@ -419,14 +419,14 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -419,14 +419,14 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
} }
else else
{ {
return "Sammansttning"; return "Sammansättning";
} }
} }
virtual QCString trGeneratedAt(const char *date,const char *projName) virtual QCString trGeneratedAt(const char *date,const char *projName)
{ {
QCString result=(QCString)"Skapad "+date; QCString result=(QCString)"Skapad "+date;
if (projName) result+=(QCString)" fr "+projName; if (projName) result+=(QCString)" för "+projName;
result+=(QCString)" av"; result+=(QCString)" av";
return result; return result;
} }
...@@ -438,11 +438,11 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -438,11 +438,11 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
virtual QCString trClassDiagram(const char *clName) virtual QCString trClassDiagram(const char *clName)
{ {
return (QCString)"Klassdiagram fr "+clName; return (QCString)"Klassdiagram för "+clName;
} }
virtual QCString trForInternalUseOnly() virtual QCString trForInternalUseOnly()
{ return "Endast fr internt bruk."; } { return "Endast för internt bruk."; }
virtual QCString trWarning() virtual QCString trWarning()
{ return "Varning"; } { return "Varning"; }
...@@ -457,7 +457,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -457,7 +457,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
{ return "Returnerar"; } { return "Returnerar"; }
virtual QCString trSeeAlso() virtual QCString trSeeAlso()
{ return "Se ven"; } { return "Se även"; }
virtual QCString trParameters() virtual QCString trParameters()
{ return "Parametrar"; } { return "Parametrar"; }
...@@ -475,21 +475,21 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -475,21 +475,21 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
virtual QCString trNamespaceListDescription(bool extractAll) virtual QCString trNamespaceListDescription(bool extractAll)
{ {
QCString result="Hr r en lista ver alla "; QCString result="Här är en lista över alla ";
if (!extractAll) result+="dokumenterade "; if (!extractAll) result+="dokumenterade ";
result+="namnrymder med en kort beskrivning:"; result+="namnrymder med en kort beskrivning:";
return result; return result;
} }
virtual QCString trFriends() virtual QCString trFriends()
{ return "Vnner"; } { return "Vänner"; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 0.49-990405 // new since 0.49-990405
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
virtual QCString trRelatedFunctionDocumentation() virtual QCString trRelatedFunctionDocumentation()
{ return "Vnners och beslktade funktioners dokumentation"; } { return "Vänners och besläktade funktioners dokumentation"; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 0.49-990425 // new since 0.49-990425
...@@ -505,7 +505,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -505,7 +505,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
case ClassDef::Class: result+=" klass"; break; case ClassDef::Class: result+=" klass"; break;
case ClassDef::Struct: result+=" strukt"; break; case ClassDef::Struct: result+=" strukt"; break;
case ClassDef::Union: result+=" union"; break; case ClassDef::Union: result+=" union"; break;
case ClassDef::Interface: result+=" grnssnitt"; break; case ClassDef::Interface: result+=" gränssnitt"; break;
case ClassDef::Protocol: result+=" protocol"; break; // translate me! case ClassDef::Protocol: result+=" protocol"; break; // translate me!
case ClassDef::Category: result+=" category"; break; // translate me! case ClassDef::Category: result+=" category"; break; // translate me!
case ClassDef::Exception: result+=" undantag"; break; case ClassDef::Exception: result+=" undantag"; break;
...@@ -580,38 +580,38 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -580,38 +580,38 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
// used in class documentation to produce a list of base classes, // used in class documentation to produce a list of base classes,
// if class diagrams are disabled. // if class diagrams are disabled.
{ {
return "rver "+trWriteList(numEntries)+"."; return "Ärver "+trWriteList(numEntries)+".";
} }
virtual QCString trInheritedByList(int numEntries) virtual QCString trInheritedByList(int numEntries)
// used in class documentation to produce a list of super classes, // used in class documentation to produce a list of super classes,
// if class diagrams are disabled. // if class diagrams are disabled.
{ {
return "rvd av "+trWriteList(numEntries)+"."; return "Ärvd av "+trWriteList(numEntries)+".";
} }
virtual QCString trReimplementedFromList(int numEntries) virtual 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. // members that are hidden by this one.
{ {
return "terskapad frn "+trWriteList(numEntries)+"."; return "Återskapad från "+trWriteList(numEntries)+".";
} }
virtual QCString trReimplementedInList(int numEntries) virtual QCString trReimplementedInList(int numEntries)
{ {
// used in member documentation blocks to produce a list of // used in member documentation blocks to produce a list of
// all member that overwrite the implementation of this member. // all member that overwrite the implementation of this member.
return "terskapad i "+trWriteList(numEntries)+"."; return "Återskapad i "+trWriteList(numEntries)+".";
} }
virtual QCString trNamespaceMembers() virtual QCString trNamespaceMembers()
{ return "Namnrymdsmedlemmar"; } { return "Namnrymdsmedlemmar"; }
virtual QCString trNamespaceMemberDescription(bool extractAll) virtual QCString trNamespaceMemberDescription(bool extractAll)
{ {
QCString result="Hr r en lista ver alla "; QCString result="Här är en lista över alla ";
if (!extractAll) result+="dokumenterade "; if (!extractAll) result+="dokumenterade ";
result+="namnrymdsmedlemmar med lnkar till "; result+="namnrymdsmedlemmar med länkar till ";
if (extractAll) if (extractAll)
result+=" namnrymd-dokumentationen fr varje medlem:"; result+=" namnrymd-dokumentationen för varje medlem:";
else else
result+="de namnrymder de tillhr:"; result+="de namnrymder de tillhör:";
return result; return result;
} }
...@@ -641,19 +641,19 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -641,19 +641,19 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
bool single) bool single)
{ // here s is one of " Class", " Struct" or " Union" { // here s is one of " Class", " Struct" or " Union"
// single is true implies a single file // single is true implies a single file
QCString result=(QCString)"Dokumentationen fr "; QCString result=(QCString)"Dokumentationen för ";
switch(compType) switch(compType)
{ {
case ClassDef::Class: result+="denna klass "; break; case ClassDef::Class: result+="denna klass "; break;
case ClassDef::Struct: result+="denna strukt "; break; case ClassDef::Struct: result+="denna strukt "; break;
case ClassDef::Union: result+="denna union "; break; case ClassDef::Union: result+="denna union "; break;
case ClassDef::Interface: result+="detta grnssnitt "; break; case ClassDef::Interface: result+="detta gränssnitt "; break;
case ClassDef::Protocol: result+="protocol"; break; // translate me! case ClassDef::Protocol: result+="protocol"; break; // translate me!
case ClassDef::Category: result+="category"; break; // translate me! case ClassDef::Category: result+="category"; break; // translate me!
case ClassDef::Exception: result+="detta undantag "; break; case ClassDef::Exception: result+="detta undantag "; break;
default: break; default: break;
} }
result+="var genererad frn fljande fil"; result+="var genererad från följande fil";
if (single) result+=":"; else result+="er:"; if (single) result+=":"; else result+="er:";
return result; return result;
} }
...@@ -671,7 +671,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -671,7 +671,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! This is used as the heading text for the retval command. */ /*! This is used as the heading text for the retval command. */
virtual QCString trReturnValues() virtual QCString trReturnValues()
{ return "Returvrden"; } { return "Returvärden"; }
/*! This is in the (quick) index as a link to the main page (index.html) /*! This is in the (quick) index as a link to the main page (index.html)
*/ */
...@@ -690,7 +690,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -690,7 +690,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
virtual QCString trDefinedAtLineInSourceFile() virtual QCString trDefinedAtLineInSourceFile()
{ {
return "Definition p rad @0 i filen @1."; return "Definition på rad @0 i filen @1.";
} }
virtual QCString trDefinedInSourceFile() virtual QCString trDefinedInSourceFile()
{ {
...@@ -703,7 +703,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -703,7 +703,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
virtual QCString trDeprecated() virtual QCString trDeprecated()
{ {
return "Frldrad"; return "Föråldrad";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -713,13 +713,13 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -713,13 +713,13 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! this text is put before a collaboration diagram */ /*! this text is put before a collaboration diagram */
virtual QCString trCollaborationDiagram(const char *clName) virtual QCString trCollaborationDiagram(const char *clName)
{ {
return (QCString)"Samarbetsdiagram fr "+clName+":"; return (QCString)"Samarbetsdiagram för "+clName+":";
} }
/*! this text is put before an include dependency graph */ /*! this text is put before an include dependency graph */
virtual QCString trInclDepGraph(const char *fName) virtual QCString trInclDepGraph(const char *fName)
{ {
return (QCString)"Include-beroendediagram fr "+fName+":"; return (QCString)"Include-beroendediagram för "+fName+":";
} }
/*! header that is put before the list of constructor/destructors. */ /*! header that is put before the list of constructor/destructors. */
...@@ -731,19 +731,19 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -731,19 +731,19 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! Used in the file documentation to point to the corresponding sources. */ /*! Used in the file documentation to point to the corresponding sources. */
virtual QCString trGotoSourceCode() virtual QCString trGotoSourceCode()
{ {
return "G till denna fils kllkod."; return "Gå till denna fils källkod.";
} }
/*! Used in the file sources to point to the corresponding documentation. */ /*! Used in the file sources to point to the corresponding documentation. */
virtual QCString trGotoDocumentation() virtual QCString trGotoDocumentation()
{ {
return "G till denna fils dokumentation."; return "Gå till denna fils dokumentation.";
} }
/*! Text for the \\pre command */ /*! Text for the \\pre command */
virtual QCString trPrecondition() virtual QCString trPrecondition()
{ {
return "Frhandsvillkor"; return "Förhandsvillkor";
} }
/*! Text for the \\post command */ /*! Text for the \\post command */
...@@ -761,12 +761,12 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -761,12 +761,12 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! Text shown before a multi-line variable/enum initialization */ /*! Text shown before a multi-line variable/enum initialization */
virtual QCString trInitialValue() virtual QCString trInitialValue()
{ {
return "Begynnelsevrde:"; return "Begynnelsevärde:";
} }
/*! Text used the source code in the file index */ /*! Text used the source code in the file index */
virtual QCString trCode() virtual QCString trCode()
{ {
return "kllkod"; return "källkod";
} }
virtual QCString trGraphicalHierarchy() virtual QCString trGraphicalHierarchy()
...@@ -775,11 +775,11 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -775,11 +775,11 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
} }
virtual QCString trGotoGraphicalHierarchy() virtual QCString trGotoGraphicalHierarchy()
{ {
return "G till den grafiska klasshierarkin"; return "Gå till den grafiska klasshierarkin";
} }
virtual QCString trGotoTextualHierarchy() virtual QCString trGotoTextualHierarchy()
{ {
return "G till den textbaserade klasshierarkin"; return "Gå till den textbaserade klasshierarkin";
} }
virtual QCString trPageIndex() virtual QCString trPageIndex()
{ {
...@@ -802,7 +802,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -802,7 +802,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return "Dataflt"; return "Datafält";
} }
else else
{ {
...@@ -845,12 +845,12 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -845,12 +845,12 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! Used as a marker that is put before a \\todo item */ /*! Used as a marker that is put before a \\todo item */
virtual QCString trTodo() virtual QCString trTodo()
{ {
return "Att-gra"; return "Att-göra";
} }
/*! Used as the header of the todo list */ /*! Used as the header of the todo list */
virtual QCString trTodoList() virtual QCString trTodoList()
{ {
return "Att-gra lista"; return "Att-göra lista";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -863,7 +863,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -863,7 +863,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
} }
virtual QCString trRemarks() virtual QCString trRemarks()
{ {
return "Lgg mrke till"; return "Lägg märke till";
} }
virtual QCString trAttention() virtual QCString trAttention()
{ {
...@@ -871,7 +871,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -871,7 +871,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
} }
virtual QCString trInclByDepGraph() virtual QCString trInclByDepGraph()
{ {
return "Den hr grafen visar vilka filer som direkt eller " return "Den här grafen visar vilka filer som direkt eller "
"indirekt inkluderar denna filen."; "indirekt inkluderar denna filen.";
} }
virtual QCString trSince() virtual QCString trSince()
...@@ -886,7 +886,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -886,7 +886,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! title of the graph legend page */ /*! title of the graph legend page */
virtual QCString trLegendTitle() virtual QCString trLegendTitle()
{ {
return "Graffrklaring"; return "Grafförklaring";
} }
/*! page explaining how the dot graph's should be interpreted /*! page explaining how the dot graph's should be interpreted
...@@ -895,27 +895,27 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -895,27 +895,27 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
virtual QCString trLegendDocs() virtual QCString trLegendDocs()
{ {
return return
"Den hr sidan frklarar hur man ska tolka de grafer som doxygen " "Den här sidan förklarar hur man ska tolka de grafer som doxygen "
"genererar.<p>\n" "genererar.<p>\n"
"Tag fljande exempel:\n" "Tag följande exempel:\n"
"\\code\n" "\\code\n"
"/*! Osynlig klass p grund av stympning */\n" "/*! Osynlig klass på grund av stympning */\n"
"class Invisible { };\n\n" "class Invisible { };\n\n"
"/*! Stympad klass, rvningsrelationen r dold */\n" "/*! Stympad klass, ärvningsrelationen är dold */\n"
"class Truncated : public Invisible { };\n\n" "class Truncated : public Invisible { };\n\n"
"/* Klass utan doxygen-kommentarer */\n" "/* Klass utan doxygen-kommentarer */\n"
"class Undocumented { };\n\n" "class Undocumented { };\n\n"
"/*! Klass som rvs med publikt arv */\n" "/*! Klass som ärvs med publikt arv */\n"
"class PublicBase : public Truncated { };\n\n" "class PublicBase : public Truncated { };\n\n"
"/*! En template-klass */\n" "/*! En template-klass */\n"
"template<class T> class Templ { };\n\n" "template<class T> class Templ { };\n\n"
"/*! Klass som rvs med skyddat arv */\n" "/*! Klass som ärvs med skyddat arv */\n"
"class ProtectedBase { };\n\n" "class ProtectedBase { };\n\n"
"/*! Klass som rvs med privat arv */\n" "/*! Klass som ärvs med privat arv */\n"
"class PrivateBase { };\n\n" "class PrivateBase { };\n\n"
"/*! Klass som anvnds av Inherited klassen */\n" "/*! Klass som används av Inherited klassen */\n"
"class Used { };\n\n" "class Used { };\n\n"
"/*! Super klassen som rver ett antal andra klasser */\n" "/*! Super klassen som ärver ett antal andra klasser */\n"
"class Inherited : public PublicBase,\n" "class Inherited : public PublicBase,\n"
" protected ProtectedBase,\n" " protected ProtectedBase,\n"
" private PrivateBase,\n" " private PrivateBase,\n"
...@@ -926,41 +926,41 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -926,41 +926,41 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
" Used *m_usedClass;\n" " Used *m_usedClass;\n"
"};\n" "};\n"
"\\endcode\n" "\\endcode\n"
"Om \\c MAX_DOT_GRAPH_HEIGHT r satt till 240 i konfigurationsfilen, " "Om \\c MAX_DOT_GRAPH_HEIGHT är satt till 240 i konfigurationsfilen, "
"kommer fljande graf att generas:" "kommer följande graf att generas:"
"<p><center><img alt=\"\" src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n" "<p><center><img alt=\"\" src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
"<p>\n" "<p>\n"
"Rektanglarna i den ovanstende grafen har fljande betydelser:\n" "Rektanglarna i den ovanstående grafen har följande betydelser:\n"
"<ul>\n" "<ul>\n"
"<li>%En fylld svart rektangel representerar den strukt eller klass " "<li>%En fylld svart rektangel representerar den strukt eller klass "
"som har genererat grafen.\n" "som har genererat grafen.\n"
"<li>%En rektangel med svart kant symboliserar en dokumenterad " "<li>%En rektangel med svart kant symboliserar en dokumenterad "
"strukt eller klass.\n" "strukt eller klass.\n"
"<li>%En rektangel med gr kant symboliserar en odokumenterad strukt " "<li>%En rektangel med grå kant symboliserar en odokumenterad strukt "
"eller klass.\n" "eller klass.\n"
"<li>%En klass med rd kant symboliserar en strukt eller klass dr " "<li>%En klass med röd kant symboliserar en strukt eller klass där "
"alla dess relationer inte visas. %En graf stympas om den inte fr " "alla dess relationer inte visas. %En graf stympas om den inte får "
"plats inom de givna grnserna.\n" "plats inom de givna gränserna.\n"
"</ul>\n" "</ul>\n"
"Pilarna har fljande betydelser:\n" "Pilarna har följande betydelser:\n"
"<ul>\n" "<ul>\n"
"<li>%En mrkbl pil anvnds fr att visualisera en publik arvrelation " "<li>%En mörkblå pil används för att visualisera en publik arvrelation "
"mellan tv klasser.\n" "mellan två klasser.\n"
"<li>%En mrkgrn pil anvnds fr en skyddad arvsrelation.\n" "<li>%En mörkgrön pil används för en skyddad arvsrelation.\n"
"<li>%En mrkrd pil anvnds fr en privat arvsrelation.\n" "<li>%En mörkröd pil används för en privat arvsrelation.\n"
"<li>%En strckad lila pil anvnds om en klass r innesluten eller " "<li>%En sträckad lila pil används om en klass är innesluten eller "
"anvnd av en annan klass. Vid pilen str namnet p den eller de " "använd av en annan klass. Vid pilen står namnet på den eller de "
"variabler som klassen pilen pekar p kommer t.\n" "variabler som klassen pilen pekar på kommer åt.\n"
"<li>%En strckad gul pil symboliserar frhllandet mellan en " "<li>%En sträckad gul pil symboliserar förhållandet mellan en "
"template-instans och template-klassen, som den instantierades frn.\n" "template-instans och template-klassen, som den instantierades från.\n"
"Vid pilen str instansens template-parametrar.\n" "Vid pilen står instansens template-parametrar.\n"
"</ul>\n"; "</ul>\n";
} }
/*! text for the link to the legend page */ /*! text for the link to the legend page */
virtual QCString trLegend() virtual QCString trLegend()
{ {
return "frklaring"; return "förklaring";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1032,8 +1032,8 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -1032,8 +1032,8 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! The description of the package index page */ /*! The description of the package index page */
virtual QCString trPackageListDescription() virtual QCString trPackageListDescription()
{ {
return "Hr r en lista ver paketen med en kort beskrivning " return "Här är en lista över paketen med en kort beskrivning "
"(om sdan finns):"; "(om sådan finns):";
} }
/*! The link name in the Quick links header for each page */ /*! The link name in the Quick links header for each page */
virtual QCString trPackages() virtual QCString trPackages()
...@@ -1043,7 +1043,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -1043,7 +1043,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! Text shown before a multi-line define */ /*! Text shown before a multi-line define */
virtual QCString trDefineValue() virtual QCString trDefineValue()
{ {
return "Vrde:"; return "Värde:";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1178,7 +1178,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -1178,7 +1178,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
* for the author section in man pages. */ * for the author section in man pages. */
virtual QCString trAuthor(bool first_capital, bool /*singular*/) virtual QCString trAuthor(bool first_capital, bool /*singular*/)
{ {
QCString result((first_capital ? "Frfattare" : "frfattare")); QCString result((first_capital ? "Författare" : "författare"));
return result; return result;
} }
...@@ -1222,7 +1222,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -1222,7 +1222,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trRTFTableOfContents() virtual QCString trRTFTableOfContents()
{ {
return "Innehllsfrteckning"; return "Innehållsförteckning";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1234,7 +1234,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -1234,7 +1234,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trDeprecatedList() virtual QCString trDeprecatedList()
{ {
return "Lista ver frldrade"; return "Lista över föråldrade";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1246,12 +1246,12 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -1246,12 +1246,12 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trEvents() virtual QCString trEvents()
{ {
return "Hndelser"; return "Händelser";
} }
/*! Header used for the documentation section of a class' events. */ /*! Header used for the documentation section of a class' events. */
virtual QCString trEventDocumentation() virtual QCString trEventDocumentation()
{ {
return "Hndelse Dokumentation"; return "Händelse Dokumentation";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1307,7 +1307,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -1307,7 +1307,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! Put in front of the call graph for a function. */ /*! Put in front of the call graph for a function. */
virtual QCString trCallGraph() virtual QCString trCallGraph()
{ {
return "Hr r anropnings diagrammet fr den hr funktionen:"; return "Här är anropnings diagrammet för den här funktionen:";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1320,14 +1320,14 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -1320,14 +1320,14 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trSearchForIndex() virtual QCString trSearchForIndex()
{ {
return "Sk efter"; return "Sök efter";
} }
/*! This string is used as the title for the page listing the search /*! This string is used as the title for the page listing the search
* results. * results.
*/ */
virtual QCString trSearchResultsTitle() virtual QCString trSearchResultsTitle()
{ {
return "Skresultat"; return "Sökresultat";
} }
/*! This string is put just before listing the search results. The /*! This string is put just before listing the search results. The
* text can be different depending on the number of documents found. * text can be different depending on the number of documents found.
...@@ -1341,16 +1341,16 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -1341,16 +1341,16 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
{ {
if (numDocuments==0) if (numDocuments==0)
{ {
return "Tyvrr finns det inga dokument som matchar din skning."; return "Tyvärr finns det inga dokument som matchar din sökning.";
} }
else if (numDocuments==1) else if (numDocuments==1)
{ {
return "Hittade <b>1</b> dokument som matchar din skning."; return "Hittade <b>1</b> dokument som matchar din sökning.";
} }
else else
{ {
return "Hittade <b>$num</b> dokument som matchar din skning. " return "Hittade <b>$num</b> dokument som matchar din sökning. "
"Visar de bsta trffarna frst."; "Visar de bästa träffarna först.";
} }
} }
/*! 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
...@@ -1358,7 +1358,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -1358,7 +1358,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trSearchMatches() virtual QCString trSearchMatches()
{ {
return "Trffar:"; return "Träffar:";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1369,7 +1369,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -1369,7 +1369,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trSourceFile(QCString& filename) virtual QCString trSourceFile(QCString& filename)
{ {
return "Kllkodsfilen " + filename; return "Källkodsfilen " + filename;
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1398,7 +1398,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -1398,7 +1398,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
* and the fact that it is sorted alphabetically per level * and the fact that it is sorted alphabetically per level
*/ */
virtual QCString trDirDescription() virtual QCString trDirDescription()
{ return "Den hr katalogen r grovt sorterad, " { return "Den här katalogen är grovt sorterad, "
"men inte helt, i alfabetisk ordning:"; "men inte helt, i alfabetisk ordning:";
} }
...@@ -1427,9 +1427,9 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -1427,9 +1427,9 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trOverloadText() virtual QCString trOverloadText()
{ {
return "Det hr r en verlagrad medlemsfunktion " return "Det här är en överlagrad medlemsfunktion "
"tillhandahllen fr bekvmlighet. Den enda som " "tillhandahållen för bekvämlighet. Den enda som "
"skiljer sig frn ovanstende funktion r vilka " "skiljer sig från ovanstående funktion är vilka "
"argument den tar emot."; "argument den tar emot.";
} }
...@@ -1440,7 +1440,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -1440,7 +1440,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! This is used to introduce a caller (or called-by) graph */ /*! This is used to introduce a caller (or called-by) graph */
virtual QCString trCallerGraph() virtual QCString trCallerGraph()
{ {
return "Hr r katalog-grafen fr denna funktion:"; return "Här är katalog-grafen för denna funktion:";
} }
/*! 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
...@@ -1448,7 +1448,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -1448,7 +1448,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trEnumerationValueDocumentation() virtual QCString trEnumerationValueDocumentation()
{ {
return "Upprknings-dokumentation"; return "Uppräknings-dokumentation";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1465,29 +1465,29 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -1465,29 +1465,29 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! This is put above each page as a link to all members of compounds (Fortran). */ /*! This is put above each page as a link to all members of compounds (Fortran). */
virtual QCString trCompoundMembersFortran() virtual QCString trCompoundMembersFortran()
{ return "Data flt"; } { return "Data fält"; }
/*! This is an introduction to the annotated compound list (Fortran). */ /*! This is an introduction to the annotated compound list (Fortran). */
virtual QCString trCompoundListDescriptionFortran() virtual QCString trCompoundListDescriptionFortran()
{ return "Hr r datatyperna med en kort beskrivning:"; } { return "Här är datatyperna med en kort beskrivning:"; }
/*! This is an introduction to the page with all data types (Fortran). */ /*! This is an introduction to the page with all data types (Fortran). */
virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
{ {
QCString result="Hr r en lista av alla "; QCString result="Här är en lista av alla ";
if (!extractAll) if (!extractAll)
{ {
result+="dokumenterade "; result+="dokumenterade ";
} }
result+="datatyps medlemmar"; result+="datatyps medlemmar";
result+=" med lnkar till "; result+=" med länkar till ";
if (!extractAll) if (!extractAll)
{ {
result+="datastrukturs documentation fr varje medlem"; result+="datastrukturs documentation för varje medlem";
} }
else else
{ {
result+="klasserna de hr till:"; result+="klasserna de hör till:";
} }
return result; return result;
} }
...@@ -1529,7 +1529,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -1529,7 +1529,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! used as an introduction to the modules list (Fortran) */ /*! used as an introduction to the modules list (Fortran) */
virtual QCString trModulesListDescription(bool extractAll) virtual QCString trModulesListDescription(bool extractAll)
{ {
QCString result="Hr r en lista p alla "; QCString result="Här är en lista på alla ";
if (!extractAll) result+="dokumenterade "; if (!extractAll) result+="dokumenterade ";
result+="moduler med en kort beskrivning:"; result+="moduler med en kort beskrivning:";
return result; return result;
...@@ -1546,7 +1546,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -1546,7 +1546,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
case ClassDef::Class: result+=" Modul"; break; case ClassDef::Class: result+=" Modul"; break;
case ClassDef::Struct: result+=" Typ"; break; case ClassDef::Struct: result+=" Typ"; break;
case ClassDef::Union: result+=" Union"; break; case ClassDef::Union: result+=" Union"; break;
case ClassDef::Interface: result+=" Grnssnitt"; break; case ClassDef::Interface: result+=" Gränssnitt"; break;
case ClassDef::Protocol: result+=" Protokoll"; break; case ClassDef::Protocol: result+=" Protokoll"; break;
case ClassDef::Category: result+=" Kategori"; break; case ClassDef::Category: result+=" Kategori"; break;
case ClassDef::Exception: result+=" Undantag"; break; case ClassDef::Exception: result+=" Undantag"; break;
...@@ -1571,16 +1571,16 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -1571,16 +1571,16 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! This is an introduction to the page with all modules members (Fortran) */ /*! This is an introduction to the page with all modules members (Fortran) */
virtual QCString trModulesMemberDescription(bool extractAll) virtual QCString trModulesMemberDescription(bool extractAll)
{ {
QCString result="Hr r en lista p alla "; QCString result="Här är en lista på alla ";
if (!extractAll) result+="documented "; if (!extractAll) result+="documented ";
result+="modul medlemmar med lnkar till "; result+="modul medlemmar med länkar till ";
if (extractAll) if (extractAll)
{ {
result+="modul dokumentationen fr varje medlem:"; result+="modul dokumentationen för varje medlem:";
} }
else else
{ {
result+="modulerna de hr till:"; result+="modulerna de hör till:";
} }
return result; return result;
} }
...@@ -1606,19 +1606,19 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -1606,19 +1606,19 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
bool single) bool single)
{ {
// single is true implies a single file // single is true implies a single file
QCString result=(QCString)"Dokumentationen fr denna "; QCString result=(QCString)"Dokumentationen för denna ";
switch(compType) switch(compType)
{ {
case ClassDef::Class: result+="modul"; break; case ClassDef::Class: result+="modul"; break;
case ClassDef::Struct: result+="typ"; break; case ClassDef::Struct: result+="typ"; break;
case ClassDef::Union: result+="union"; break; case ClassDef::Union: result+="union"; break;
case ClassDef::Interface: result+="grnssnitt"; break; case ClassDef::Interface: result+="gränssnitt"; break;
case ClassDef::Protocol: result+="protokoll"; break; case ClassDef::Protocol: result+="protokoll"; break;
case ClassDef::Category: result+="kategori"; break; case ClassDef::Category: result+="kategori"; break;
case ClassDef::Exception: result+="undantag"; break; case ClassDef::Exception: result+="undantag"; break;
default: break; default: break;
} }
result+=" genererades frn fljade fil"; result+=" genererades från följade fil";
if (single) result+=":"; else result+="er:"; if (single) result+=":"; else result+="er:";
return result; return result;
} }
...@@ -1643,7 +1643,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0 ...@@ -1643,7 +1643,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! C# Type Constraint list */ /*! C# Type Constraint list */
virtual QCString trTypeConstraints() virtual QCString trTypeConstraints()
{ {
return "Typbegrnsningar"; return "Typbegränsningar";
} }
/*---------- For internal use: ----------------------------------------*/ /*---------- For internal use: ----------------------------------------*/
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
// Translator class (by the local maintainer) when the localized // Translator class (by the local maintainer) when the localized
// translator is made up-to-date again. // translator is made up-to-date again.
class TranslatorChinesetraditional : public TranslatorAdapter_1_8_0 class TranslatorChinesetraditional : public Translator
{ {
public: public:
...@@ -78,7 +78,7 @@ class TranslatorChinesetraditional : public TranslatorAdapter_1_8_0 ...@@ -78,7 +78,7 @@ class TranslatorChinesetraditional : public TranslatorAdapter_1_8_0
/*! return the language charset. This will be used for the HTML output */ /*! return the language charset. This will be used for the HTML output */
virtual QCString idLanguageCharset() virtual QCString idLanguageCharset()
{ {
return "big5"; return "utf-8";
} }
// --- Language translation methods ------------------- // --- Language translation methods -------------------
...@@ -1863,6 +1863,165 @@ class TranslatorChinesetraditional : public TranslatorAdapter_1_8_0 ...@@ -1863,6 +1863,165 @@ class TranslatorChinesetraditional : public TranslatorAdapter_1_8_0
virtual QCString trDirDepGraph(const char *name) virtual QCString trDirDepGraph(const char *name)
{ return QCString(name)+"的目錄關連圖"+":"; } { return QCString(name)+"的目錄關連圖"+":"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.8.0
//////////////////////////////////////////////////////////////////////////
/*! Detail level selector shown for hierarchical indices */
virtual QCString trDetailLevel()
{ return "詳細程度"; }
/*! Section header for list of template parameters */
virtual QCString trTemplateParameters()
{ return "樣版參數"; }
/*! Used in dot graph when UML_LOOK is enabled and there are many fields */
virtual QCString trAndMore(const QCString &number)
{ return "及 "+number+" 個更多..."; }
/*! Used file list for a Java enum */
virtual QCString trEnumGeneratedFromFiles(bool single)
{ QCString result = "此列舉型態的文件是由下列檔案所產生";
if (!single) result += "";
result+=":";
return result;
}
/*! Header of a Java enum page (Java enums are represented as classes). */
virtual QCString trEnumReference(const char *name)
{ return QCString(name)+" 列舉型態參考"; }
/*! Used for a section containing inherited members */
virtual QCString trInheritedFrom(const char *members,const char *what)
{ return QCString(members)+" 繼承自 "+what; }
/*! Header of the sections with inherited members specific for the
* base class(es)
*/
virtual QCString trAdditionalInheritedMembers()
{ return "額外的繼承成員"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.8.2
//////////////////////////////////////////////////////////////////////////
/*! Used as a tooltip for the toggle button that appears in the
* navigation tree in the HTML output when GENERATE_TREEVIEW is
* enabled. This tooltip explains the meaning of the button.
*/
virtual QCString trPanelSynchronisationTooltip(bool enable)
{
QCString opt = enable ? "啟用" : "停用";
return "點擊 "+opt+" 面板進行同步";
}
/*! Used in a method of an Objective-C class that is declared in a
* a category. Note that the @1 marker is required and is replaced
* by a link.
*/
virtual QCString trProvidedByCategory()
{
return "由 @1 分類所提供.";
}
/*! Used in a method of an Objective-C category that extends a class.
* Note that the @1 marker is required and is replaced by a link to
* the class method.
*/
virtual QCString trExtendsClass()
{
return "延伸 @1 類別 .";
}
/*! Used as the header of a list of class methods in Objective-C.
* These are similar to static public member functions in C++.
*/
virtual QCString trClassMethods()
{
return "類別方法";
}
/*! Used as the header of a list of instance methods in Objective-C.
* These are similar to public member functions in C++.
*/
virtual QCString trInstanceMethods()
{
return "實體方法";
}
/*! Used as the header of the member functions of an Objective-C class.
*/
virtual QCString trMethodDocumentation()
{
return "方法文件";
}
/*! Used as the title of the design overview picture created for the
* VHDL output.
*/
virtual QCString trDesignOverview()
{
return "設計概述";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.8.4
//////////////////////////////////////////////////////////////////////////
/** old style UNO IDL services: implemented interfaces */
virtual QCString trInterfaces()
{ return "導出介面"; }
/** old style UNO IDL services: inherited services */
virtual QCString trServices()
{ return "引入的服務"; }
/** UNO IDL constant groups */
virtual QCString trConstantGroups()
{ return "常數群組"; }
/** UNO IDL constant groups */
virtual QCString trConstantGroupReference(const char *namespaceName)
{
QCString result=namespaceName;
result+="常數群組參考";
return result;
}
/** UNO IDL service page title */
virtual QCString trServiceReference(const char *sName)
{
QCString result=(QCString)sName;
result+="服務參考";
return result;
}
/** UNO IDL singleton page title */
virtual QCString trSingletonReference(const char *sName)
{
QCString result=(QCString)sName;
result+="Singleton參考";
return result;
}
/** UNO IDL service page */
virtual QCString trServiceGeneratedFromFiles(bool single)
{
// single is true implies a single file
QCString result=(QCString)"本服務的文件由以下的檔案"
"所產生";
if (single) result+=":"; else result+=":";
return result;
}
/** UNO IDL singleton page */
virtual QCString trSingletonGeneratedFromFiles(bool single)
{
// single is true implies a single file
QCString result=(QCString)"本singleton的文件由下面的檔案"
"所產生";
if (single) result+=":"; else result+=":";
return result;
}
//////////////////////////////////////////////////////////////////////////
}; };
#endif #endif
...@@ -65,7 +65,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -65,7 +65,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
/*! return the language charset. This will be used for the HTML output */ /*! return the language charset. This will be used for the HTML output */
virtual QCString idLanguageCharset() virtual QCString idLanguageCharset()
{ {
return "iso-8859-1"; return "utf-8";
} }
// --- Language translation methods ------------------- // --- Language translation methods -------------------
...@@ -147,7 +147,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -147,7 +147,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
/*! put after an undocumented member in the list of all members */ /*! put after an undocumented member in the list of all members */
virtual QCString trDefinedIn() virtual QCString trDefinedIn()
{ return "gedefinie&euml;r in"; } { return "gedefinieër in"; }
// quick reference sections // quick reference sections
...@@ -176,7 +176,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -176,7 +176,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
/*! This is put above each page as a link to the list of documented files */ /*! This is put above each page as a link to the list of documented files */
virtual QCString trFileList() virtual QCString trFileList()
{ return "Le&euml;r Lys"; } { return "Leër Lys"; }
/*! 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() virtual QCString trCompoundMembers()
...@@ -200,7 +200,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -200,7 +200,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
} }
else else
{ {
return "Le&euml;r Lede"; return "Leër Lede";
} }
} }
...@@ -227,7 +227,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -227,7 +227,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
{ {
QCString result="Hier is 'n lys van alle "; QCString result="Hier is 'n lys van alle ";
if (!extractAll) result+="gedokumenteerde "; if (!extractAll) result+="gedokumenteerde ";
result+="le&euml;rs met kort beskrywings:"; result+="leërs met kort beskrywings:";
return result; return result;
} }
...@@ -300,11 +300,11 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -300,11 +300,11 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
} }
else else
{ {
result+="le&euml;r lede"; result+="leër lede";
} }
result+=" met skakels na "; result+=" met skakels na ";
if (extractAll) if (extractAll)
result+="die le&euml;rs waaraan hulle behoort:"; result+="die leërs waaraan hulle behoort:";
else else
result+="die dokumentasie:"; result+="die dokumentasie:";
return result; return result;
...@@ -357,7 +357,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -357,7 +357,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
* list of all files. * list of all files.
*/ */
virtual QCString trFileIndex() virtual QCString trFileIndex()
{ return "Le&euml;r Indeks"; } { return "Leër Indeks"; }
/*! This is used in LaTeX as the title of the chapter containing /*! This is used in LaTeX as the title of the chapter containing
* the documentation of all groups. * the documentation of all groups.
...@@ -384,7 +384,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -384,7 +384,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
* the documentation of all files. * the documentation of all files.
*/ */
virtual QCString trFileDocumentation() virtual QCString trFileDocumentation()
{ return "Le&euml;r Dokumentasie"; } { return "Leër Dokumentasie"; }
/*! This is used in LaTeX as the title of the chapter containing /*! This is used in LaTeX as the title of the chapter containing
* the documentation of all examples. * the documentation of all examples.
...@@ -617,7 +617,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -617,7 +617,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
virtual QCString trFileReference(const char *fileName) virtual QCString trFileReference(const char *fileName)
{ {
QCString result=fileName; QCString result=fileName;
result+=" Le&euml;r Verwysing"; result+=" Leër Verwysing";
return result; return result;
} }
...@@ -768,7 +768,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -768,7 +768,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
case ClassDef::Exception: result+="eksepsie"; break; case ClassDef::Exception: result+="eksepsie"; break;
default: break; default: break;
} }
result+=" is gegenereer vanaf die volgende le&euml;r"; result+=" is gegenereer vanaf die volgende leër";
if (single) result+=":"; else result+="s:"; if (single) result+=":"; else result+="s:";
return result; return result;
} }
...@@ -804,11 +804,11 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -804,11 +804,11 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
virtual QCString trDefinedAtLineInSourceFile() virtual QCString trDefinedAtLineInSourceFile()
{ {
return "Gedefinie&euml;r by lyn @0 van le&euml;r @1."; return "Gedefinieër by lyn @0 van leër @1.";
} }
virtual QCString trDefinedInSourceFile() virtual QCString trDefinedInSourceFile()
{ {
return "Definisie in le&euml;r @0."; return "Definisie in leër @0.";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -842,12 +842,12 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -842,12 +842,12 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
/*! Used in the file documentation to point to the corresponding sources. */ /*! Used in the file documentation to point to the corresponding sources. */
virtual QCString trGotoSourceCode() virtual QCString trGotoSourceCode()
{ {
return "Skakel na die bron kode van hierdie le&euml;r."; return "Skakel na die bron kode van hierdie leër.";
} }
/*! Used in the file sources to point to the corresponding documentation. */ /*! Used in the file sources to point to the corresponding documentation. */
virtual QCString trGotoDocumentation() virtual QCString trGotoDocumentation()
{ {
return "Skakel na die dokumentasie van hierdie le&euml;r."; return "Skakel na die dokumentasie van hierdie leër.";
} }
/*! Text for the \\pre command */ /*! Text for the \\pre command */
virtual QCString trPrecondition() virtual QCString trPrecondition()
...@@ -976,8 +976,8 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -976,8 +976,8 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
} }
virtual QCString trInclByDepGraph() virtual QCString trInclByDepGraph()
{ {
return "Hierdie diagram verduidelik watter le&euml;rs direk of" return "Hierdie diagram verduidelik watter leërs direk of"
"indirek hierdie le&euml;r insluit:"; "indirek hierdie leër insluit:";
} }
virtual QCString trSince() virtual QCString trSince()
{ {
...@@ -1030,7 +1030,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -1030,7 +1030,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
" Used *m_usedClass;\n" " Used *m_usedClass;\n"
"};\n" "};\n"
"\\endcode\n" "\\endcode\n"
"As die \\c MAX_DOT_GRAPH_HEIGHT merker in die konfigurasie le&euml;r " "As die \\c MAX_DOT_GRAPH_HEIGHT merker in die konfigurasie leër "
"aan 240 gelyk gestel is, word die volgende diagram geproduseer:" "aan 240 gelyk gestel is, word die volgende diagram geproduseer:"
"<p><center><img alt=\"\" src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n" "<p><center><img alt=\"\" src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
"<p>\n" "<p>\n"
...@@ -1227,7 +1227,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -1227,7 +1227,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trFile(bool first_capital, bool singular) virtual QCString trFile(bool first_capital, bool singular)
{ {
QCString result((first_capital ? "Le&euml;r" : "le&euml;r")); QCString result((first_capital ? "Leër" : "leër"));
if (!singular) result+="s"; if (!singular) result+="s";
return result; return result;
} }
...@@ -1487,7 +1487,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -1487,7 +1487,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trSourceFile(QCString& filename) virtual QCString trSourceFile(QCString& filename)
{ {
return filename + " Bron kode Le&euml;r"; return filename + " Bron kode Leër";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1498,7 +1498,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -1498,7 +1498,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
* hierarchy. * hierarchy.
*/ */
virtual QCString trDirIndex() virtual QCString trDirIndex()
{ return "Directory Hi&euml;rargie"; } { return "Directory Hiërargie"; }
/*! This is used as the name of the chapter containing the documentation /*! This is used as the name of the chapter containing the documentation
* of the directories. * of the directories.
...@@ -1516,7 +1516,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -1516,7 +1516,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
* and the fact that it is sorted alphabetically per level * and the fact that it is sorted alphabetically per level
*/ */
virtual QCString trDirDescription() virtual QCString trDirDescription()
{ return "Hierdie directory hi&euml;rargie is min of meer alfabeties " { return "Hierdie directory hiërargie is min of meer alfabeties "
"gesorteer:"; "gesorteer:";
} }
......
#! python2
from __future__ import print_function
import os
import re
import shutil
import subprocess
import sys
import textwrap
def getCurrentSubdirName():
subdir, fname = os.path.split(os.path.realpath(__file__))
return os.path.basename(subdir)
def getCurrentBranchName():
result = None
cmd = 'git branch --list --no-color'
pipe = subprocess.Popen(cmd, stdout=subprocess.PIPE).stdout
for line in pipe:
line = line.decode('utf-8')
if line.startswith('*'):
result = line[2:].rstrip()
pipe.close()
return result
def getUserName():
user = None # init
p = subprocess.Popen('git config user.name', stdout=subprocess.PIPE)
user = p.communicate()[0]
user = user.decode('utf-8')
p.wait()
return user
def getUserInitials():
user = getUserName()
return ''.join(s[0] for s in user.split())
def gitSHA_date_time():
cmd = 'git rev-parse --short HEAD'
p = subprocess.Popen(cmd, stdout=subprocess.PIPE)
output = p.communicate()[0]
output = output.decode('ASCII')
p.wait()
sha = output.strip()
cmd = 'git show -s --format="%ci" ' + sha
p = subprocess.Popen(cmd, stdout=subprocess.PIPE)
output = p.communicate()[0]
output = output.decode('ASCII')
p.wait()
date = output.strip()
lst = date.split() # string like '2013-06-21 09:23:47 +0200'
dstamp = lst[0].replace('-', '') # '20130621' for the date
tstamp = lst[1].replace(':', '') # '092347' for the time
return sha, dstamp, tstamp
def gitDescribe():
result = None
cmd = 'git describe'
p = subprocess.Popen(cmd, stdout=subprocess.PIPE)
descr = p.communicate()[0]
descr = descr.decode('utf-8')
p.wait()
return descr.strip()
def getDoxygenVersion():
# ... from the VERSION file.
sdir, fname = getThisScriptPathAndName()
version_fname = os.path.join(sdir, '..', 'VERSION')
with open(version_fname) as f:
lst = f.readlines()
doxver = lst[0].strip()
m = re.match(r'^(?P<ver>[0-9.]+)(-(?P<date>\d{8}))?', doxver)
assert m
ver = m.group('ver')
return ver
def getThisScriptPathAndName():
script_fname = os.path.realpath(__file__)
sdir, fname = os.path.split(script_fname)
return sdir, fname
def getEmptyDistribDir():
# Get this script full path, name, and the script subdir name
# (for checking the location).
sdir, fname = getThisScriptPathAndName()
subdir = os.path.basename(sdir)
assert subdir == 'winbuild'
# The distribution directory will be a subdirectory of the "../__put"
# (created if it does not exist, not the part of the git repo).
target_dir = os.path.normpath(os.path.join(sdir, '..', '__put'))
if not os.path.exists(target_dir):
os.mkdir(target_dir)
assert os.path.isdir(target_dir)
# The distribution subdir is composed out of 'Doxygen-', version stamp,
# timestamp, and commit id (partial SHA). Ignore the date from the VERSION
# file, take the commit date.
ver = getDoxygenVersion()
sha, dstamp, tstamp = gitSHA_date_time()
dist_subdir = 'Doxygen-' + ver + '-' + dstamp + tstamp
dist_dir = os.path.join(target_dir, dist_subdir)
print(dist_dir)
if os.path.isdir(dist_dir):
print("Removing the existing '{}'".format(dist_dir))
shutil.rmtree(dist_dir)
assert not os.path.exists(dist_dir)
print("Creating the new '{}'".format(dist_dir))
os.mkdir(dist_dir)
assert os.path.isdir(dist_dir)
return dist_dir
def copyBinaries(dist_dir, subdir):
'''Copy the Windows binaries (doxygen.exe only) to the dist_dir directory.'''
# Source file should exist.
sdir, fname = getThisScriptPathAndName()
src = os.path.normpath(os.path.join(sdir, '..', 'bin', subdir, 'doxygen.exe'))
assert os.path.isfile(src)
# Destination directory must not exist. It must be created first.
dst_dir = os.path.normpath(os.path.join(dist_dir, 'bin', subdir))
assert not os.path.isdir(dst_dir)
os.makedirs(dst_dir)
# Copy the file.
print("Copying '{}'".format(src))
shutil.copy2(src, dst_dir)
def getBinariesZipBareName():
ver = getDoxygenVersion()
sha, dstamp, tstamp = gitSHA_date_time()
fname = 'doxygenw{}_{}.zip'.format(dstamp, ver.replace('.', '_'))
return fname
def getTranslatorReportZipBareName():
ver = getDoxygenVersion()
sha, dstamp, tstamp = gitSHA_date_time()
fname = 'tr{}_{}.zip'.format(dstamp, ver.replace('.', '_'))
return fname
def zipBinaries(distr_dir):
# Build the zip filename. It is to be located at the same level as distr_dir.
zip_bare_name = getBinariesZipBareName()
dst, distr_subdir = os.path.split(distr_dir)
zip_full_name = os.path.join(dst, zip_bare_name)
if os.path.isfile(zip_full_name):
print("Removing the existing '{}'".format(zip_full_name))
os.remove(zip_full_name)
# Change the working directory to destination directory and zip from
# there using the bare names so that the full path is not zipped inside.
wd = os.getcwd()
os.chdir(dst)
print("Zipping new '{}'".format(zip_full_name))
subprocess.call('zip -r {} {}'.format(zip_bare_name, distr_subdir), shell=True)
os.chdir(wd) # back to the original working directory
def buildAndZipTranslatorReport(distr_dir):
# Build the translator report zip filename. It is to be located at the same
# level as distr_dir.
zip_bare_name = getTranslatorReportZipBareName()
dst, subdir = os.path.split(distr_dir)
zip_full_name = os.path.join(dst, zip_bare_name)
if os.path.isfile(zip_full_name):
print("Removing the existing '{}'".format(zip_full_name))
os.remove(zip_full_name)
print("Zipping new '{}'".format(zip_full_name))
# Change the working directory to the doc one and generate
# the translator report.
sdir, fname = getThisScriptPathAndName()
docdir = os.path.join(sdir, '..', 'doc')
assert os.path.isdir(docdir)
wd = os.getcwd()
os.chdir(docdir)
subprocess.call('python translator.py', shell=True)
# Zip the generated translator_report.txt.
subprocess.call('zip -r {} {}'.format(zip_full_name,
'translator_report.txt'), shell=True)
os.chdir(wd) # back to the original working directory
def xxx():
# Vytvoříme dopis.
subject = 'Windows binaries available for %s in SVN' % doxdir
subject = subject.replace(' ', '%20')
body = textwrap.dedent('''\
Hi,
If interested, you can download the doxygen binaries
compiled for MS Windows from
http://sourceforge.net/projects/doxygen/files/snapshots/doxygen-1.8-svn/windows
This is the place where you should find also the next
releases. Name of the archive file is
%s
The related translator report can be found inside the directory
http://sourceforge.net/projects/doxygen/files/snapshots/doxygen-1.8-svn/translator_reports/
Name of the archive file is
%s
The binaries are NOT created automatically, so it may
happen that some newer SVN sources were not compiled
because I am not present to do that or I forgot... ;)
Regards,
Petr
--
Petr Prikryl (prikryl at atlas dot cz)''') % (doxzipname, trzipname)
body = body.replace('\n', '%0d')
# Zkonstruujeme URI a spustíme mailer pro odeslání dopisu.
to_addr = 'doxygen-users@lists.sourceforge.net'
mailtoURI = 'mailto:%s?subject=%s&body=%s' % (to_addr, subject, body)
os.startfile(mailtoURI)
if __name__ == '__main__':
# Create the empty directory for the distribution files.
dist_dir = getEmptyDistribDir()
# Copy the compiled binaries to the distribution directory and zip them.
copyBinaries(dist_dir, 'Debug')
copyBinaries(dist_dir, 'Debug64')
copyBinaries(dist_dir, 'Release')
copyBinaries(dist_dir, 'Release64')
zipBinaries(dist_dir)
# The translator report...
buildAndZipTranslatorReport(dist_dir)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment