1 /******************************************************************************
5 * Copyright (C) 1997-2015 by Dimitri van Heesch.
7 * Permission to use, copy, modify, and distribute this software and its
8 * documentation under the terms of the GNU General Public License is hereby
9 * granted. No representations are made about the suitability of this software
10 * for any purpose. It is provided "as is" without express or implied warranty.
11 * See the GNU General Public License for more details.
13 * Documents produced by Doxygen are derivative works derived from the
14 * input used in their production; they are not affected by this license.
25 * Update and Shift-Jis(_WIN32) -> converted UTF-8 at version 1.8.5
26 * by Ryunosuke Sato (30-Dec-2001)
28 * Translation for 1.5.8.
29 * by Hiroki Iseri (18-Feb-2009)
31 * Translation Added for 1.8.4 and revised
32 * by Suzumizaki-Kimitaka (30-Aug-2013)
35 Messages for translators written in Japanese:
36 1.8.5 への追加にあたって過去の翻訳者三名への連絡を試みたところ、
37 井芹さん(Hiroki Iseri)さんからメールのお返事をいただけました。
38 その際教えていただいた過去の経緯によりますと当時連絡可能だった方々は
39 揃って従来訳から改変追加して構わない旨を表明されていたとのことです。
40 Doxygen の開発の方でもそれはそれでいーんじゃん?みたいな感じだったようで。
42 井芹さんも同様の見解で、私(鈴見咲=Suzumizaki-Kimitaka)も
43 今後この翻訳に関わり続けられるかは非常に怪しいところですので
44 将来の追加訳・既存訳改良は臆することなく進めていってよいのでは
45 ないかと思います。無論作業の衝突があるのは不経済ですので現在進行形で
46 活発に更新している方がいないかの簡単な確認(MLとかGitとか)をやるのも
47 いいでしょうし、それでも偶然衝突したら不運を諦めて相互に調整しましょう。
49 当面なさそうですが訳語の選択で喧嘩になることもあるかもしれません。
50 そのときは gettext を利用するようなパッチを作って doxygen の開発に
51 適用を求めるのが一番ではないかなと思います。
53 1.6.0以前の既存の訳についても多少弄りました。
54 特に structure を構造体ではなく構成としていたのはあんまりでしたので。
55 ほか、C++ での利用前提で改変したところもありますが、それが他の言語で
56 問題のようでしたらお手数掛けて申し訳ないですが相応に再修正しちゃって
59 その際 doc/maintainers.txt を修正してから python doc/translator.py を
60 実行する点にご注意下さい。私のところに search 鈴見咲君高 と書いたのは
61 同姓同名がまず考えられないというのが大前提ですのでこちらもご注意。
63 "詳解"の語が厳しすぎると思う向きはありましょうが、その程度には書けと。
64 明記されてないけど使われてる動作や戻り値が想定内なのか想定外なのか
69 #ifndef TRANSLATOR_JP_H
70 #define TRANSLATOR_JP_H
72 class TranslatorJapanese : public TranslatorAdapter_1_8_15
75 virtual QCString idLanguage()
76 { return "japanese"; }
78 virtual QCString latexLanguageSupportCommand()
80 return "\\usepackage{CJKutf8}\n";
82 virtual QCString latexFontenc()
86 virtual QCString latexDocumentPre()
88 return "\\begin{CJK}{UTF8}{min}\n";
90 virtual QCString latexDocumentPost()
92 return "\\end{CJK}\n";
95 /*! used in the compound documentation before a list of related functions. */
96 virtual QCString trRelatedFunctions()
99 /*! subscript for the related functions. */
100 virtual QCString trRelatedSubscript()
101 { return "(これらはメソッドではありません)"; }
103 /*! header that is put before the detailed description of files, classes and namespaces. */
104 virtual QCString trDetailedDescription()
107 /*! header that is put before the list of typedefs. */
108 virtual QCString trMemberTypedefDocumentation()
109 { return "型定義メンバ詳解"; }
111 /*! header that is put before the list of enumerations. */
112 virtual QCString trMemberEnumerationDocumentation()
113 { return "列挙型メンバ詳解"; }
115 /*! header that is put before the list of member functions. */
116 virtual QCString trMemberFunctionDocumentation()
118 if( Config_getBool(OPTIMIZE_OUTPUT_JAVA))
128 /*! header that is put before the list of member attributes. */
129 virtual QCString trMemberDataDocumentation()
131 if( Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
141 /*! this is the text of a link put after brief descriptions. */
142 virtual QCString trMore()
145 /*! put in the class documentation */
146 virtual QCString trListOfAllMembers()
149 /*! used as the title of the "list of all members" page of a class */
150 virtual QCString trMemberList()
153 /*! this is the first part of a sentence that is followed by a class name */
154 virtual QCString trThisIsTheListOfAllMembers()
155 { return "継承メンバを含む "; }
156 /* trIncludingInheritedMembers に続くように定義すること */
158 /*! this is the remainder of the sentence after the class name */
159 virtual QCString trIncludingInheritedMembers()
160 { return " の全メンバ一覧です。"; }
161 /* trThisIsTheListOfAllMembers から続くように定義すること */
163 /*! this is put at the author sections at the bottom of man pages.
164 * parameter s is name of the project name.
166 virtual QCString trGeneratedAutomatically(const char *s)
167 { QCString result = "Doxygen により";
168 if (s) result=(QCString)" "+s+"の";
169 result+="ソースコードから抽出しました。";
173 /*! put after an enum name in the list of all members */
174 virtual QCString trEnumName()
177 /*! put after an enum value in the list of all members */
178 virtual QCString trEnumValue()
181 /*! put after an undocumented member in the list of all members */
182 virtual QCString trDefinedIn()
185 // quick reference sections
187 /*! This is put above each page as a link to the list of all groups of
188 * compounds or files (see the \\group command).
190 virtual QCString trModules()
193 /*! This is put above each page as a link to the class hierarchy */
194 virtual QCString trClassHierarchy()
197 /*! This is put above each page as a link to the list of annotated classes */
198 virtual QCString trCompoundList()
200 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
210 /*! This is put above each page as a link to the list of documented files */
211 virtual QCString trFileList()
214 /*! This is put above each page as a link to all members of compounds. */
215 virtual QCString trCompoundMembers()
217 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
227 /*! This is put above each page as a link to all members of files. */
228 virtual QCString trFileMembers()
230 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
239 /*! This is put above each page as a link to all related pages. */
240 virtual QCString trRelatedPages()
243 /*! This is put above each page as a link to all examples. */
244 virtual QCString trExamples()
247 /*! This is put above each page as a link to the search engine. */
248 virtual QCString trSearch()
251 /*! This is an introduction to the class hierarchy. */
252 virtual QCString trClassHierarchyDescription()
254 return "クラス階層一覧です。大雑把に文字符号順で並べられています。";
257 /*! This is an introduction to the list with all files. */
258 virtual QCString trFileListDescription(bool extractAll)
260 /* 概要がついているのは見ればわかるので省略 */
261 /* extractAll こと EXTRACT_ALL はすべての詳解が存在することを
262 実際の有無を度外視してユーザーが保証する設定なので
263 詳解がなければこの関数が返す文字列は当然に矛盾を起こす。
269 return "詳解が付けられているファイルの一覧です。";
273 /*! This is an introduction to the annotated compound list. */
274 virtual QCString trCompoundListDescription()
276 /* 概要がついているのは見ればわかるので省略 */
277 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
283 return "クラス・構造体・共用体・インターフェースの一覧です。";
287 /*! This is an introduction to the page with all class members. */
288 virtual QCString trCompoundMembersDescription(bool extractAll)
290 const bool forC = Config_getBool(OPTIMIZE_OUTPUT_FOR_C);
312 if (!extractAll && !forC)
332 result+="各フィールドが属する構造体・共用体";
336 result+="各メンバが属するクラス";
339 result += "へのリンクがあります。";
343 /*! This is an introduction to the page with all file members. */
344 virtual QCString trFileMembersDescription(bool /*extractAll*/)
347 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
349 result+="関数・変数・マクロ・列挙・型定義";
353 result+="ファイル直下のメンバ";
355 result+="一覧です。各々詳解があればそこへリンクしています。";
359 /*! This is an introduction to the page with the list of all examples */
360 virtual QCString trExamplesDescription()
361 { return "各種例の一覧です。"; }
363 /*! This is an introduction to the page with the list of related pages */
364 virtual QCString trRelatedPagesDescription()
365 { return "諸情報の一覧です。"; }
367 /*! This is an introduction to the page with the list of class/file groups */
368 virtual QCString trModulesDescription()
369 { return "全モジュールの一覧です。"; }
371 /*! This is used in HTML as the title of index.html. */
372 virtual QCString trDocumentation()
375 /*! This is used in LaTeX as the title of the chapter with the
376 * index of all groups.
378 virtual QCString trModuleIndex()
379 { return "モジュール索引"; }
381 /*! This is used in LaTeX as the title of the chapter with the
384 virtual QCString trHierarchicalIndex()
387 /*! This is used in LaTeX as the title of the chapter with the
388 * annotated compound index.
390 virtual QCString trCompoundIndex()
392 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
402 /*! This is used in LaTeX as the title of the chapter with the
405 virtual QCString trFileIndex()
408 /*! This is used in LaTeX as the title of the chapter containing
409 * the documentation of all groups.
411 virtual QCString trModuleDocumentation()
412 { return "モジュール詳解"; }
414 /*! This is used in LaTeX as the title of the chapter containing
415 * the documentation of all classes, structs and unions.
417 virtual QCString trClassDocumentation()
419 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
429 /*! This is used in LaTeX as the title of the chapter containing
430 * the documentation of all files.
432 virtual QCString trFileDocumentation()
435 /*! This is used in LaTeX as the title of the chapter containing
436 * the documentation of all examples.
438 virtual QCString trExampleDocumentation()
441 /*! This is used in LaTeX as the title of the chapter containing
442 * the documentation of all related pages.
444 virtual QCString trPageDocumentation()
447 /*! This is used in LaTeX as the title of the document */
448 virtual QCString trReferenceManual()
449 { return "リファレンスマニュアル"; }
451 /*! This is used in the documentation of a file as a header before the
454 virtual QCString trDefines()
457 /*! This is used in the documentation of a file as a header before the
460 virtual QCString trTypedefs()
463 /*! This is used in the documentation of a file as a header before the
464 * list of enumerations
466 virtual QCString trEnumerations()
469 /*! This is used in the documentation of a file as a header before the
470 * list of (global) functions
472 virtual QCString trFunctions()
475 /*! This is used in the documentation of a file as a header before the
476 * list of (global) variables
478 virtual QCString trVariables()
481 /*! This is used in the documentation of a file as a header before the
482 * list of (global) variables
484 virtual QCString trEnumerationValues()
486 /*! This is used in the documentation of a file before the list of
487 * documentation blocks for defines
489 virtual QCString trDefineDocumentation()
490 { return "マクロ定義詳解"; }
492 /*! This is used in the documentation of a file/namespace before the list
493 * of documentation blocks for typedefs
495 virtual QCString trTypedefDocumentation()
498 /*! This is used in the documentation of a file/namespace before the list
499 * of documentation blocks for enumeration types
501 virtual QCString trEnumerationTypeDocumentation()
504 /*! This is used in the documentation of a file/namespace before the list
505 * of documentation blocks for functions
507 virtual QCString trFunctionDocumentation()
510 /*! This is used in the documentation of a file/namespace before the list
511 * of documentation blocks for variables
513 virtual QCString trVariableDocumentation()
516 /*! This is used in the documentation of a file/namespace/group before
517 * the list of links to documented compounds
519 virtual QCString trCompounds()
521 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
530 /*! This is used in the standard footer of each page and indicates when
531 * the page was generated
533 virtual QCString trGeneratedAt(const char *date,const char *projName)
535 QCString result = (QCString)date+"作成";
536 if (projName) result+=(QCString)" - " + projName;
541 /*! this text is put before a class diagram */
542 virtual QCString trClassDiagram(const char *clName)
544 return (QCString)clName+" の継承関係図";
547 /*! this text is generated when the \\internal command is used. */
548 virtual QCString trForInternalUseOnly()
549 { return "内部処理用です。"; }
551 /*! this text is generated when the \\warning command is used. */
552 virtual QCString trWarning()
555 /*! this text is generated when the \\version command is used. */
556 virtual QCString trVersion()
559 /*! this text is generated when the \\date command is used. */
560 virtual QCString trDate()
563 /*! this text is generated when the \\return command is used. */
564 virtual QCString trReturns()
567 /*! this text is generated when the \\sa command is used. */
568 virtual QCString trSeeAlso()
571 /*! this text is generated when the \\param command is used. */
572 virtual QCString trParameters()
575 /*! this text is generated when the \\exception command is used. */
576 virtual QCString trExceptions()
579 /*! this text is used in the title page of a LaTeX document. */
580 virtual QCString trGeneratedBy()
583 //////////////////////////////////////////////////////////////////////////
584 // new since 0.49-990307
585 //////////////////////////////////////////////////////////////////////////
587 /*! used as the title of page containing all the index of all namespaces. */
588 virtual QCString trNamespaceList()
591 /*! used as an introduction to the namespace list */
592 virtual QCString trNamespaceListDescription(bool extractAll)
596 return "全名前空間の一覧です。";
598 return "詳解が付いた名前空間の一覧です。";
601 /*! used in the class documentation as a header before the list of all
604 virtual QCString trFriends()
607 //////////////////////////////////////////////////////////////////////////
608 // new since 0.49-990405
609 //////////////////////////////////////////////////////////////////////////
611 /*! used in the class documentation as a header before the list of all
614 virtual QCString trRelatedFunctionDocumentation()
615 { return "フレンドと関連関数の詳解"; }
617 //////////////////////////////////////////////////////////////////////////
618 // new since 0.49-990425
619 //////////////////////////////////////////////////////////////////////////
621 /*! used as the title of the HTML page of a class/struct/union */
622 virtual QCString trCompoundReference(const char *clName,
623 ClassDef::CompoundType compType,
626 QCString result=(QCString)clName+" ";
629 case ClassDef::Class: result+="クラス"; break;
630 case ClassDef::Struct: result+="構造体"; break;
631 case ClassDef::Union: result+="共用体"; break;
632 case ClassDef::Interface: result+="インタフェース"; break;
633 case ClassDef::Protocol: result+="プロトコル"; break;
634 case ClassDef::Category: result+="カテゴリ"; break;
635 case ClassDef::Exception: result+="例外"; break;
638 if (isTemplate) result+="テンプレート";
642 /*! used as the title of the HTML page of a file */
643 virtual QCString trFileReference(const char *fileName)
645 QCString result=(QCString)fileName+" ファイル";
649 /*! used as the title of the HTML page of a namespace */
650 virtual QCString trNamespaceReference(const char *namespaceName)
652 QCString result=(QCString)namespaceName+" 名前空間";
656 /* these are for the member sections of a class, struct or union */
657 virtual QCString trPublicMembers()
658 { return "公開メンバ関数"; }
659 virtual QCString trPublicSlots()
661 virtual QCString trSignals()
663 virtual QCString trStaticPublicMembers()
664 { return "静的公開メンバ関数"; }
665 virtual QCString trProtectedMembers()
666 { return "限定公開メンバ関数"; }
667 virtual QCString trProtectedSlots()
668 { return "限定公開スロット"; }
669 virtual QCString trStaticProtectedMembers()
670 { return "静的限定公開メンバ関数"; }
671 virtual QCString trPrivateMembers()
672 { return "非公開メンバ関数"; }
673 virtual QCString trPrivateSlots()
674 { return "非公開スロット"; }
675 virtual QCString trStaticPrivateMembers()
676 { return "静的非公開メンバ関数"; }
678 /*! this function is used to produce a comma-separated list of items.
679 * use generateMarker(i) to indicate where item i should be put.
681 virtual QCString trWriteList(int numEntries)
685 // the inherits list contain `numEntries' classes
686 for (i=0;i<numEntries;i++)
688 // use generateMarker to generate placeholders for the class links!
689 result+=generateMarker(i); // generate marker for entry i in the list
690 // (order is left to right)
692 if (i!=numEntries-1) // not the last entry, so we need a separator
697 if ( result.length() > 60 )
700 countStr.sprintf(" (計%d項目)", numEntries);
706 /*! used in class documentation to produce a list of base classes,
707 * if class diagrams are disabled.
709 virtual QCString trInheritsList(int numEntries)
711 return trWriteList(numEntries)+"を継承しています。";
714 /*! used in class documentation to produce a list of super classes,
715 * if class diagrams are disabled.
717 virtual QCString trInheritedByList(int numEntries)
719 return trWriteList(numEntries)+"に継承されています。";
722 /*! used in member documentation blocks to produce a list of
723 * members that are hidden by this one.
725 virtual QCString trReimplementedFromList(int numEntries)
727 return trWriteList(numEntries)+"を再実装しています。";
730 /*! used in member documentation blocks to produce a list of
731 * all member that overwrite the implementation of this member.
733 virtual QCString trReimplementedInList(int numEntries)
735 return trWriteList(numEntries)+"で再実装されています。";
738 /*! This is put above each page as a link to all members of namespaces. */
739 virtual QCString trNamespaceMembers()
740 { return "名前空間メンバ"; }
742 /*! This is an introduction to the page with all namespace members */
743 virtual QCString trNamespaceMemberDescription(bool extractAll)
745 QCString result="これは";
746 result+="名前空間の一覧です。それぞれ";
753 result+="が属している名前空間";
755 result+="へリンクしています。";
758 /*! This is used in LaTeX as the title of the chapter with the
759 * index of all namespaces.
761 virtual QCString trNamespaceIndex()
764 /*! This is used in LaTeX as the title of the chapter containing
765 * the documentation of all namespaces.
767 virtual QCString trNamespaceDocumentation()
770 //////////////////////////////////////////////////////////////////////////
771 // new since 0.49-990522
772 //////////////////////////////////////////////////////////////////////////
774 /*! This is used in the documentation before the list of all
775 * namespaces in a file.
777 virtual QCString trNamespaces()
780 //////////////////////////////////////////////////////////////////////////
781 // new since 0.49-990728
782 //////////////////////////////////////////////////////////////////////////
784 /*! This is put at the bottom of a class documentation page and is
785 * followed by a list of files that were used to generate the page.
787 virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
789 { // here s is one of " Class", " Struct" or " Union"
790 // single is true implies a single file
791 QCString result=(QCString)"この";
794 case ClassDef::Class: result+="クラス"; break;
795 case ClassDef::Struct: result+="構造体"; break;
796 case ClassDef::Union: result+="共用体"; break;
797 case ClassDef::Interface: result+="インタフェース"; break;
798 case ClassDef::Protocol: result+="プロトコル"; break;
799 case ClassDef::Category: result+="カテゴリ"; break;
800 case ClassDef::Exception: result+="例外"; break;
803 result+="詳解は次のファイルから抽出されました:";
807 //////////////////////////////////////////////////////////////////////////
808 // new since 0.49-990901
809 //////////////////////////////////////////////////////////////////////////
811 /*! This is used as the heading text for the retval command. */
812 virtual QCString trReturnValues()
815 /*! This is in the (quick) index as a link to the main page (index.html)
817 virtual QCString trMainPage()
820 /*! This is used in references to page that are put in the LaTeX
821 * documentation. It should be an abbreviation of the word page.
823 virtual QCString trPageAbbreviation()
826 //////////////////////////////////////////////////////////////////////////
827 // new since 0.49-991003
828 //////////////////////////////////////////////////////////////////////////
830 virtual QCString trDefinedAtLineInSourceFile()
832 return " @1 の @0 行目に定義があります。";
834 virtual QCString trDefinedInSourceFile()
836 return " @0 に定義があります。";
839 //////////////////////////////////////////////////////////////////////////
841 //////////////////////////////////////////////////////////////////////////
843 virtual QCString trDeprecated()
848 /*! this text is put before a collaboration diagram */
849 virtual QCString trCollaborationDiagram(const char *clName)
851 return (QCString)clName+" 連携図";
853 /*! this text is put before an include dependency graph */
854 virtual QCString trInclDepGraph(const char *fName)
856 return (QCString)fName+" の依存先関係図:";
858 /*! header that is put before the list of constructor/destructors. */
859 virtual QCString trConstructorDocumentation()
863 /*! Used in the file documentation to point to the corresponding sources. */
864 virtual QCString trGotoSourceCode()
868 /*! Used in the file sources to point to the corresponding documentation. */
869 virtual QCString trGotoDocumentation()
873 /*! Text for the \\pre command */
874 virtual QCString trPrecondition()
878 /*! Text for the \\post command */
879 virtual QCString trPostcondition()
883 /*! Text for the \\invariant command */
884 virtual QCString trInvariant()
888 /*! Text shown before a multi-line variable/enum initialization */
889 virtual QCString trInitialValue()
893 /*! Text used the source code in the file index */
894 virtual QCString trCode()
898 virtual QCString trGraphicalHierarchy()
902 virtual QCString trGotoGraphicalHierarchy()
906 virtual QCString trGotoTextualHierarchy()
910 virtual QCString trPageIndex()
914 //////////////////////////////////////////////////////////////////////////
916 //////////////////////////////////////////////////////////////////////////
918 virtual QCString trNote()
922 virtual QCString trPublicTypes()
926 virtual QCString trPublicAttribs()
928 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
937 virtual QCString trStaticPublicAttribs()
941 virtual QCString trProtectedTypes()
945 virtual QCString trProtectedAttribs()
949 virtual QCString trStaticProtectedAttribs()
953 virtual QCString trPrivateTypes()
957 virtual QCString trPrivateAttribs()
961 virtual QCString trStaticPrivateAttribs()
966 //////////////////////////////////////////////////////////////////////////
968 //////////////////////////////////////////////////////////////////////////
970 /*! Used as a marker that is put before a todo item */
971 virtual QCString trTodo()
975 /*! Used as the header of the todo list */
976 virtual QCString trTodoList()
981 //////////////////////////////////////////////////////////////////////////
983 //////////////////////////////////////////////////////////////////////////
985 virtual QCString trReferencedBy()
989 virtual QCString trRemarks()
993 virtual QCString trAttention()
997 virtual QCString trInclByDepGraph()
1001 virtual QCString trSince()
1006 //////////////////////////////////////////////////////////////////////////
1008 //////////////////////////////////////////////////////////////////////////
1010 /*! title of the graph legend page */
1011 virtual QCString trLegendTitle()
1015 /*! page explaining how the dot graph's should be interpreted */
1016 virtual QCString trLegendDocs()
1019 "Doxygen が生成したグラフを読み方について。<p>\n"
1022 "/*! 全体の大きさの関係で見えなくなるクラスです。 */\n"
1023 "class Invisible { };\n\n"
1024 "/*! 表示を切り捨てられたクラス(Invisibleクラスの分が見えません) */\n"
1025 "class Truncated : public Invisible { };\n\n"
1026 "/* Doxygen 用のコメントコードがないクラス */\n"
1027 "class Undocumented { };\n\n"
1028 "/*! 公開継承されているクラス */\n"
1029 "class PublicBase : public Truncated { };\n\n"
1030 "/*! A template class */\n"
1031 "template<class T> class Templ { };\n\n"
1032 "/*! 限定公開で継承されているクラス */\n"
1033 "class ProtectedBase { };\n\n"
1034 "/*! 非公開継承されているクラス */\n"
1035 "class PrivateBase { };\n\n"
1036 "/*! Inherited クラス内で使われているクラス */\n"
1037 "class Used { };\n\n"
1038 "/*! 複数のクラスを継承している上位クラス */\n"
1039 "class Inherited : public PublicBase,\n"
1040 " protected ProtectedBase,\n"
1041 " private PrivateBase,\n"
1042 " public Undocumented,\n"
1043 " public Templ<int>\n"
1046 " Used *m_usedClass;\n"
1049 "\\c MAX_DOT_GRAPH_" /* わざわざちょん切っているのは doc/translator.py の検出回避のため */
1050 "HEIGHT タグに 200 を与えた設定ファイル"
1051 "を使うと、次のようなグラフとなります。"
1052 "<p><center><img src=\"graph_legend."+getDotImageExtension()+"\"></center>\n"
1054 "グラフ内の矩形は構造体やクラスを表しています。色の意味は次の通りです。\n"
1056 "<li>中を黒く塗られた四角は、図が注目している起点です。</li>\n"
1057 "<li>黒枠は詳解があることを示しています。</li>\n"
1058 "<li>灰色枠で示されたクラス等には詳解がありません。</li>\n"
1059 "<li>赤枠で示されたものは詳解を持つクラスですが、"
1060 "指定された大きさに収まらないことから一部の継承・包含関係が"
1061 "省略されていることを表します。</li>\n"
1063 "<p>矢印の意味は次の通りです。</p>\n"
1065 "<li>青い矢印は二つのクラス間の公開継承関係を示します。</li>\n"
1066 "<li>緑の矢印は限定公開の継承関係を示します。</li>\n"
1067 "<li>赤の矢印は非公開の継承関係を示します。</li>\n"
1068 "<li>紫の破線矢印は、そのクラスが他のクラスに含まれているか、"
1069 "利用されていることを示します。また、矢印のラベルは矢の先にあるクラス等を"
1070 "アクセスしている矢の根本のメンバを表しています。</li>\n"
1073 /*! text for the link to the legend page */
1074 virtual QCString trLegend()
1079 //////////////////////////////////////////////////////////////////////////
1081 //////////////////////////////////////////////////////////////////////////
1083 /*! Used as a marker that is put before a test item */
1084 virtual QCString trTest()
1088 /*! Used as the header of the test list */
1089 virtual QCString trTestList()
1094 //////////////////////////////////////////////////////////////////////////
1096 //////////////////////////////////////////////////////////////////////////
1098 /*! Used as a section header for IDL properties */
1099 virtual QCString trProperties()
1103 /*! Used as a section header for IDL property documentation */
1104 virtual QCString trPropertyDocumentation()
1110 //////////////////////////////////////////////////////////////////////////
1112 //////////////////////////////////////////////////////////////////////////
1114 /*! Used for Java classes in the summary section of Java packages */
1115 virtual QCString trClasses()
1117 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
1126 /*! Used as the title of a Java package */
1127 virtual QCString trPackage(const char *name)
1129 return (QCString)name+" パッケージ";
1131 /*! Title of the package index page */
1132 virtual QCString trPackageList()
1136 /*! The description of the package index page */
1137 virtual QCString trPackageListDescription()
1139 return "パッケージ一覧です。";
1141 /*! The link name in the Quick links header for each page */
1142 virtual QCString trPackages()
1147 /*! Text shown before a multi-line define */
1148 virtual QCString trDefineValue()
1154 //////////////////////////////////////////////////////////////////////////
1156 //////////////////////////////////////////////////////////////////////////
1158 /*! Used as a marker that is put before a \\bug item */
1159 virtual QCString trBug()
1163 /*! Used as the header of the bug list */
1164 virtual QCString trBugList()
1169 //////////////////////////////////////////////////////////////////////////
1171 //////////////////////////////////////////////////////////////////////////
1173 /*! Used as ansicpg for RTF file
1175 * The following table shows the correlation of Charset name, Charset Value and
1178 * Charset Name Charset Value(hex) Codepage number
1179 * ------------------------------------------------------
1180 * DEFAULT_CHARSET 1 (x01)
1181 * SYMBOL_CHARSET 2 (x02)
1182 * OEM_CHARSET 255 (xFF)
1183 * ANSI_CHARSET 0 (x00) 1252
1184 * RUSSIAN_CHARSET 204 (xCC) 1251
1185 * EE_CHARSET 238 (xEE) 1250
1186 * GREEK_CHARSET 161 (xA1) 1253
1187 * TURKISH_CHARSET 162 (xA2) 1254
1188 * BALTIC_CHARSET 186 (xBA) 1257
1189 * HEBREW_CHARSET 177 (xB1) 1255
1190 * ARABIC _CHARSET 178 (xB2) 1256
1191 * SHIFTJIS_CHARSET 128 (x80) 932
1192 * HANGEUL_CHARSET 129 (x81) 949
1193 * GB2313_CHARSET 134 (x86) 936
1194 * CHINESEBIG5_CHARSET 136 (x88) 950
1198 virtual QCString trRTFansicp()
1204 /*! Used as ansicpg for RTF fcharset
1205 * \see trRTFansicp() for a table of possible values.
1207 virtual QCString trRTFCharSet()
1212 /*! Used as header RTF general index */
1213 virtual QCString trRTFGeneralIndex()
1218 /*! This is used for translation of the word that will possibly
1219 * be followed by a single name or by a list of names
1222 virtual QCString trClass(bool /*first_capital*/, bool /*singular*/)
1227 /*! This is used for translation of the word that will possibly
1228 * be followed by a single name or by a list of names
1231 virtual QCString trFile(bool /*first_capital*/, bool /*singular*/)
1236 /*! This is used for translation of the word that will possibly
1237 * be followed by a single name or by a list of names
1240 virtual QCString trNamespace(bool /*first_capital*/, bool /*singular*/)
1245 /*! This is used for translation of the word that will possibly
1246 * be followed by a single name or by a list of names
1249 virtual QCString trGroup(bool /*first_capital*/, bool /*singular*/)
1254 /*! This is used for translation of the word that will possibly
1255 * be followed by a single name or by a list of names
1258 virtual QCString trPage(bool /*first_capital*/, bool /*singular*/)
1263 /*! This is used for translation of the word that will possibly
1264 * be followed by a single name or by a list of names
1267 virtual QCString trMember(bool /*first_capital*/, bool /*singular*/)
1272 /*! This is used for translation of the word that will possibly
1273 * be followed by a single name or by a list of names
1276 virtual QCString trGlobal(bool /*first_capital*/, bool /*singular*/)
1281 //////////////////////////////////////////////////////////////////////////
1283 //////////////////////////////////////////////////////////////////////////
1285 /*! This text is generated when the \\author command is used and
1286 * for the author section in man pages. */
1287 virtual QCString trAuthor(bool /*first_capital*/, bool /*singular*/)
1292 //////////////////////////////////////////////////////////////////////////
1294 //////////////////////////////////////////////////////////////////////////
1296 /*! This text is put before the list of members referenced by a member
1298 virtual QCString trReferences()
1303 //////////////////////////////////////////////////////////////////////////
1305 //////////////////////////////////////////////////////////////////////////
1307 /*! used in member documentation blocks to produce a list of
1308 * members that are implemented by this one.
1310 virtual QCString trImplementedFromList(int numEntries)
1312 return trWriteList(numEntries)+"を実装しています。";
1315 /*! used in member documentation blocks to produce a list of
1316 * all members that implement this abstract member.
1318 virtual QCString trImplementedInList(int numEntries)
1320 return trWriteList(numEntries)+"で実装されています。";
1322 //////////////////////////////////////////////////////////////////////////
1324 //////////////////////////////////////////////////////////////////////////
1326 /*! used in RTF documentation as a heading for the Table
1329 virtual QCString trRTFTableOfContents()
1334 //////////////////////////////////////////////////////////////////////////
1336 //////////////////////////////////////////////////////////////////////////
1338 /*! Used as the header of the list of item that have been
1339 * flagged deprecated
1341 virtual QCString trDeprecatedList()
1346 //////////////////////////////////////////////////////////////////////////
1348 //////////////////////////////////////////////////////////////////////////
1350 /*! Used as a header for declaration section of the events found in
1353 virtual QCString trEvents()
1357 /*! Header used for the documentation section of a class' events. */
1358 virtual QCString trEventDocumentation()
1363 //////////////////////////////////////////////////////////////////////////
1365 //////////////////////////////////////////////////////////////////////////
1367 /*! Used as a heading for a list of Java class types with package scope.
1369 virtual QCString trPackageTypes()
1371 return "パッケージ内の型定義";
1373 /*! Used as a heading for a list of Java class functions with package
1376 virtual QCString trPackageMembers()
1380 /*! Used as a heading for a list of static Java class functions with
1383 virtual QCString trStaticPackageMembers()
1387 /*! Used as a heading for a list of Java class variables with package
1390 virtual QCString trPackageAttribs()
1394 /*! Used as a heading for a list of static Java class variables with
1397 virtual QCString trStaticPackageAttribs()
1402 //////////////////////////////////////////////////////////////////////////
1404 //////////////////////////////////////////////////////////////////////////
1406 /*! Used in the quick index of a class/file/namespace member list page
1407 * to link to the unfiltered list of all members.
1409 virtual QCString trAll()
1413 /*! Put in front of the call graph for a function. */
1414 virtual QCString trCallGraph()
1419 //////////////////////////////////////////////////////////////////////////
1421 //////////////////////////////////////////////////////////////////////////
1423 /*! This string is used as the title for the page listing the search
1426 virtual QCString trSearchResultsTitle()
1430 /*! This string is put just before listing the search results. The
1431 * text can be different depending on the number of documents found.
1432 * Inside the text you can put the special marker $num to insert
1433 * the number representing the actual number of search results.
1434 * The @a numDocuments parameter can be either 0, 1 or 2, where the
1435 * value 2 represents 2 or more matches. HTML markup is allowed inside
1436 * the returned string.
1438 virtual QCString trSearchResults(int numDocuments)
1440 if (numDocuments==0)
1442 return "入力条件を満たす文書がありません。";
1444 else if (numDocuments==1)
1446 return "入力条件を満たす文書が <b>1</b> 件ありました.";
1450 return "入力条件を満たす文書が <b>$num</b> 件ありました. "
1451 "一致度の高いものから表示されます.";
1454 /*! This string is put before the list of matched words, for each search
1455 * result. What follows is the list of words that matched the query.
1457 virtual QCString trSearchMatches()
1462 //////////////////////////////////////////////////////////////////////////
1464 //////////////////////////////////////////////////////////////////////////
1466 /*! This is used in HTML as the title of page with source code for file filename
1468 virtual QCString trSourceFile(QCString& filename)
1470 return filename + " ソースファイル";
1473 //////////////////////////////////////////////////////////////////////////
1475 //////////////////////////////////////////////////////////////////////////
1477 /*! This is used as the name of the chapter containing the directory
1480 virtual QCString trDirIndex()
1481 { return "ディレクトリ索引"; }
1483 /*! This is used as the name of the chapter containing the documentation
1484 * of the directories.
1486 virtual QCString trDirDocumentation()
1487 { return "ディレクトリ詳解"; }
1489 /*! This is used as the title of the directory index and also in the
1490 * Quick links of an HTML page, to link to the directory hierarchy.
1492 virtual QCString trDirectories()
1493 { return "ディレクトリ"; }
1495 /*! This returns a sentences that introduces the directory hierarchy.
1496 * and the fact that it is sorted alphabetically per level
1498 virtual QCString trDirDescription()
1499 { return "このディレクトリ一覧はおおまかにはソートされていますが、"
1500 "完全にアルファベット順でソートされてはいません。";
1503 /*! This returns the title of a directory page. The name of the
1504 * directory is passed via \a dirName.
1506 virtual QCString trDirReference(const char *dirName)
1507 { QCString result=dirName; result+=" ディレクトリリファレンス"; return result; }
1509 /*! This returns the word directory with or without starting capital
1510 * (\a first_capital) and in sigular or plural form (\a singular).
1512 virtual QCString trDir(bool, bool)
1517 //////////////////////////////////////////////////////////////////////////
1519 //////////////////////////////////////////////////////////////////////////
1521 /*! This text is added to the documentation when the \\overload command
1522 * is used for a overloaded function.
1524 virtual QCString trOverloadText()
1526 return "これはオーバーロードされたメンバ関数です。"
1528 "元の関数との違いは引き数のみです。";
1531 //////////////////////////////////////////////////////////////////////////
1533 //////////////////////////////////////////////////////////////////////////
1535 /*! This is used to introduce a caller (or called-by) graph */
1536 virtual QCString trCallerGraph()
1541 /*! This is used in the documentation of a file/namespace before the list
1542 * of documentation blocks for enumeration values
1544 virtual QCString trEnumerationValueDocumentation()
1548 //////////////////////////////////////////////////////////////////////////
1549 // new since 1.5.4 (mainly for Fortran)
1550 //////////////////////////////////////////////////////////////////////////
1552 /*! header that is put before the list of member subprograms (Fortran). */
1553 virtual QCString trMemberFunctionDocumentationFortran()
1554 { return "メンバ関数/サブルーチン詳解"; }
1556 /*! This is put above each page as a link to the list of annotated data types (Fortran). */
1557 virtual QCString trCompoundListFortran()
1558 { return "データ型一覧"; }
1560 /*! This is put above each page as a link to all members of compounds (Fortran). */
1561 virtual QCString trCompoundMembersFortran()
1562 { return "データフィールド"; }
1564 /*! This is an introduction to the annotated compound list (Fortran). */
1565 virtual QCString trCompoundListDescriptionFortran()
1566 { return "これはデータ型の一覧です:"; }
1568 /*! This is an introduction to the page with all data types (Fortran). */
1569 virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
1571 QCString result="これは";
1572 result+="フィールドの一覧です。それぞれ";
1575 result+="が属しているデータ型";
1577 result+="の詳解へリンクしています。";
1581 /*! This is used in LaTeX as the title of the chapter with the
1582 * annotated compound index (Fortran).
1584 virtual QCString trCompoundIndexFortran()
1585 { return "データ型索引"; }
1587 /*! This is used in LaTeX as the title of the chapter containing
1588 * the documentation of all data types (Fortran).
1590 virtual QCString trTypeDocumentation()
1591 { return "データ型詳解"; }
1593 /*! This is used in the documentation of a file as a header before the
1594 * list of (global) subprograms (Fortran).
1596 virtual QCString trSubprograms()
1597 { return "関数/サブルーチン"; }
1600 /*! This is used in the documentation of a file/namespace before the list
1601 * of documentation blocks for subprograms (Fortran)
1603 virtual QCString trSubprogramDocumentation()
1604 { return "関数/サブルーチン詳解"; }
1606 /*! This is used in the documentation of a file/namespace/group before
1607 * the list of links to documented compounds (Fortran)
1609 virtual QCString trDataTypes()
1612 /*! used as the title of page containing all the index of all modules (Fortran). */
1613 virtual QCString trModulesList()
1614 { return "モジュール一覧"; }
1616 /*! used as an introduction to the modules list (Fortran) */
1617 virtual QCString trModulesListDescription(bool extractAll)
1622 result+="詳解が記されている";
1628 result+="モジュールの一覧です";
1632 /*! used as the title of the HTML page of a module/type (Fortran) */
1633 virtual QCString trCompoundReferenceFortran(const char *clName,
1634 ClassDef::CompoundType compType,
1640 case ClassDef::Class: result+="モジュール "; break;
1641 case ClassDef::Struct: result+="TYPE "; break;
1642 case ClassDef::Union: result+="共用体 "; break;
1643 case ClassDef::Interface: result+="インターフェース "; break;
1644 case ClassDef::Protocol: result+="プロトコル "; break;
1645 case ClassDef::Category: result+="カテゴリ "; break;
1646 case ClassDef::Exception: result+="例外 "; break;
1649 if (isTemplate) result += "テンプレート ";
1650 result+=(QCString)clName;
1653 /*! used as the title of the HTML page of a module (Fortran) */
1654 virtual QCString trModuleReference(const char *namespaceName)
1656 QCString result=namespaceName;
1661 /*! This is put above each page as a link to all members of modules. (Fortran) */
1662 virtual QCString trModulesMembers()
1663 { return "モジュールメンバ"; }
1665 /*! This is an introduction to the page with all modules members (Fortran) */
1666 virtual QCString trModulesMemberDescription(bool extractAll)
1668 QCString result="これはモジュールメンバ一覧です。それぞれ ";
1671 result+="属しているモジュール";
1673 result+="の詳解へリンクしています。";
1677 /*! This is used in LaTeX as the title of the chapter with the
1678 * index of all modules (Fortran).
1680 virtual QCString trModulesIndex()
1681 { return "モジュール索引"; }
1683 /*! This is used for translation of the word that will possibly
1684 * be followed by a single name or by a list of names
1687 virtual QCString trModule(bool /*first_capital*/, bool /*singular*/)
1691 /*! This is put at the bottom of a module documentation page and is
1692 * followed by a list of files that were used to generate the page.
1694 virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
1696 { // here s is one of " Module", " Struct" or " Union"
1697 // single is true implies a single file
1698 QCString result="次のファイルから";
1701 case ClassDef::Class: result+="モジュール"; break;
1702 case ClassDef::Struct: result+="型"; break;
1703 case ClassDef::Union: result+="共用体"; break;
1704 case ClassDef::Interface: result+="インターフェース"; break;
1705 case ClassDef::Protocol: result+="プロトコル"; break;
1706 case ClassDef::Category: result+="カテゴリ"; break;
1707 case ClassDef::Exception: result+="例外"; break;
1710 result+="の詳解が抽出されました:";
1713 /*! This is used for translation of the word that will possibly
1714 * be followed by a single name or by a list of names
1717 virtual QCString trType(bool /*first_capital*/, bool /*singular*/)
1719 QCString result = "型";
1722 /*! This is used for translation of the word that will possibly
1723 * be followed by a single name or by a list of names
1726 virtual QCString trSubprogram(bool /*first_capital*/, bool /*singular*/)
1728 QCString result = "サブプログラム";
1732 /*! C# Type Constraint list */
1733 virtual QCString trTypeConstraints()
1738 //////////////////////////////////////////////////////////////////////////
1739 // new since 1.6.0 (mainly for the new search engine)
1740 //////////////////////////////////////////////////////////////////////////
1742 /*! directory relation for \a name */
1743 virtual QCString trDirRelation(const char *name)
1745 return QCString(name)+" 関係";
1748 /*! Loading message shown when loading search results */
1749 virtual QCString trLoading()
1754 /*! Label used for search results in the global namespace */
1755 virtual QCString trGlobalNamespace()
1760 /*! Message shown while searching */
1761 virtual QCString trSearching()
1766 /*! Text shown when no search results are found */
1767 virtual QCString trNoMatches()
1769 return "一致する文字列を見つけられません";
1772 //////////////////////////////////////////////////////////////////////////
1773 // new since 1.6.3 (missing items for the directory pages)
1774 //////////////////////////////////////////////////////////////////////////
1776 /*! when clicking a directory dependency label, a page with a
1777 * table is shown. The heading for the first column mentions the
1778 * source file that has a relation to another file.
1780 virtual QCString trFileIn(const char *name)
1782 return (QCString)name+"にあるファイル";
1785 /*! when clicking a directory dependency label, a page with a
1786 * table is shown. The heading for the second column mentions the
1787 * destination file that is included.
1789 virtual QCString trIncludesFileIn(const char *name)
1791 return (QCString)name+"にあるファイルを include している";
1794 /** Compiles a date string.
1795 * @param year Year in 4 digits
1796 * @param month Month of the year: 1=January
1797 * @param day Day of the Month: 1..31
1798 * @param dayOfWeek Day of the week: 1=Monday..7=Sunday
1799 * @param hour Hour of the day: 0..23
1800 * @param minutes Minutes in the hour: 0..59
1801 * @param seconds Seconds within the minute: 0..59
1802 * @param includeTime Include time in the result string?
1804 virtual QCString trDateTime(int year,int month,int day,int dayOfWeek,
1805 int hour,int minutes,int seconds,
1808 static const char *days[] = { "月", "火", "水", "木", "金", "土", "日" };
1810 sdate.sprintf("%.4d年%.2d月%.2d日(%s)",year,month,day,days[dayOfWeek-1]);
1814 stime.sprintf(" %.2d時%.2d分%.2d秒",hour,minutes,seconds);
1820 //////////////////////////////////////////////////////////////////////////
1822 //////////////////////////////////////////////////////////////////////////
1824 /*! Header for the page with bibliographic citations */
1825 virtual QCString trCiteReferences()
1828 /*! Text for copyright paragraph */
1829 virtual QCString trCopyright()
1832 /*! Header for the graph showing the directory dependencies */
1833 virtual QCString trDirDepGraph(const char *name)
1834 { return QCString(name)+" のディレクトリ依存関係図"; }
1836 //////////////////////////////////////////////////////////////////////////
1838 //////////////////////////////////////////////////////////////////////////
1840 /*! Detail level selector shown for hierarchical indices */
1841 virtual QCString trDetailLevel()
1844 /*! Section header for list of template parameters */
1845 virtual QCString trTemplateParameters()
1846 { return "テンプレート引数"; }
1848 /*! Used in dot graph when UML_LOOK is enabled and there are many fields */
1849 virtual QCString trAndMore(const QCString &number)
1850 { return "ほか "+number+" 件…"; }
1852 /*! Used file list for a Java enum */
1853 virtual QCString trEnumGeneratedFromFiles(bool)
1855 return "次のファイルからこの列挙についての詳解を抽出しました:";
1858 /*! Header of a Java enum page (Java enums are represented as classes). */
1859 virtual QCString trEnumReference(const char *name)
1860 { return QCString("列挙 ")+name+" 詳解"; }
1862 /*! Used for a section containing inherited members */
1863 virtual QCString trInheritedFrom(const char *members,const char *what)
1864 { return QCString("基底クラス ")+what+" に属する継承"+members; }
1866 /*! Header of the sections with inherited members specific for the
1869 virtual QCString trAdditionalInheritedMembers()
1870 { return "その他の継承メンバ"; }
1872 //////////////////////////////////////////////////////////////////////////
1874 //////////////////////////////////////////////////////////////////////////
1876 /*! Used as a tooltip for the toggle button that appears in the
1877 * navigation tree in the HTML output when GENERATE_TREEVIEW is
1878 * enabled. This tooltip explains the meaning of the button.
1880 virtual QCString trPanelSynchronisationTooltip(bool enable)
1883 QCString opt = enable ? "有効" : "無効";
1884 return "クリックで同期表示が"+opt+"になります";
1887 /*! Used in a method of an Objective-C class that is declared in a
1888 * a category. Note that the @1 marker is required and is replaced
1891 virtual QCString trProvidedByCategory()
1893 return "@0 カテゴリーから提供されています。";
1896 /*! Used in a method of an Objective-C category that extends a class.
1897 * Note that the @1 marker is required and is replaced by a link to
1900 virtual QCString trExtendsClass()
1902 return "@0 を拡張しています。";
1905 /*! Used as the header of a list of class methods in Objective-C.
1906 * These are similar to static public member functions in C++.
1908 virtual QCString trClassMethods()
1913 /*! Used as the header of a list of instance methods in Objective-C.
1914 * These are similar to public member functions in C++.
1916 virtual QCString trInstanceMethods()
1921 /*! Used as the header of the member functions of an Objective-C class.
1923 virtual QCString trMethodDocumentation()
1928 /*! Used as the title of the design overview picture created for the
1931 virtual QCString trDesignOverview()
1936 //////////////////////////////////////////////////////////////////////////
1938 //////////////////////////////////////////////////////////////////////////
1940 /** old style UNO IDL services: implemented interfaces */
1941 virtual QCString trInterfaces()
1942 { return "実装されたインターフォース"; }
1944 /** old style UNO IDL services: inherited services */
1945 virtual QCString trServices()
1946 { return "継承されたサービス"; }
1948 /** UNO IDL constant groups */
1949 virtual QCString trConstantGroups()
1950 { return "定数グループ"; }
1952 /** UNO IDL constant groups */
1953 virtual QCString trConstantGroupReference(const char *namespaceName)
1955 QCString result=namespaceName;
1956 result+=" 定数グループ詳解";
1959 /** UNO IDL service page title */
1960 virtual QCString trServiceReference(const char *sName)
1962 QCString result=(QCString)sName;
1966 /** UNO IDL singleton page title */
1967 virtual QCString trSingletonReference(const char *sName)
1969 QCString result=(QCString)sName;
1970 result+=" Singleton 詳解";
1973 /** UNO IDL service page */
1974 virtual QCString trServiceGeneratedFromFiles(bool /*single*/)
1976 // single is true implies a single file
1977 return "次のファイルからこのサービスについて"
1980 /** UNO IDL singleton page */
1981 virtual QCString trSingletonGeneratedFromFiles(bool /*single*/)
1983 // single is true implies a single file
1984 return "次のファイルからこの Singleton について"
1988 //////////////////////////////////////////////////////////////////////////