From d2f8ca7470c70657a98ccec78cfd84ad096ec6dd Mon Sep 17 00:00:00 2001 From: Petr Prikryl Date: Wed, 19 Jun 2013 10:17:02 +0200 Subject: Japanese translator converted to UTF-8. The decode() method removed. --- src/language.cpp | 2 +- src/translator_jp.h | 767 +++++++++++++++++++++++++--------------------------- 2 files changed, 369 insertions(+), 400 deletions(-) diff --git a/src/language.cpp b/src/language.cpp index 686788d..558a6c3 100644 --- a/src/language.cpp +++ b/src/language.cpp @@ -225,7 +225,7 @@ bool setTranslator(const char *langName) #ifdef LANG_JP else if (L_EQUAL("japanese")) { - theTranslator=new TranslatorDecoder(new TranslatorJapanese); + theTranslator=new TranslatorJapanese; } #endif #ifdef LANG_JE diff --git a/src/translator_jp.h b/src/translator_jp.h index 418d6bb..8e973cf 100644 --- a/src/translator_jp.h +++ b/src/translator_jp.h @@ -16,7 +16,7 @@ */ /* - * translator_jp.h + * translator_jp.h * Updates: * 1.2.5) * First Translation @@ -34,19 +34,6 @@ 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: virtual QCString idLanguage() { return "japanese"; } @@ -57,46 +44,39 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 /*! returns the name of the package that is included by LaTeX */ virtual QCString idLanguageCharset() { - //if (Config_getBool("USE_WINDOWS_ENCODING")) - //{ - // return "Shift_JIS"; - //} - //else - //{ - return "euc-jp"; - //} + return "utf-8"; } /*! used in the compound documentation before a list of related functions. */ virtual QCString trRelatedFunctions() - { return decode("関連する関数"); } + { return "∫c∽"; } /*! subscript for the related functions. */ virtual QCString trRelatedSubscript() - { return decode("(これらはメソッドでないことに注意)"); } + { return "鐚<純с羈鐚"; } /*! header that is put before the detailed description of files, classes and namespaces. */ virtual QCString trDetailedDescription() - { return decode("説明"); } + { return "茯"; } /*! header that is put before the list of typedefs. */ virtual QCString trMemberTypedefDocumentation() - { return decode("型定義"); } + { return "絎臂"; } /*! header that is put before the list of enumerations. */ virtual QCString trMemberEnumerationDocumentation() - { return decode("列挙型"); } + { return ""; } /*! header that is put before the list of member functions. */ virtual QCString trMemberFunctionDocumentation() - { + { if( Config_getBool("OPTIMIZE_OUTPUT_JAVA")) { - return decode("メソッド"); + return "<純"; } else { - return decode("関数"); + return "∽"; } } @@ -105,55 +85,55 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 { if( Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return decode("構造体"); + return "罕篏"; } else { - return decode("変数"); + return "紊"; } } /*! this is the text of a link put after brief descriptions. */ virtual QCString trMore() - { return decode("[詳細]"); } + { return "[荅括完]"; } /*! put in the class documentation */ virtual QCString trListOfAllMembers() - { return decode("すべてのメンバ一覧"); } + { return "鴻<潟筝荀"; } /*! used as the title of the "list of all members" page of a class */ virtual QCString trMemberList() - { return decode("メンバ一覧"); } + { return "<潟筝荀"; } /*! this is the first part of a sentence that is followed by a class name */ virtual QCString trThisIsTheListOfAllMembers() - { return decode("これは全メンバの一覧です。"); } + { return "<潟筝荀сс"; } /*! this is the remainder of the sentence after the class name */ virtual QCString trIncludingInheritedMembers() - { return decode("継承メンバも含んでいます。"); } + { return "膓帥<潟с障"; } /*! this is put at the author sections at the bottom of man pages. * parameter s is name of the project name. */ virtual QCString trGeneratedAutomatically(const char *s) { QCString result; - if (s) result=(QCString)s+decode("の"); - result+=decode("ソースから Doxygen により生成しました。"); + if (s) result=(QCString)s+""; + result+="純若鴻 Doxygen 障"; return result; } /*! put after an enum name in the list of all members */ virtual QCString trEnumName() - { return decode("Enum"); } + { return "Enum"; } /*! put after an enum value in the list of all members */ virtual QCString trEnumValue() - { return decode("Enum 値"); } + { return "Enum "; } /*! put after an undocumented member in the list of all members */ virtual QCString trDefinedIn() - { return decode("次で定義されています。"); } + { return "罨<у臂障"; } // quick reference sections @@ -161,43 +141,43 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 * compounds or files (see the \\group command). */ virtual QCString trModules() - { return decode("モジュール"); } + { return "≪吾ャ若"; } /*! This is put above each page as a link to the class hierarchy */ virtual QCString trClassHierarchy() - { return decode("クラス階層"); } + { return "拷絮"; } /*! This is put above each page as a link to the list of annotated classes */ virtual QCString trCompoundList() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return decode("データ構造"); + return "若炊"; } else { - return decode("構成"); + return "罕"; } } /*! This is put above each page as a link to the list of documented files */ virtual QCString trFileList() - { return decode("ファイル一覧"); } + { return "<ゃ筝荀"; } /*! This is put above each page as a link to the list of all verbatim headers */ virtual QCString trHeaderFiles() - { return decode("ヘッダファイル"); } + { return "<ゃ"; } /*! This is put above each page as a link to all members of compounds. */ virtual QCString trCompoundMembers() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return decode("データフィールド"); + return "若帥c若"; } else { - return decode("構成メンバ"); + return "罕<潟"; } } @@ -206,36 +186,36 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return decode("グローバル"); + return "違若"; } else { - return decode("ファイルメンバ"); + return "<ゃ<潟"; } } /*! This is put above each page as a link to all related pages. */ virtual QCString trRelatedPages() - { return decode("関連ページ"); } + { return "∫c若"; } /*! This is put above each page as a link to all examples. */ virtual QCString trExamples() - { return decode("例"); } + { return "箴"; } /*! This is put above each page as a link to the search engine. */ virtual QCString trSearch() - { return decode("検索"); } + { return "罎膣"; } /*! This is an introduction to the class hierarchy. */ virtual QCString trClassHierarchyDescription() - { return decode("この継承一覧はおおまかにはソートされていますが、" - "完全にアルファベット順でソートされてはいません。"); + { return "膓推荀с障純若障" + "絎≪<с純若障"; } /*! This is an introduction to the list with all files. */ virtual QCString trFileListDescription(bool /*extractAll*/) { - QCString result=decode("これは"); - result+=decode("ファイル一覧です。"); + QCString result=""; + result+="<ゃ筝荀сс"; return result; } @@ -244,88 +224,88 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return decode("データ構造の説明です。"); + return "若炊茯с"; } else { - return decode("クラス、構造体、共用体、インタフェースの説明です。"); + return "鴻罕篏援篏ゃ潟帥с若鴻茯с"; } } /*! This is an introduction to the page with all class members. */ virtual QCString trCompoundMembersDescription(bool extractAll) { - QCString result=decode("これは"); + QCString result=""; if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - result+=decode("フィールドの一覧でそれぞれ"); - if (extractAll) result+=decode("が属している構造体/共用体"); + result+="c若筝荀сс"; + if (extractAll) result+="絮罕篏/援篏"; } else { - result+=decode("クラスメンバの一覧で、それぞれ"); - if (extractAll) result+=decode("が属しているクラス"); + result+="鴻<潟筝荀сс"; + if (extractAll) result+="絮"; } - result+=decode("の説明へリンクしています。"); + result+="茯吾潟障"; return result; } /*! This is an introduction to the page with all file members. */ virtual QCString trFileMembersDescription(bool /*extractAll*/) { - QCString result=decode("これは"); + QCString result=""; if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - result+=decode("関数、変数、マクロ、Enum、Typedef の"); + result+="∽違紊違EnumTypedef "; } else { - result+=decode("ファイルメンバの"); + result+="<ゃ<潟"; } - result+=decode("一覧です。それぞれが属しているファイルの説明へリンクしています。"); + result+="筝荀сс絮<ゃ茯吾潟障"; return result; } /*! This is an introduction to the page with the list of all header files. */ virtual QCString trHeaderFilesDescription() - { return decode("APIを構成するヘッダファイルです。"); } + { return "API罕<ゃс"; } /*! This is an introduction to the page with the list of all examples */ virtual QCString trExamplesDescription() - { return decode("すべての例の一覧です。"); } + { return "鴻箴筝荀сс"; } /*! This is an introduction to the page with the list of related pages */ virtual QCString trRelatedPagesDescription() - { return decode("関連ページの一覧です。"); } + { return "∫c若吾筝荀сс"; } /*! This is an introduction to the page with the list of class/file groups */ virtual QCString trModulesDescription() - { return decode("すべてのモジュールの一覧です。"); } + { return "鴻≪吾ャ若筝荀сс"; } /*! This sentences is used in the annotated class/file lists if no brief * description is given. */ virtual QCString trNoDescriptionAvailable() - { return decode("ドキュメントが記述されていません。"); } + { return "ャ<潟荐菴違障"; } // index titles (the project name is prepended for these) /*! This is used in HTML as the title of index.html. */ virtual QCString trDocumentation() - { return decode("ドキュメント"); } + { return "ャ<潟"; } /*! This is used in LaTeX as the title of the chapter with the * index of all groups. */ virtual QCString trModuleIndex() - { return decode("モジュール索引"); } + { return "≪吾ャ若膣√"; } /*! This is used in LaTeX as the title of the chapter with the * class hierarchy. */ virtual QCString trHierarchicalIndex() - { return decode("階層索引"); } + { return "絮ょ刈綣"; } /*! This is used in LaTeX as the title of the chapter with the * annotated compound index. @@ -334,11 +314,11 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return decode("データ構造索引"); + return "若炊膣√"; } else { - return decode("構成索引"); + return "罕膣√"; } } @@ -346,13 +326,13 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 * list of all files. */ virtual QCString trFileIndex() - { return decode("ファイル索引"); } + { return "<ゃ膣√"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all groups. */ virtual QCString trModuleDocumentation() - { return decode("モジュール"); } + { return "≪吾ャ若"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all classes, structs and unions. @@ -361,11 +341,11 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return decode("データ構造"); + return "若炊"; } else { - return decode("クラス"); + return ""; } } @@ -373,100 +353,100 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 * the documentation of all files. */ virtual QCString trFileDocumentation() - { return decode("ファイル"); } + { return "<ゃ"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all examples. */ virtual QCString trExampleDocumentation() - { return decode("例"); } + { return "箴"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all related pages. */ virtual QCString trPageDocumentation() - { return decode("ページ"); } + { return "若"; } /*! This is used in LaTeX as the title of the document */ virtual QCString trReferenceManual() - { return decode("リファレンスマニュアル"); } + { return "<潟鴻ャ≪"; } /*! This is used in the documentation of a file as a header before the * list of defines */ virtual QCString trDefines() - { return decode("マクロ定義"); } + { return "絎臂"; } /*! This is used in the documentation of a file as a header before the * list of function prototypes */ virtual QCString trFuncProtos() - { return decode("関数プロトタイプ"); } + { return "∽違帥ゃ"; } /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() - { return decode("型定義"); } + { return "絎臂"; } /*! This is used in the documentation of a file as a header before the * list of enumerations */ virtual QCString trEnumerations() - { return decode("列挙型"); } + { return ""; } /*! This is used in the documentation of a file as a header before the * list of (global) functions */ virtual QCString trFunctions() - { return decode("関数"); } + { return "∽"; } /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trVariables() - { return decode("変数"); } + { return "紊"; } /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trEnumerationValues() - { return decode("列挙型の値"); } + { return ""; } /*! This is used in the documentation of a file before the list of * documentation blocks for defines */ virtual QCString trDefineDocumentation() - { return decode("マクロ定義"); } + { return "絎臂"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for function prototypes */ virtual QCString trFunctionPrototypeDocumentation() - { return decode("関数プロトタイプ"); } + { return "∽違帥ゃ"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() - { return decode("型定義"); } + { return "絎臂"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration types */ virtual QCString trEnumerationTypeDocumentation() - { return decode("列挙型"); } + { return ""; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for functions */ virtual QCString trFunctionDocumentation() - { return decode("関数"); } + { return "∽"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for variables */ virtual QCString trVariableDocumentation() - { return decode("変数"); } + { return "紊"; } /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds @@ -475,11 +455,11 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return decode("データ構造"); + return "若炊"; } else { - return decode("構成"); + return "罕"; } } /*! This is used in the standard footer of each page and indicates when @@ -488,67 +468,67 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 virtual QCString trGeneratedAt(const char *date,const char *projName) { QCString result; - if (projName) result+=(QCString)projName+decode("に対して"); - result+=(QCString)date+decode("に生成されました。"); + if (projName) result+=(QCString)projName+"絲障"; + result+=(QCString)date+"障"; return result; } /*! This is part of the sentence used in the standard footer of each page. */ virtual QCString trWrittenBy() { - return decode("作者"); + return "篏"; } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) { - return (QCString)clName+decode("に対する継承グラフ"); + return (QCString)clName+"絲障膓帥違"; } /*! this text is generated when the \\internal command is used. */ virtual QCString trForInternalUseOnly() - { return decode("内部使用のみ。"); } + { return "篏睡帥"; } /*! this text is generated when the \\reimp command is used. */ virtual QCString trReimplementedForInternalReasons() - { return decode("内部的な理由により再実装されましたが、APIには影響しません。"); + { return "宴絎茖障API綵演帥障"; } /*! this text is generated when the \\warning command is used. */ virtual QCString trWarning() - { return decode("警告"); } + { return "茘"; } /*! this text is generated when the \\bug command is used. */ virtual QCString trBugsAndLimitations() - { return decode("バグと制限"); } + { return "違狗"; } /*! this text is generated when the \\version command is used. */ virtual QCString trVersion() - { return decode("バージョン"); } + { return "若吾с"; } /*! this text is generated when the \\date command is used. */ virtual QCString trDate() - { return decode("日付"); } + { return "ヤ"; } /*! this text is generated when the \\return command is used. */ virtual QCString trReturns() - { return decode("戻り値"); } + { return "祉"; } /*! this text is generated when the \\sa command is used. */ virtual QCString trSeeAlso() - { return decode("参照"); } + { return ""; } /*! this text is generated when the \\param command is used. */ virtual QCString trParameters() - { return decode("引数"); } + { return "綣"; } /*! this text is generated when the \\exception command is used. */ virtual QCString trExceptions() - { return decode("例外"); } + { return "箴紊"; } /*! this text is used in the title page of a LaTeX document. */ virtual QCString trGeneratedBy() - { return decode("作成:"); } + { return "篏鐚"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990307 @@ -556,21 +536,19 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 /*! used as the title of page containing all the index of all namespaces. */ virtual QCString trNamespaceList() - { return decode("ネームスペース一覧"); } + { return "若鴻若剛荀"; } /*! used as an introduction to the namespace list */ virtual QCString trNamespaceListDescription(bool /*extractAll*/) { - QCString result=decode(""); - result+=decode("ネームスペースの一覧です。"); - return result; + return "若鴻若鴻筝荀сс"; } /*! used in the class documentation as a header before the list of all * friends of a class */ virtual QCString trFriends() - { return decode("フレンド"); } + { return "潟"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 @@ -580,7 +558,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 * related classes */ virtual QCString trRelatedFunctionDocumentation() - { return decode("フレンドと関連する関数"); } + { return "潟∫c∽"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 @@ -594,16 +572,16 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 QCString result=""; switch(compType) { - case ClassDef::Class: result+=decode("クラス "); break; - case ClassDef::Struct: result+=decode("構造体 "); break; - case ClassDef::Union: result+=decode("共用体 "); break; - case ClassDef::Interface: result+=decode("インタフェース "); break; - case ClassDef::Protocol: result+=decode("プロトコル "); break; - case ClassDef::Category: result+=decode("カテゴリ "); break; - case ClassDef::Exception: result+=decode("例外 "); break; + case ClassDef::Class: result+=" "; break; + case ClassDef::Struct: result+="罕篏 "; break; + case ClassDef::Union: result+="援篏 "; break; + case ClassDef::Interface: result+="ゃ潟帥с若 "; break; + case ClassDef::Protocol: result+="潟 "; break; + case ClassDef::Category: result+="眼 "; break; + case ClassDef::Exception: result+="箴紊 "; break; default: break; } - if (isTemplate) result+=decode("テンプレート "); + if (isTemplate) result+="潟若 "; result+=(QCString)clName; return result; } @@ -611,38 +589,38 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 /*! used as the title of the HTML page of a file */ virtual QCString trFileReference(const char *fileName) { - QCString result=decode("")+(QCString)fileName; + QCString result=""+(QCString)fileName; return result; } /*! used as the title of the HTML page of a namespace */ virtual QCString trNamespaceReference(const char *namespaceName) { - QCString result=decode("ネームスペース ")+(QCString)namespaceName; + QCString result="若鴻若 "+(QCString)namespaceName; return result; } /* these are for the member sections of a class, struct or union */ virtual QCString trPublicMembers() - { return decode("Public メソッド"); } + { return "Public <純"; } virtual QCString trPublicSlots() - { return decode("Public スロット"); } + { return "Public 鴻"; } virtual QCString trSignals() - { return decode("シグナル"); } + { return "激違"; } virtual QCString trStaticPublicMembers() - { return decode("Static Public メソッド"); } + { return "Static Public <純"; } virtual QCString trProtectedMembers() - { return decode("Protected メソッド"); } + { return "Protected <純"; } virtual QCString trProtectedSlots() - { return decode("Protected スロット"); } + { return "Protected 鴻"; } virtual QCString trStaticProtectedMembers() - { return decode("Static Protected メソッド"); } + { return "Static Protected <純"; } virtual QCString trPrivateMembers() - { return decode("Private メソッド"); } + { return "Private <純"; } virtual QCString trPrivateSlots() - { return decode("Private スロット"); } + { return "Private 鴻"; } virtual QCString trStaticPrivateMembers() - { return decode("Static Private メソッド"); } + { return "Static Private <純"; } /*! this function is used to produce a comma-separated list of items. * use generateMarker(i) to indicate where item i should be put. @@ -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\n" - "次の例を考えてみます。\n" + "若吾сdoxygen х違帥" + "茯障

