/****************************************************************************** * * * * Copyright (C) 1997-2013 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby * granted. No representations are made about the suitability of this software * for any purpose. It is provided "as is" without express or implied warranty. * See the GNU General Public License for more details. * * Documents produced by Doxygen are derivative works derived from the * input used in their production; they are not affected by this license. * */ /* * translator_jp.h * Updates: * 1.2.5) * First Translation * by Kenji Nagamatsu * 1.2.12) * Update and Shift-Jis(_WIN32) * by Ryunosuke Sato (30-Dec-2001) * 1.5.8) * Translation for 1.5.8. * by Hiroki Iseri (18-Feb-2009) */ #ifndef TRANSLATOR_JP_H #define TRANSLATOR_JP_H class TranslatorJapanese : public TranslatorAdapter_1_6_0 { public: virtual QCString idLanguage() { return "japanese"; } virtual QCString latexLanguageSupportCommand() { return ""; } /*! used in the compound documentation before a list of related functions. */ virtual QCString trRelatedFunctions() { return "関連する関数"; } /*! subscript for the related functions. */ virtual QCString trRelatedSubscript() { return "(これらはメソッドでないことに注意)"; } /*! header that is put before the detailed description of files, classes and namespaces. */ virtual QCString trDetailedDescription() { return "説明"; } /*! header that is put before the list of typedefs. */ virtual QCString trMemberTypedefDocumentation() { return "型定義"; } /*! header that is put before the list of enumerations. */ virtual QCString trMemberEnumerationDocumentation() { return "列挙型"; } /*! header that is put before the list of member functions. */ virtual QCString trMemberFunctionDocumentation() { if( Config_getBool("OPTIMIZE_OUTPUT_JAVA")) { return "メソッド"; } else { return "関数"; } } /*! header that is put before the list of member attributes. */ virtual QCString trMemberDataDocumentation() { if( Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "構造体"; } else { return "変数"; } } /*! this is the text of a link put after brief descriptions. */ virtual QCString trMore() { return "[詳細]"; } /*! put in the class documentation */ virtual QCString trListOfAllMembers() { return "すべてのメンバ一覧"; } /*! used as the title of the "list of all members" page of a class */ virtual QCString trMemberList() { return "メンバ一覧"; } /*! this is the first part of a sentence that is followed by a class name */ virtual QCString trThisIsTheListOfAllMembers() { return "これは全メンバの一覧です。"; } /*! this is the remainder of the sentence after the class name */ virtual QCString trIncludingInheritedMembers() { return "継承メンバも含んでいます。"; } /*! this is put at the author sections at the bottom of man pages. * parameter s is name of the project name. */ virtual QCString trGeneratedAutomatically(const char *s) { QCString result; if (s) result=(QCString)s+"の"; result+="ソースから Doxygen により生成しました。"; return result; } /*! put after an enum name in the list of all members */ virtual QCString trEnumName() { return "Enum"; } /*! put after an enum value in the list of all members */ virtual QCString trEnumValue() { return "Enum 値"; } /*! put after an undocumented member in the list of all members */ virtual QCString trDefinedIn() { return "次で定義されています。"; } // quick reference sections /*! This is put above each page as a link to the list of all groups of * compounds or files (see the \\group command). */ virtual QCString trModules() { return "モジュール"; } /*! This is put above each page as a link to the class hierarchy */ virtual QCString trClassHierarchy() { return "クラス階層"; } /*! This is put above each page as a link to the list of annotated classes */ virtual QCString trCompoundList() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "データ構造"; } else { return "構成"; } } /*! This is put above each page as a link to the list of documented files */ virtual QCString trFileList() { return "ファイル一覧"; } /*! This is put above each page as a link to the list of all verbatim headers */ virtual QCString trHeaderFiles() { 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 "データフィールド"; } else { return "構成メンバ"; } } /*! This is put above each page as a link to all members of files. */ virtual QCString trFileMembers() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "グローバル"; } else { return "ファイルメンバ"; } } /*! This is put above each page as a link to all related pages. */ virtual QCString trRelatedPages() { return "関連ページ"; } /*! This is put above each page as a link to all examples. */ virtual QCString trExamples() { return "例"; } /*! This is put above each page as a link to the search engine. */ virtual QCString trSearch() { return "検索"; } /*! This is an introduction to the class hierarchy. */ virtual QCString trClassHierarchyDescription() { return "この継承一覧はおおまかにはソートされていますが、" "完全にアルファベット順でソートされてはいません。"; } /*! This is an introduction to the list with all files. */ virtual QCString trFileListDescription(bool /*extractAll*/) { QCString result="これは"; result+="ファイル一覧です。"; return result; } /*! This is an introduction to the annotated compound list. */ virtual QCString trCompoundListDescription() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "データ構造の説明です。"; } else { return "クラス、構造体、共用体、インタフェースの説明です。"; } } /*! This is an introduction to the page with all class members. */ virtual QCString trCompoundMembersDescription(bool extractAll) { QCString result="これは"; if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { result+="フィールドの一覧でそれぞれ"; if (extractAll) result+="が属している構造体/共用体"; } else { result+="クラスメンバの一覧で、それぞれ"; if (extractAll) result+="が属しているクラス"; } result+="の説明へリンクしています。"; return result; } /*! This is an introduction to the page with all file members. */ virtual QCString trFileMembersDescription(bool /*extractAll*/) { QCString result="これは"; if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { result+="関数、変数、マクロ、Enum、Typedef の"; } else { result+="ファイルメンバの"; } result+="一覧です。それぞれが属しているファイルの説明へリンクしています。"; return result; } /*! This is an introduction to the page with the list of all header files. */ virtual QCString trHeaderFilesDescription() { return "APIを構成するヘッダファイルです。"; } /*! This is an introduction to the page with the list of all examples */ virtual QCString trExamplesDescription() { return "すべての例の一覧です。"; } /*! This is an introduction to the page with the list of related pages */ virtual QCString trRelatedPagesDescription() { return "関連ページの一覧です。"; } /*! This is an introduction to the page with the list of class/file groups */ virtual QCString trModulesDescription() { return "すべてのモジュールの一覧です。"; } /*! This sentences is used in the annotated class/file lists if no brief * description is given. */ virtual QCString trNoDescriptionAvailable() { 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 "ドキュメント"; } /*! This is used in LaTeX as the title of the chapter with the * index of all groups. */ virtual QCString trModuleIndex() { return "モジュール索引"; } /*! This is used in LaTeX as the title of the chapter with the * class hierarchy. */ virtual QCString trHierarchicalIndex() { return "階層索引"; } /*! This is used in LaTeX as the title of the chapter with the * annotated compound index. */ virtual QCString trCompoundIndex() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "データ構造索引"; } else { return "構成索引"; } } /*! This is used in LaTeX as the title of the chapter with the * list of all files. */ virtual QCString trFileIndex() { return "ファイル索引"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all groups. */ virtual QCString trModuleDocumentation() { return "モジュール"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all classes, structs and unions. */ virtual QCString trClassDocumentation() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "データ構造"; } else { return "クラス"; } } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all files. */ virtual QCString trFileDocumentation() { return "ファイル"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all examples. */ virtual QCString trExampleDocumentation() { return "例"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all related pages. */ virtual QCString trPageDocumentation() { return "ページ"; } /*! This is used in LaTeX as the title of the document */ virtual QCString trReferenceManual() { return "リファレンスマニュアル"; } /*! This is used in the documentation of a file as a header before the * list of defines */ virtual QCString trDefines() { return "マクロ定義"; } /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() { return "型定義"; } /*! This is used in the documentation of a file as a header before the * list of enumerations */ virtual QCString trEnumerations() { return "列挙型"; } /*! This is used in the documentation of a file as a header before the * list of (global) functions */ virtual QCString trFunctions() { return "関数"; } /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trVariables() { return "変数"; } /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trEnumerationValues() { return "列挙型の値"; } /*! This is used in the documentation of a file before the list of * documentation blocks for defines */ virtual QCString trDefineDocumentation() { return "マクロ定義"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() { return "型定義"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration types */ virtual QCString trEnumerationTypeDocumentation() { return "列挙型"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for functions */ virtual QCString trFunctionDocumentation() { return "関数"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for variables */ virtual QCString trVariableDocumentation() { return "変数"; } /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds */ virtual QCString trCompounds() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "データ構造"; } else { return "構成"; } } /*! This is used in the standard footer of each page and indicates when * the page was generated */ virtual QCString trGeneratedAt(const char *date,const char *projName) { QCString result; if (projName) result+=(QCString)projName+"に対して"; result+=(QCString)date+"に生成されました。"; return result; } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) { return (QCString)clName+"に対する継承グラフ"; } /*! this text is generated when the \\internal command is used. */ virtual QCString trForInternalUseOnly() { return "内部使用のみ。"; } /*! this text is generated when the \\reimp command is used. */ virtual QCString trReimplementedForInternalReasons() { return "内部的な理由により再実装されましたが、APIには影響しません。"; } /*! this text is generated when the \\warning command is used. */ virtual QCString trWarning() { return "警告"; } /*! this text is generated when the \\bug command is used. */ virtual QCString trBugsAndLimitations() { return "バグと制限"; } /*! this text is generated when the \\version command is used. */ virtual QCString trVersion() { return "バージョン"; } /*! this text is generated when the \\date command is used. */ virtual QCString trDate() { return "日付"; } /*! this text is generated when the \\return command is used. */ virtual QCString trReturns() { return "戻り値"; } /*! this text is generated when the \\sa command is used. */ virtual QCString trSeeAlso() { return "参照"; } /*! this text is generated when the \\param command is used. */ virtual QCString trParameters() { return "引数"; } /*! this text is generated when the \\exception command is used. */ virtual QCString trExceptions() { return "例外"; } /*! this text is used in the title page of a LaTeX document. */ virtual QCString trGeneratedBy() { return "作成:"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990307 ////////////////////////////////////////////////////////////////////////// /*! used as the title of page containing all the index of all namespaces. */ virtual QCString trNamespaceList() { return "ネームスペース一覧"; } /*! used as an introduction to the namespace list */ virtual QCString trNamespaceListDescription(bool /*extractAll*/) { return "ネームスペースの一覧です。"; } /*! used in the class documentation as a header before the list of all * friends of a class */ virtual QCString trFriends() { return "フレンド"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 ////////////////////////////////////////////////////////////////////////// /*! used in the class documentation as a header before the list of all * related classes */ virtual QCString trRelatedFunctionDocumentation() { return "フレンドと関連する関数"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// /*! used as the title of the HTML page of a class/struct/union */ virtual QCString trCompoundReference(const char *clName, ClassDef::CompoundType compType, bool isTemplate) { QCString result=""; switch(compType) { 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+="テンプレート "; result+=(QCString)clName; return result; } /*! used as the title of the HTML page of a file */ virtual QCString trFileReference(const char *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="ネームスペース "+(QCString)namespaceName; return result; } /* these are for the member sections of a class, struct or union */ virtual QCString trPublicMembers() { return "Public メソッド"; } virtual QCString trPublicSlots() { return "Public スロット"; } virtual QCString trSignals() { return "シグナル"; } virtual QCString trStaticPublicMembers() { return "Static Public メソッド"; } virtual QCString trProtectedMembers() { return "Protected メソッド"; } virtual QCString trProtectedSlots() { return "Protected スロット"; } virtual QCString trStaticProtectedMembers() { return "Static Protected メソッド"; } virtual QCString trPrivateMembers() { return "Private メソッド"; } virtual QCString trPrivateSlots() { return "Private スロット"; } virtual QCString trStaticPrivateMembers() { 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. */ virtual QCString trWriteList(int numEntries) { QCString result; int i; // the inherits list contain `numEntries' classes for (i=0;i