Imported Upstream version 1.8.15
[platform/upstream/doxygen.git] / src / translator_jp.h
1 /******************************************************************************
2  *
3  *
4  *
5  * Copyright (C) 1997-2015 by Dimitri van Heesch.
6  *
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.
12  *
13  * Documents produced by Doxygen are derivative works derived from the
14  * input used in their production; they are not affected by this license.
15  *
16  */
17
18 /*
19  * translator_jp.h
20  * Updates:
21  * 1.2.5)
22  * First Translation
23  *      by Kenji Nagamatsu
24  * 1.2.12)
25  * Update and Shift-Jis(_WIN32) -> converted UTF-8 at version 1.8.5
26  *      by Ryunosuke Sato (30-Dec-2001)
27  * 1.5.8)
28  * Translation for 1.5.8.
29  *      by Hiroki Iseri (18-Feb-2009)
30  * 1.8.5)
31  * Translation Added for 1.8.4 and revised
32  *      by Suzumizaki-Kimitaka (30-Aug-2013)
33  */
34 /*
35 Messages for translators written in Japanese:
36 1.8.5 への追加にあたって過去の翻訳者三名への連絡を試みたところ、
37 井芹さん(Hiroki Iseri)さんからメールのお返事をいただけました。
38 その際教えていただいた過去の経緯によりますと当時連絡可能だった方々は
39 揃って従来訳から改変追加して構わない旨を表明されていたとのことです。
40 Doxygen の開発の方でもそれはそれでいーんじゃん?みたいな感じだったようで。
41
42 井芹さんも同様の見解で、私(鈴見咲=Suzumizaki-Kimitaka)も
43 今後この翻訳に関わり続けられるかは非常に怪しいところですので
44 将来の追加訳・既存訳改良は臆することなく進めていってよいのでは
45 ないかと思います。無論作業の衝突があるのは不経済ですので現在進行形で
46 活発に更新している方がいないかの簡単な確認(MLとかGitとか)をやるのも
47 いいでしょうし、それでも偶然衝突したら不運を諦めて相互に調整しましょう。
48
49 当面なさそうですが訳語の選択で喧嘩になることもあるかもしれません。
50 そのときは gettext を利用するようなパッチを作って doxygen の開発に
51 適用を求めるのが一番ではないかなと思います。
52
53 1.6.0以前の既存の訳についても多少弄りました。
54 特に structure を構造体ではなく構成としていたのはあんまりでしたので。
55 ほか、C++ での利用前提で改変したところもありますが、それが他の言語で
56 問題のようでしたらお手数掛けて申し訳ないですが相応に再修正しちゃって
57 構いません。
58
59 その際 doc/maintainers.txt を修正してから python doc/translator.py を
60 実行する点にご注意下さい。私のところに search 鈴見咲君高 と書いたのは
61 同姓同名がまず考えられないというのが大前提ですのでこちらもご注意。
62
63 "詳解"の語が厳しすぎると思う向きはありましょうが、その程度には書けと。
64 明記されてないけど使われてる動作や戻り値が想定内なのか想定外なのか
65 わからんのはメンテで困るじゃないですか。
66
67 (2013-08-30, 鈴見咲君高)
68 */
69 #ifndef TRANSLATOR_JP_H
70 #define TRANSLATOR_JP_H
71
72 class TranslatorJapanese : public TranslatorAdapter_1_8_15
73 {
74   public:
75     virtual QCString idLanguage()
76     { return "japanese"; }
77
78     virtual QCString latexLanguageSupportCommand()
79     {
80       return "\\usepackage{CJKutf8}\n";
81     }
82     virtual QCString latexFontenc()
83     {
84       return "";
85     }
86     virtual QCString latexDocumentPre()
87     {
88       return "\\begin{CJK}{UTF8}{min}\n";
89     }
90     virtual QCString latexDocumentPost()
91     {
92       return "\\end{CJK}\n";
93     }
94
95     /*! used in the compound documentation before a list of related functions. */
96     virtual QCString trRelatedFunctions()
97     { return "関連関数"; }
98
99     /*! subscript for the related functions. */
100     virtual QCString trRelatedSubscript()
101     { return "(これらはメソッドではありません)"; }
102
103     /*! header that is put before the detailed description of files, classes and namespaces. */
104     virtual QCString trDetailedDescription()
105     { return "詳解"; }
106
107     /*! header that is put before the list of typedefs. */
108     virtual QCString trMemberTypedefDocumentation()
109     { return "型定義メンバ詳解"; }
110
111     /*! header that is put before the list of enumerations. */
112     virtual QCString trMemberEnumerationDocumentation()
113     { return "列挙型メンバ詳解"; }
114
115     /*! header that is put before the list of member functions. */
116     virtual QCString trMemberFunctionDocumentation()
117     {
118       if( Config_getBool(OPTIMIZE_OUTPUT_JAVA))
119       {
120         return "メソッド詳解";
121       }
122       else
123       {
124         return "関数詳解";
125       }
126     }
127
128     /*! header that is put before the list of member attributes. */
129     virtual QCString trMemberDataDocumentation()
130     {
131       if( Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
132       {
133         return "フィールド詳解";
134       }
135       else
136       {
137         return "メンバ詳解";
138       }
139     }
140
141     /*! this is the text of a link put after brief descriptions. */
142     virtual QCString trMore()
143     { return "[詳解]"; }
144
145     /*! put in the class documentation */
146     virtual QCString trListOfAllMembers()
147     { return "全メンバ一覧"; }
148
149     /*! used as the title of the "list of all members" page of a class */
150     virtual QCString trMemberList()
151     { return "メンバ一覧"; }
152
153     /*! this is the first part of a sentence that is followed by a class name */
154     virtual QCString trThisIsTheListOfAllMembers()
155     { return "継承メンバを含む "; }
156     /* trIncludingInheritedMembers に続くように定義すること */
157
158     /*! this is the remainder of the sentence after the class name */
159     virtual QCString trIncludingInheritedMembers()
160     { return " の全メンバ一覧です。"; }
161     /* trThisIsTheListOfAllMembers から続くように定義すること */    
162
163     /*! this is put at the author sections at the bottom of man pages.
164      *  parameter s is name of the project name.
165      */
166     virtual QCString trGeneratedAutomatically(const char *s)
167     { QCString result = "Doxygen により";
168       if (s) result=(QCString)" "+s+"の";
169       result+="ソースコードから抽出しました。";
170       return result;
171     }
172
173     /*! put after an enum name in the list of all members */
174     virtual QCString trEnumName()
175     { return "列挙名"; }
176
177     /*! put after an enum value in the list of all members */
178     virtual QCString trEnumValue()
179     { return "列挙値"; }
180
181     /*! put after an undocumented member in the list of all members */
182     virtual QCString trDefinedIn()
183     { return "定義場所: "; }
184
185     // quick reference sections
186
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).
189      */
190     virtual QCString trModules()
191     { return "モジュール"; }
192
193     /*! This is put above each page as a link to the class hierarchy */
194     virtual QCString trClassHierarchy()
195     { return "クラス階層"; }
196
197     /*! This is put above each page as a link to the list of annotated classes */
198     virtual QCString trCompoundList()
199     {
200       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
201       {
202         return "データ構造";
203       }
204       else
205       {
206         return "クラス一覧";
207       }
208     }
209
210     /*! This is put above each page as a link to the list of documented files */
211     virtual QCString trFileList()
212     { return "ファイル一覧"; }
213
214     /*! This is put above each page as a link to all members of compounds. */
215     virtual QCString trCompoundMembers()
216     {
217       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
218       {
219         return "データフィールド";
220       }
221       else
222       {
223         return "クラスメンバ";
224       }
225     }
226
227     /*! This is put above each page as a link to all members of files. */
228     virtual QCString trFileMembers()
229     {
230       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
231       {
232         return "大域各種";
233       }
234       else
235       {
236         return "ファイルメンバ";
237       }
238     }
239     /*! This is put above each page as a link to all related pages. */
240     virtual QCString trRelatedPages()
241     { return "諸情報"; }
242
243     /*! This is put above each page as a link to all examples. */
244     virtual QCString trExamples()
245     { return "各種例"; }
246
247     /*! This is put above each page as a link to the search engine. */
248     virtual QCString trSearch()
249     { return "検索"; }
250
251     /*! This is an introduction to the class hierarchy. */
252     virtual QCString trClassHierarchyDescription()
253     {
254       return "クラス階層一覧です。大雑把に文字符号順で並べられています。";
255     }
256
257     /*! This is an introduction to the list with all files. */
258     virtual QCString trFileListDescription(bool extractAll)
259     {
260       /* 概要がついているのは見ればわかるので省略 */
261       /* extractAll こと EXTRACT_ALL はすべての詳解が存在することを
262          実際の有無を度外視してユーザーが保証する設定なので
263          詳解がなければこの関数が返す文字列は当然に矛盾を起こす。
264       */
265       if (extractAll)
266       {
267         return "ファイル一覧です。";
268       }
269       return "詳解が付けられているファイルの一覧です。";
270     }
271     
272
273     /*! This is an introduction to the annotated compound list. */
274     virtual QCString trCompoundListDescription()
275     {
276       /* 概要がついているのは見ればわかるので省略 */
277       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
278       {
279         return "データ構造一覧です。";
280       }
281       else
282       {
283         return "クラス・構造体・共用体・インターフェースの一覧です。";
284       }
285     }
286
287     /*! This is an introduction to the page with all class members. */
288     virtual QCString trCompoundMembersDescription(bool extractAll)
289     {
290       const bool forC = Config_getBool(OPTIMIZE_OUTPUT_FOR_C);
291       QCString result;
292       if (forC)
293       {
294         result = "構造体・共用体の";
295       }
296       if (extractAll)
297       {
298         result += "全";
299       }
300       else
301       {
302         result += "詳解あり";
303       }
304       if (forC)
305       {
306         result += "フィールド";
307       }
308       else
309       {
310         result += "クラスメンバ";
311       }
312       if (!extractAll && !forC)
313       {
314         result += "の";
315       }
316       result += "一覧です。";
317       if (!extractAll)
318       {
319         if (forC)
320         {
321           result+="各フィールド詳解";
322         }
323         else
324         {
325           result+="各クラスメンバ詳解";
326         }
327       }
328       else
329       {
330         if (forC)
331         {
332           result+="各フィールドが属する構造体・共用体";
333         }
334         else
335         {
336           result+="各メンバが属するクラス";
337         }
338       }
339       result += "へのリンクがあります。";
340       return result;
341     }
342
343     /*! This is an introduction to the page with all file members. */
344     virtual QCString trFileMembersDescription(bool /*extractAll*/)
345     {
346       QCString result;
347       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
348       {
349         result+="関数・変数・マクロ・列挙・型定義";
350       }
351       else
352       {
353         result+="ファイル直下のメンバ";
354       }
355       result+="一覧です。各々詳解があればそこへリンクしています。";
356       return result;
357     }
358
359     /*! This is an introduction to the page with the list of all examples */
360     virtual QCString trExamplesDescription()
361     { return "各種例の一覧です。"; }
362
363     /*! This is an introduction to the page with the list of related pages */
364     virtual QCString trRelatedPagesDescription()
365     { return "諸情報の一覧です。"; }
366
367     /*! This is an introduction to the page with the list of class/file groups */
368     virtual QCString trModulesDescription()
369     { return "全モジュールの一覧です。"; }
370
371     /*! This is used in HTML as the title of index.html. */
372     virtual QCString trDocumentation()
373     { return "詳解"; }
374
375     /*! This is used in LaTeX as the title of the chapter with the
376      * index of all groups.
377      */
378     virtual QCString trModuleIndex()
379     { return "モジュール索引"; }
380
381     /*! This is used in LaTeX as the title of the chapter with the
382      * class hierarchy.
383      */
384     virtual QCString trHierarchicalIndex()
385     { return "階層索引"; }
386
387     /*! This is used in LaTeX as the title of the chapter with the
388      * annotated compound index.
389      */
390     virtual QCString trCompoundIndex()
391     {
392       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
393       {
394         return "データ構造索引";
395       }
396       else
397       {
398         return "クラス索引";
399       }
400     }
401
402     /*! This is used in LaTeX as the title of the chapter with the
403      * list of all files.
404      */
405     virtual QCString trFileIndex()
406     { return "ファイル索引"; }
407
408     /*! This is used in LaTeX as the title of the chapter containing
409      *  the documentation of all groups.
410      */
411     virtual QCString trModuleDocumentation()
412     { return "モジュール詳解"; }
413
414     /*! This is used in LaTeX as the title of the chapter containing
415      *  the documentation of all classes, structs and unions.
416      */
417     virtual QCString trClassDocumentation()
418     {
419       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
420       {
421         return "データ構造詳解";
422       }
423       else
424       {
425         return "クラス詳解";
426       }
427     }
428
429     /*! This is used in LaTeX as the title of the chapter containing
430      *  the documentation of all files.
431      */
432     virtual QCString trFileDocumentation()
433     { return "ファイル詳解"; }
434
435     /*! This is used in LaTeX as the title of the chapter containing
436      *  the documentation of all examples.
437      */
438     virtual QCString trExampleDocumentation()
439     { return "各例詳解"; }
440
441     /*! This is used in LaTeX as the title of the chapter containing
442      *  the documentation of all related pages.
443      */
444     virtual QCString trPageDocumentation()
445     { return "ページ詳解"; }
446
447     /*! This is used in LaTeX as the title of the document */
448     virtual QCString trReferenceManual()
449     { return "リファレンスマニュアル"; }
450
451     /*! This is used in the documentation of a file as a header before the
452      *  list of defines
453      */
454     virtual QCString trDefines()
455     { return "マクロ定義"; }
456
457     /*! This is used in the documentation of a file as a header before the
458      *  list of typedefs
459      */
460     virtual QCString trTypedefs()
461     { return "型定義"; }
462
463     /*! This is used in the documentation of a file as a header before the
464      *  list of enumerations
465      */
466     virtual QCString trEnumerations()
467     { return "列挙型"; }
468
469     /*! This is used in the documentation of a file as a header before the
470      *  list of (global) functions
471      */
472     virtual QCString trFunctions()
473     { return "関数"; }
474
475     /*! This is used in the documentation of a file as a header before the
476      *  list of (global) variables
477      */
478     virtual QCString trVariables()
479     { return "変数"; }
480
481     /*! This is used in the documentation of a file as a header before the
482      *  list of (global) variables
483      */
484     virtual QCString trEnumerationValues()
485     { return "列挙値"; }
486     /*! This is used in the documentation of a file before the list of
487      *  documentation blocks for defines
488      */
489     virtual QCString trDefineDocumentation()
490     { return "マクロ定義詳解"; }
491
492     /*! This is used in the documentation of a file/namespace before the list
493      *  of documentation blocks for typedefs
494      */
495     virtual QCString trTypedefDocumentation()
496     { return "型定義詳解"; }
497
498     /*! This is used in the documentation of a file/namespace before the list
499      *  of documentation blocks for enumeration types
500      */
501     virtual QCString trEnumerationTypeDocumentation()
502     { return "列挙型詳解"; }
503
504     /*! This is used in the documentation of a file/namespace before the list
505      *  of documentation blocks for functions
506      */
507     virtual QCString trFunctionDocumentation()
508     { return "関数詳解"; }
509
510     /*! This is used in the documentation of a file/namespace before the list
511      *  of documentation blocks for variables
512      */
513     virtual QCString trVariableDocumentation()
514     { return "変数詳解"; }
515
516     /*! This is used in the documentation of a file/namespace/group before
517      *  the list of links to documented compounds
518      */
519     virtual QCString trCompounds()
520     {
521       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
522       {
523         return "データ構造";
524       }
525       else
526       {
527         return "クラス";
528       }
529     }
530     /*! This is used in the standard footer of each page and indicates when
531      *  the page was generated
532      */
533     virtual QCString trGeneratedAt(const char *date,const char *projName)
534     {
535       QCString result = (QCString)date+"作成";
536       if (projName) result+=(QCString)" - " + projName;
537       result+=" / 構成: ";
538       return result;
539     }
540
541     /*! this text is put before a class diagram */
542     virtual QCString trClassDiagram(const char *clName)
543     {
544       return (QCString)clName+" の継承関係図";
545     }
546
547     /*! this text is generated when the \\internal command is used. */
548     virtual QCString trForInternalUseOnly()
549     { return "内部処理用です。"; }
550
551     /*! this text is generated when the \\warning command is used. */
552     virtual QCString trWarning()
553     { return "警告"; }
554
555     /*! this text is generated when the \\version command is used. */
556     virtual QCString trVersion()
557     { return "バージョン"; }
558
559     /*! this text is generated when the \\date command is used. */
560     virtual QCString trDate()
561     { return "日付"; }
562
563     /*! this text is generated when the \\return command is used. */
564     virtual QCString trReturns()
565     { return "戻り値"; }
566
567     /*! this text is generated when the \\sa command is used. */
568     virtual QCString trSeeAlso()
569     { return "参照"; }
570
571     /*! this text is generated when the \\param command is used. */
572     virtual QCString trParameters()
573     { return "引数"; }
574
575     /*! this text is generated when the \\exception command is used. */
576     virtual QCString trExceptions()
577     { return "例外"; }
578
579     /*! this text is used in the title page of a LaTeX document. */
580     virtual QCString trGeneratedBy()
581     { return "構築:"; }
582
583 //////////////////////////////////////////////////////////////////////////
584 // new since 0.49-990307
585 //////////////////////////////////////////////////////////////////////////
586
587     /*! used as the title of page containing all the index of all namespaces. */
588     virtual QCString trNamespaceList()
589     { return "名前空間一覧"; }
590
591     /*! used as an introduction to the namespace list */
592     virtual QCString trNamespaceListDescription(bool extractAll)
593     {
594       if (extractAll)
595       {
596         return "全名前空間の一覧です。";
597       }
598       return "詳解が付いた名前空間の一覧です。";
599     }
600
601     /*! used in the class documentation as a header before the list of all
602      *  friends of a class
603      */
604     virtual QCString trFriends()
605     { return "フレンド"; }
606
607 //////////////////////////////////////////////////////////////////////////
608 // new since 0.49-990405
609 //////////////////////////////////////////////////////////////////////////
610
611     /*! used in the class documentation as a header before the list of all
612      * related classes
613      */
614     virtual QCString trRelatedFunctionDocumentation()
615     { return "フレンドと関連関数の詳解"; }
616
617 //////////////////////////////////////////////////////////////////////////
618 // new since 0.49-990425
619 //////////////////////////////////////////////////////////////////////////
620
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,
624                                  bool isTemplate)
625     {
626       QCString result=(QCString)clName+" ";
627       switch(compType)
628       {
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;
636         default: break;
637       }
638       if (isTemplate) result+="テンプレート";
639       return result;
640     }
641
642     /*! used as the title of the HTML page of a file */
643     virtual QCString trFileReference(const char *fileName)
644     {
645       QCString result=(QCString)fileName+" ファイル";
646       return result;
647     }
648
649     /*! used as the title of the HTML page of a namespace */
650     virtual QCString trNamespaceReference(const char *namespaceName)
651     {
652       QCString result=(QCString)namespaceName+" 名前空間";
653       return result;
654     }
655
656     /* these are for the member sections of a class, struct or union */
657     virtual QCString trPublicMembers()
658     { return "公開メンバ関数"; }
659     virtual QCString trPublicSlots()
660     { return "公開スロット"; }
661     virtual QCString trSignals()
662     { return "シグナル"; }
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 "静的非公開メンバ関数"; }
677
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.
680      */
681     virtual QCString trWriteList(int numEntries)
682     {
683       QCString result;
684       int i;
685       // the inherits list contain `numEntries' classes
686       for (i=0;i<numEntries;i++)
687       {
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)
691
692         if (i!=numEntries-1)  // not the last entry, so we need a separator
693         {
694           result+=", ";
695         }
696       }
697       if ( result.length() > 60 )
698       {
699         QCString countStr;
700         countStr.sprintf(" (計%d項目)", numEntries);
701         result += countStr;
702       }
703       return result;
704     }
705
706     /*! used in class documentation to produce a list of base classes,
707      *  if class diagrams are disabled.
708      */
709     virtual QCString trInheritsList(int numEntries)
710     {
711       return trWriteList(numEntries)+"を継承しています。";
712     }
713
714     /*! used in class documentation to produce a list of super classes,
715      *  if class diagrams are disabled.
716      */
717     virtual QCString trInheritedByList(int numEntries)
718     {
719       return trWriteList(numEntries)+"に継承されています。";
720     }
721
722     /*! used in member documentation blocks to produce a list of
723      *  members that are hidden by this one.
724      */
725     virtual QCString trReimplementedFromList(int numEntries)
726     {
727       return trWriteList(numEntries)+"を再実装しています。";
728     }
729
730     /*! used in member documentation blocks to produce a list of
731      *  all member that overwrite the implementation of this member.
732      */
733     virtual QCString trReimplementedInList(int numEntries)
734     {
735       return trWriteList(numEntries)+"で再実装されています。";
736     }
737
738     /*! This is put above each page as a link to all members of namespaces. */
739     virtual QCString trNamespaceMembers()
740     { return "名前空間メンバ"; }
741
742     /*! This is an introduction to the page with all namespace members */
743     virtual QCString trNamespaceMemberDescription(bool extractAll)
744     {
745       QCString result="これは";
746       result+="名前空間の一覧です。それぞれ";
747       if (extractAll)
748       {
749         result+="の名前空間";
750       }
751       else
752       {
753         result+="が属している名前空間";
754       }
755       result+="へリンクしています。";
756       return result;
757     }
758     /*! This is used in LaTeX as the title of the chapter with the
759      *  index of all namespaces.
760      */
761     virtual QCString trNamespaceIndex()
762     { return "名前空間索引"; }
763
764     /*! This is used in LaTeX as the title of the chapter containing
765      *  the documentation of all namespaces.
766      */
767     virtual QCString trNamespaceDocumentation()
768     { return "名前空間詳解"; }
769
770 //////////////////////////////////////////////////////////////////////////
771 // new since 0.49-990522
772 //////////////////////////////////////////////////////////////////////////
773
774     /*! This is used in the documentation before the list of all
775      *  namespaces in a file.
776      */
777     virtual QCString trNamespaces()
778     { return "名前空間"; }
779
780 //////////////////////////////////////////////////////////////////////////
781 // new since 0.49-990728
782 //////////////////////////////////////////////////////////////////////////
783
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.
786      */
787     virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
788         bool /*single*/)
789     { // here s is one of " Class", " Struct" or " Union"
790       // single is true implies a single file
791       QCString result=(QCString)"この";
792       switch(compType)
793       {
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;
801         default: break;
802       }
803       result+="詳解は次のファイルから抽出されました:";
804       return result;
805     }
806
807 //////////////////////////////////////////////////////////////////////////
808 // new since 0.49-990901
809 //////////////////////////////////////////////////////////////////////////
810
811     /*! This is used as the heading text for the retval command. */
812     virtual QCString trReturnValues()
813     { return "戻り値"; }
814
815     /*! This is in the (quick) index as a link to the main page (index.html)
816      */
817     virtual QCString trMainPage()
818     { return "総合概要"; }
819
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.
822      */
823     virtual QCString trPageAbbreviation()
824     { return "p."; }
825
826 //////////////////////////////////////////////////////////////////////////
827 // new since 0.49-991003
828 //////////////////////////////////////////////////////////////////////////
829
830     virtual QCString trDefinedAtLineInSourceFile()
831     {
832       return " @1 の @0 行目に定義があります。";
833     }
834     virtual QCString trDefinedInSourceFile()
835     {
836       return " @0 に定義があります。";
837     }
838
839 //////////////////////////////////////////////////////////////////////////
840 // new since 1.0.0
841 //////////////////////////////////////////////////////////////////////////
842
843     virtual QCString trDeprecated()
844     {
845       return "非推奨";
846     }
847     
848     /*! this text is put before a collaboration diagram */
849     virtual QCString trCollaborationDiagram(const char *clName)
850     {
851       return (QCString)clName+" 連携図";
852     }
853     /*! this text is put before an include dependency graph */
854     virtual QCString trInclDepGraph(const char *fName)
855     {
856     return (QCString)fName+" の依存先関係図:";
857     }
858     /*! header that is put before the list of constructor/destructors. */
859     virtual QCString trConstructorDocumentation()
860     {
861       return "構築子と解体子";
862     }
863     /*! Used in the file documentation to point to the corresponding sources. */
864     virtual QCString trGotoSourceCode()
865     {
866       return "[ソースコード]";
867     }
868     /*! Used in the file sources to point to the corresponding documentation. */
869     virtual QCString trGotoDocumentation()
870     {
871       return "[詳解]";
872     }
873     /*! Text for the \\pre command */
874     virtual QCString trPrecondition()
875     {
876       return "事前条件";
877     }
878     /*! Text for the \\post command */
879     virtual QCString trPostcondition()
880     {
881       return "事後条件";
882     }
883     /*! Text for the \\invariant command */
884     virtual QCString trInvariant()
885     {
886       return "不変";
887     }
888     /*! Text shown before a multi-line variable/enum initialization */
889     virtual QCString trInitialValue()
890     {
891       return "初期値:";
892     }
893     /*! Text used the source code in the file index */
894     virtual QCString trCode()
895     {
896       return "コード";
897     }
898     virtual QCString trGraphicalHierarchy()
899     {
900       return "クラス階層図";
901     }
902     virtual QCString trGotoGraphicalHierarchy()
903     {
904       return "[クラス階層図]";
905     }
906     virtual QCString trGotoTextualHierarchy()
907     {
908       return "[クラス階層表]";
909     }
910     virtual QCString trPageIndex()
911     {
912       return "ページ索引";
913     }
914 //////////////////////////////////////////////////////////////////////////
915 // new since 1.1.0
916 //////////////////////////////////////////////////////////////////////////
917
918     virtual QCString trNote()
919     {
920       return "覚え書き";
921     }
922     virtual QCString trPublicTypes()
923     {
924       return "公開型";
925     }
926     virtual QCString trPublicAttribs()
927     {
928       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
929       {
930         return "フィールド";
931       }
932       else
933       {
934         return "公開変数類";
935       }
936     }
937     virtual QCString trStaticPublicAttribs()
938     {
939       return "静的公開変数類";
940     }
941     virtual QCString trProtectedTypes()
942     {
943       return "限定公開型";
944     }
945     virtual QCString trProtectedAttribs()
946     {
947       return "限定公開変数類";
948     }
949     virtual QCString trStaticProtectedAttribs()
950     {
951       return "静的限定公開変数類";
952     }
953     virtual QCString trPrivateTypes()
954     {
955       return "非公開型";
956     }
957     virtual QCString trPrivateAttribs()
958     {
959       return "非公開変数類";
960     }
961     virtual QCString trStaticPrivateAttribs()
962     {
963       return "静的非公開変数類";
964     }
965
966 //////////////////////////////////////////////////////////////////////////
967 // new since 1.1.3
968 //////////////////////////////////////////////////////////////////////////
969
970     /*! Used as a marker that is put before a todo item */
971     virtual QCString trTodo()
972     {
973       return "todo";
974     }
975     /*! Used as the header of the todo list */
976     virtual QCString trTodoList()
977     {
978       return "todo一覧";
979     }
980
981 //////////////////////////////////////////////////////////////////////////
982 // new since 1.1.4
983 //////////////////////////////////////////////////////////////////////////
984
985     virtual QCString trReferencedBy()
986     {
987       return "参照元";
988     }
989     virtual QCString trRemarks()
990     {
991       return "注釈";
992     }
993     virtual QCString trAttention()
994     {
995       return "注意";
996     }
997     virtual QCString trInclByDepGraph()
998     {
999       return "被依存関係図:";
1000     }
1001     virtual QCString trSince()
1002     {
1003       return "から";
1004     }
1005
1006 //////////////////////////////////////////////////////////////////////////
1007 // new since 1.1.5
1008 //////////////////////////////////////////////////////////////////////////
1009
1010     /*! title of the graph legend page */
1011     virtual QCString trLegendTitle()
1012     {
1013       return "グラフの凡例";
1014     }
1015     /*! page explaining how the dot graph's should be interpreted */
1016     virtual QCString trLegendDocs()
1017     {
1018       return
1019         "Doxygen が生成したグラフを読み方について。<p>\n"
1020         "次のコード例をご覧ください。\n"
1021         "\\code\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"
1044         "{\n"
1045         "  private:\n"
1046         "    Used *m_usedClass;\n"
1047         "};\n"
1048         "\\endcode\n"
1049         "\\c MAX_DOT_GRAPH_" /* わざわざちょん切っているのは doc/translator.py の検出回避のため */
1050         "HEIGHT タグに 200 を与えた設定ファイル"
1051         "を使うと、次のようなグラフとなります。"
1052         "<p><center><img src=\"graph_legend."+getDotImageExtension()+"\"></center>\n"
1053         "<p>\n"
1054         "グラフ内の矩形は構造体やクラスを表しています。色の意味は次の通りです。\n"
1055         "<ul>\n"
1056         "<li>中を黒く塗られた四角は、図が注目している起点です。</li>\n"
1057         "<li>黒枠は詳解があることを示しています。</li>\n"
1058         "<li>灰色枠で示されたクラス等には詳解がありません。</li>\n"
1059         "<li>赤枠で示されたものは詳解を持つクラスですが、"
1060         "指定された大きさに収まらないことから一部の継承・包含関係が"
1061         "省略されていることを表します。</li>\n"
1062         "</ul>\n"
1063         "<p>矢印の意味は次の通りです。</p>\n"
1064         "<ul>\n"
1065         "<li>青い矢印は二つのクラス間の公開継承関係を示します。</li>\n"
1066         "<li>緑の矢印は限定公開の継承関係を示します。</li>\n"
1067         "<li>赤の矢印は非公開の継承関係を示します。</li>\n"
1068         "<li>紫の破線矢印は、そのクラスが他のクラスに含まれているか、"
1069       "利用されていることを示します。また、矢印のラベルは矢の先にあるクラス等を"
1070       "アクセスしている矢の根本のメンバを表しています。</li>\n"
1071         "</ul>\n";
1072     }
1073     /*! text for the link to the legend page */
1074     virtual QCString trLegend()
1075     {
1076       return "凡例";
1077     }
1078
1079 //////////////////////////////////////////////////////////////////////////
1080 // new since 1.2.0
1081 //////////////////////////////////////////////////////////////////////////
1082
1083     /*! Used as a marker that is put before a test item */
1084     virtual QCString trTest()
1085     {
1086       return "テスト";
1087     }
1088     /*! Used as the header of the test list */
1089     virtual QCString trTestList()
1090     {
1091       return "テスト一覧";
1092     }
1093
1094 //////////////////////////////////////////////////////////////////////////
1095 // new since 1.2.2
1096 //////////////////////////////////////////////////////////////////////////
1097
1098     /*! Used as a section header for IDL properties */
1099     virtual QCString trProperties()
1100     {
1101       return "プロパティ";
1102     }
1103     /*! Used as a section header for IDL property documentation */
1104     virtual QCString trPropertyDocumentation()
1105     {
1106       return "プロパティ詳解";
1107     }
1108
1109
1110 //////////////////////////////////////////////////////////////////////////
1111 // new since 1.2.4
1112 //////////////////////////////////////////////////////////////////////////
1113
1114     /*! Used for Java classes in the summary section of Java packages */
1115     virtual QCString trClasses()
1116     {
1117       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
1118     {
1119       return "データ構造";
1120     }
1121       else
1122     {
1123       return "クラス";
1124     }
1125     }
1126     /*! Used as the title of a Java package */
1127     virtual QCString trPackage(const char *name)
1128     {
1129       return (QCString)name+" パッケージ";
1130     }
1131     /*! Title of the package index page */
1132     virtual QCString trPackageList()
1133     {
1134       return "パッケージ一覧";
1135     }
1136     /*! The description of the package index page */
1137     virtual QCString trPackageListDescription()
1138     {
1139       return "パッケージ一覧です。";
1140     }
1141     /*! The link name in the Quick links header for each page */
1142     virtual QCString trPackages()
1143     {
1144       return "パッケージ";
1145     }
1146
1147             /*! Text shown before a multi-line define */
1148     virtual QCString trDefineValue()
1149     {
1150       return "値:";
1151     }
1152
1153
1154 //////////////////////////////////////////////////////////////////////////
1155 // new since 1.2.5
1156 //////////////////////////////////////////////////////////////////////////
1157
1158     /*! Used as a marker that is put before a \\bug item */
1159     virtual QCString trBug()
1160     {
1161       return "バグ";
1162     }
1163     /*! Used as the header of the bug list */
1164     virtual QCString trBugList()
1165     {
1166       return "バグ一覧";
1167     }
1168
1169 //////////////////////////////////////////////////////////////////////////
1170 // new since 1.2.6
1171 //////////////////////////////////////////////////////////////////////////
1172
1173     /*! Used as ansicpg for RTF file
1174      *
1175      * The following table shows the correlation of Charset name, Charset Value and
1176      * <pre>
1177      * Codepage number:
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
1195      * </pre>
1196      *
1197      */
1198     virtual QCString trRTFansicp()
1199     {
1200       return "932";
1201     }
1202
1203
1204     /*! Used as ansicpg for RTF fcharset
1205      *  \see trRTFansicp() for a table of possible values.
1206      */
1207     virtual QCString trRTFCharSet()
1208     {
1209       return "128";
1210     }
1211
1212     /*! Used as header RTF general index */
1213     virtual QCString trRTFGeneralIndex()
1214     {
1215       return "索引";
1216     }
1217
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
1220      *  of the category.
1221      */
1222     virtual QCString trClass(bool /*first_capital*/, bool /*singular*/)
1223     {
1224       return "クラス";
1225     }
1226
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
1229      *  of the category.
1230      */
1231     virtual QCString trFile(bool /*first_capital*/, bool /*singular*/)
1232     {
1233       return "ファイル";
1234     }
1235
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
1238      *  of the category.
1239      */
1240     virtual QCString trNamespace(bool /*first_capital*/, bool /*singular*/)
1241     {
1242       return "名前空間";
1243     }
1244
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
1247      *  of the category.
1248      */
1249     virtual QCString trGroup(bool /*first_capital*/, bool /*singular*/)
1250     {
1251       return "グループ";
1252     }
1253
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
1256      *  of the category.
1257      */
1258     virtual QCString trPage(bool /*first_capital*/, bool /*singular*/)
1259     {
1260       return "ページ";
1261     }
1262
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
1265      *  of the category.
1266      */
1267     virtual QCString trMember(bool /*first_capital*/, bool /*singular*/)
1268     {
1269       return "メンバ";
1270     }
1271
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
1274      *  of the category.
1275      */
1276     virtual QCString trGlobal(bool /*first_capital*/, bool /*singular*/)
1277     {
1278       return "大域各種";
1279     }
1280
1281 //////////////////////////////////////////////////////////////////////////
1282 // new since 1.2.7
1283 //////////////////////////////////////////////////////////////////////////
1284
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*/)
1288     {
1289       return "著者";
1290     }
1291
1292 //////////////////////////////////////////////////////////////////////////
1293 // new since 1.2.11
1294 //////////////////////////////////////////////////////////////////////////
1295
1296     /*! This text is put before the list of members referenced by a member
1297      */
1298     virtual QCString trReferences()
1299     {
1300       return "参照先";
1301     }
1302
1303 //////////////////////////////////////////////////////////////////////////
1304 // new since 1.2.13
1305 //////////////////////////////////////////////////////////////////////////
1306
1307     /*! used in member documentation blocks to produce a list of
1308      *  members that are implemented by this one.
1309      */
1310     virtual QCString trImplementedFromList(int numEntries)
1311     {
1312       return trWriteList(numEntries)+"を実装しています。";
1313     }
1314
1315     /*! used in member documentation blocks to produce a list of
1316      *  all members that implement this abstract member.
1317      */
1318     virtual QCString trImplementedInList(int numEntries)
1319     {
1320       return trWriteList(numEntries)+"で実装されています。";
1321     }
1322 //////////////////////////////////////////////////////////////////////////
1323 // new since 1.2.16
1324 //////////////////////////////////////////////////////////////////////////
1325
1326     /*! used in RTF documentation as a heading for the Table
1327      *  of Contents.
1328      */
1329     virtual QCString trRTFTableOfContents()
1330     {
1331       return "目次";
1332     }
1333
1334 //////////////////////////////////////////////////////////////////////////
1335 // new since 1.2.17
1336 //////////////////////////////////////////////////////////////////////////
1337
1338     /*! Used as the header of the list of item that have been
1339      *  flagged deprecated
1340      */
1341     virtual QCString trDeprecatedList()
1342     {
1343       return "非推奨一覧";
1344     }
1345
1346 //////////////////////////////////////////////////////////////////////////
1347 // new since 1.2.18
1348 //////////////////////////////////////////////////////////////////////////
1349
1350     /*! Used as a header for declaration section of the events found in
1351      * a C# program
1352      */
1353     virtual QCString trEvents()
1354     {
1355       return "イベント";
1356     }
1357     /*! Header used for the documentation section of a class' events. */
1358     virtual QCString trEventDocumentation()
1359     {
1360       return "イベント詳解";
1361     }
1362
1363 //////////////////////////////////////////////////////////////////////////
1364 // new since 1.3
1365 //////////////////////////////////////////////////////////////////////////
1366
1367     /*! Used as a heading for a list of Java class types with package scope.
1368      */
1369     virtual QCString trPackageTypes()
1370     {
1371       return "パッケージ内の型定義";
1372     }
1373     /*! Used as a heading for a list of Java class functions with package
1374      * scope.
1375      */
1376     virtual QCString trPackageMembers()
1377     {
1378       return "関数";
1379     }
1380     /*! Used as a heading for a list of static Java class functions with
1381      *  package scope.
1382      */
1383     virtual QCString trStaticPackageMembers()
1384     {
1385       return "静的関数";
1386     }
1387     /*! Used as a heading for a list of Java class variables with package
1388      * scope.
1389      */
1390     virtual QCString trPackageAttribs()
1391     {
1392       return "変数";
1393     }
1394     /*! Used as a heading for a list of static Java class variables with
1395      * package scope.
1396      */
1397     virtual QCString trStaticPackageAttribs()
1398     {
1399       return "静的変数";
1400     }
1401
1402 //////////////////////////////////////////////////////////////////////////
1403 // new since 1.3.1
1404 //////////////////////////////////////////////////////////////////////////
1405
1406     /*! Used in the quick index of a class/file/namespace member list page
1407      *  to link to the unfiltered list of all members.
1408      */
1409     virtual QCString trAll()
1410     {
1411       return "全て";
1412     }
1413     /*! Put in front of the call graph for a function. */
1414     virtual QCString trCallGraph()
1415     {
1416       return "呼び出し関係図:";
1417     }
1418
1419 //////////////////////////////////////////////////////////////////////////
1420 // new since 1.3.3
1421 //////////////////////////////////////////////////////////////////////////
1422
1423     /*! This string is used as the title for the page listing the search
1424      *  results.
1425      */
1426     virtual QCString trSearchResultsTitle()
1427     {
1428       return "検索結果";
1429     }
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.
1437      */
1438     virtual QCString trSearchResults(int numDocuments)
1439     {
1440       if (numDocuments==0)
1441       {
1442         return "入力条件を満たす文書がありません。";
1443       }
1444       else if (numDocuments==1)
1445       {
1446         return "入力条件を満たす文書が <b>1</b> 件ありました.";
1447       }
1448       else
1449       {
1450         return "入力条件を満たす文書が <b>$num</b> 件ありました. "
1451                "一致度の高いものから表示されます.";
1452       }
1453     }
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.
1456      */
1457     virtual QCString trSearchMatches()
1458     {
1459       return "照合語:";
1460     }
1461
1462 //////////////////////////////////////////////////////////////////////////
1463 // new since 1.3.8
1464 //////////////////////////////////////////////////////////////////////////
1465
1466     /*! This is used in HTML as the title of page with source code for file filename
1467      */
1468     virtual QCString trSourceFile(QCString& filename)
1469     {
1470       return filename + " ソースファイル";
1471     }
1472
1473 //////////////////////////////////////////////////////////////////////////
1474 // new since 1.3.9
1475 //////////////////////////////////////////////////////////////////////////
1476
1477     /*! This is used as the name of the chapter containing the directory
1478      *  hierarchy.
1479      */
1480     virtual QCString trDirIndex()
1481     { return "ディレクトリ索引"; }
1482
1483     /*! This is used as the name of the chapter containing the documentation
1484      *  of the directories.
1485      */
1486     virtual QCString trDirDocumentation()
1487     { return "ディレクトリ詳解"; }
1488
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.
1491      */
1492     virtual QCString trDirectories()
1493     { return "ディレクトリ"; }
1494
1495     /*! This returns a sentences that introduces the directory hierarchy.
1496      *  and the fact that it is sorted alphabetically per level
1497      */
1498     virtual QCString trDirDescription()
1499     { return "このディレクトリ一覧はおおまかにはソートされていますが、"
1500              "完全にアルファベット順でソートされてはいません。";
1501     }
1502
1503     /*! This returns the title of a directory page. The name of the
1504      *  directory is passed via \a dirName.
1505      */
1506     virtual QCString trDirReference(const char *dirName)
1507     { QCString result=dirName; result+=" ディレクトリリファレンス"; return result; }
1508
1509     /*! This returns the word directory with or without starting capital
1510      *  (\a first_capital) and in sigular or plural form (\a singular).
1511      */
1512     virtual QCString trDir(bool, bool)
1513     {
1514       return "ディレクトリ";
1515     }
1516
1517 //////////////////////////////////////////////////////////////////////////
1518 // new since 1.4.1
1519 //////////////////////////////////////////////////////////////////////////
1520
1521     /*! This text is added to the documentation when the \\overload command
1522      *  is used for a overloaded function.
1523      */
1524     virtual QCString trOverloadText()
1525     {
1526        return "これはオーバーロードされたメンバ関数です。"
1527               "利便性のために用意されています。"
1528               "元の関数との違いは引き数のみです。";
1529     }
1530
1531 //////////////////////////////////////////////////////////////////////////
1532 // new since 1.4.6
1533 //////////////////////////////////////////////////////////////////////////
1534
1535     /*! This is used to introduce a caller (or called-by) graph */
1536     virtual QCString trCallerGraph()
1537     {
1538       return "被呼び出し関係図:";
1539     }
1540
1541     /*! This is used in the documentation of a file/namespace before the list
1542      *  of documentation blocks for enumeration values
1543      */
1544     virtual QCString trEnumerationValueDocumentation()
1545     { return "列挙型詳解"; }
1546
1547
1548 //////////////////////////////////////////////////////////////////////////
1549 // new since 1.5.4 (mainly for Fortran)
1550 //////////////////////////////////////////////////////////////////////////
1551
1552     /*! header that is put before the list of member subprograms (Fortran). */
1553     virtual QCString trMemberFunctionDocumentationFortran()
1554     { return "メンバ関数/サブルーチン詳解"; }
1555
1556     /*! This is put above each page as a link to the list of annotated data types (Fortran). */
1557     virtual QCString trCompoundListFortran()
1558     { return "データ型一覧"; }
1559
1560     /*! This is put above each page as a link to all members of compounds (Fortran). */
1561     virtual QCString trCompoundMembersFortran()
1562     { return "データフィールド"; }
1563
1564     /*! This is an introduction to the annotated compound list (Fortran). */
1565     virtual QCString trCompoundListDescriptionFortran()
1566     { return "これはデータ型の一覧です:"; }
1567
1568     /*! This is an introduction to the page with all data types (Fortran). */
1569     virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
1570     {
1571       QCString result="これは";
1572       result+="フィールドの一覧です。それぞれ";
1573       if (extractAll)
1574       {
1575           result+="が属しているデータ型";
1576       }
1577       result+="の詳解へリンクしています。";
1578       return result;
1579     }
1580
1581     /*! This is used in LaTeX as the title of the chapter with the
1582      * annotated compound index (Fortran).
1583      */
1584     virtual QCString trCompoundIndexFortran()
1585     { return "データ型索引"; }
1586
1587     /*! This is used in LaTeX as the title of the chapter containing
1588      *  the documentation of all data types (Fortran).
1589      */
1590     virtual QCString trTypeDocumentation()
1591     { return "データ型詳解"; }
1592
1593     /*! This is used in the documentation of a file as a header before the
1594      *  list of (global) subprograms (Fortran).
1595      */
1596     virtual QCString trSubprograms()
1597     { return "関数/サブルーチン"; }
1598
1599
1600     /*! This is used in the documentation of a file/namespace before the list
1601      *  of documentation blocks for subprograms (Fortran)
1602      */
1603     virtual QCString trSubprogramDocumentation()
1604     { return "関数/サブルーチン詳解"; }
1605
1606     /*! This is used in the documentation of a file/namespace/group before
1607      *  the list of links to documented compounds (Fortran)
1608      */
1609      virtual QCString trDataTypes()
1610     { return "データ型"; }
1611
1612     /*! used as the title of page containing all the index of all modules (Fortran). */
1613     virtual QCString trModulesList()
1614     { return "モジュール一覧"; }
1615
1616     /*! used as an introduction to the modules list (Fortran) */
1617     virtual QCString trModulesListDescription(bool extractAll)
1618     {
1619       QCString result;
1620       if (!extractAll)
1621       {
1622         result+="詳解が記されている";
1623       }
1624       else
1625       {
1626         result+="全";
1627       }
1628       result+="モジュールの一覧です";
1629       return result;
1630     }
1631
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,
1635                                     bool isTemplate)
1636     {
1637       QCString result="";
1638       switch(compType)
1639       {
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;
1647         default: break;
1648       }
1649       if (isTemplate) result += "テンプレート ";
1650       result+=(QCString)clName;
1651       return result;
1652     }
1653     /*! used as the title of the HTML page of a module (Fortran) */
1654     virtual QCString trModuleReference(const char *namespaceName)
1655     {
1656       QCString result=namespaceName;
1657       result+="モジュール";
1658       return result;
1659     }
1660
1661     /*! This is put above each page as a link to all members of modules. (Fortran) */
1662     virtual QCString trModulesMembers()
1663     { return "モジュールメンバ"; }
1664
1665     /*! This is an introduction to the page with all modules members (Fortran) */
1666     virtual QCString trModulesMemberDescription(bool extractAll)
1667     {
1668       QCString result="これはモジュールメンバ一覧です。それぞれ ";
1669       if (extractAll)
1670       {
1671         result+="属しているモジュール";
1672       }
1673       result+="の詳解へリンクしています。";
1674       return result;
1675     }
1676
1677     /*! This is used in LaTeX as the title of the chapter with the
1678      *  index of all modules (Fortran).
1679      */
1680     virtual QCString trModulesIndex()
1681     { return "モジュール索引"; }
1682
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
1685      *  of the category.
1686      */
1687     virtual QCString trModule(bool /*first_capital*/, bool /*singular*/)
1688     {
1689       return "モジュール";
1690     }
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.
1693      */
1694     virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
1695         bool /*single*/)
1696     { // here s is one of " Module", " Struct" or " Union"
1697       // single is true implies a single file
1698       QCString result="次のファイルから";
1699       switch(compType)
1700       {
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;
1708         default: break;
1709       }
1710       result+="の詳解が抽出されました:";
1711       return result;
1712     }
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
1715      *  of the category.
1716      */
1717     virtual QCString trType(bool /*first_capital*/, bool /*singular*/)
1718     {
1719       QCString result = "型";
1720       return result;
1721     }
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
1724      *  of the category.
1725      */
1726     virtual QCString trSubprogram(bool /*first_capital*/, bool /*singular*/)
1727     {
1728       QCString result = "サブプログラム";
1729       return result;
1730     }
1731
1732     /*! C# Type Constraint list */
1733     virtual QCString trTypeConstraints()
1734     {
1735       return "型制約";
1736     }
1737
1738 //////////////////////////////////////////////////////////////////////////
1739 // new since 1.6.0 (mainly for the new search engine)
1740 //////////////////////////////////////////////////////////////////////////
1741
1742     /*! directory relation for \a name */
1743     virtual QCString trDirRelation(const char *name)
1744     {
1745       return QCString(name)+" 関係";
1746     }
1747
1748     /*! Loading message shown when loading search results */
1749     virtual QCString trLoading()
1750     {
1751       return "読み取り中…";
1752     }
1753
1754     /*! Label used for search results in the global namespace */
1755     virtual QCString trGlobalNamespace()
1756     {
1757       return "大域名前空間";
1758     }
1759
1760     /*! Message shown while searching */
1761     virtual QCString trSearching()
1762     {
1763       return "検索中…";
1764     }
1765
1766     /*! Text shown when no search results are found */
1767     virtual QCString trNoMatches()
1768     {
1769       return "一致する文字列を見つけられません";
1770     }
1771
1772 //////////////////////////////////////////////////////////////////////////
1773 // new since 1.6.3 (missing items for the directory pages)
1774 //////////////////////////////////////////////////////////////////////////
1775
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.
1779      */
1780     virtual QCString trFileIn(const char *name)
1781     {
1782       return (QCString)name+"にあるファイル";
1783     }
1784
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.
1788      */
1789     virtual QCString trIncludesFileIn(const char *name)
1790     {
1791       return (QCString)name+"にあるファイルを include している";
1792     }
1793
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?
1803      */
1804     virtual QCString trDateTime(int year,int month,int day,int dayOfWeek,
1805                                 int hour,int minutes,int seconds,
1806                                 bool includeTime)
1807     {
1808       static const char *days[]   = { "月", "火", "水", "木", "金", "土", "日" };
1809       QCString sdate;
1810       sdate.sprintf("%.4d年%.2d月%.2d日(%s)",year,month,day,days[dayOfWeek-1]);
1811       if (includeTime)
1812       {
1813         QCString stime;
1814         stime.sprintf(" %.2d時%.2d分%.2d秒",hour,minutes,seconds);
1815         sdate+=stime;
1816       }
1817       return sdate;
1818     }
1819
1820 //////////////////////////////////////////////////////////////////////////
1821 // new since 1.7.5
1822 //////////////////////////////////////////////////////////////////////////
1823
1824     /*! Header for the page with bibliographic citations */
1825     virtual QCString trCiteReferences()
1826     { return "書誌参照"; }
1827
1828     /*! Text for copyright paragraph */
1829     virtual QCString trCopyright()
1830     { return "著作権所有"; }
1831
1832     /*! Header for the graph showing the directory dependencies */
1833     virtual QCString trDirDepGraph(const char *name)
1834     { return QCString(name)+" のディレクトリ依存関係図"; }
1835
1836 //////////////////////////////////////////////////////////////////////////
1837 // new since 1.8.0
1838 //////////////////////////////////////////////////////////////////////////
1839
1840     /*! Detail level selector shown for hierarchical indices */
1841     virtual QCString trDetailLevel()
1842     { return "表示階層"; }
1843
1844     /*! Section header for list of template parameters */
1845     virtual QCString trTemplateParameters()
1846     { return "テンプレート引数"; }
1847
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+" 件…"; }
1851
1852     /*! Used file list for a Java enum */
1853     virtual QCString trEnumGeneratedFromFiles(bool)
1854     { 
1855       return "次のファイルからこの列挙についての詳解を抽出しました:";
1856     }
1857
1858     /*! Header of a Java enum page (Java enums are represented as classes). */
1859     virtual QCString trEnumReference(const char *name)
1860     { return QCString("列挙 ")+name+" 詳解"; }
1861
1862     /*! Used for a section containing inherited members */
1863     virtual QCString trInheritedFrom(const char *members,const char *what)
1864     { return QCString("基底クラス ")+what+" に属する継承"+members; }
1865
1866     /*! Header of the sections with inherited members specific for the
1867      *  base class(es)
1868      */
1869     virtual QCString trAdditionalInheritedMembers()
1870     { return "その他の継承メンバ"; }
1871
1872 //////////////////////////////////////////////////////////////////////////
1873 // new since 1.8.2
1874 //////////////////////////////////////////////////////////////////////////
1875
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.
1879      */
1880     virtual QCString trPanelSynchronisationTooltip(bool enable)
1881     {
1882       
1883       QCString opt = enable ? "有効" : "無効";
1884       return "クリックで同期表示が"+opt+"になります";
1885     }
1886
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
1889      *  by a link.
1890      */
1891     virtual QCString trProvidedByCategory()
1892     {
1893       return "@0 カテゴリーから提供されています。";
1894     }
1895
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
1898      *  the class method.
1899      */
1900     virtual QCString trExtendsClass()
1901     {
1902       return "@0 を拡張しています。";
1903     }
1904
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++.
1907      */
1908     virtual QCString trClassMethods()
1909     {
1910       return "クラスメソッド";
1911     }
1912
1913     /*! Used as the header of a list of instance methods in Objective-C.
1914      *  These are similar to public member functions in C++.
1915      */
1916     virtual QCString trInstanceMethods()
1917     {
1918       return "実体メソッド";
1919     }
1920
1921     /*! Used as the header of the member functions of an Objective-C class.
1922      */
1923     virtual QCString trMethodDocumentation()
1924     {
1925       return "メソッド詳解";
1926     }
1927
1928     /*! Used as the title of the design overview picture created for the
1929      *  VHDL output.
1930      */
1931     virtual QCString trDesignOverview()
1932     {
1933       return "デザイン概観";
1934     }
1935
1936 //////////////////////////////////////////////////////////////////////////
1937 // new since 1.8.4
1938 //////////////////////////////////////////////////////////////////////////
1939
1940     /** old style UNO IDL services: implemented interfaces */
1941     virtual QCString trInterfaces()
1942     { return "実装されたインターフォース"; }
1943
1944     /** old style UNO IDL services: inherited services */
1945     virtual QCString trServices()
1946     { return "継承されたサービス"; }
1947
1948     /** UNO IDL constant groups */
1949     virtual QCString trConstantGroups()
1950     { return "定数グループ"; }
1951
1952     /** UNO IDL constant groups */
1953     virtual QCString trConstantGroupReference(const char *namespaceName)
1954     {
1955       QCString result=namespaceName;
1956       result+=" 定数グループ詳解";
1957       return result;
1958     }
1959     /** UNO IDL service page title */
1960     virtual QCString trServiceReference(const char *sName)
1961     {
1962       QCString result=(QCString)sName;
1963       result+=" サービス詳解";
1964       return result;
1965     }
1966     /** UNO IDL singleton page title */
1967     virtual QCString trSingletonReference(const char *sName)
1968     {
1969       QCString result=(QCString)sName;
1970       result+=" Singleton 詳解";
1971       return result;
1972     }
1973     /** UNO IDL service page */
1974     virtual QCString trServiceGeneratedFromFiles(bool /*single*/)
1975     {
1976       // single is true implies a single file
1977       return "次のファイルからこのサービスについて"
1978              "の詳解を抽出しました:";
1979     }
1980     /** UNO IDL singleton page */
1981     virtual QCString trSingletonGeneratedFromFiles(bool /*single*/)
1982     {
1983       // single is true implies a single file
1984       return "次のファイルからこの Singleton について"
1985              "の詳解を抽出しました:";
1986     }
1987
1988 //////////////////////////////////////////////////////////////////////////
1989
1990 };
1991
1992 #endif