Doxygen
Loading...
Searching...
No Matches
translator_tw.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 * The translation into Chinesetraditional was provided by
17 * Daniel YC Lin (dlin.tw <at> gmail.com) since v1.2.16-v1.5.5
18 */
19
20#ifndef TRANSLATOR_TW_H
21#define TRANSLATOR_TW_H
22
23// When defining a translator class for the new language, follow
24// the description in the documentation. One of the steps says
25// that you should copy the translator_en.h (this) file to your
26// translator_xx.h new file. Your new language should use the
27// Translator class as the base class. This means that you need to
28// implement exactly the same (pure virtual) override methods as the
29// TranslatorEnglish does. Because of this, it is a good idea to
30// start with the copy of TranslatorEnglish and replace the strings
31// one by one.
32//
33// It is not necessary to include "translator.h" or
34// "translator_adapter.h" here. The files are included in the
35// language.cpp correctly. Not including any of the mentioned
36// files frees the maintainer from thinking about whether the
37// first, the second, or both files should be included or not, and
38// why. This holds namely for localized translators because their
39// base class is changed occasionally to adapter classes when the
40// Translator class changes the interface, or back to the
41// Translator class (by the local maintainer) when the localized
42// translator is made up-to-date again.
43
45{
46 public:
47
48 // --- Language control methods -------------------
49
50 /*! Used for identification of the language. The identification
51 * should not be translated. It should be replaced by the name
52 * of the language in English using lower-case characters only
53 * (e.g. "czech", "japanese", "russian", etc.). It should be equal to
54 * the identification used in language.cpp.
55 */
57 { return "chinese-traditional"; }
58
59 /*! Used to get the LaTeX command(s) for the language support.
60 * This method should return string with commands that switch
61 * LaTeX to the desired language. For example
62 * <pre>"\\usepackage[german]{babel}\n"
63 * </pre>
64 * or
65 * <pre>"\\usepackage{polski}\n"
66 * "\\usepackage[latin2]{inputenc}\n"
67 * "\\usepackage[T1]{fontenc}\n"
68 * </pre>
69 *
70 * The English LaTeX does not use such commands. Because of this
71 * the empty string is returned in this implementation.
72 */
74 {
75 return "\\usepackage{CJKutf8}\n";
76 }
78 {
79 return "";
80 }
82 {
83 return "\\begin{CJK}{UTF8}{min}\n";
84 }
86 {
87 return "\\end{CJK}\n";
88 }
90 {
91 return "zh-Hant";
92 }
94 {
95 return "0x404 Chinese (Taiwan)";
96 }
97
98 // --- Language translation methods -------------------
99
100 /*! used in the compound documentation before a list of related functions. */
102 { return "相關函式"; }
103
104 /*! subscript for the related functions. */
106 { return "(註:這些不是成員函式)"; }
107
108 /*! header that is put before the detailed description of files, classes and namespaces. */
110 { return "詳細描述"; }
111
112 /*! header that is used when the summary tag is missing inside the details tag */
114 { return "詳細資訊"; }
115
116 /*! header that is put before the list of typedefs. */
118 { return "型態定義成員說明文件"; }
119
120 /*! header that is put before the list of enumerations. */
122 { return "列舉型態成員說明文件"; }
123
124 /*! header that is put before the list of member functions. */
126 { return "函式成員說明文件"; }
127
128 /*! header that is put before the list of member attributes. */
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 QCString trMore() override
143 { return "更多..."; }
144
145 /*! put in the class documentation */
147 { return "全部成員列表"; }
148
149 /*! used as the title of the "list of all members" page of a class */
151 { return "成員列表"; }
152
153 /*! this is the first part of a sentence that is followed by a class name */
155 { return "完整成員列表,類別為"; }
156
157 /*! this is the remainder of the sentence after the class name */
159 { return ", 包含所有繼承的成員"; }
160
161 /*! this is put at the author sections at the bottom of man pages.
162 * parameter s is name of the project name.
163 */
165 { QCString result="本文件由Doxygen";
166 if (!s.isEmpty()) result+=" 自 "+s;
167 result+=" 的原始碼中自動產生.";
168 return result;
169 }
170
171 /*! put after an enum name in the list of all members */
173 { return "列舉型態名稱"; }
174
175 /*! put after an enum value in the list of all members */
177 { return "列舉值"; }
178
179 /*! put after an undocumented member in the list of all members */
181 { return "被定義於"; }
182
183 // quick reference sections
184
185 /*! This is put above each page as a link to the list of all groups of
186 * compounds or files (see the \\group command).
187 */
189 { return "模組"; }
190
191 /*! This is put above each page as a link to the class hierarchy */
193 { return "類別階層"; }
194
195 /*! This is put above each page as a link to the list of annotated classes */
197 {
198 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
199 {
200 return "資料結構";
201 }
202 else
203 {
204 return "複合列表";
205 }
206 }
207
208 /*! This is put above each page as a link to the list of documented files */
210 { return "檔案列表"; }
211
212 /*! This is put above each page as a link to all members of compounds. */
214 {
215 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
216 {
217 return "資料欄位";
218 }
219 else
220 {
221 return "複合成員";
222 }
223 }
224
225 /*! This is put above each page as a link to all members of files. */
227 {
228 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
229 {
230 return "全域資料";
231 }
232 else
233 {
234 return "檔案成員";
235 }
236 }
237
238 /*! This is put above each page as a link to all related pages. */
240 { return "相關頁面"; }
241
242 /*! This is put above each page as a link to all examples. */
244 { return "範例"; }
245
246 /*! This is put above each page as a link to the search engine. */
248 { return "搜尋"; }
249
250 /*! This is an introduction to the class hierarchy. */
252 { return "這個繼承列表經過簡略的字母排序: ";
253 }
254
255 /*! This is an introduction to the list with all files. */
256 QCString trFileListDescription(bool extractAll) override
257 {
258 QCString result="這是附帶簡略說明";
259 if (!extractAll) result+="且經過文件化";
260 result+="的檔案列表:";
261 return result;
262 }
263
264 /*! This is an introduction to the annotated compound list. */
266 {
267
268 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
269 {
270 return "這是附帶簡略說明的資料結構:";
271 }
272 else
273 {
274 return "這是附帶簡略說明的類別,結構,"
275 "聯合型態(unions)及介面(interfaces):";
276 }
277 }
278
279 /*! This is an introduction to the page with all class members. */
280 QCString trCompoundMembersDescription(bool extractAll) override
281 {
282 QCString result="這是全部";
283 if (!extractAll)
284 {
285 result+="文件化過";
286 }
287 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
288 {
289 result+="結構及聯合型態欄位";
290 }
291 else
292 {
293 result+="類別成員";
294 }
295 result+=", 並且帶有連結至";
296 if (!extractAll)
297 {
298 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
299 {
300 result+="每個欄位的結構/聯合型態說明文件:";
301 }
302 else
303 {
304 result+="每個成員的類別說明文件:";
305 }
306 }
307 else
308 {
309 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
310 {
311 result+="這些結構/聯合型態所屬:";
312 }
313 else
314 {
315 result+="這些類別所屬:";
316 }
317 }
318 return result;
319 }
320
321 /*! This is an introduction to the page with all file members. */
322 QCString trFileMembersDescription(bool extractAll) override
323 {
324 QCString result="這是全部";
325 if (!extractAll) result+="文件化的";
326
327 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
328 {
329 result+="函式,變數,定義,列舉,及型態定義";
330 }
331 else
332 {
333 result+="檔案成員";
334 }
335 result+=",並且帶有連結至";
336 if (extractAll)
337 result+="這些檔案所屬:";
338 else
339 result+="說明文件:";
340 return result;
341 }
342
343 /*! This is an introduction to the page with the list of all examples */
345 { return "所有範例列表:"; }
346
347 /*! This is an introduction to the page with the list of related pages */
349 { return "所有相關文件頁面列表:"; }
350
351 /*! This is an introduction to the page with the list of class/file groups */
353 { return "所有模組列表:"; }
354
355 // index titles (the project name is prepended for these)
356
357
358 /*! This is used in HTML as the title of index.html. */
359 QCString trDocumentation(const QCString &projName) override
360 { return (!projName.isEmpty()?projName + " " : "") + "說明文件"; }
361
362 /*! This is used in LaTeX as the title of the chapter with the
363 * index of all groups.
364 */
366 { return "模組索引"; }
367
368 /*! This is used in LaTeX as the title of the chapter with the
369 * class hierarchy.
370 */
372 { return "階層索引"; }
373
374 /*! This is used in LaTeX as the title of the chapter with the
375 * annotated compound index.
376 */
378 {
379 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
380 {
381 return "資料結構索引";
382 }
383 else
384 {
385 return "複合索引";
386 }
387 }
388
389 /*! This is used in LaTeX as the title of the chapter with the
390 * list of all files.
391 */
393 { return "檔案索引"; }
394
395 /*! This is used in LaTeX as the title of the chapter containing
396 * the documentation of all groups.
397 */
399 { return "模組說明文件"; }
400
401 /*! This is used in LaTeX as the title of the chapter containing
402 * the documentation of all classes, structs and unions.
403 */
405 {
406 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
407 {
408 return "資料結構說明文件";
409 }
410 else if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
411 {
413 }
414 else
415 {
416 return "類別說明文件";
417 }
418 }
419
420 /*! This is used in LaTeX as the title of the chapter containing
421 * the documentation of all files.
422 */
424 { return "檔案說明文件"; }
425
426 /*! This is used in LaTeX as the title of the document */
428 { return "參考手冊"; }
429
430 /*! This is used in the documentation of a file as a header before the
431 * list of defines
432 */
434 { return "定義"; }
435
436 /*! This is used in the documentation of a file as a header before the
437 * list of typedefs
438 */
440 { return "型態定義"; }
441
442 /*! This is used in the documentation of a file as a header before the
443 * list of enumerations
444 */
446 { return "列舉型態"; }
447
448 /*! This is used in the documentation of a file as a header before the
449 * list of (global) functions
450 */
452 { return "函式"; }
453
454 /*! This is used in the documentation of a file as a header before the
455 * list of (global) variables
456 */
458 { return "變數"; }
459
460 /*! This is used in the documentation of a file as a header before the
461 * list of (global) variables
462 */
464 { return "列舉值"; }
465
466 /*! This is used in the documentation of a file before the list of
467 * documentation blocks for defines
468 */
470 { return "定義巨集說明文件"; }
471
472 /*! This is used in the documentation of a file/namespace before the list
473 * of documentation blocks for typedefs
474 */
476 { return "型態定義說明文件"; }
477
478 /*! This is used in the documentation of a file/namespace before the list
479 * of documentation blocks for enumeration types
480 */
482 { return "列舉型態說明文件"; }
483
484 /*! This is used in the documentation of a file/namespace before the list
485 * of documentation blocks for enumeration values
486 */
488 { return "列舉值說明文件"; }
489
490 /*! This is used in the documentation of a file/namespace before the list
491 * of documentation blocks for functions
492 */
494 { return "函式說明文件"; }
495
496 /*! This is used in the documentation of a file/namespace before the list
497 * of documentation blocks for variables
498 */
500 { return "變數說明文件"; }
501
502 /*! This is used in the documentation of a file/namespace/group before
503 * the list of links to documented compounds
504 */
506 {
507 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
508 {
509 return "資料結構";
510 }
511 else
512 {
513 return "複合項目";
514 }
515 }
516
517 /*! This is used in the standard footer of each page and indicates when
518 * the page was generated
519 */
520 QCString trGeneratedAt(const QCString &date,const QCString &projName) override
521 {
522 QCString result="產生日期:"+date;
523 if (!projName.isEmpty()) result+=", 專案:"+projName;
524 result+=", 產生器:";
525 return result;
526 }
527
528 /*! this text is put before a class diagram */
529 QCString trClassDiagram(const QCString &clName) override
530 {
531 return "類別"+clName+"的繼承圖:";
532 }
533
534 /*! this text is generated when the \\warning command is used. */
536 { return "警告"; }
537
538 /*! this text is generated when the \\version command is used. */
540 { return "版本"; }
541
542 /*! this text is generated when the \\date command is used. */
543 QCString trDate() override
544 { return "日期"; }
545
546 /*! this text is generated when the \\return command is used. */
548 { return "傳回值"; }
549
550 /*! this text is generated when the \\sa command is used. */
552 { return "參閱"; }
553
554 /*! this text is generated when the \\param command is used. */
556 { return "參數"; }
557
558 /*! this text is generated when the \\exception command is used. */
560 { return "例外"; }
561
562 /*! this text is used in the title page of a LaTeX document. */
564 { return "產生者:"; }
565
566//////////////////////////////////////////////////////////////////////////
567// new since 0.49-990307
568//////////////////////////////////////////////////////////////////////////
569
570 /*! used as the title of page containing all the index of all namespaces. */
572 { return "命名空間(name space)列表"; }
573
574 /*! used as an introduction to the namespace list */
575 QCString trNamespaceListDescription(bool extractAll) override
576 {
577 QCString result="這是所有附帶簡略說明的";
578 if (!extractAll) result+="文件化的";
579 result+="命名空間(namespaces):";
580 return result;
581 }
582
583 /*! used in the class documentation as a header before the list of all
584 * friends of a class
585 */
587 { return "類別朋友(Friends)"; }
588
589//////////////////////////////////////////////////////////////////////////
590// new since 0.49-990405
591//////////////////////////////////////////////////////////////////////////
592
593 /*! used in the class documentation as a header before the list of all
594 * related classes
595 */
597 { return "類別朋友及相關函式說明文件"; }
598
599//////////////////////////////////////////////////////////////////////////
600// new since 0.49-990425
601//////////////////////////////////////////////////////////////////////////
602
603 /*! used as the title of the HTML page of a class/struct/union */
605 ClassDef::CompoundType compType,
606 bool isTemplate) override
607 {
608 QCString result=clName+" ";
609 switch(compType)
610 {
611 case ClassDef::Class: result+=" 類別"; break;
612 case ClassDef::Struct: result+=" 結構"; break;
613 case ClassDef::Union: result+=" 聯合"; break;
614 case ClassDef::Interface: result+=" 介面"; break;
615 case ClassDef::Protocol: result+=" 協定"; break;
616 case ClassDef::Category: result+=" 分類"; break;
617 case ClassDef::Exception: result+=" 例外"; break;
618 default: break;
619 }
620 if (isTemplate) result+=" 樣版";
621 result+=" 參考文件";
622 return result;
623 }
624
625 /*! used as the title of the HTML page of a file */
626 QCString trFileReference(const QCString &fileName) override
627 {
628 QCString result=fileName;
629 result+=" 檔案參考文件";
630 return result;
631 }
632
633 /*! used as the title of the HTML page of a namespace */
634 QCString trNamespaceReference(const QCString &namespaceName) override
635 {
636 QCString result=namespaceName;
637 result+=" 命名空間(Namespace)參考文件";
638 return result;
639 }
640
642 { return "公開方法(Public Methods)"; }
644 { return "公開插槽(Public Slots)"; }
646 { return "訊號(Signals)"; }
648 { return "靜態公開方法(Static Public Methods)"; }
650 { return "保護方法(Protected Methods)"; }
652 { return "保護插槽(Protected Slots)"; }
654 { return "靜態保護方法(Static Protected Methods)"; }
656 { return "私有方法(Private Methods)"; }
658 { return "私有插槽(Private Slots)"; }
660 { return "靜態私有方法(Static Private Methods)"; }
661
662 /*! this function is used to produce a comma-separated list of items.
663 * use generateMarker(i) to indicate where item i should be put.
664 */
665 QCString trWriteList(int numEntries) override
666 {
667 QCString result;
668 // the inherits list contain `numEntries' classes
669 for (int i=0;i<numEntries;i++)
670 {
671 // use generateMarker to generate placeholders for the class links!
672 result+=generateMarker(i); // generate marker for entry i in the list
673 // (order is left to right)
674
675 if (i!=numEntries-1) // not the last entry, so we need a separator
676 {
677 if (i<numEntries-2) // not the fore last entry
678 result+=", ";
679 else // the fore last entry
680 result+=", 及 ";
681 }
682 }
683 return result;
684 }
685
686 /*! used in class documentation to produce a list of base classes,
687 * if class diagrams are disabled.
688 */
689 QCString trInheritsList(int numEntries) override
690 {
691 return "繼承自 "+trWriteList(numEntries)+".";
692 }
693
694 /*! used in class documentation to produce a list of super classes,
695 * if class diagrams are disabled.
696 */
697 QCString trInheritedByList(int numEntries) override
698 {
699 return "被 "+trWriteList(numEntries)+"繼承.";
700 }
701
702 /*! used in member documentation blocks to produce a list of
703 * members that are hidden by this one.
704 */
705 QCString trReimplementedFromList(int numEntries) override
706 {
707 return "依據"+trWriteList(numEntries)+"重新實作.";
708 }
709
710 /*! used in member documentation blocks to produce a list of
711 * all member that overwrite the implementation of this member.
712 */
713 QCString trReimplementedInList(int numEntries) override
714 {
715 return "在"+trWriteList(numEntries)+"重新實作.";
716 }
717
718 /*! This is put above each page as a link to all members of namespaces. */
720 { return "命名空間(Namespace)成員"; }
721
722 /*! This is an introduction to the page with all namespace members */
723 QCString trNamespaceMemberDescription(bool extractAll) override
724 {
725 QCString result="此處列表為所有 ";
726 if (!extractAll) result+="文件化的 ";
727 result+="命名空間(namespace)成員,並且附帶連結至 ";
728 if (extractAll)
729 result+="每個成員的說明文件:";
730 else
731 result+="該命名空間所屬之處:";
732 return result;
733 }
734 /*! This is used in LaTeX as the title of the chapter with the
735 * index of all namespaces.
736 */
738 { return "命名空間(Namespace)索引"; }
739
740 /*! This is used in LaTeX as the title of the chapter containing
741 * the documentation of all namespaces.
742 */
744 { return "命名空間(Namespace)說明文件"; }
745
746//////////////////////////////////////////////////////////////////////////
747// new since 0.49-990522
748//////////////////////////////////////////////////////////////////////////
749
750 /*! This is used in the documentation before the list of all
751 * namespaces in a file.
752 */
754 { return "命名空間(Namespaces)"; }
755
756//////////////////////////////////////////////////////////////////////////
757// new since 0.49-990728
758//////////////////////////////////////////////////////////////////////////
759
760 /*! This is put at the bottom of a class documentation page and is
761 * followed by a list of files that were used to generate the page.
762 */
764 { // here s is one of " Class", " Struct" or " Union"
765 // single is true implies a single file
766 QCString result="此";
767 switch(compType)
768 {
769 case ClassDef::Class: result+="類別(class)"; break;
770 case ClassDef::Struct: result+="結構(structure)"; break;
771 case ClassDef::Union: result+="聯合(union)"; break;
772 case ClassDef::Interface: result+="介面(interface)"; break;
773 case ClassDef::Protocol: result+="協定(protocol)"; break;
774 case ClassDef::Category: result+="分類(category)"; break;
775 case ClassDef::Exception: result+="例外(exception)"; break;
776 default: break;
777 }
778 result+=" 文件是由下列檔案中產生";
779 result+=":";
780 return result;
781 }
782
783//////////////////////////////////////////////////////////////////////////
784// new since 0.49-990901
785//////////////////////////////////////////////////////////////////////////
786
787 /*! This is used as the heading text for the retval command. */
789 { return "傳回值"; }
790
791 /*! This is in the (quick) index as a link to the main page (index.html)
792 */
794 { return "主頁面"; }
795
796 /*! This is used in references to page that are put in the LaTeX
797 * documentation. It should be an abbreviation of the word page.
798 */
800 { return "p."; }
801
802//////////////////////////////////////////////////////////////////////////
803// new since 0.49-991003
804//////////////////////////////////////////////////////////////////////////
805
807 {
808 return "定義在 @1 檔案之第 @0 行.";
809 }
811 {
812 return "定義在 @0 檔.";
813 }
814
815//////////////////////////////////////////////////////////////////////////
816// new since 0.49-991205
817//////////////////////////////////////////////////////////////////////////
818
820 {
821 return "過時";
822 }
823
824//////////////////////////////////////////////////////////////////////////
825// new since 1.0.0
826//////////////////////////////////////////////////////////////////////////
827
828 /*! this text is put before a collaboration diagram */
830 {
831 return ""+clName+"的合作圖:";
832 }
833 /*! this text is put before an include dependency graph */
834 QCString trInclDepGraph(const QCString &fName) override
835 {
836 return ""+fName+"的包含相依圖:";
837 }
838 /*! header that is put before the list of constructor/destructors. */
840 {
841 return "建構子與解構子說明文件";
842 }
843 /*! Used in the file documentation to point to the corresponding sources. */
845 {
846 return "查看本檔案的原始碼.";
847 }
848 /*! Used in the file sources to point to the corresponding documentation. */
850 {
851 return "查看本檔案說明文件.";
852 }
853 /*! Text for the \\pre command */
855 {
856 return "前置條件";
857 }
858 /*! Text for the \\post command */
860 {
861 return "後置條件";
862 }
863 /*! Text for the \\invariant command */
865 {
866 return "常數";
867 }
868 /*! Text shown before a multi-line variable/enum initialization */
870 {
871 return "初值:";
872 }
873 /*! Text used the source code in the file index */
874 QCString trCode() override
875 {
876 return "程式碼";
877 }
879 {
880 return "圖形化之類別階層";
881 }
883 {
884 return "查看圖形化之類別階層";
885 }
887 {
888 return "查看文字化之類別階層";
889 }
891 {
892 return "頁面索引";
893 }
894
895//////////////////////////////////////////////////////////////////////////
896// new since 1.1.0
897//////////////////////////////////////////////////////////////////////////
898
899 QCString trNote() override
900 {
901 return "註";
902 }
904 {
905 return "公開型態";
906 }
908 {
909 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
910 {
911 return "資料欄位";
912 }
913 else
914 {
915 return "公開屬性";
916 }
917 }
919 {
920 return "靜態公開屬性";
921 }
923 {
924 return "保護型態";
925 }
927 {
928 return "保護屬性";
929 }
931 {
932 return "靜態保護屬性";
933 }
935 {
936 return "私有型態";
937 }
939 {
940 return "私有屬性";
941 }
943 {
944 return "靜態私有屬性";
945 }
946
947//////////////////////////////////////////////////////////////////////////
948// new since 1.1.3
949//////////////////////////////////////////////////////////////////////////
950
951 /*! Used as a marker that is put before a \\todo item */
952 QCString trTodo() override
953 {
954 return "待辦事項";
955 }
956 /*! Used as the header of the todo list */
958 {
959 return "待辦事項列表";
960 }
961
962//////////////////////////////////////////////////////////////////////////
963// new since 1.1.4
964//////////////////////////////////////////////////////////////////////////
965
967 {
968 return "被參考於";
969 }
971 {
972 return "備註";
973 }
975 {
976 return "注意";
977 }
979 {
980 return "本圖顯示出哪些檔案直接或間接include本檔 "
981 ":";
982 }
983 QCString trSince() override
984 {
985 return "自";
986 }
987
988//////////////////////////////////////////////////////////////////////////
989// new since 1.1.5
990//////////////////////////////////////////////////////////////////////////
991
992 /*! title of the graph legend page */
994 {
995 return "圖示";
996 }
997 /*! page explaining how the dot graph's should be interpreted
998 * The %A in the text below are to prevent link to classes called "A".
999 */
1001 {
1002 return
1003 "本頁解釋如何解譯這些由doxygen所產生的圖示 "
1004 ".<p>\n"
1005 "請看下面範例:\n"
1006 "\\code\n"
1007 "/*! 因為截斷而造成的不可見類別 */\n"
1008 "class Invisible { };\n\n"
1009 "/*! 截斷的類別, 繼承關係被隱藏 */\n"
1010 "class Truncated : public Invisible { };\n\n"
1011 "/* 未經過doxygen註解處理過的類別 */\n"
1012 "class Undocumented { };\n\n"
1013 "/*! 經過公開(Public)繼承的類別 */\n"
1014 "class PublicBase : public Truncated { };\n\n"
1015 "/*! 一個樣版類別 */\n"
1016 "template<class T> class Templ { };\n\n"
1017 "/*! 使用保護(Protected)繼承的類別 */\n"
1018 "class ProtectedBase { };\n\n"
1019 "/*! 使用私有(Private)繼承的類別 */\n"
1020 "class PrivateBase { };\n\n"
1021 "/*! 由被繼承類別所使用的類別 */\n"
1022 "class Used { };\n\n"
1023 "/*! 由數個其他類別所繼承來的超類別(Super Class) */\n"
1024 "class Inherited : public PublicBase,\n"
1025 " protected ProtectedBase,\n"
1026 " private PrivateBase,\n"
1027 " public Undocumented,\n"
1028 " public Templ<int>\n"
1029 "{\n"
1030 " private:\n"
1031 " Used *m_usedClass;\n"
1032 "};\n"
1033 "\\endcode\n"
1034 "這個例子會產生下列的圖示:"
1035 "<p><center><img alt=\"\" src=\"graph_legend."+getDotImageExtension()+"\"></center></p>\n"
1036 "<p>\n"
1037 "上圖中的各區塊意義如下:\n"
1038 "</p>\n"
1039 "<ul>\n"
1040 "<li>%A 填滿黑色的區塊代表產生這個圖示的類別或結構 "
1041 ".\n"
1042 "<li>%A 黑邊的區塊代表文件化過的結構或類別.</li>\n"
1043 "<li>%A 灰邊的區塊代表未經文件化的結構或是類別.</li>\n"
1044 "<li>%A 紅邊的區塊代表文件化的結構或是類別,"
1045 "這些結構或類別的繼承或包含關係不會全部顯示. %A 圖示 "
1046 "若無法塞入指定的邊界中將會被截斷.</li>\n"
1047 "</ul>\n"
1048 "<p>\n"
1049 "箭頭具有下面的意義:\n"
1050 "</p>\n"
1051 "<ul>\n"
1052 "<li>%A 深藍色箭頭用來代表兩個類別間的公開繼承 "
1053 "關係.\n"
1054 "<li>%A 深綠色箭頭代表保護繼承。</li>\n"
1055 "<li>%A 深紅色箭頭代表私有繼承。</li>\n"
1056 "<li>%A 紫色箭頭用來表示類別被另一個包含或是使用."
1057 "箭頭上標示著可存取該類別或是結構的對應變數。</li>\n"
1058 "<li>%A 黃色箭頭代表樣版實體與樣版類別之間的關係。"
1059 "箭頭上標記著樣版實體上的參數。</li>\n"
1060 "</ul>\n";
1061 }
1062 /*! text for the link to the legend page */
1064 {
1065 return "圖示";
1066 }
1067
1068//////////////////////////////////////////////////////////////////////////
1069// new since 1.2.0
1070//////////////////////////////////////////////////////////////////////////
1071
1072 /*! Used as a marker that is put before a test item */
1073 QCString trTest() override
1074 {
1075 return "測試項目";
1076 }
1077 /*! Used as the header of the test list */
1079 {
1080 return "測試項目列表";
1081 }
1082
1083//////////////////////////////////////////////////////////////////////////
1084// new since 1.2.2
1085//////////////////////////////////////////////////////////////////////////
1086
1087 /*! Used as a section header for IDL properties */
1089 {
1090 return "屬性(properties)";
1091 }
1092 /*! Used as a section header for IDL property documentation */
1094 {
1095 return "屬性(property)說明文件";
1096 }
1097
1098//////////////////////////////////////////////////////////////////////////
1099// new since 1.2.4
1100//////////////////////////////////////////////////////////////////////////
1101
1102 /*! Used for Java classes in the summary section of Java packages */
1104 {
1105 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
1106 {
1107 return "資料結構";
1108 }
1109 else
1110 {
1111 return "類別";
1112 }
1113 }
1114 /*! Used as the title of a Java package */
1115 QCString trPackage(const QCString &name) override
1116 {
1117 return "Package "+name;
1118 }
1119 /*! The description of the package index page */
1121 {
1122 return "此處為Package的概略說明(如果有的話):";
1123 }
1124 /*! The link name in the Quick links header for each page */
1126 {
1127 return "Packages";
1128 }
1129
1130 /*! Text shown before a multi-line define */
1132 {
1133 return "巨集內容:";
1134 }
1135
1136//////////////////////////////////////////////////////////////////////////
1137// new since 1.2.5
1138//////////////////////////////////////////////////////////////////////////
1139
1140 /*! Used as a marker that is put before a \\bug item */
1141 QCString trBug() override
1142 {
1143 return "臭蟲";
1144 }
1145 /*! Used as the header of the bug list */
1147 {
1148 return "臭蟲列表";
1149 }
1150
1151//////////////////////////////////////////////////////////////////////////
1152// new since 1.2.6
1153//////////////////////////////////////////////////////////////////////////
1154
1155 /*! Used as ansicpg for RTF file
1156 *
1157 * The following table shows the correlation of Charset name, Charset Value and
1158 * <pre>
1159 * Codepage number:
1160 * Charset Name Charset Value(hex) Codepage number
1161 * ------------------------------------------------------
1162 * DEFAULT_CHARSET 1 (x01)
1163 * SYMBOL_CHARSET 2 (x02)
1164 * OEM_CHARSET 255 (xFF)
1165 * ANSI_CHARSET 0 (x00) 1252
1166 * RUSSIAN_CHARSET 204 (xCC) 1251
1167 * EE_CHARSET 238 (xEE) 1250
1168 * GREEK_CHARSET 161 (xA1) 1253
1169 * TURKISH_CHARSET 162 (xA2) 1254
1170 * BALTIC_CHARSET 186 (xBA) 1257
1171 * HEBREW_CHARSET 177 (xB1) 1255
1172 * ARABIC _CHARSET 178 (xB2) 1256
1173 * SHIFTJIS_CHARSET 128 (x80) 932
1174 * HANGEUL_CHARSET 129 (x81) 949
1175 * GB2313_CHARSET 134 (x86) 936
1176 * CHINESEBIG5_CHARSET 136 (x88) 950
1177 * </pre>
1178 *
1179 */
1181 {
1182 return "950";
1183 }
1184
1185
1186 /*! Used as ansicpg for RTF fcharset
1187 * \see trRTFansicp() for a table of possible values.
1188 */
1190 {
1191 return "136";
1192 }
1193
1194 /*! Used as header RTF general index */
1196 {
1197 return "索引";
1198 }
1199
1200 /*! This is used for translation of the word that will possibly
1201 * be followed by a single name or by a list of names
1202 * of the category.
1203 */
1204 QCString trClass(bool /*first_capital*/, bool /*singular*/) override
1205 {
1206 return QCString("類別");
1207 }
1208
1209 /*! This is used for translation of the word that will possibly
1210 * be followed by a single name or by a list of names
1211 * of the category.
1212 */
1213 QCString trFile(bool /*first_capital*/, bool /*singular*/) override
1214 {
1215 return QCString("檔案");
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 QCString trNamespace(bool /*first_capital*/, bool /*singular*/) override
1223 {
1224 return QCString("命名空間");
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 QCString trGroup(bool /*first_capital*/, bool /*singular*/) override
1232 {
1233 return QCString("群組");
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 QCString trPage(bool /*first_capital*/, bool /*singular*/) override
1241 {
1242 return QCString("頁面");
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 QCString trMember(bool /*first_capital*/, bool /*singular*/) override
1250 {
1251 return QCString("成員");
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 QCString trGlobal(bool /*first_capital*/, bool /*singular*/) override
1259 {
1260 return QCString("全域");
1261 }
1262
1263//////////////////////////////////////////////////////////////////////////
1264// new since 1.2.7
1265//////////////////////////////////////////////////////////////////////////
1266
1267 /*! This text is generated when the \\author command is used and
1268 * for the author section in man pages. */
1269 QCString trAuthor(bool /*first_capital*/, bool /*singular*/) override
1270 {
1271 return QCString("作者");
1272 }
1273
1274//////////////////////////////////////////////////////////////////////////
1275// new since 1.2.11
1276//////////////////////////////////////////////////////////////////////////
1277
1278 /*! This text is put before the list of members referenced by a member
1279 */
1281 {
1282 return "參考";
1283 }
1284
1285//////////////////////////////////////////////////////////////////////////
1286// new since 1.2.13
1287//////////////////////////////////////////////////////////////////////////
1288
1289 /*! used in member documentation blocks to produce a list of
1290 * members that are implemented by this one.
1291 */
1292 QCString trImplementedFromList(int numEntries) override
1293 {
1294 return "實作 "+trWriteList(numEntries)+".";
1295 }
1296
1297 /*! used in member documentation blocks to produce a list of
1298 * all members that implement this abstract member.
1299 */
1300 QCString trImplementedInList(int numEntries) override
1301 {
1302 return "實作於 "+trWriteList(numEntries)+".";
1303 }
1304
1305 //////////////////////////////////////////////////////////////////////////
1306// new since 1.2.16
1307//////////////////////////////////////////////////////////////////////////
1308
1309 /*! used in RTF documentation as a heading for the Table
1310 * of Contents.
1311 */
1313 {
1314 return "目錄";
1315 }
1316
1317//////////////////////////////////////////////////////////////////////////
1318// new since 1.2.17
1319//////////////////////////////////////////////////////////////////////////
1320
1321 /*! Used as the header of the list of item that have been
1322 * flagged deprecated
1323 */
1325 {
1326 return "過時項目(Deprecated) 列表";
1327 }
1328
1329//////////////////////////////////////////////////////////////////////////
1330// new since 1.2.18
1331//////////////////////////////////////////////////////////////////////////
1332
1333 /*! Used as a header for declaration section of the events found in
1334 * a C# program
1335 */
1337 {
1338 return "Events";
1339 }
1340 /*! Header used for the documentation section of a class' events. */
1342 {
1343 return "Event 文件";
1344 }
1345
1346//////////////////////////////////////////////////////////////////////////
1347// new since 1.3
1348//////////////////////////////////////////////////////////////////////////
1349
1350 /*! Used as a heading for a list of Java class types with package scope.
1351 */
1353 {
1354 return "Package 型別";
1355 }
1356 /*! Used as a heading for a list of Java class functions with package
1357 * scope.
1358 */
1360 {
1361 return "Package 函數列表";
1362 }
1364 {
1365 return "Package 成員列表";
1366 }
1367 /*! Used as a heading for a list of static Java class functions with
1368 * package scope.
1369 */
1371 {
1372 return "靜態 Package 函數列表";
1373 }
1374 /*! Used as a heading for a list of Java class variables with package
1375 * scope.
1376 */
1378 {
1379 return "Package 屬性";
1380 }
1381 /*! Used as a heading for a list of static Java class variables with
1382 * package scope.
1383 */
1385 {
1386 return "靜態 Package 屬性";
1387 }
1388
1389//////////////////////////////////////////////////////////////////////////
1390// new since 1.3.1
1391//////////////////////////////////////////////////////////////////////////
1392
1393 /*! Used in the quick index of a class/file/namespace member list page
1394 * to link to the unfiltered list of all members.
1395 */
1396 QCString trAll() override
1397 {
1398 return "全部";
1399 }
1400 /*! Put in front of the call graph for a function. */
1402 {
1403 return "這是此函數的引用函數圖:";
1404 }
1405
1406//////////////////////////////////////////////////////////////////////////
1407// new since 1.3.3
1408//////////////////////////////////////////////////////////////////////////
1409
1410 /*! This string is used as the title for the page listing the search
1411 * results.
1412 */
1414 {
1415 return "搜尋結果";
1416 }
1417 /*! This string is put just before listing the search results. The
1418 * text can be different depending on the number of documents found.
1419 * Inside the text you can put the special marker $num to insert
1420 * the number representing the actual number of search results.
1421 * The @a numDocuments parameter can be either 0, 1 or 2, where the
1422 * value 2 represents 2 or more matches. HTML markup is allowed inside
1423 * the returned string.
1424 */
1425 QCString trSearchResults(int numDocuments) override
1426 {
1427 if (numDocuments==0)
1428 {
1429 return "找不到符合的資料.";
1430 }
1431 else if (numDocuments==1)
1432 {
1433 return "找到 <b>1</b> 筆符合的資料.";
1434 }
1435 else
1436 {
1437 return "找到 <b>$num</b> 筆符合的資料. "
1438 "越符合的結果顯示在越前面.";
1439 }
1440 }
1441 /*! This string is put before the list of matched words, for each search
1442 * result. What follows is the list of words that matched the query.
1443 */
1445 {
1446 return "符合:";
1447 }
1448
1449//////////////////////////////////////////////////////////////////////////
1450// new since 1.3.8
1451//////////////////////////////////////////////////////////////////////////
1452
1453 /*! This is used in HTML as the title of page with source code for file filename
1454 */
1455 QCString trSourceFile(const QCString& filename) override
1456 {
1457 return filename + " 原始程式檔";
1458 }
1459
1460//////////////////////////////////////////////////////////////////////////
1461// new since 1.3.9
1462//////////////////////////////////////////////////////////////////////////
1463
1464 /*! This is used as the name of the chapter containing the directory
1465 * hierarchy.
1466 */
1468 { return "目錄階層"; }
1469
1470 /*! This is used as the name of the chapter containing the documentation
1471 * of the directories.
1472 */
1474 { return "目錄說明文件"; }
1475
1476 /*! This is used as the title of the directory index and also in the
1477 * Quick links of a HTML page, to link to the directory hierarchy.
1478 */
1480 { return "目錄"; }
1481
1482 /*! This returns the title of a directory page. The name of the
1483 * directory is passed via \a dirName.
1484 */
1485 QCString trDirReference(const QCString &dirName) override
1486 { QCString result=dirName; result+=" 目錄參考文件"; return result; }
1487
1488 /*! This returns the word directory with or without starting capital
1489 * (\a first_capital) and in sigular or plural form (\a singular).
1490 */
1491 QCString trDir(bool /*first_capital*/, bool /*singular*/) override
1492 {
1493 return QCString("目錄");
1494 }
1495
1496//////////////////////////////////////////////////////////////////////////
1497// new since 1.4.1
1498//////////////////////////////////////////////////////////////////////////
1499
1500 /*! This text is added to the documentation when the \\overload command
1501 * is used for a overloaded function.
1502 */
1504 {
1505 return "這是一個為了便利性所提供 overload 成員函數,"
1506 "只有在接受的參數上,與前一個函數不同.";
1507 }
1508//////////////////////////////////////////////////////////////////////////
1509// new since 1.4.6
1510//////////////////////////////////////////////////////////////////////////
1511
1512 /*! This is used to introduce a caller (or called-by) graph */
1514 {
1515 return "呼叫此函數的函數列表:";
1516 }
1517
1518
1519//////////////////////////////////////////////////////////////////////////
1520// new since 1.5.4 (mainly for Fortran)
1521//////////////////////////////////////////////////////////////////////////
1522
1523 /*! header that is put before the list of member subprograms (Fortran). */
1525 { return "成員函數/子程序 文件"; }
1526
1527 /*! This is put above each page as a link to the list of annotated data types (Fortran). */
1529 { return "資料型態列表"; }
1530
1531 /*! This is put above each page as a link to all members of compounds (Fortran). */
1533 { return "資料欄位"; }
1534
1535 /*! This is an introduction to the annotated compound list (Fortran). */
1537 { return "資料型態簡短說明列表:"; }
1538
1539 /*! This is an introduction to the page with all data types (Fortran). */
1541 {
1542 QCString result="此處列出所有";
1543 if (!extractAll)
1544 {
1545 result+="有文件的";
1546 }
1547 result+="資料型別成員函數";
1548 result+=" 附帶連結到 ";
1549 if (!extractAll)
1550 {
1551 result+="每個成員函數的資料結構文件";
1552 }
1553 else
1554 {
1555 result+="他們屬於的資料型別";
1556 }
1557 return result;
1558 }
1559
1560 /*! This is used in LaTeX as the title of the chapter with the
1561 * annotated compound index (Fortran).
1562 */
1564 { return "資料型別索引"; }
1565
1566 /*! This is used in LaTeX as the title of the chapter containing
1567 * the documentation of all data types (Fortran).
1568 */
1570 { return "資料型別文件"; }
1571
1572 /*! This is used in the documentation of a file as a header before the
1573 * list of (global) subprograms (Fortran).
1574 */
1576 { return "函數/子程序"; }
1577
1578 /*! This is used in the documentation of a file/namespace before the list
1579 * of documentation blocks for subprograms (Fortran)
1580 */
1582 { return "函數/子程序 文件"; }
1583
1584 /*! This is used in the documentation of a file/namespace/group before
1585 * the list of links to documented compounds (Fortran)
1586 */
1588 { return "資料型別"; }
1589
1590 /*! used as the title of page containing all the index of all modules (Fortran). */
1592 { return "模組列表"; }
1593
1594 /*! used as an introduction to the modules list (Fortran) */
1595 QCString trModulesListDescription(bool extractAll) override
1596 {
1597 QCString result="此處列出所有";
1598 if (!extractAll) result+="有文件的";
1599 result+="模組附帶簡短說明:";
1600 return result;
1601 }
1602
1603 /*! used as the title of the HTML page of a module/type (Fortran) */
1605 ClassDef::CompoundType compType,
1606 bool isTemplate) override
1607 {
1608 QCString result=clName;
1609 switch(compType)
1610 {
1611 case ClassDef::Class: result+="模組"; break;
1612 case ClassDef::Struct: result+="型態"; break;
1613 case ClassDef::Union: result+="聯合"; break;
1614 case ClassDef::Interface: result+="介面"; break;
1615 case ClassDef::Protocol: result+="協議"; break;
1616 case ClassDef::Category: result+="分類"; break;
1617 case ClassDef::Exception: result+="例外"; break;
1618 default: break;
1619 }
1620 if (isTemplate) result+=" Template";
1621 result+="參考文件";
1622 return result;
1623 }
1624 /*! used as the title of the HTML page of a module (Fortran) */
1625 QCString trModuleReference(const QCString &namespaceName) override
1626 {
1627 QCString result=namespaceName;
1628 result+="模組參考文件";
1629 return result;
1630 }
1631
1632 /*! This is put above each page as a link to all members of modules. (Fortran) */
1634 { return "模組成員"; }
1635
1636 /*! This is an introduction to the page with all modules members (Fortran) */
1637 QCString trModulesMemberDescription(bool extractAll) override
1638 {
1639 QCString result="此處列出所有";
1640 if (!extractAll) result+="有文件的";
1641 result+="模組成員附帶連結到";
1642 if (extractAll)
1643 {
1644 result+="每個函數的模組文件:";
1645 }
1646 else
1647 {
1648 result+="他們所屬的模組:";
1649 }
1650 return result;
1651 }
1652
1653 /*! This is used in LaTeX as the title of the chapter with the
1654 * index of all modules (Fortran).
1655 */
1657 { return "模組索引"; }
1658
1659 /*! This is used for translation of the word that will possibly
1660 * be followed by a single name or by a list of names
1661 * of the category.
1662 */
1663 QCString trModule(bool /* first_capital */, bool /* singular */) override
1664 {
1665 QCString result("模組");
1666 return result;
1667 }
1668 /*! This is put at the bottom of a module documentation page and is
1669 * followed by a list of files that were used to generate the page.
1670 */
1672 bool /* single */) override
1673 { // here s is one of " Module", " Struct" or " Union"
1674 // single is true implies a single file
1675 QCString result="這個";
1676 switch(compType)
1677 {
1678 case ClassDef::Class: result+="模組"; break;
1679 case ClassDef::Struct: result+="型態"; break;
1680 case ClassDef::Union: result+="聯合"; break;
1681 case ClassDef::Interface: result+="介面"; break;
1682 case ClassDef::Protocol: result+="協議"; break;
1683 case ClassDef::Category: result+="分類"; break;
1684 case ClassDef::Exception: result+="例外"; break;
1685 default: break;
1686 }
1687 result+="文件由下列檔案產生";
1688 return result;
1689 }
1690 /*! This is used for translation of the word that will possibly
1691 * be followed by a single name or by a list of names
1692 * of the category.
1693 */
1694 QCString trType(bool /* first_capital */, bool /* singular */) override
1695 {
1696 QCString result("型別");
1697 return result;
1698 }
1699 /*! This is used for translation of the word that will possibly
1700 * be followed by a single name or by a list of names
1701 * of the category.
1702 */
1703 QCString trSubprogram(bool /* first_capital */, bool /* singular */) override
1704 {
1705 QCString result("子程式");
1706 return result;
1707 }
1708
1709 /*! C# Type Constraint list */
1711 {
1712 return "型別限制條件";
1713 }
1714
1715//////////////////////////////////////////////////////////////////////////
1716// new since 1.6.0 (mainly for the new search engine)
1717//////////////////////////////////////////////////////////////////////////
1718
1719 /*! directory relation for \a name */
1720 QCString trDirRelation(const QCString &name) override
1721 {
1722 return QCString(name)+" 關連";
1723 }
1724
1725 /*! Loading message shown when loading search results */
1727 {
1728 return "載入中...";
1729 }
1730
1731 /*! Label used for search results in the global namespace */
1733 {
1734 return "全域命名空間";
1735 }
1736
1737 /*! Message shown while searching */
1739 {
1740 return "搜尋中...";
1741 }
1742
1743 /*! Text shown when no search results are found */
1745 {
1746 return "無符合項目";
1747 }
1748
1749//////////////////////////////////////////////////////////////////////////
1750// new since 1.6.3 (missing items for the directory pages)
1751//////////////////////////////////////////////////////////////////////////
1752
1753 /*! when clicking a directory dependency label, a page with a
1754 * table is shown. The heading for the first column mentions the
1755 * source file that has a relation to another file.
1756 */
1757 QCString trFileIn(const QCString &name) override
1758 {
1759 return "檔案在"+name;
1760 }
1761
1762 /*! when clicking a directory dependency label, a page with a
1763 * table is shown. The heading for the second column mentions the
1764 * destination file that is included.
1765 */
1766 QCString trIncludesFileIn(const QCString &name) override
1767 {
1768 return "含入檔案在"+name;
1769 }
1770
1771 /** Compiles a date string.
1772 * @param year Year in 4 digits
1773 * @param month Month of the year: 1=January
1774 * @param day Day of the Month: 1..31
1775 * @param dayOfWeek Day of the week: 1=Monday..7=Sunday
1776 * @param hour Hour of the day: 0..23
1777 * @param minutes Minutes in the hour: 0..59
1778 * @param seconds Seconds within the minute: 0..59
1779 * @param includeTime Include time in the result string?
1780 */
1781 QCString trDateTime(int year,int month,int day,int dayOfWeek,
1782 int hour,int minutes,int seconds,
1783 DateTimeType includeTime) override
1784 {
1785 static const char *days[] = { "星期一","星期二","星期三","星期四","星期五","星期六","星期日" };
1786 static const char *months[] = { "1","2","3","4","5","6","7","8","9","10","11","12" };
1787 QCString sdate;
1788 if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Date)
1789 {
1790 sdate.sprintf("%d年%s月%d日 %s",year,months[month-1],day,days[dayOfWeek-1]);
1791 }
1792 if (includeTime == DateTimeType::DateTime) sdate += " ";
1793 if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Time)
1794 {
1795 QCString stime;
1796 stime.sprintf("%.2d:%.2d:%.2d",hour,minutes,seconds);
1797 sdate+=stime;
1798 }
1799 return sdate;
1800 }
1801 QCString trDayOfWeek(int dayOfWeek, bool, bool full) override
1802 {
1803 static const char *days_short[] = { "周一", "周二", "周三", "周四", "周五", "周六", "周日" };
1804 static const char *days_full[] = { "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日" };
1805 QCString text = full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
1806 return text;
1807 }
1808 QCString trMonth(int month, bool, bool full) override
1809 {
1810 static const char *months_short[] = { "1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月" };
1811 static const char *months_full[] = { "一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月" };
1812 QCString text = full? months_full[month-1] : months_short[month-1];
1813 return text;
1814 }
1815 QCString trDayPeriod(bool period) override
1816 {
1817 static const char *dayPeriod[] = { "上午", "下午" };
1818 return dayPeriod[period?1:0];
1819 }
1820
1821//////////////////////////////////////////////////////////////////////////
1822// new since 1.7.5
1823//////////////////////////////////////////////////////////////////////////
1824
1825 /*! Header for the page with bibliographic citations */
1827 { return "參考文獻資料"; }
1828
1829 /*! Text for copyright paragraph */
1831 { return "版權聲明"; }
1832
1833 /*! Header for the graph showing the directory dependencies */
1834 QCString trDirDepGraph(const QCString &name) override
1835 { return QCString(name)+"的目錄關連圖"+":"; }
1836
1837//////////////////////////////////////////////////////////////////////////
1838// new since 1.8.0
1839//////////////////////////////////////////////////////////////////////////
1840
1841 /*! Detail level selector shown for hierarchical indices */
1843 { return "詳細程度"; }
1844
1845 /*! Section header for list of template parameters */
1847 { return "樣版參數"; }
1848
1849 /*! Used in dot graph when UML_LOOK is enabled and there are many fields */
1850 QCString trAndMore(const QCString &number) override
1851 { return "及 "+number+" 個更多..."; }
1852
1853 /*! Used file list for a Java enum */
1855 { QCString result = "此列舉型態的文件是由下列檔案所產生";
1856 if (!single) result += "";
1857 result+=":";
1858 return result;
1859 }
1860
1861 /*! Header of a Java enum page (Java enums are represented as classes). */
1862 QCString trEnumReference(const QCString &name) override
1863 { return QCString(name)+" 列舉型態參考"; }
1864
1865 /*! Used for a section containing inherited members */
1866 QCString trInheritedFrom(const QCString &members,const QCString &what) override
1867 { return QCString(members)+" 繼承自 "+what; }
1868
1869 /*! Header of the sections with inherited members specific for the
1870 * base class(es)
1871 */
1873 { return "額外的繼承成員"; }
1874
1875//////////////////////////////////////////////////////////////////////////
1876// new since 1.8.2
1877//////////////////////////////////////////////////////////////////////////
1878
1879 /*! Used as a tooltip for the toggle button that appears in the
1880 * navigation tree in the HTML output when GENERATE_TREEVIEW is
1881 * enabled. This tooltip explains the meaning of the button.
1882 */
1884 {
1885 QCString opt = enable ? "啟用" : "停用";
1886 return "點擊 "+opt+" 面板進行同步";
1887 }
1888
1889 /*! Used in a method of an Objective-C class that is declared in a
1890 * a category. Note that the @1 marker is required and is replaced
1891 * by a link.
1892 */
1894 {
1895 return "由 @0 分類所提供.";
1896 }
1897
1898 /*! Used in a method of an Objective-C category that extends a class.
1899 * Note that the @1 marker is required and is replaced by a link to
1900 * the class method.
1901 */
1903 {
1904 return "延伸 @0 類別 .";
1905 }
1906
1907 /*! Used as the header of a list of class methods in Objective-C.
1908 * These are similar to static public member functions in C++.
1909 */
1911 {
1912 return "類別方法";
1913 }
1914
1915 /*! Used as the header of a list of instance methods in Objective-C.
1916 * These are similar to public member functions in C++.
1917 */
1919 {
1920 return "實體方法";
1921 }
1922
1923 /*! Used as the header of the member functions of an Objective-C class.
1924 */
1926 {
1927 return "方法文件";
1928 }
1929
1930//////////////////////////////////////////////////////////////////////////
1931// new since 1.8.4
1932//////////////////////////////////////////////////////////////////////////
1933
1934 /** old style UNO IDL services: implemented interfaces */
1936 { return "導出介面"; }
1937
1938 /** old style UNO IDL services: inherited services */
1940 { return "引入的服務"; }
1941
1942 /** UNO IDL constant groups */
1944 { return "常數群組"; }
1945
1946 /** UNO IDL constant groups */
1947 QCString trConstantGroupReference(const QCString &namespaceName) override
1948 {
1949 QCString result=namespaceName;
1950 result+="常數群組參考";
1951 return result;
1952 }
1953 /** UNO IDL service page title */
1954 QCString trServiceReference(const QCString &sName) override
1955 {
1956 QCString result=sName;
1957 result+="服務參考";
1958 return result;
1959 }
1960 /** UNO IDL singleton page title */
1962 {
1963 QCString result=sName;
1964 result+="Singleton參考";
1965 return result;
1966 }
1967 /** UNO IDL service page */
1969 {
1970 // single is true implies a single file
1971 QCString result="本服務的文件由以下的檔案"
1972 "所產生";
1973 result+=":";
1974 return result;
1975 }
1976 /** UNO IDL singleton page */
1978 {
1979 // single is true implies a single file
1980 QCString result="本singleton的文件由下面的檔案"
1981 "所產生";
1982 result+=":";
1983 return result;
1984 }
1985
1986};
1987
1988#endif
CompoundType
The various compound types.
Definition classdef.h:109
@ Interface
Definition classdef.h:112
@ Exception
Definition classdef.h:115
This is an alternative implementation of QCString.
Definition qcstring.h:101
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 trModulesDescription() override
QCString trDefinedIn() override
QCString trCompoundIndex() override
QCString trRelatedPagesDescription() override
QCString trProtectedAttribs() override
QCString trPageIndex() override
QCString trLegendTitle() override
QCString trDataTypes() override
QCString trFileMembers() override
QCString trLegend() override
QCString trClass(bool, bool) override
QCString trMemberDataDocumentation() override
QCString trNote() override
QCString trNamespaceDocumentation() override
QCString trProtectedTypes() override
QCString trDetails() override
QCString trSubprograms() override
QCString trSeeAlso() override
QCString trCompoundReferenceFortran(const QCString &clName, ClassDef::CompoundType compType, bool isTemplate) override
QCString trDate() override
QCString trInvariant() override
QCString trCompoundIndexFortran() override
QCString trVersion() override
QCString trClassHierarchyDescription() override
QCString trHierarchicalIndex() override
QCString trCallGraph() override
QCString trGotoSourceCode() override
QCString trRelatedFunctions() override
QCString trDefineValue() override
QCString trAdditionalInheritedMembers() override
QCString trServiceReference(const QCString &sName) override
UNO IDL service page title.
QCString trTypedefs() override
QCString trExamplesDescription() override
QCString trMore() override
QCString trMemberFunctionDocumentation() override
QCString trSearchMatches() override
QCString trNamespace(bool, bool) override
QCString trTemplateParameters() override
QCString trFriends() override
QCString trEnumerationValues() override
QCString trISOLang() override
QCString trClassDocumentation() override
QCString latexDocumentPost() override
QCString trIncludingInheritedMembers() override
QCString trVariableDocumentation() override
QCString trRTFGeneralIndex() override
QCString trNamespaceIndex() override
QCString trParameters() override
QCString trDetailLevel() override
QCString trCollaborationDiagram(const QCString &clName) override
QCString trProperties() override
QCString trFunctions() override
QCString trWarning() override
QCString latexFontenc() override
QCString trFileList() override
QCString trInitialValue() override
QCString trPublicTypes() override
QCString trStaticPublicMembers() override
QCString trEnumName() override
QCString trFileDocumentation() override
QCString trCallerGraph() override
QCString trSignals() override
QCString trModulesMembers() override
QCString trReimplementedInList(int numEntries) override
QCString trFile(bool, bool) override
QCString trMemberTypedefDocumentation() override
QCString trDirDepGraph(const QCString &name) override
QCString trGraphicalHierarchy() override
QCString trPublicAttribs() override
QCString latexDocumentPre() override
QCString trInclByDepGraph() override
QCString trEnumerationValueDocumentation() override
QCString trStaticPackageFunctions() override
QCString trEnumerations() 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 trClassHierarchy() override
QCString trClassMethods() override
QCString trCompounds() override
QCString trRTFTableOfContents() override
QCString trMemberList() override
QCString trTypedefDocumentation() override
QCString trCompoundListDescription() override
QCString trInterfaces() override
old style UNO IDL services: implemented interfaces
QCString trConstantGroups() override
UNO IDL constant groups.
QCString trCode() override
QCString trMethodDocumentation() override
QCString trConstantGroupReference(const QCString &namespaceName) override
UNO IDL constant groups.
QCString trCopyright() override
QCString trConstructorDocumentation() override
QCString trGroup(bool, bool) override
QCString trProtectedMembers() override
QCString getLanguageString() override
language codes for Html help
QCString trSince() override
QCString trCompoundListFortran() override
QCString trTypeConstraints() override
QCString trDeprecatedList() override
QCString trSearching() override
QCString trFileMembersDescription(bool extractAll) override
QCString trReferences() override
QCString trPackageListDescription() override
QCString trGeneratedAt(const QCString &date, const QCString &projName) override
QCString trExtendsClass() override
QCString trNamespaceReference(const QCString &namespaceName) override
QCString trSourceFile(const QCString &filename) override
QCString latexLanguageSupportCommand() override
QCString trSearchResultsTitle() override
QCString trDir(bool, bool) override
QCString trPackageTypes() override
QCString trMonth(int month, bool, bool full) override
QCString trWriteList(int numEntries) override
QCString trType(bool, bool) override
QCString trRTFansicp() override
QCString trSearch() override
QCString trRelatedFunctionDocumentation() override
QCString trModuleIndex() override
QCString trNamespaceList() override
QCString trNamespaceListDescription(bool extractAll) override
QCString trDirectories() override
QCString trInstanceMethods() override
QCString trEnumReference(const QCString &name) override
QCString trInheritedFrom(const QCString &members, const QCString &what) override
QCString trEnumGeneratedFromFiles(bool single) override
QCString trExceptions() override
QCString trCompoundReference(const QCString &clName, ClassDef::CompoundType compType, bool isTemplate) override
QCString trEventDocumentation() override
QCString trExamples() override
QCString trServiceGeneratedFromFiles(bool) override
UNO IDL service page.
QCString trCompoundMembersDescription(bool extractAll) override
QCString trDirRelation(const QCString &name) override
QCString trReimplementedFromList(int numEntries) override
QCString trDocumentation(const QCString &projName) override
QCString trPrivateTypes() override
QCString trAndMore(const QCString &number) override
QCString trGotoTextualHierarchy() override
QCString trPostcondition() override
QCString trLoading() override
QCString trReferencedBy() override
QCString trDetailedDescription() override
QCString trListOfAllMembers() override
QCString trStaticPublicAttribs() override
QCString trEnumerationTypeDocumentation() override
QCString trModules() override
QCString trClassDiagram(const QCString &clName) override
QCString trPrivateSlots() override
QCString trServices() override
old style UNO IDL services: inherited services
QCString trIncludesFileIn(const QCString &name) override
QCString trModulesList() override
QCString trPrecondition() override
QCString trPage(bool, bool) override
QCString idLanguage() override
QCString trTestList() override
QCString trCompoundMembersFortran() override
QCString trSubprogram(bool, bool) override
QCString trPanelSynchronisationTooltip(bool enable) override
QCString trGlobalNamespace() override
QCString trLegendDocs() override
QCString trDefinedInSourceFile() override
QCString trModule(bool, bool) override
QCString trGeneratedBy() override
QCString trCompoundListDescriptionFortran() override
QCString trPublicMembers() override
QCString trPackageMembers() override
QCString trDayOfWeek(int dayOfWeek, bool, bool full) override
QCString trDayPeriod(bool period) override
QCString trGotoDocumentation() override
QCString trEvents() override
QCString trDirReference(const QCString &dirName) override
QCString trMemberFunctionDocumentationFortran() override
QCString trCompoundMembersDescriptionFortran(bool extractAll) override
QCString trInclDepGraph(const QCString &fName) override
QCString trTodoList() override
QCString trStaticProtectedMembers() override
QCString trAttention() override
QCString trProtectedSlots() override
QCString trModulesIndex() override
QCString trInheritsList(int numEntries) override
QCString trPropertyDocumentation() override
QCString trPrivateMembers() override
QCString trPrivateAttribs() override
QCString trModulesListDescription(bool extractAll) override
QCString trStaticPrivateMembers() override
QCString trNamespaceMemberDescription(bool extractAll) override
QCString trDefineDocumentation() override
QCString trNamespaceMembers() override
QCString trModuleDocumentation() override
QCString trVariables() override
QCString trGotoGraphicalHierarchy() override
QCString trReturnValues() override
QCString trSingletonReference(const QCString &sName) override
UNO IDL singleton page title.
QCString trRemarks() override
QCString trReferenceManual() override
QCString trImplementedFromList(int numEntries) override
QCString trStaticProtectedAttribs() override
QCString trRelatedSubscript() override
QCString trPackages() override
QCString trInheritedByList(int numEntries) override
QCString trDefines() override
QCString trFunctionDocumentation() override
QCString trAuthor(bool, bool) override
QCString trTodo() override
QCString trMainPage() override
QCString trStaticPrivateAttribs() override
QCString trMember(bool, bool) override
QCString trGeneratedFromFiles(ClassDef::CompoundType compType, bool) override
QCString trPackage(const QCString &name) override
QCString trSingletonGeneratedFromFiles(bool) override
UNO IDL singleton page.
QCString trNoMatches() override
QCString trFileListDescription(bool extractAll) override
QCString trDirDocumentation() override
QCString trClasses() override
QCString trImplementedInList(int numEntries) override
QCString trSubprogramDocumentation() override
QCString trEnumValue() override
QCString trFileIndex() override
QCString trDefinedAtLineInSourceFile() override
QCString trCompoundMembers() override
QCString trFileReference(const QCString &fileName) override
QCString trModulesMemberDescription(bool extractAll) override
QCString trBugList() override
QCString trCiteReferences() override
QCString trCompoundList() override
QCString trTypeDocumentation() override
QCString trDeprecated() override
QCString trGeneratedAutomatically(const QCString &s) override
QCString trGlobal(bool, bool) override
QCString trFileIn(const QCString &name) override
QCString trNamespaces() override
QCString trReturns() override
QCString trRelatedPages() override
QCString trModuleReference(const QCString &namespaceName) override
QCString trStaticPackageAttribs() override
QCString trPublicSlots() override
QCString trPackageAttribs() override
QCString trMemberEnumerationDocumentation() override
QCString trPageAbbreviation() override
QCString trProvidedByCategory() override
QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool) override
QCString trOverloadText() override
QCString trPackageFunctions() override
QCString trDirIndex() override
QCString trThisIsTheListOfAllMembers() override
QCString trSearchResults(int numDocuments) override
QCString trRTFCharSet() 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:6617