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