\n" + "罨<箴帥障\n" "\\code\n" - "/*! 省略されて見えないクラス */\n" + "/*! ャ荀 */\n" "class Invisible { };\n\n" - "/*! 省略されたクラス(継承関係は隠されている) */\n" + "/*! ャ(膓翠≫) */\n" "class Truncated : public Invisible { };\n\n" - "/* doxygen コメントによるドキュメントがないクラス */\n" + "/* doxygen 潟<潟ャ<潟 */\n" "class Undocumented { };\n\n" - "/*! public で継承されたクラス */\n" + "/*! public х帥 */\n" "class PublicBase : public Truncated { };\n\n" "/*! A template class */\n" "template class Templ { };\n\n" - "/*! protected で継承されたクラス */\n" + "/*! protected х帥 */\n" "class ProtectedBase { };\n\n" - "/*! private で継承されたクラス */\n" + "/*! private х帥 */\n" "class PrivateBase { };\n\n" - "/*! 継承されたクラスで使われているクラス */\n" + "/*! 膓帥鴻т戎 */\n" "class Used { };\n\n" - "/*! 複数のクラスを継承している上位クラス */\n" + "/*! 茲違鴻膓帥筝篏 */\n" "class Inherited : public PublicBase,\n" " protected ProtectedBase,\n" " private PrivateBase,\n" @@ -1025,34 +1003,34 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 " Used *m_usedClass;\n" "};\n" "\\endcode\n" - "設定ファイル中で、タグ \\c MAX_DOT_GRAPH_HEIGHT が 200 にセットされた" - "場合、次のようなグラフとなります。" + "荐絎<ゃ筝с帥 \\c MAX_DOT_GRAPH_HEIGHT 200 祉" + "翫罨<違障" "

