/****************************************************************************** * * * * Copyright (C) 1997-2000 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby * granted. No representations are made about the suitability of this software * for any purpose. It is provided "as is" without express or implied warranty. * See the GNU General Public License for more details. * * Documents produced by Doxygen are derivative works derived from the * input used in their production; they are not affected by this license. * */ #ifndef TRANSLATOR_JP_H #define TRANSLATOR_JP_H #include "translator_adapter.h" class TranslatorJapanese : public TranslatorAdapter_1_2_5 { public: QCString idLanguage() { return "japanese"; } /*! returns the name of the package that is included by LaTeX */ QCString latexBabelPackage() { return "english"; } QCString idLanguageCharset() { return "euc-jp"; } /*! used in the compound documentation before a list of related functions. */ QCString trRelatedFunctions() { return "関連する関数"; } /*! subscript for the related functions. */ QCString trRelatedSubscript() { return "(これらはメンバ関数でないことに注意)"; } /*! header that is put before the detailed description of files, classes and namespaces. */ QCString trDetailedDescription() { return "解説"; } /*! header that is put before the list of typedefs. */ QCString trMemberTypedefDocumentation() { return "メンバ型定義の解説"; } /*! header that is put before the list of enumerations. */ QCString trMemberEnumerationDocumentation() { return "メンバ列挙型の解説"; } /*! header that is put before the list of member functions. */ QCString trMemberFunctionDocumentation() { return "メンバ関数の解説"; } /*! header that is put before the list of member attributes. */ QCString trMemberDataDocumentation() { return "メンバデータの解説"; } /*! this is the text of a link put after brief descriptions. */ QCString trMore() { return "より詳しく..."; } /*! put in the class documentation */ QCString trListOfAllMembers() { return "すべてのメンバリスト"; } /*! used as the title of the "list of all members" page of a class */ QCString trMemberList() { return "メンバリスト"; } /*! this is the first part of a sentence that is followed by a class name */ QCString trThisIsTheListOfAllMembers() { return "これは全メンバリストです。"; } /*! this is the remainder of the sentence after the class name */ QCString trIncludingInheritedMembers() { return "継承メンバもすべて含んでいます。"; } /*! this is put at the author sections at the bottom of man pages. * parameter s is name of the project name. */ QCString trGeneratedAutomatically(const char *s) { QCString result; if (s) result=(QCString)s+"の"; result+="ソースコードから Doxygen が自動的に生成しました。"; return result; } /*! put after an enum name in the list of all members */ QCString trEnumName() { return "enum 型"; } /*! put after an enum value in the list of all members */ QCString trEnumValue() { return "enum 値"; } /*! put after an undocumented member in the list of all members */ QCString trDefinedIn() { return "次で定義されました。"; } /*! put as in introduction in the verbatim header file of a class. * parameter f is the name of the include file. */ QCString trVerbatimText(const char *f) { return (QCString)"これはインクルードファイル"+f+"の内容です。"; } // quick reference sections /*! This is put above each page as a link to the list of all groups of * compounds or files (see the \group command). */ QCString trModules() { return "モジュール"; } /*! This is put above each page as a link to the class hierarchy */ QCString trClassHierarchy() { return "クラス階層"; } /*! This is put above each page as a link to the list of annotated classes */ QCString trCompoundList() { return "データ構造リスト"; } /*! This is put above each page as a link to the list of documented files */ QCString trFileList() { return "ファイルリスト"; } /*! This is put above each page as a link to the list of all verbatim headers */ QCString trHeaderFiles() { return "ヘッダファイル"; } /*! This is put above each page as a link to all members of compounds. */ QCString trCompoundMembers() { return "データ構造メンバ"; } /*! This is put above each page as a link to all members of files. */ QCString trFileMembers() { return "ファイルメンバ"; } /*! This is put above each page as a link to all related pages. */ QCString trRelatedPages() { return "関連ページ"; } /*! This is put above each page as a link to all examples. */ QCString trExamples() { return "例"; } /*! This is put above each page as a link to the search engine. */ QCString trSearch() { return "検索"; } /*! This is an introduction to the class hierarchy. */ QCString trClassHierarchyDescription() { return "この継承リストはおおまかにはソートされていますが、" "アルファベット順で完全にソートされてはいません。"; } /*! This is an introduction to the list with all files. */ QCString trFileListDescription(bool extractAll) { QCString result="このリストは、"; if (!extractAll) result+="ドキュメント化され、"; result+="簡易説明を持つファイルすべてのリストです。"; return result; } /*! This is an introduction to the annotated compound list. */ QCString trCompoundListDescription() { return "これは簡易説明を持つ、クラス、構造体、共用体のリストです。";} /*! This is an introduction to the page with all class members. */ QCString trCompoundMembersDescription(bool extractAll) { QCString result="これは"; if (!extractAll) result+="ドキュメント化された"; result+="クラスメンバすべてのリストで、それぞれ"; if (extractAll) result+="が属しているクラス"; result+="の解説へのリンクが張られています。"; return result; } /*! This is an introduction to the page with all file members. */ QCString trFileMembersDescription(bool extractAll) { QCString result="これは"; if (!extractAll) result+="ドキュメント化された"; result+="ファイルメンバすべてのリストで、それぞれ"; if (extractAll) result+="が属しているファイル"; result+="の解説へのリンクが張られています。"; return result; } /*! This is an introduction to the page with the list of all header files. */ QCString trHeaderFilesDescription() { return "APIを構成するヘッダファイルです。"; } /*! This is an introduction to the page with the list of all examples */ QCString trExamplesDescription() { return "すべての例のリストです。"; } /*! This is an introduction to the page with the list of related pages */ QCString trRelatedPagesDescription() { return "関連するドキュメントページすべてのリストです。"; } /*! This is an introduction to the page with the list of class/file groups */ QCString trModulesDescription() { return "すべてのモジュールのリストです。"; } /*! This sentences is used in the annotated class/file lists if no brief * description is given. */ QCString trNoDescriptionAvailable() { return "ドキュメントが記述されていません。"; } // index titles (the project name is prepended for these) /*! This is used in HTML as the title of index.html. */ QCString trDocumentation() { return "ドキュメント"; } /*! This is used in LaTeX as the title of the chapter with the * index of all groups. */ QCString trModuleIndex() { return "モジュール索引"; } /*! This is used in LaTeX as the title of the chapter with the * class hierarchy. */ QCString trHierarchicalIndex() { return "階層索引"; } /*! This is used in LaTeX as the title of the chapter with the * annotated compound index. */ QCString trCompoundIndex() { return "データ構造索引"; } /*! This is used in LaTeX as the title of the chapter with the * list of all files. */ QCString trFileIndex() { return "ファイル索引"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all groups. */ QCString trModuleDocumentation() { return "モジュールの解説"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all classes, structs and unions. */ QCString trClassDocumentation() { return "クラスの解説"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all files. */ QCString trFileDocumentation() { return "ファイルの解説"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all examples. */ QCString trExampleDocumentation() { return "例題の解説"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all related pages. */ QCString trPageDocumentation() { return "ページの解説"; } /*! This is used in LaTeX as the title of the document */ QCString trReferenceManual() { return "リファレンスマニュアル"; } /*! This is used in the documentation of a file as a header before the * list of defines */ QCString trDefines() { return "マクロ定義"; } /*! This is used in the documentation of a file as a header before the * list of function prototypes */ QCString trFuncProtos() { return "関数プロトタイプ"; } /*! This is used in the documentation of a file as a header before the * list of typedefs */ QCString trTypedefs() { return "型定義"; } /*! This is used in the documentation of a file as a header before the * list of enumerations */ QCString trEnumerations() { return "列挙型"; } /*! This is used in the documentation of a file as a header before the * list of (global) functions */ QCString trFunctions() { return "関数"; } /*! This is used in the documentation of a file as a header before the * list of (global) variables */ QCString trVariables() { return "変数"; } /*! This is used in the documentation of a file as a header before the * list of (global) variables */ QCString trEnumerationValues() { return "列挙型値"; } /*! This is used in man pages as the author section. */ QCString trAuthor() { return "作者"; } /*! This is used in the documentation of a file before the list of * documentation blocks for defines */ QCString trDefineDocumentation() { return "マクロ定義の解説"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for function prototypes */ QCString trFunctionPrototypeDocumentation() { return "関数プロトタイプの解説"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ QCString trTypedefDocumentation() { return "型定義の解説"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration types */ QCString trEnumerationTypeDocumentation() { return "列挙型の解説"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration values */ QCString trEnumerationValueDocumentation() { return "列挙型値の解説"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for functions */ QCString trFunctionDocumentation() { return "関数の解説"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for variables */ QCString trVariableDocumentation() { return "変数の解説"; } /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds */ QCString trCompounds() { return "データ構造"; } /*! This is used in the documentation of a group before the list of * links to documented files */ QCString trFiles() { return "ファイル"; } /*! This is used in the standard footer of each page and indicates when * the page was generated */ QCString trGeneratedAt(const char *date,const char *projName) { QCString result; if (projName) result+=(QCString)projName+"に対して"; result+=(QCString)date+"に生成されました。"; return result; } /*! This is part of the sentence used in the standard footer of each page. */ QCString trWrittenBy() { return "の開発者:"; } /*! this text is put before a class diagram */ QCString trClassDiagram(const char *clName) { return (QCString)clName+"に対するクラス階層図"; } /*! this text is generated when the \\internal command is used. */ QCString trForInternalUseOnly() { return "内部使用のみ。"; } /*! this text is generated when the \\reimp command is used. */ QCString trReimplementedForInternalReasons() { return "内部的な理由により再実装されましたが、APIには影響しません。"; } /*! this text is generated when the \\warning command is used. */ QCString trWarning() { return "警告"; } /*! this text is generated when the \\bug command is used. */ QCString trBugsAndLimitations() { return "バグと制限"; } /*! this text is generated when the \\version command is used. */ QCString trVersion() { return "バージョン"; } /*! this text is generated when the \\date command is used. */ QCString trDate() { return "日付"; } /*! this text is generated when the \\author command is used. */ QCString trAuthors() { return "作者"; } /*! this text is generated when the \\return command is used. */ QCString trReturns() { return "戻り値"; } /*! this text is generated when the \\sa command is used. */ QCString trSeeAlso() { return "参照"; } /*! this text is generated when the \\param command is used. */ QCString trParameters() { return "引数"; } /*! this text is generated when the \\exception command is used. */ QCString trExceptions() { return "例外"; } /*! this text is used in the title page of a LaTeX document. */ QCString trGeneratedBy() { return ""; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990307 ////////////////////////////////////////////////////////////////////////// /*! used as the title of page containing all the index of all namespaces. */ QCString trNamespaceList() { return "名前空間リスト"; } /*! used as an introduction to the namespace list */ QCString trNamespaceListDescription(bool extractAll) { QCString result="このリストは、簡易説明を持つすべての"; if (!extractAll) result+="ドキュメント化された"; result+="名前空間のリストです。"; return result; } /*! used in the class documentation as a header before the list of all * friends of a class */ 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 */ 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::Exception: result+="Exception "; break; //TODO:fixme } result+=(QCString)clName+" の解説"; return result; } /*! used as the title of the HTML page of a file */ QCString trFileReference(const char *fileName) { QCString result="ファイル "+(QCString)fileName+" の解説"; return result; } /*! used as the title of the HTML page of a namespace */ QCString trNamespaceReference(const char *namespaceName) { QCString result="名前空間 "+(QCString)namespaceName+" の解説"; return result; } /* these are for the member sections of a class, struct or union */ QCString trPublicMembers() { return "公開メンバ"; } QCString trPublicSlots() { return "公開スロット"; } QCString trSignals() { return "シグナル"; } QCString trStaticPublicMembers() { return "静的公開メンバ"; } QCString trProtectedMembers() { return "保護メンバ"; } QCString trProtectedSlots() { return "保護スロット"; } QCString trStaticProtectedMembers() { return "静的保護メンバ"; } QCString trPrivateMembers() { return "非公開メンバ"; } QCString trPrivateSlots() { return "非公開スロット"; } QCString trStaticPrivateMembers() { return "静的非公開メンバ"; } /*! this function is used to produce a comma-separated list of items. * use generateMarker(i) to indicate where item i should be put. */ QCString trWriteList(int numEntries) { QCString result; int i; // the inherits list contain `numEntries' classes for (i=0;i