\n" "

\n" - "上のグラフ内のボックスには次のような意味があります。\n" + "筝違鴻罨<潟障\n" "

\n" - "矢印には次のような意味があります。\n" + "√違罨<潟障\n" "\n"); + "
  • √違篋ゃ拷 public 膓翠≫腓冴障\n" + "
  • 膩√違 protected 膓翠≫腓冴障\n" + "
  • 莎ゃ√違 private 膓翠≫腓冴障\n" + "
  • 膣雁√違鴻篁鴻障" + "腓冴障障√違鴻罕篏" + "紊違с≪祉鴻с√違腓冴障\n" + "\n"; } /*! text for the link to the legend page */ virtual QCString trLegend() { - return decode("凡例"); + return ">"; } ////////////////////////////////////////////////////////////////////////// @@ -1062,12 +1040,12 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 /*! Used as a marker that is put before a test item */ virtual QCString trTest() { - return decode("テスト"); + return "鴻"; } /*! Used as the header of the test list */ virtual QCString trTestList() { - return decode("テスト一覧"); + return "鴻筝荀"; } ////////////////////////////////////////////////////////////////////////// @@ -1077,7 +1055,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 /*! Used as a section header for KDE-2 IDL methods */ virtual QCString trDCOPMethods() { - return decode("DCOPメソッド"); + return "DCOP<純"; } ////////////////////////////////////////////////////////////////////////// @@ -1087,12 +1065,12 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 /*! Used as a section header for IDL properties */ virtual QCString trProperties() { - return decode("プロパティ"); + return ""; } /*! Used as a section header for IDL property documentation */ virtual QCString trPropertyDocumentation() { - return decode("プロパティ"); + return ""; } @@ -1103,49 +1081,49 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 /*! Used for Java interfaces in the summary section of Java packages */ virtual QCString trInterfaces() { - return decode("インターフェース"); + return "ゃ潟帥若с若"; } /*! Used for Java classes in the summary section of Java packages */ virtual QCString trClasses() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return decode("データ構造"); + return "若炊"; } else { - return decode("クラス"); + return ""; } } /*! Used as the title of a Java package */ virtual QCString trPackage(const char *name) { - return (QCString)decode("パッケージ ")+name; + return (QCString)"宴若 "+name; } /*! Title of the package index page */ virtual QCString trPackageList() { - return decode("パッケージ一覧"); + return "宴若娯荀"; } /*! The description of the package index page */ virtual QCString trPackageListDescription() { - return decode("これはパッケージ一覧です。"); + return "宴若娯荀сс"; } /*! The link name in the Quick links header for each page */ virtual QCString trPackages() { - return decode("パッケージ"); + return "宴若"; } /*! Used as a chapter title for Latex & RTF output */ virtual QCString trPackageDocumentation() { - return decode("パッケージ"); + return "宴若"; } /*! Text shown before a multi-line define */ virtual QCString trDefineValue() { - return decode("値:"); + return ":"; } @@ -1156,12 +1134,12 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 /*! Used as a marker that is put before a \\bug item */ virtual QCString trBug() { - return decode("バグ"); + return ""; } /*! Used as the header of the bug list */ virtual QCString trBugList() { - return decode("バグ一覧"); + return "遺荀"; } ////////////////////////////////////////////////////////////////////////// @@ -1210,7 +1188,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 /*! Used as header RTF general index */ virtual QCString trRTFGeneralIndex() { - return decode("索引"); + return "膣√"; } /*! This is used for translation of the word that will possibly @@ -1219,8 +1197,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 */ virtual QCString trClass(bool /*first_capital*/, bool /*singular*/) { - QCString result(decode("クラス")); - return result; + return ""; } /*! This is used for translation of the word that will possibly @@ -1229,8 +1206,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 */ virtual QCString trFile(bool /*first_capital*/, bool /*singular*/) { - QCString result(decode("ファイル")); - return result; + return "<ゃ"; } /*! This is used for translation of the word that will possibly @@ -1239,8 +1215,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 */ virtual QCString trNamespace(bool /*first_capital*/, bool /*singular*/) { - QCString result(decode("ネームスペース")); - return result; + return "若鴻若"; } /*! This is used for translation of the word that will possibly @@ -1249,8 +1224,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 */ virtual QCString trGroup(bool /*first_capital*/, bool /*singular*/) { - QCString result(decode("グループ")); - return result; + return "違若"; } /*! This is used for translation of the word that will possibly @@ -1259,8 +1233,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 */ virtual QCString trPage(bool /*first_capital*/, bool /*singular*/) { - QCString result(decode("ページ")); - return result; + return "若"; } /*! This is used for translation of the word that will possibly @@ -1269,8 +1242,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 */ virtual QCString trMember(bool /*first_capital*/, bool /*singular*/) { - QCString result(decode("メンバ")); - return result; + return "<潟"; } /*! This is used for translation of the word that will possibly @@ -1279,8 +1251,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 */ virtual QCString trField(bool /*first_capital*/, bool /*singular*/) { - QCString result(decode("フィールド")); - return result; + return "c若"; } /*! This is used for translation of the word that will possibly @@ -1289,8 +1260,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 */ virtual QCString trGlobal(bool /*first_capital*/, bool /*singular*/) { - QCString result(decode("グローバル")); - return result; + return "違若"; } ////////////////////////////////////////////////////////////////////////// @@ -1301,8 +1271,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 * for the author section in man pages. */ virtual QCString trAuthor(bool /*first_capital*/, bool /*singular*/) { - QCString result(decode("作者")); - return result; + return "篏"; } ////////////////////////////////////////////////////////////////////////// @@ -1313,7 +1282,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 */ virtual QCString trReferences() { - return decode("参照先"); + return "у"; } ////////////////////////////////////////////////////////////////////////// @@ -1325,7 +1294,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 */ virtual QCString trImplementedFromList(int numEntries) { - return trWriteList(numEntries)+decode("を実装しています。"); + return trWriteList(numEntries)+"絎茖障"; } /*! used in member documentation blocks to produce a list of @@ -1333,7 +1302,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 */ virtual QCString trImplementedInList(int numEntries) { - return trWriteList(numEntries)+decode("で実装されています。"); + return trWriteList(numEntries)+"у茖障"; } ////////////////////////////////////////////////////////////////////////// // new since 1.2.16 @@ -1344,36 +1313,36 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 */ virtual QCString trRTFTableOfContents() { - return decode("目次"); + return "罨"; } ////////////////////////////////////////////////////////////////////////// // new since 1.2.17 ////////////////////////////////////////////////////////////////////////// - /*! Used as the header of the list of item that have been - * flagged deprecated + /*! Used as the header of the list of item that have been + * flagged deprecated */ virtual QCString trDeprecatedList() { - return decode("非推奨一覧"); + return "ィ絅筝荀"; } ////////////////////////////////////////////////////////////////////////// // new since 1.2.18 ////////////////////////////////////////////////////////////////////////// - /*! Used as a header for declaration section of the events found in + /*! Used as a header for declaration section of the events found in * a C# program */ virtual QCString trEvents() { - return decode("イベント"); + return "ゃ潟"; } /*! Header used for the documentation section of a class' events. */ virtual QCString trEventDocumentation() { - return decode("イベント"); + return "ゃ潟"; } ////////////////////////////////////////////////////////////////////////// @@ -1383,79 +1352,79 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 /*! Used as a heading for a list of Java class types with package scope. */ virtual QCString trPackageTypes() - { - return decode("パッケージ内の型定義"); + { + return "宴若後絎臂"; } - /*! Used as a heading for a list of Java class functions with package - * scope. + /*! Used as a heading for a list of Java class functions with package + * scope. */ virtual QCString trPackageMembers() - { - return 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. */ virtual QCString trStaticPackageMembers() - { - return decode("スタティック関数"); + { + return "鴻帥c∽"; } - /*! Used as a heading for a list of Java class variables with package + /*! Used as a heading for a list of Java class variables with package * scope. */ virtual QCString trPackageAttribs() - { - return 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. */ virtual QCString trStaticPackageAttribs() - { - return decode("スタティック変数"); + { + return "鴻帥c紊"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.3.1 ////////////////////////////////////////////////////////////////////////// - /*! Used in the quick index of a class/file/namespace member list page + /*! Used in the quick index of a class/file/namespace member list page * to link to the unfiltered list of all members. */ virtual QCString trAll() { - return decode("全て"); + return ""; } /*! Put in front of the call graph for a function. */ virtual QCString trCallGraph() { - return decode("関数の呼び出しグラフ:"); + return "∽違若喝冴違:"; } ////////////////////////////////////////////////////////////////////////// // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. + /*! When the search engine is enabled this text is put in the header + * of each page before the field where one can enter the text to search + * for. */ virtual QCString trSearchForIndex() { - return decode("検索"); + return "罎膣"; } /*! This string is used as the title for the page listing the search * results. */ virtual QCString trSearchResultsTitle() { - return decode("検索結果"); + return "罎膣∝"; } /*! This string is put just before listing the search results. The * text can be different depending on the number of documents found. * Inside the text you can put the special marker $num to insert * the number representing the actual number of search results. - * The @a numDocuments parameter can be either 0, 1 or 2, where the + * The @a numDocuments parameter can be either 0, 1 or 2, where the * value 2 represents 2 or more matches. HTML markup is allowed inside * the returned string. */ @@ -1463,24 +1432,24 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 { if (numDocuments==0) { - return decode("入力された条件にマッチするドキュメントがありませんでした."); + return "ュ>散ャ<潟障с."; } else if (numDocuments==1) { - return decode("入力された条件にマッチするドキュメントが 1 件みつかりました."); + return "ュ>散ャ<潟 1 篁吟帥ゃ障."; } - else + else { - return decode("入力された条件にマッチするドキュメントが $num 件みつかりました. " - "最も一致しているものから表示されます."); + return "ュ>散ャ<潟 $num 篁吟帥ゃ障. " + "筝眼茵腓冴障."; } } - /*! This string is put before the list of matched words, for each search + /*! This string is put before the list of matched words, for each search * result. What follows is the list of words that matched the query. */ virtual QCString trSearchMatches() { - return decode("マッチした単語:"); + return "茯:"; } ////////////////////////////////////////////////////////////////////////// @@ -1491,7 +1460,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 */ virtual QCString trSourceFile(QCString& filename) { - return filename + decode(" ソースファイル"); + return filename + " 純若鴻<ゃ"; } ////////////////////////////////////////////////////////////////////////// @@ -1502,40 +1471,40 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 * hierarchy. */ virtual QCString trDirIndex() - { return decode("ディレクトリ索引"); } + { return "c膣√"; } /*! This is used as the name of the chapter containing the documentation * of the directories. */ virtual QCString trDirDocumentation() - { return decode("ディレクトリ構成"); } + { return "c罕"; } /*! 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. */ virtual QCString trDirectories() - { return decode("ディレクトリ"); } + { return "c"; } - /*! This returns a sentences that introduces the directory hierarchy. + /*! This returns a sentences that introduces the directory hierarchy. * and the fact that it is sorted alphabetically per level */ virtual QCString trDirDescription() - { return decode("このディレクトリ一覧はおおまかにはソートされていますが、" - "完全にアルファベット順でソートされてはいません。"); + { return "c筝荀с障純若障" + "絎≪<с純若障"; } /*! This returns the title of a directory page. The name of the * directory is passed via \a dirName. */ virtual QCString trDirReference(const char *dirName) - { QCString result=dirName; result+=decode(" ディレクトリリファレンス"); return result; } + { QCString result=dirName; result+=" c<潟"; return result; } /*! This returns the word directory with or without starting capital * (\a first_capital) and in sigular or plural form (\a singular). */ virtual QCString trDir(bool, bool) - { - return decode("ディレクトリ"); + { + return "c"; } ////////////////////////////////////////////////////////////////////////// @@ -1547,9 +1516,9 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 */ virtual QCString trOverloadText() { - return decode("これはオーバーロードされたメンバ関数です。" - "利便性のために用意されています。" - "元の関数との違いは引き数のみです。"); + return "若若若<潟∽違с" + "箴炊с障" + "∽違綣違帥с"; } ////////////////////////////////////////////////////////////////////////// @@ -1560,90 +1529,90 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 virtual QCString trCallerGraph() { // 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 * of documentation blocks for enumeration values */ virtual QCString trEnumerationValueDocumentation() - { return decode("列挙型"); } + { return ""; } ////////////////////////////////////////////////////////////////////////// // new since 1.5.4 (mainly for Fortran) ////////////////////////////////////////////////////////////////////////// - + /*! header that is put before the list of member subprograms (Fortran). */ 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() - { return decode("データ型"); } + { return "若水"; } /*! This is put above each page as a link to all members of compounds (Fortran). */ virtual QCString trCompoundMembersFortran() - { return decode("データフィールド"); } - + { return "若帥c若"; } + /*! This is an introduction to the annotated compound list (Fortran). */ virtual QCString trCompoundListDescriptionFortran() - { return decode("これはデータ型の一覧です"); } - + { return "若水筝荀сс"; } + /*! This is an introduction to the page with all data types (Fortran). */ virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) { - QCString result=decode("これは"); - result+=decode("フィールドの一覧です。それぞれ"); + QCString result=""; + result+="c若筝荀сс"; if (extractAll) { - result+=decode("が属しているデータ型"); + result+="絮若水"; } - result+=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 * annotated compound index (Fortran). */ virtual QCString trCompoundIndexFortran() - { return decode("データ型索引"); } + { return "若水膣√"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all data types (Fortran). */ 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). */ 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) */ 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) */ virtual QCString trDataTypes() - { return decode("データ型"); } - + { return "若水"; } + /*! used as the title of page containing all the index of all modules (Fortran). */ virtual QCString trModulesList() - { return decode("モジュール一覧"); } + { return "≪吾ャ若筝荀"; } /*! used as an introduction to the modules list (Fortran) */ virtual QCString trModulesListDescription(bool extractAll) { - QCString result=decode("これは"); - if (!extractAll) result+=decode("生成された"); - result+=decode("モジュール一覧です"); + QCString result=""; + if (!extractAll) result+=""; + result+="≪吾ャ若筝荀сс"; return result; } @@ -1655,16 +1624,16 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 QCString result=""; switch(compType) { - case ClassDef::Class: result+=decode("モジュール "); break; - case ClassDef::Struct: result+=decode("TYPE "); break; - case ClassDef::Union: result+=decode("共用体 "); break; - case ClassDef::Interface: result+=decode("インターフェース "); break; - case ClassDef::Protocol: result+=decode("プロトコル "); break; - case ClassDef::Category: result+=decode("カテゴリ "); break; - case ClassDef::Exception: result+=decode("例外 "); break; + case ClassDef::Class: result+="≪吾ャ若 "; break; + case ClassDef::Struct: result+="TYPE "; break; + case ClassDef::Union: result+="援篏 "; break; + case ClassDef::Interface: result+="ゃ潟帥若с若 "; break; + case ClassDef::Protocol: result+="潟 "; break; + case ClassDef::Category: result+="眼 "; break; + case ClassDef::Exception: result+="箴紊 "; break; default: break; } - if (isTemplate) result += decode("テンプレート "); + if (isTemplate) result += "潟若 "; result+=(QCString)clName; return result; } @@ -1672,39 +1641,39 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 virtual QCString trModuleReference(const char *namespaceName) { QCString result=namespaceName; - result+=decode("モジュール"); + result+="≪吾ャ若"; return result; } - + /*! This is put above each page as a link to all members of modules. (Fortran) */ virtual QCString trModulesMembers() - { return decode("モジュールメンバ"); } + { return "≪吾ャ若<潟"; } /*! This is an introduction to the page with all modules members (Fortran) */ virtual QCString trModulesMemberDescription(bool extractAll) - { - QCString result=decode("これはモジュールメンバ一覧です。それぞれ "); - if (extractAll) + { + QCString result="≪吾ャ若<潟筝荀сс "; + if (extractAll) { - result+=decode("属しているモジュール"); + result+="絮≪吾ャ若"; } - result+=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 modules (Fortran). */ virtual QCString trModulesIndex() - { return decode("モジュール索引"); } - + { return "≪吾ャ若膣√"; } + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trModule(bool /*first_capital*/, bool /*singular*/) - { - return decode("モジュール"); + { + return "≪吾ャ若"; } /*! 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. @@ -1716,41 +1685,41 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0 QCString result=""; switch(compType) { - case ClassDef::Class: result+=decode("モジュール"); break; - case ClassDef::Struct: result+=decode("TYPE"); break; - case ClassDef::Union: result+=decode("共用体"); break; - case ClassDef::Interface: result+=decode("インターフェース"); break; - case ClassDef::Protocol: result+=decode("プロトコル"); break; - case ClassDef::Category: result+=decode("カテゴリ"); break; - case ClassDef::Exception: result+=decode("例外"); break; + case ClassDef::Class: result+="≪吾ャ若"; break; + case ClassDef::Struct: result+="TYPE"; break; + case ClassDef::Union: result+="援篏"; break; + case ClassDef::Interface: result+="ゃ潟帥若с若"; break; + case ClassDef::Protocol: result+="潟"; break; + case ClassDef::Category: result+="眼"; break; + case ClassDef::Exception: result+="箴紊"; break; default: break; } - result+=decode(decode("の説明は次のファイルから生成されました:")); + result+="茯罨<<ゃ障:"; return result; } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trType(bool /*first_capital*/, bool /*singular*/) - { - QCString result = decode("TYPE"); - return result; + { + QCString result = "TYPE"; + return result; } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trSubprogram(bool /*first_capital*/, bool /*singular*/) - { - QCString result = decode("サブプログラム"); - return result; + { + QCString result = "泣違"; + return result; } /*! C# Type Constraint list */ virtual QCString trTypeConstraints() { - return decode("型制約"); + return "句"; } }; -- cgit v0.12