Doxygen
Loading...
Searching...
No Matches
translator_cn.h
Go to the documentation of this file.
1/******************************************************************************
2 *
3 * Copyright (C) 1997-2026 by Dimitri van Heesch.
4 *
5 * Permission to use, copy, modify, and distribute this software and its
6 * documentation under the terms of the GNU General Public License is hereby
7 * granted. No representations are made about the suitability of this software
8 * for any purpose. It is provided "as is" without express or implied warranty.
9 * See the GNU General Public License for more details.
10 *
11 * Documents produced by Doxygen are derivative works derived from the
12 * input used in their production; they are not affected by this license.
13 *
14 */
15
16#ifndef TRANSLATOR_CN_H
17#define TRANSLATOR_CN_H
18
19/*!
20 If you want insert a space whenever Chinese meets English characters, set
21 CN_SPC to " ", else null.
22*/
23#define CN_SPC " "
24
26{
27 public:
28 /*! Used for identification of the language. The identification
29 * should not be translated. It should be replaced by the name
30 * of the language in English using lower-case characters only
31 * (e.g. "czech", "japanese", "russian", etc.). It should be equal to
32 * the identification used in the language.cpp.
33 */
34
36 { return "chinese"; }
37
38 /*! Used to get the LaTeX command(s) for the language support.
39 * This method should return string with commands that switch
40 * LaTeX to the desired language. For example
41 * <pre>"\\usepackage[german]{babel}\n"
42 * </pre>
43 * or
44 * <pre>"\\usepackage{polski}\n"
45 * "\\usepackage[latin2]{inputenc}\n"
46 * "\\usepackage[T1]{fontenc}\n"
47 * </pre>
48 *
49 * The English LaTeX does not use such commands. Because of this
50 * the empty string is returned in this implementation.
51 */
53 {
54 return "\\usepackage{CJKutf8}\n";
55 }
56 DString trISOLang() override
57 {
58 return "zh";
59 }
61 {
62 return "0x804 Chinese (PRC)";
63 }
65 {
66 return "";
67 }
69 {
70 return "\\begin{CJK}{UTF8}{gbsn}\n";
71 }
73 {
74 return "\\end{CJK}\n";
75 }
76 bool needsPunctuation() override
77 {
78 return false;
79 }
80 // --- Language translation methods -------------------
81
82 /*! used in the compound documentation before a list of related functions.
83 */
85 { return "相关函数"; }
86
87 /*! subscript for the related functions. */
89 { return "(请注意: 这些不是成员函数.)"; }
90
91 /*! header that is put before the detailed description of files,
92 * classes and namespaces.
93 */
95 { return "详细描述"; }
96
97 /*! header that is used when the summary tag is missing inside the details tag */
98 DString trDetails() override
99 { return "详细信息"; }
100
101 /*! header that is put before the list of typedefs. */
103 { return "成员类型定义说明"; }
104
105 /*! header that is put before the list of enumerations. */
107 { return "成员枚举类型说明"; }
108
109 /*! header that is put before the list of member function. */
111 {
112 if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
113 {
114 return "成员函数/过程/进程说明";
115 }
116 else
117 {
118 return "成员函数说明";
119 }
120 }
121
122 /*! header that is put before the list of member attributes. */
124 {
125 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
126 {
127 return "结构体成员变量说明";
128 }
129 else
130 {
131 return "类成员变量说明";
132 }
133 }
134
135 /*! this is the text of a link put after brief descriptions. */
136 DString trMore() override
137 { return "更多..."; }
138
139 /*! put in the class documentation */
141 { return "所有成员列表"; }
142
143 /*! used as the title of the "list of all members" page of a class */
145 { return "成员列表"; }
146
147 /*! this is the first part of a sentence that is followed by a class name */
149 { return "成员的完整列表,这些成员属于"; }
150
151 /*! this is the remainder of the sentence after the class name */
153 { return ",包括所有继承而来的类成员"; }
154
155 /*! this is put at the author sections at the bottom of man pages.
156 * parameter s is name of the project name.
157 */
159 { DString result;
160 result = "由" CN_SPC "Doyxgen" CN_SPC "通过分析" CN_SPC;
161 if (!s.empty()) result += (s+CN_SPC "的" CN_SPC);
162 result+= "源代码自动生成.";
163 return result;
164 }
165
166 /*! put after an enum name in the list of all members */
168 { return "枚举名称"; }
169
170 /*! put after an enum value in the list of all members */
172 { return "枚举值"; }
173
174 /*! put after an undocumented member in the list of all members */
176 { return "定义于" CN_SPC; }
177
178 // quick reference sections
179
180 /*! This is put above each page as a link to the list of all groups of
181 * compounds or files (see the \\group command).
182 */
184 { return "模块"; }
185
186 /*! This is put above each page as a link to the class hierarchy */
188 { return "类继承关系"; }
189
190 /*! This is put above each page as a link to the list of annotated class */
192 {
193 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
194 return "结构体";
195 }
196 else {
197 return "类列表";
198 }
199 }
200
201 /*! This is put above each page as a link to the list of documented files */
203 { return "文件列表"; }
204
205 /*! This is put above each page as a link to all members of compounds. */
207 {
208 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
209 return "成员变量";
210 }
211 else {
212 return "类成员";
213 }
214 }
215
216 /*! This is put above each page as a link to all member of files. */
218 {
219 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
220 return "全局定义";
221 } else {
222 return "文件成员";
223 }
224 }
225
226 /*! This is put above each page as a link to all related pages. */
228 { return "相关页面"; }
229
230 /*! This is put above each page as a link to all examples. */
232 { return "示例"; }
233
234 /*! This is put above each page as a link to the search engine. */
235 DString trSearch() override
236 { return "搜索"; }
237
238 /*! This is an introduction to the class hierarchy. */
240 {
241 if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
242 {
243 return "这里给出了所有实体的层次化列表:";
244 }
245 else
246 {
247 return "此继承关系列表按字典顺序粗略的排序:" CN_SPC;
248 }
249 }
250
251 /*! This is an introduction to the list with all files. */
252 DString trFileListDescription(bool extractAll) override
253 {
254 DString result="这里列出了所有";
255 if (!extractAll) result+="文档化的";
256 result+="文件,并附带简要说明:";
257 return result;
258 }
259
260 /*! This is an introduction to the annotated compound list. */
262 {
263 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
264 {
265 return "这里列出了所有结构体,并附带简要说明:";
266 }
267 else if (Config_getBool(OPTIMIZE_OUTPUT_SLICE))
268 {
269 return "这里列出了所有类并附带简要说明:";
270 }
271 else
272 {
273 return "这里列出了所有类、结构、联合以及接口定义等,并附带简要说明:";
274 }
275 }
276
277 /*! This is an introduction to the page with all class members. */
278 DString trCompoundMembersDescription(bool extractAll) override
279 {
280 DString result="这里列出了所有";
281 if (!extractAll) {
282 result+="文档化的";
283 }
284 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
285 result+="结构体和联合体的成员变量";
286 }
287 else {
288 result+="类成员";
289 }
290 result+=",并附带";
291 if (extractAll) {
292 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
293 result+="结构体或联合的详细说明:";
294 }
295 else {
296 result+="类的详细说明:";
297 }
298 }
299 else {
300 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
301 result+="结构或联合所属的文件:";
302 }
303 else {
304 result+="类所属的文件:";
305 }
306 }
307 return result;
308 }
309
310 /*! This is an introduction to the page with all file members. */
311 DString trFileMembersDescription(bool extractAll) override
312 {
313 DString result="这里列出了所有";
314 if (!extractAll)
315 result +="文档化的";
316 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
317 result +="函数、变量、宏、枚举和类型定义等";
318 }
319 else {
320 result +="文件成员";
321 }
322 result+=",并附带";
323
324 if (extractAll)
325 result+="其所属的文件:";
326 else
327 result+="其详细说明:";
328 return result;
329 }
330
331 /*! This is an introduction to the page with the list of all examples */
333 { return "这里列出了所有示例:"; }
334
335 /*! This is an introduction to the page with the list of related pages */
337 { return "这里列出了所有相关页面:"; }
338
339 /*! This is an introduction to the page with the list of class/file groups */
341 { return "这里列出了所有模块:"; }
342
343 // index titles (the project name is prepended for these)
344
345 /*! This is used in HTML as the title of index.html. */
346 DString trDocumentation(const DString &projName) override
347 { return (!projName.empty()?projName + " " : "") + "文档"; }
348
349 /*! This is used in LaTeX as the title of the chapter with the
350 * index of all groups.
351 */
353 { return "模块索引"; }
354
355 /*! This is used in LaTeX as the title of the chapter with the
356 * class hierarchy.
357 */
359 { return "继承关系索引"; }
360
361 /*! This is used in LaTeX as the title of the chapter with the
362 * annotated compound index.
363 */
365 {
366 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
367 {
368 return "结构体索引";
369 }
370 else {
371 return "类索引";
372 }
373 }
374
375 /*! This is used in LaTeX as the title of the chapter with the
376 * list of all files.
377 */
379 { return "文件索引"; }
380
381 /*! This is used in LaTeX as the title of the chapter containing
382 * the documentation of all groups.
383 */
385 { return "模块说明"; }
386
387 /*! This is used in LaTeX as the title of the chapter containing
388 * the documentation of all classes, structs and unions.
389 */
391 {
392 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
393 {
394 return "结构体说明";
395 }
396 else if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
397 {
399 }
400 else {
401 return "类说明";
402 }
403 }
404
405 /*! This is used in LaTeX as the title of the chapter containing
406 * the documentation of all classes, structs and unions.
407 */
409 { return "文件说明"; }
410
411 /*! This is used in LaTeX as the title of the document */
413 { return "参考手册"; }
414
415 /*! This is used in the documentation of a file as a header before the
416 * list of defines
417 */
419 { return "宏定义"; }
420
421 /*! This is used in the documentation of a file as a header before the
422 * list of typedefs
423 */
425 { return "类型定义"; }
426
427 /*! This is used in the documentation of a file as a header before the
428 * list of enumerations
429 */
431 { return "枚举"; }
432
433 /*! This is used in the documentation of a file as a header before the
434 * list of (global) functions
435 */
437 { return "函数"; }
438
439 /*! This is used in the documentation of a file as a header before the
440 * list of (global) variables
441 */
443 { return "变量"; }
444
445 /*! This is used in the documentation of a file as a header before the
446 * list of (global) variables
447 */
449 { return "枚举值"; }
450
451 /*! This is used in the documentation of a file before the list of
452 * documentation blocks for defines
453 */
455 { return "宏定义说明"; }
456
457 /*! This is used in the documentation of a file/namespace before the list
458 * of documentation blocks for typedefs
459 */
461 { return "类型定义说明"; }
462
463 /*! This is used in the documentation of a file/namespace before the list
464 * of documentation blocks for enumeration types
465 */
467 { return "枚举类型说明"; }
468
469 /*! This is used in the documentation of a file/namespace before the list
470 * of documentation blocks for functions
471 */
473 { return "函数说明"; }
474
475 /*! This is used in the documentation of a file/namespace before the list
476 * of documentation blocks for variables
477 */
479 { return "变量说明"; }
480
481 /*! This is used in the documentation of a file/namespace/group before
482 * the list of links to documented compounds
483 */
485 {
486 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
487 {
488 return "结构体";
489 }
490 else {
491 return "类";
492 }
493 }
494
495 /*! This is used in the standard footer of each page and indicates when
496 * the page was generated
497 */
498 DString trGeneratedAt(const DString &date,const DString &projName) override
499 {
500 DString result="生成于" CN_SPC+date;
501 if (!projName.empty()) result+=CN_SPC ", 为" CN_SPC+projName;
502 result+="使用" CN_SPC;
503 return result;
504 }
505
506 /*! this text is put before a class diagram */
507 DString trClassDiagram(const DString &clName) override
508 {
509 return "类" CN_SPC+clName+CN_SPC "继承关系图:";
510 }
511
512 /*! this text is generated when the \\warning command is used. */
514 { return "警告"; }
515
516 /*! this text is generated when the \\version command is used. */
518 { return "版本"; }
519
520 /*! this text is generated when the \\date command is used. */
521 DString trDate() override
522 { return "日期"; }
523
524 /*! this text is generated when the \\return command is used. */
526 { return "返回"; }
527
528 /*! this text is generated when the \\sa command is used. */
530 { return "参见"; }
531
532 /*! this text is generated when the \\param command is used. */
534 { return "参数"; }
535
536 /*! this text is generated when the \\exception command is used. */
538 { return "异常"; }
539
540 /*! this text is used in the title page of a LaTeX document. */
542 { return "制作者"; }
543
544//////////////////////////////////////////////////////////////////////////
545// new since 0.49-990307
546//////////////////////////////////////////////////////////////////////////
547
548 /*! used as the title of page containing all the index of all namespaces. */
550 { return "命名空间列表"; }
551
552 /*! used as an introduction to the namespace list */
553 DString trNamespaceListDescription(bool extractAll) override
554 {
555 DString result="这里列出了所有";
556 if (!extractAll) result+="文档化的";
557 result+="命名空间定义,附带简要说明:";
558 return result;
559 }
560
561 /*! used in the class documentation as a header before the list of all
562 * friends of a class
563 */
565 { return "友元"; }
566
567//////////////////////////////////////////////////////////////////////////
568// new since 0.49-990405
569//////////////////////////////////////////////////////////////////////////
570
571 /*! used in the class documentation as a header before the list of all
572 * related classes
573 */
575 { return "友元及相关函数文档"; }
576
577//////////////////////////////////////////////////////////////////////////
578// new since 0.49-990425
579//////////////////////////////////////////////////////////////////////////
580
581 /*! used as the title of the HTML page of a class/struct/union */
583 ClassDef::CompoundType compType,
584 bool isTemplate) override
585 {
586 DString result=clName;
587 if (isTemplate) result+=CN_SPC "模板";
588 switch(compType)
589 {
590 case ClassDef::Class: result+="类"; break;
591 case ClassDef::Struct: result+="结构体"; break;
592 case ClassDef::Union: result+="联合体"; break;
593 case ClassDef::Interface: result+="接口"; break;
594 case ClassDef::Protocol: result+="协议"; break;
595 case ClassDef::Category: result+="分类"; break;
596 case ClassDef::Exception: result+="异常"; break;
597 default: break;
598 }
599 result+=CN_SPC "参考";
600 return result;
601 }
602
603 /*! used as the title of the HTML page of a file */
604 DString trFileReference(const DString &fileName) override
605 {
606 DString result=fileName;
607 result+=CN_SPC "文件参考";
608 return result;
609 }
610
611 /*! used as the title of the HTML page of a namespace */
612 DString trNamespaceReference(const DString &namespaceName) override
613 { DString result=namespaceName;
614 result+=CN_SPC "命名空间参考";
615 return result;
616 }
617
618 // these are for the member sections of a class, struct or union
620 { return "Public 成员函数"; }
621
623 { return "Public 槽"; }
624
626 { return "信号"; }
627
629 { return "静态 Public 成员函数"; }
630
632 { return "Protected 成员函数"; }
633
635 { return "Protected 槽"; }
636
638 { return "静态 Protected 成员函数"; }
639
641 { return "Private 成员函数"; }
642
644 { return "Private 槽"; }
645
647 { return "静态 Private 成员函数"; }
648
649 // end of member sections
650
651 /*! this function is used to produce a comma-separated list of items.
652 * use generateMarker(i) to indicate where item i should be put.
653 */
654 DString trWriteList(int numEntries) override
655 {
656 DString result;
657 // the inherits list contain `numEntries' classes
658 for (int i=0;i<numEntries;i++)
659 {
660 // use generateMarker to generate placeholders for the class links!
661 result+=generateMarker(i); // generate marker for entry i in the list
662 // (order is left to right)
663
664 if (i!=numEntries-1) // not the last entry, so we need a separator
665 {
666 if (i<numEntries-2) // not the fore last entry
667 result+="," CN_SPC;
668 else // the fore last entry
669 result+=CN_SPC ", 以及" CN_SPC;
670 }
671 }
672 return result;
673 }
674
675 /*! used in class documentation to produce a list of base classes,
676 * if class diagrams are disabled.
677 */
678 DString trInheritsList(int numEntries) override
679 { return "继承自" CN_SPC+trWriteList(numEntries)+CN_SPC "."; }
680
681 /*! used in class documentation to produce a list of super classes,
682 * if class diagrams are disabled.
683 */
684 DString trInheritedByList(int numEntries) override
685 {
686 return "被" CN_SPC+trWriteList(numEntries)+CN_SPC "继承.";
687 }
688
689 /*! used in member documentation blocks to produce a list of
690 * members that are hidden by this one.
691 */
692 DString trReimplementedFromList(int numEntries) override
693 {
694 return "重载" CN_SPC+trWriteList(numEntries)+CN_SPC ".";
695 }
696
697 /*! used in member documentation blocks to produce a list of
698 * all member that overwrite the implementation of this member.
699 */
700 DString trReimplementedInList(int numEntries) override
701 {
702 return "被" CN_SPC+trWriteList(numEntries)+CN_SPC "重载.";
703 }
704
705 /*! This is put above each page as a link to all members of namespaces. */
707 { return "命名空间成员"; }
708
709 /*! This is an introduction to the page with all namespace members */
710 DString trNamespaceMemberDescription(bool extractAll) override
711 {
712 DString result="这里列出了所有";
713 if (!extractAll) result+="文档化的";
714 result+="命名空间成员,并附带";
715 if (extractAll)
716 result+="其对应命名空间的说明文档:";
717 else
718 result+="其所属的命名空间:";
719 return result;
720 }
721
722 /*! This is used in LaTeX as the title of the chapter with the
723 * index of all namespaces.
724 */
726 { return "命名空间索引"; }
727
728 /*! This is used in LaTeX as the title of the chapter containing
729 * the documentation of all namespaces.
730 */
732 { return "命名空间文档"; }
733
734//////////////////////////////////////////////////////////////////////////
735// new since 0.49-990522
736//////////////////////////////////////////////////////////////////////////
737
738 /*! This is used in the documentation before the list of all
739 * namespaces in a file.
740 */
742 {
743 return "命名空间";
744 }
745
746//////////////////////////////////////////////////////////////////////////
747// new since 0.49-990728
748//////////////////////////////////////////////////////////////////////////
749
750 /*! This is put at the bottom of a class documentation page and is
751 * followed by a list of files that were used to generate the page.
752 */
754 bool) override
755 { // single is true implies a single file
756 bool vhdlOpt = Config_getBool(OPTIMIZE_OUTPUT_VHDL);
757 DString result="该";
758 switch(compType)
759 {
760 case ClassDef::Class: result+=vhdlOpt?"设计单元":"类"; break;
761 case ClassDef::Struct: result+="结构体"; break;
762 case ClassDef::Union: result+="联合体"; break;
763 case ClassDef::Interface: result+="接口"; break;
764 case ClassDef::Protocol: result+="协议"; break;
765 case ClassDef::Category: result+="分类"; break;
766 case ClassDef::Exception: result+="异常"; break;
767 default: break;
768 }
769 result+="的文档由以下文件生成:";
770 return result;
771 }
772
773//////////////////////////////////////////////////////////////////////////
774// new since 0.49-990901
775//////////////////////////////////////////////////////////////////////////
776
777 /*! This is used as the heading text for the retval command. */
779 { return "返回值"; }
780
781 /*! This is in the (quick) index as a link to the main page (index.html)
782 */
784 { return "首页"; }
785
786 /*! This is used in references to page that are put in the LaTeX
787 * documentation. It should be an abbreviation of the word page.
788 */
790 { return "p."; }
791
792//////////////////////////////////////////////////////////////////////////
793// new since 0.49-991106
794//////////////////////////////////////////////////////////////////////////
795
797 {
798 return "在文件" CN_SPC "@1" CN_SPC "第" CN_SPC "@0" CN_SPC "行定义.";
799 }
800
802 {
803 return "在文件" CN_SPC "@0" CN_SPC "中定义.";
804 }
805
806//////////////////////////////////////////////////////////////////////////
807// new since 0.49-991205
808//////////////////////////////////////////////////////////////////////////
809
811 {
812 return "弃用";
813 }
814
815//////////////////////////////////////////////////////////////////////////
816// new since 1.0.0
817//////////////////////////////////////////////////////////////////////////
818
819 /*! this text is put before a collaboration diagram */
820 DString trCollaborationDiagram(const DString &clName) override
821 {
822 return clName+CN_SPC "的协作图:";
823 }
824
825 /*! this text is put before an include dependency graph */
826 DString trInclDepGraph(const DString &fName) override
827 {
828 return fName+CN_SPC "的引用(Include)关系图:";
829 }
830
831 /*! header that is put before the list of constructor/destructors. */
833 {
834 return "构造及析构函数说明";
835 }
836
837 /*! Used in the file documentation to point to the corresponding sources. */
839 {
840 return "浏览该文件的源代码.";
841 }
842
843 /*! Used in the file sources to point to the corresponding documentation. */
845 {
846 return "浏览该文件的文档.";
847 }
848
849 /*! Text for the \\pre command */
851 {
852 return "前置条件";
853 }
854
855 /*! Text for the \\post command */
857 {
858 return "后置条件";
859 }
860
861 /*! Text for the \\invariant command */
863 {
864 return "不变性";
865 }
866
867 /*! Text shown before a multi-line variable/enum initialization */
869 {
870 return "初始值:";
871 }
872
873 /*! Text used the source code in the file index */
874 DString trCode() override
875 {
876 return "代码";
877 }
878
880 {
881 return "类继承关系图";
882 }
883
885 {
886 return "浏览类继承关系图";
887 }
888
890 {
891 return "浏览类继承关系表";
892 }
893
895 {
896 return "页面索引";
897 }
898
899//////////////////////////////////////////////////////////////////////////
900// new since 1.1.0
901//////////////////////////////////////////////////////////////////////////
902
903 DString trNote() override
904 {
905 return "注解";
906 }
907
909 {
910 return "Public 类型";
911 }
912
914 {
915 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
916 {
917 return "成员变量";
918 }
919 else
920 {
921 return "Public 属性";
922 }
923 }
924
926 {
927 return "静态 Public 属性";
928 }
929
931 {
932 return "Protected 类型";
933 }
934
936 {
937 return "Protected 属性";
938 }
939
941 {
942 return "静态 Protected 属性";
943 }
944
946 {
947 return "Private 类型";
948 }
949
951 {
952 return "Private 属性";
953 }
954
956 {
957 return "静态 Private 属性";
958 }
959
960
961//////////////////////////////////////////////////////////////////////////
962// new since 1.1.3
963//////////////////////////////////////////////////////////////////////////
964
965 /*! Used as a marker that is put before a todo item */
966 DString trTodo() override
967 {
968 return "待办事项";
969 }
970
971 /*! Used as the header of the todo list */
973 {
974 return "待办事项列表";
975 }
976
977//////////////////////////////////////////////////////////////////////////
978// new since 1.1.4
979//////////////////////////////////////////////////////////////////////////
980
982 {
983 return "被这些函数引用";
984 }
985
987 {
988 return "备注";
989 }
990
992 {
993 return "注意";
994 }
995
997 {
998 return "此图展示该文件被哪些文件直接或间接地引用了:";
999 }
1000
1001 DString trSince() override
1002 {
1003 return "自从";
1004 }
1005
1006//////////////////////////////////////////////////////////////////////////
1007// new since 1.1.5
1008//////////////////////////////////////////////////////////////////////////
1009
1010 /*! title of the graph legend page */
1012 {
1013 return "图例";
1014 }
1015
1016 /*! page explaining how the dot graph's should be interpreted
1017 * The %A in the text below are to prevent link to classes called "A".
1018 */
1020 {
1021 return
1022 "本页将向您解释如何理解由" CN_SPC "doxygen" CN_SPC "生成的图.<p>\n"
1023 "考虑如下例子:\n"
1024 "\\code\n"
1025 "/*! 由于截断而使" CN_SPC "Invisible" CN_SPC "不可见 */\n"
1026 "class Invisible { };\n\n"
1027 "/*! Truncated" CN_SPC "的继承关系将被隐藏 */\n"
1028 "class Truncated : public Invisible { };\n\n"
1029 "/* 没有被" CN_SPC "doxygen" CN_SPC "文档化的类 */\n"
1030 "class Undocumented { };\n\n"
1031 "/*! public" CN_SPC "继承关系的基类 */\n"
1032 "class PublicBase : public Truncated { };\n\n"
1033 "/*! 一个模板类 */\n"
1034 "template<class T> class Templ { };\n\n"
1035 "/*! protected" CN_SPC "继承关系的基类 */\n"
1036 "class ProtectedBase { };\n\n"
1037 "/*! private" CN_SPC "继承关系的基类 */\n"
1038 "class PrivateBase { };\n\n"
1039 "/*! 被" CN_SPC "Inherited" CN_SPC "使用的类 */\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 "结果将会生成以下图:"
1053 "<p><center><img alt=\"\" src=\"graph_legend."+getDotImageExtension()+"\"></center></p>\n"
1054 "<p>\n"
1055 "上图中的矩形含义为:\n"
1056 "</p>\n"
1057 "<ul>\n"
1058 "<li>%灰色填充的矩形 表示生成上图的结构体或类.</li>\n"
1059 "<li>%黑色边框的矩形 表示已经被文档化的结构体或类.</li>\n"
1060 "<li>%灰色边框的矩形 表示未被文档化的结构体或类.</li>\n"
1061 "<li>%红色边框的矩形 表示该结构体或类的关系没有被完全显示."
1062 "%如果生成的图超出了指定的尺寸范围,有一些关系就会被截断而无法显示.</li>\n"
1063 "</ul>\n"
1064 "<p>\n"
1065 "箭头的含义为:\n"
1066 "</p>\n"
1067 "<ul>\n"
1068 "<li>%蓝色的箭头 表示" CN_SPC "public" CN_SPC "继承关系.</li>\n"
1069 "<li>%深绿色的箭头 表示" CN_SPC "protected" CN_SPC "继承关系.</li>\n"
1070 "<li>%深红色的箭头 表示" CN_SPC "private" CN_SPC "继承关系.</li>\n"
1071 "<li>%紫色虚线箭头 表示两个类之间的聚合关系. 可以通过箭头旁标明的变量访问箭头指向的类或结构体实例.</li>\n"
1072 "<li>%黄色虚线箭头 表示模板类实例和模板类之间的关系. 箭头旁边标明了模板类实例化时所用的模板参数.</li>\n"
1073 "</ul>\n";
1074 }
1075
1076 /*! text for the link to the legend page */
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 DString trTest() override
1088 {
1089 return "测试";
1090 }
1091
1092 /*! Used as the header of the test list */
1094 {
1095 return "测试列表";
1096 }
1097
1098//////////////////////////////////////////////////////////////////////////
1099//// new since 1.2.2
1100////////////////////////////////////////////////////////////////////////////
1101
1102 /*! Used as a section header for IDL properties */
1104 {
1105 return "属性";
1106 }
1107
1108 /*! Used as a section header for IDL property documentation */
1110 {
1111 return "属性说明";
1112 }
1113
1114//////////////////////////////////////////////////////////////////////////
1115// new since 1.2.4
1116//////////////////////////////////////////////////////////////////////////
1117
1118 /*! Used for Java classes in the summary section of Java packages */
1120 {
1121 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
1122 {
1123 return "结构体";
1124 }
1125 else
1126 {
1127 return "类";
1128 }
1129 }
1130
1131 /*! Used as the title of a Java package */
1132 DString trPackage(const DString &name) override
1133 {
1134 return "包" CN_SPC+name;
1135 }
1136
1137
1138 /*! The description of the package index page */
1140 {
1141 return "这里列出所有的包,附带简要说明(如果有的话):";
1142 }
1143
1144 /*! The link name in the Quick links header for each page */
1146 {
1147 return "包";
1148 }
1149
1150 /*! Text shown before a multi-line define */
1152 {
1153 return "值:";
1154 }
1155
1156////////////////////////////////////////////////////////////////////////////
1157//// new since 1.2.6
1158////////////////////////////////////////////////////////////////////////////
1159 /*! Used as a marker that is put before a \\bug item */
1160 DString trBug () override
1161 {
1162 return "Bug";
1163 }
1164 /*! Used as the header of the bug list */
1165 DString trBugList () override
1166 {
1167 return "Bug" CN_SPC "列表";
1168 }
1169
1170//////////////////////////////////////////////////////////////////////////
1171// new since 1.2.6
1172//////////////////////////////////////////////////////////////////////////
1173
1174 /*! Used as ansicpg for RTF file
1175 *
1176 * The following table shows the correlation of Charset name, Charset Value and
1177 * <pre>
1178 * Codepage number:
1179 * Charset Name Charset Value(hex) Codepage number
1180 * ------------------------------------------------------
1181 * DEFAULT_CHARSET 1 (x01)
1182 * SYMBOL_CHARSET 2 (x02)
1183 * OEM_CHARSET 255 (xFF)
1184 * ANSI_CHARSET 0 (x00) 1252
1185 * RUSSIAN_CHARSET 204 (xCC) 1251
1186 * EE_CHARSET 238 (xEE) 1250
1187 * GREEK_CHARSET 161 (xA1) 1253
1188 * TURKISH_CHARSET 162 (xA2) 1254
1189 * BALTIC_CHARSET 186 (xBA) 1257
1190 * HEBREW_CHARSET 177 (xB1) 1255
1191 * ARABIC _CHARSET 178 (xB2) 1256
1192 * SHIFTJIS_CHARSET 128 (x80) 932
1193 * HANGEUL_CHARSET 129 (x81) 949
1194 * GB2313_CHARSET 134 (x86) 936
1195 * CHINESEBIG5_CHARSET 136 (x88) 950
1196 * </pre>
1197 *
1198 */
1200 {
1201 return "936";
1202 }
1203
1204 /*! Used as ansicpg for RTF fcharset
1205 * \see trRTFansicp() for a table of possible values.
1206 */
1208 {
1209 return "134";
1210 }
1211
1212
1213 /*! Used as header RTF general index */
1215 {
1216 return "索引";
1217 }
1218
1219 // Following translations (from trClass to trAuthor) are used for languages
1220 // having plural / singular form for nouns, but Chinese does not distinguish
1221 // plural form from singular form, so the returned value is constant.
1222
1223 /*! This is used for translation of the word that will possibly
1224 * be followed by a single name or by a list of names
1225 * of the category.
1226 */
1227 DString trClass(bool /*first_capital*/, bool /*singular*/) override
1228 {
1229 return "类";
1230 }
1231
1232 /*! This is used for translation of the word that will possibly
1233 * be followed by a single name or by a list of names
1234 * of the category.
1235 */
1236 DString trFile(bool /*first_capital*/, bool /*singular*/) override
1237 {
1238 return "文件";
1239
1240 }
1241
1242 /*! This is used for translation of the word that will possibly
1243 * be followed by a single name or by a list of names
1244 * of the category.
1245 */
1246 DString trNamespace(bool /*first_capital*/, bool /*singular*/) override
1247 {
1248 return "命名空间";
1249 }
1250
1251 /*! This is used for translation of the word that will possibly
1252 * be followed by a single name or by a list of names
1253 * of the category.
1254 */
1255 DString trGroup(bool /*first_capital*/, bool /*singular*/) override
1256 {
1257 return "组";
1258 }
1259
1260 /*! This is used for translation of the word that will possibly
1261 * be followed by a single name or by a list of names
1262 * of the category.
1263 */
1264 DString trPage(bool /*first_capital*/, bool /*singular*/) override
1265 {
1266 return "页";
1267 }
1268
1269 /*! This is used for translation of the word that will possibly
1270 * be followed by a single name or by a list of names
1271 * of the category.
1272 */
1273 DString trMember(bool /*first_capital*/, bool /*singular*/) override
1274 {
1275 return "成员";
1276 }
1277
1278 /*! This is used for translation of the word that will possibly
1279 * be followed by a single name or by a list of names
1280 * of the category.
1281 */
1282 DString trGlobal(bool /*first_capital*/, bool /*singular*/) override
1283 {
1284 return "全局";
1285 }
1286
1287//////////////////////////////////////////////////////////////////////////
1288// new since 1.2.7
1289//////////////////////////////////////////////////////////////////////////
1290
1291 /*! This text is generated when the \\author command is used and
1292 * for the author section in man pages. */
1293 DString trAuthor(bool /*first_capital*/, bool /*singular*/) override
1294 {
1295 return "作者";
1296 }
1297
1298//////////////////////////////////////////////////////////////////////////
1299// new since 1.2.11
1300//////////////////////////////////////////////////////////////////////////
1301
1302 /*! This text is put before the list of members referenced by a member
1303 */
1305 {
1306 return "引用了";
1307 }
1308
1309//////////////////////////////////////////////////////////////////////////
1310// new since 1.2.13
1311//////////////////////////////////////////////////////////////////////////
1312
1313 /*! used in member documentation blocks to produce a list of
1314 * members that are implemented by this one.
1315 */
1316 DString trImplementedFromList(int numEntries) override
1317 {
1318 return "实现了" CN_SPC+trWriteList(numEntries)+".";
1319 }
1320
1321 /*! used in member documentation blocks to produce a list of
1322 * all members that implement this abstract member.
1323 */
1324 DString trImplementedInList(int numEntries) override
1325 {
1326 return "在" CN_SPC+trWriteList(numEntries)+CN_SPC "内被实现.";
1327 }
1328
1329//////////////////////////////////////////////////////////////////////////
1330// new since 1.2.16
1331//////////////////////////////////////////////////////////////////////////
1332
1333 /*! used in RTF documentation as a heading for the Table
1334 * of Contents.
1335 */
1337 {
1338 return "目录";
1339 }
1340
1341//////////////////////////////////////////////////////////////////////////
1342// new since 1.2.17
1343//////////////////////////////////////////////////////////////////////////
1344
1345 /*! Used as the header of the list of item that have been
1346 * flagged deprecated
1347 */
1349 {
1350 return "弃用列表";
1351 }
1352
1353//////////////////////////////////////////////////////////////////////////
1354// new since 1.2.18
1355//////////////////////////////////////////////////////////////////////////
1356
1357 /*! Used as a header for declaration section of the events found in
1358 * a C# program
1359 */
1361 {
1362 return "事件";
1363 }
1364
1365 /*! Header used for the documentation section of a class' events. */
1367 {
1368 return "事件说明";
1369 }
1370
1371//////////////////////////////////////////////////////////////////////////
1372// new since 1.3
1373//////////////////////////////////////////////////////////////////////////
1374
1375 /*! Used as a heading for a list of Java class types with package scope.
1376 */
1378 {
1379 return "包类型";
1380 }
1381
1382 /*! Used as a heading for a list of Java class functions with package
1383 * scope.
1384 */
1386 {
1387 return "包函数";
1388 }
1390 {
1391 return "包成员";
1392 }
1393
1394 /*! Used as a heading for a list of static Java class functions with
1395 * package scope.
1396 */
1398 {
1399 return "静态包函数";
1400 }
1401
1402 /*! Used as a heading for a list of Java class variables with package
1403 * scope.
1404 */
1406 {
1407 return "包属性";
1408 }
1409
1410 /*! Used as a heading for a list of static Java class variables with
1411 * package scope.
1412 */
1414 {
1415 return "静态包属性";
1416 }
1417
1418//////////////////////////////////////////////////////////////////////////
1419// new since 1.3.1
1420//////////////////////////////////////////////////////////////////////////
1421
1422 /*! Used in the quick index of a class/file/namespace member list page
1423 * to link to the unfiltered list of all members.
1424 */
1425 DString trAll() override
1426 {
1427 return "全部";
1428 }
1429
1430 /*! Put in front of the call graph for a function. */
1432 {
1433 return "函数调用图:";
1434 }
1435
1436//////////////////////////////////////////////////////////////////////////
1437// new since 1.3.3
1438//////////////////////////////////////////////////////////////////////////
1439
1440 /*! This string is used as the title for the page listing the search
1441 * results.
1442 */
1444 {
1445 return "搜索结果";
1446 }
1447
1448 /*! This string is put just before listing the search results. The
1449 * text can be different depending on the number of documents found.
1450 * Inside the text you can put the special marker $num to insert
1451 * the number representing the actual number of search results.
1452 * The @a numDocuments parameter can be either 0, 1 or 2, where the
1453 * value 2 represents 2 or more matches. HTML markup is allowed inside
1454 * the returned string.
1455 */
1456 DString trSearchResults(int numDocuments) override
1457 {
1458 if (numDocuments==0)
1459 {
1460 return "抱歉,未找到与您查询相符的文档.";
1461 }
1462 else if (numDocuments==1)
1463 {
1464 return "找到<b>1</b>篇与您查询相符的文档.";
1465 }
1466 else
1467 {
1468 return "找到<b>$num</b>篇与您查询相符的文档."
1469 "优先显示最符合的文档.";
1470 }
1471 }
1472 /*! This string is put before the list of matched words, for each search
1473 * result. What follows is the list of words that matched the query.
1474 */
1476 {
1477 return "符合的结果:";
1478 }
1479
1480//////////////////////////////////////////////////////////////////////////
1481// new since 1.3.8
1482//////////////////////////////////////////////////////////////////////////
1483
1484 /*! This is used in HTML as the title of page with source code for file filename
1485 */
1486 DString trSourceFile(const DString& filename) override
1487 {
1488 return filename + CN_SPC "源文件";
1489 }
1490//////////////////////////////////////////////////////////////////////////
1491// new since 1.3.9
1492//////////////////////////////////////////////////////////////////////////
1493
1494 /*! This is used as the name of the chapter containing the directory
1495 * hierarchy.
1496 */
1498 {
1499 return "目录结构";
1500 }
1501
1502 /*! This is used as the name of the chapter containing the documentation
1503 * of the directories.
1504 */
1506 {
1507 return "目录说明";
1508 }
1509
1510 /*! This is used as the title of the directory index and also in the
1511 * Quick links of an HTML page, to link to the directory hierarchy.
1512 */
1514 { return "目录"; }
1515
1516 /*! This returns the title of a directory page. The name of the
1517 * directory is passed via \a dirName.
1518 */
1519 DString trDirReference(const DString &dirName) override
1520 {
1521 DString result=dirName;
1522 result+=CN_SPC "目录参考";
1523 return result;
1524 }
1525
1526 /*! This returns the word directory with or without starting capital
1527 * (\a first_capital) and in singular or plural form (\a singular).
1528 */
1529 DString trDir(bool /*first_capital*/, bool /*singular*/) override
1530 {
1531 return "目录";
1532 }
1533
1534//////////////////////////////////////////////////////////////////////////
1535// new since 1.4.1
1536//////////////////////////////////////////////////////////////////////////
1537
1538 /*! This text is added to the documentation when the \\overload command
1539 * is used for a overloaded function.
1540 */
1542 {
1543 return "这是为便于使用而提供的一个重载成员函数."
1544 "与上面的函数相比,它接受不同类型的参数.";
1545 }
1546
1547//////////////////////////////////////////////////////////////////////////
1548// new since 1.4.6
1549//////////////////////////////////////////////////////////////////////////
1550
1551 /*! This is used to introduce a caller (or called-by) graph */
1553 {
1554 return "这是这个函数的调用关系图:";
1555 }
1556
1557 /*! This is used in the documentation of a file/namespace before the list
1558 * of documentation blocks for enumeration values
1559 */
1561 {
1562 return "枚举变量说明";
1563 }
1564
1565//////////////////////////////////////////////////////////////////////////
1566// new since 1.5.4 (mainly for Fortran)
1567//////////////////////////////////////////////////////////////////////////
1568
1569 /*! header that is put before the list of member subprograms (Fortran). */
1571 { return "成员函数/子程序说明"; }
1572
1573 /*! This is put above each page as a link to the list of annotated data types (Fortran). */
1575 { return "数据类型列表"; }
1576
1577 /*! This is put above each page as a link to all members of compounds (Fortran). */
1579 { return "数据项"; }
1580
1581 /*! This is an introduction to the annotated compound list (Fortran). */
1583 { return "带简要描述的数据类型列表:"; }
1584
1585 /*! This is an introduction to the page with all data types (Fortran). */
1587 {
1588 DString result="这里列出了所有";
1589 if (!extractAll)
1590 {
1591 result+="文档化的";
1592 }
1593 result+="数据类型成员,并附带";
1594 if (!extractAll)
1595 {
1596 result+="其数据结构说明文档:";
1597 }
1598 else
1599 {
1600 result+="其所属的数据类型:";
1601 }
1602 return result;
1603 }
1604
1605 /*! This is used in LaTeX as the title of the chapter with the
1606 * annotated compound index (Fortran).
1607 */
1609 { return "数据类型索引"; }
1610
1611
1612 /*! This is used in LaTeX as the title of the chapter containing
1613 * the documentation of all data types (Fortran).
1614 */
1616 { return "数据类型文档"; }
1617
1618 /*! This is used in the documentation of a file as a header before the
1619 * list of (global) subprograms (Fortran).
1620 */
1622 { return "函数/子程序"; }
1623
1624 /*! This is used in the documentation of a file/namespace before the list
1625 * of documentation blocks for subprograms (Fortran)
1626 */
1628 { return "函数/子程序说明"; }
1629
1630
1631 /*! This is used in the documentation of a file/namespace/group before
1632 * the list of links to documented compounds (Fortran)
1633 */
1635 { return "数据类型"; }
1636
1637 /*! used as the title of page containing all the index of all modules (Fortran). */
1639 { return "模块列表"; }
1640
1641 /*! used as an introduction to the modules list (Fortran) */
1642 DString trModulesListDescription(bool extractAll) override
1643 {
1644 DString result="这里列出了所有";
1645 if (!extractAll) result+="文档化的";
1646 result+="模块,并附带简要说明:";
1647 return result;
1648 }
1649
1650 /*! used as the title of the HTML page of a module/type (Fortran) */
1652 ClassDef::CompoundType compType,
1653 bool isTemplate) override
1654 {
1655 DString result=clName;
1656 switch(compType)
1657 {
1658 case ClassDef::Class: result+=CN_SPC "模块"; break;
1659 case ClassDef::Struct: result+=CN_SPC "类型"; break;
1660 case ClassDef::Union: result+=CN_SPC "联合体"; break;
1661 case ClassDef::Interface: result+=CN_SPC "接口"; break;
1662 case ClassDef::Protocol: result+=CN_SPC "协议"; break;
1663 case ClassDef::Category: result+=CN_SPC "目录"; break;
1664 case ClassDef::Exception: result+=CN_SPC "异常"; break;
1665 default: break;
1666 }
1667 if (isTemplate) result+="模板" CN_SPC;
1668 result+="参考手册";
1669 return result;
1670 }
1671
1672 /*! used as the title of the HTML page of a module (Fortran) */
1673 DString trModuleReference(const DString &namespaceName) override
1674 {
1675 DString result=namespaceName;
1676 result += CN_SPC "模块参考手册";
1677 return result;
1678 }
1679
1680 /*! This is put above each page as a link to all members of modules. (Fortran) */
1682 { return "模块成员"; }
1683
1684 /*! This is an introduction to the page with all modules members (Fortran) */
1685 DString trModulesMemberDescription(bool extractAll) override
1686 {
1687 if(!extractAll) {
1688 return "这里是所有文档化的模块成员列表,含有到每个成员所在模块的文档的链接:";
1689 } else {
1690 return "这里是模块成员列表,含有到成员所属的模块的链接:";
1691 }
1692 }
1693
1694 /*! This is used in LaTeX as the title of the chapter with the
1695 * index of all modules (Fortran).
1696 */
1698 { return "模块索引"; }
1699
1700 /*! This is used for translation of the word that will possibly
1701 * be followed by a single name or by a list of names
1702 * of the category.
1703 */
1704 DString trModule(bool /*first_capital*/, bool /*singular*/) override
1705 {
1706 return "模块";
1707 }
1708 /*! This is put at the bottom of a module documentation page and is
1709 * followed by a list of files that were used to generate the page.
1710 */
1712 bool) override
1713 {
1714 DString result="该";
1715 switch(compType)
1716 {
1717 case ClassDef::Class: result+=CN_SPC "模块"; break;
1718 case ClassDef::Struct: result+=CN_SPC "结构体"; break;
1719 case ClassDef::Union: result+=CN_SPC "联合体"; break;
1720 case ClassDef::Interface: result+=CN_SPC "接口"; break;
1721 case ClassDef::Protocol: result+=CN_SPC "协议"; break;
1722 case ClassDef::Category: result+=CN_SPC "目录"; break;
1723 case ClassDef::Exception: result+=CN_SPC "异常"; break;
1724 default: break;
1725 }
1726 result+=CN_SPC "的文档由以下文件生成:";
1727 return result;
1728 }
1729
1730 /*! This is used for translation of the word that will possibly
1731 * be followed by a single name or by a list of names
1732 * of the category.
1733 */
1734 DString trType(bool /*first_capital*/, bool /*singular*/) override
1735 {
1736 return "类型";
1737 }
1738
1739 /*! This is used for translation of the word that will possibly
1740 * be followed by a single name or by a list of names
1741 * of the category.
1742 */
1743 DString trSubprogram(bool /*first_capital*/, bool /*singular*/) override
1744 {
1745 return "子程序";
1746 }
1747
1748 /*! C# Type Constraint list */
1750 {
1751 return "类型限制";
1752 }
1753
1754//////////////////////////////////////////////////////////////////////////
1755// new since 1.6.0
1756//////////////////////////////////////////////////////////////////////////
1757
1758 /*! directory relation for \a name */
1759 DString trDirRelation(const DString &name) override
1760 {
1761 // return name+" Relation";
1762 // unsure
1763 return name+CN_SPC "关系";
1764 }
1765
1766 /*! Loading message shown when loading search results */
1768 {
1769 return "载入中...";
1770 }
1771
1772 /*! Label used for search results in the global namespace */
1774 {
1775 return "全局命名空间";
1776 }
1777
1778 /*! Message shown while searching */
1780 {
1781 return "搜索中...";
1782 }
1783
1784 /*! Text shown when no search results are found */
1786 {
1787 return "未找到";
1788 }
1789
1790//////////////////////////////////////////////////////////////////////////
1791// new since 1.6.3
1792//////////////////////////////////////////////////////////////////////////
1793
1794 /*! when clicking a directory dependency label, a page with a
1795 * table is shown. The heading for the first column mentions the
1796 * source file that has a relation to another file.
1797 */
1798 DString trFileIn(const DString &name) override
1799 {
1800 return DString("文件在")+CN_SPC+name;
1801 }
1802
1803 /*! when clicking a directory dependency label, a page with a
1804 * table is shown. The heading for the second column mentions the
1805 * destination file that is included.
1806 */
1807 DString trIncludesFileIn(const DString &name) override
1808 {
1809 return "在" CN_SPC+name+CN_SPC "中引用";
1810 }
1811
1812 /** Compiles a date string.
1813 * @param year Year in 4 digits
1814 * @param month Month of the year: 1=January
1815 * @param day Day of the Month: 1..31
1816 * @param dayOfWeek Day of the week: 1=Monday..7=Sunday
1817 * @param hour Hour of the day: 0..23
1818 * @param minutes Minutes in the hour: 0..59
1819 * @param seconds Seconds within the minute: 0..59
1820 * @param includeTime Include time in the result string?
1821 */
1822 DString trDateTime(int year,int month,int day,int dayOfWeek,
1823 int hour,int minutes,int seconds,
1824 DateTimeType includeTime) override
1825 {
1826 static const char *days[] = { "一","二","三","四","五","六","日" };
1827 static const char *months[] = { "一","二","三","四","五","六","七","八","九","十","十一","十二" };
1828
1829 DString sdate;
1830
1831 if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Date)
1832 {
1833 sdate.sprintf("%d年" CN_SPC "%s月" CN_SPC "%d日" CN_SPC "星期%s",year, months[month-1], day, days[dayOfWeek-1]);
1834 }
1835 if (includeTime == DateTimeType::DateTime) sdate += " ";
1836 if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Time)
1837 {
1838 DString stime;
1839 stime.sprintf("%.2d:%.2d:%.2d",hour,minutes,seconds);
1840 sdate+=stime;
1841 }
1842 return sdate;
1843 }
1844 DString trDayOfWeek(int dayOfWeek, bool, bool full) override
1845 {
1846 static const char *days_short[] = { "周一", "周二", "周三", "周四", "周五", "周六", "周日" };
1847 static const char *days_full[] = { "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日" };
1848 return full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
1849 }
1850 DString trMonth(int month, bool, bool full) override
1851 {
1852 static const char *months_short[] = { "1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月" };
1853 static const char *months_full[] = { "一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月" };
1854 return full? months_full[month-1] : months_short[month-1];
1855 }
1856 DString trDayPeriod(bool period) override
1857 {
1858 static const char *dayPeriod[] = { "上午", "下午" };
1859 return dayPeriod[period?1:0];
1860 }
1861
1862//////////////////////////////////////////////////////////////////////////
1863// new since 1.7.5
1864//////////////////////////////////////////////////////////////////////////
1865
1866 /*! Header for the page with bibliographic citations */
1868 { return "参考文献"; }
1869
1870 /*! Text for copyright paragraph */
1872 { return "版权所有"; }
1873
1874 /*! Header for the graph showing the directory dependencies */
1875 DString trDirDepGraph(const DString &name) override
1876 {
1877 return name+CN_SPC "的目录依赖关系图";
1878 }
1879
1880//////////////////////////////////////////////////////////////////////////
1881// new since 1.8.0
1882//////////////////////////////////////////////////////////////////////////
1883
1884 /*! Detail level selector shown for hierarchical indices */
1886 { return "详情级别"; }
1887
1888 /*! Section header for list of template parameters */
1890 { return "模板参数"; }
1891
1892 /*! Used in dot graph when UML_LOOK is enabled and there are many fields */
1893 DString trAndMore(const DString &number) override
1894 { return "和" CN_SPC+number+CN_SPC "更多..."; }
1895
1896 /*! Used file list for a Java enum */
1897 DString trEnumGeneratedFromFiles(bool /*single*/) override
1898 { return "枚举说明文档从下列文件生成:"; }
1899
1900 /*! Header of a Java enum page (Java enums are represented as classes). */
1901 DString trEnumReference(const DString &name) override
1902 { return name+CN_SPC "枚举类型参考"; }
1903
1904 /*! Used for a section containing inherited members */
1905 DString trInheritedFrom(const DString &members,const DString &what) override
1906 { return members+CN_SPC "继承自" CN_SPC+what; }
1907
1908 /*! Header of the sections with inherited members specific for the
1909 * base class(es)
1910 */
1912 { return "额外继承的成员函数"; }
1913
1914//////////////////////////////////////////////////////////////////////////
1915
1916//////////////////////////////////////////////////////////////////////////
1917// new since 1.8.2
1918//////////////////////////////////////////////////////////////////////////
1919
1920 /*! Used as a tooltip for the toggle button that appears in the
1921 * navigation tree in the HTML output when GENERATE_TREEVIEW is
1922 * enabled. This tooltip explains the meaning of the button.
1923 */
1925 {
1926 DString opt = enable ? "开启" : "关闭";
1927 return "点击" CN_SPC+opt+CN_SPC "面板同步";
1928 }
1929
1930 /*! Used in a method of an Objective-C class that is declared in a
1931 * a category. Note that the @1 marker is required and is replaced
1932 * by a link.
1933 */
1935 {
1936 return "由 category @0 提供.";
1937 }
1938
1939 /*! Used in a method of an Objective-C category that extends a class.
1940 * Note that the @1 marker is required and is replaced by a link to
1941 * the class method.
1942 */
1944 {
1945 return "扩展类 @0.";
1946 }
1947
1948 /*! Used as the header of a list of class methods in Objective-C.
1949 * These are similar to static public member functions in C++.
1950 */
1952 {
1953 return "类方法";
1954 }
1955
1956 /*! Used as the header of a list of instance methods in Objective-C.
1957 * These are similar to public member functions in C++.
1958 */
1960 {
1961 return "实例方法";
1962 }
1963
1964 /*! Used as the header of the member functions of an Objective-C class.
1965 */
1967 {
1968 return "成员函数文档";
1969 }
1970
1971//////////////////////////////////////////////////////////////////////////
1972// new since 1.8.4
1973//////////////////////////////////////////////////////////////////////////
1974
1975 /** old style UNO IDL services: implemented interfaces */
1977 { return "导出的接口"; }
1978
1979 /** old style UNO IDL services: inherited services */
1981 { return "包含的服务"; }
1982
1983 /** UNO IDL constant groups */
1985 { return "常量组"; }
1986
1987 /** UNO IDL constant groups */
1988 DString trConstantGroupReference(const DString &namespaceName) override
1989 {
1990 DString result=namespaceName;
1991 result+= CN_SPC "常量组参考";
1992 return result;
1993 }
1994 /** UNO IDL service page title */
1995 DString trServiceReference(const DString &sName) override
1996 {
1997 DString result=sName;
1998 result+= CN_SPC "服务参考";
1999 return result;
2000 }
2001 /** UNO IDL singleton page title */
2002 DString trSingletonReference(const DString &sName) override
2003 {
2004 DString result=sName;
2005 result+= CN_SPC "单例参考";
2006 return result;
2007 }
2008 /** UNO IDL service page */
2009 DString trServiceGeneratedFromFiles(bool /* single */) override
2010 {
2011 // single is true implies a single file
2012 return "该服务的文档由下列文件生成:";
2013 }
2014 /** UNO IDL singleton page */
2015 DString trSingletonGeneratedFromFiles(bool /* single */) override
2016 {
2017 // single is true implies a single file
2018 return "该单例的文档由下列文件生成:";
2019 }
2020
2021//////////////////////////////////////////////////////////////////////////
2022// new since 1.8.15
2023//////////////////////////////////////////////////////////////////////////
2024
2025 /** VHDL design unit hierarchy */
2027 { return "设计单元层次结构"; }
2028 /** VHDL design unit list */
2030 { return "设计单元列表"; }
2031 /** VHDL design unit members */
2033 { return "设计单元成员"; }
2034 /** VHDL design unit list description */
2036 {
2037 return "这是所有设计单元成员的列表,以及指向他们所属实体的链接:";
2038 }
2039 /** VHDL design unit index */
2041 { return "设计单元索引"; }
2042 /** VHDL design units */
2044 { return "设计单元"; }
2045 /** VHDL functions/procedures/processes */
2047 { return "函数/调用过程/进程语句"; }
2048 /** VHDL type */
2049 DString trVhdlType(VhdlSpecifier type,bool /*single*/) override
2050 {
2051 switch(type)
2052 {
2054 return "库";
2056 return "包";
2058 return "信号";
2060 return "元件";
2062 return "常量";
2064 return "实体";
2066 return "类型";
2068 return "子类型";
2070 return "函数";
2072 return "记录";
2074 return "过程";
2076 return "结构体";
2078 return "属性";
2080 return "进程语句";
2082 return "端口";
2083 case VhdlSpecifier::USE:
2084 return "使用语句";
2086 return "类属";
2088 return "包体";
2090 return "单元";
2092 return "共享变量";
2094 return "文件";
2096 return "组";
2098 return "实例化";
2100 return "别名";
2102 return " 配置";
2104 return "混合运算";
2106 return "约束";
2107 default:
2108 return "类";
2109 }
2110 }
2111 DString trCustomReference(const DString &name) override
2112 { return name+" 引用"; }
2113
2114 /* Slice */
2116 {
2117 return "常量";
2118 }
2120 {
2121 return "常量文档";
2122 }
2124 {
2125 return "序列";
2126 }
2128 {
2129 return "序列文档";
2130 }
2132 {
2133 return "字典";
2134 }
2136 {
2137 return "字典文档";
2138 }
2140 {
2141 return "接口";
2142 }
2144 {
2145 return "接口索引";
2146 }
2148 {
2149 return "接口列表";
2150 }
2152 {
2153 return "以下是带有简要说明的接口:";
2154 }
2156 {
2157 return "接口层次结构";
2158 }
2160 {
2161 return "此继承列表大致按字母顺序排序:";
2162 }
2164 {
2165 return "接口文档";
2166 }
2168 {
2169 return "结构";
2170 }
2172 {
2173 return "结构索引";
2174 }
2176 {
2177 return "结构列表";
2178 }
2180 {
2181 return "以下是带有简要说明的结构:";
2182 }
2184 {
2185 return "结构文档";
2186 }
2188 {
2189 return "异常索引";
2190 }
2192 {
2193 return "异常列表";
2194 }
2196 {
2197 return "以下是带有简要说明的异常:";
2198 }
2200 {
2201 return "异常层次结构";
2202 }
2204 {
2205 return "此继承列表大致按字母顺序排序:";
2206 }
2208 {
2209 return "异常文档";
2210 }
2211 DString trCompoundReferenceSlice(const DString &clName, ClassDef::CompoundType compType, bool isLocal) override
2212 {
2213 DString result=clName;
2214 if (isLocal) result+=CN_SPC "局部";
2215 switch(compType)
2216 {
2217 case ClassDef::Class: result+=CN_SPC "类"; break;
2218 case ClassDef::Struct: result+=CN_SPC "结构"; break;
2219 case ClassDef::Union: result+=CN_SPC "联合"; break;
2220 case ClassDef::Interface: result+=CN_SPC "接口"; break;
2221 case ClassDef::Protocol: result+=CN_SPC "协议"; break;
2222 case ClassDef::Category: result+=CN_SPC "类别"; break;
2223 case ClassDef::Exception: result+=CN_SPC "异常"; break;
2224 default: break;
2225 }
2226 result+="引用";
2227 return result;
2228 }
2230 {
2231 return "操作";
2232 }
2234 {
2235 return "操作文档";
2236 }
2238 {
2239 return "数据成员";
2240 }
2242 {
2243 return "数据成员文档";
2244 }
2245
2246//////////////////////////////////////////////////////////////////////////
2247// new since 1.8.19
2248//////////////////////////////////////////////////////////////////////////
2249
2250 /** VHDL design unit documentation */
2252 { return "设计单元文档"; }
2253
2254//////////////////////////////////////////////////////////////////////////
2255// new since 1.9.2
2256//////////////////////////////////////////////////////////////////////////
2257
2258 /** C++20 concept */
2259 DString trConcept(bool /* first_capital */, bool /* singular */) override
2260 {
2261 return "概念";
2262 }
2263 /*! used as the title of the HTML page of a C++20 concept page */
2264 DString trConceptReference(const DString &conceptName) override
2265 {
2266 DString result=conceptName;
2267 result+=CN_SPC "概念参考";
2268 return result;
2269 }
2270
2271 /*! used as the title of page containing all the index of all concepts. */
2273 { return "概念列表"; }
2274
2275 /*! used as the title of chapter containing the index listing all concepts. */
2277 { return "概念索引"; }
2278
2279 /*! used as the title of chapter containing all information about concepts. */
2281 { return "概念文档"; }
2282
2283 /*! used as an introduction to the concept list */
2284 DString trConceptListDescription(bool extractAll) override
2285 {
2286 DString result="这里是所有";
2287 if (!extractAll) result+="文档化的";
2288 result+="概念, 并附有简要说明:";
2289 return result;
2290 }
2291
2292 /*! used to introduce the definition of the C++20 concept */
2294 {
2295 return "概念定义";
2296 }
2297
2298//////////////////////////////////////////////////////////////////////////
2299// new since 1.9.4
2300//////////////////////////////////////////////////////////////////////////
2301
2303 { return "包列表"; }
2304
2305//////////////////////////////////////////////////////////////////////////
2306// new since 1.9.6
2307//////////////////////////////////////////////////////////////////////////
2308
2309 /*! This is used for translation of the word that will be
2310 * followed by a single name of the VHDL process flowchart.
2311 */
2313 { return "流程图:"; }
2314
2315 /*! Please translate also updated body of the method
2316 * trMemberFunctionDocumentation(), now better adapted for
2317 * VHDL sources documentation.
2318 */
2319
2320//////////////////////////////////////////////////////////////////////////
2321// new since 1.9.7
2322//////////////////////////////////////////////////////////////////////////
2323 /*! used in the compound documentation before a list of related symbols.
2324 *
2325 * Supersedes trRelatedFunctions
2326 */
2328 { return "相关符号"; }
2329
2330 /*! subscript for the related symbols
2331 *
2332 * Supersedes trRelatedSubscript
2333 */
2335 { return "(注意: 这些不是成员符号.)"; }
2336
2337 /*! used in the class documentation as a header before the list of all
2338 * related classes.
2339 *
2340 * Supersedes trRelatedFunctionDocumentation
2341 */
2343 { return "友元及相关符号说明"; }
2344
2345 /*! the compound type as used for the xrefitems */
2347 {
2348 DString result;
2349 switch(compType)
2350 {
2351 case ClassDef::Class:
2352 if (lang == SrcLangExt::Fortran) result=trType(true,true);
2353 else result=trClass(true,true);
2354 break;
2355 case ClassDef::Struct: result="结构体"; break;
2356 case ClassDef::Union: result="联合体"; break;
2357 case ClassDef::Interface: result="接口"; break;
2358 case ClassDef::Protocol: result="协议"; break;
2359 case ClassDef::Category: result="分类"; break;
2360 case ClassDef::Exception: result="异常"; break;
2361 case ClassDef::Service: result="服务"; break;
2362 case ClassDef::Singleton: result="单例"; break;
2363 default: break;
2364 }
2365 return result;
2366 }
2367
2369 {
2370 bool extractAll = Config_getBool(EXTRACT_ALL);
2371 DString result="这里是所有";
2372 if (!extractAll) result+="文档化的";
2373
2374 switch (hl)
2375 {
2377 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
2378 {
2379 result+="函数、变量、定义、枚举和类型定义";
2380 }
2381 else
2382 {
2383 result+="文件成员";
2384 }
2385 break;
2387 result+="函数";
2388 break;
2390 result+="变量";
2391 break;
2393 result+="类型定义";
2394 break;
2396 result+="序列";
2397 break;
2399 result+="字典";
2400 break;
2402 result+="枚举";
2403 break;
2405 result+="枚举值";
2406 break;
2408 result+="宏";
2409 break;
2410 case FileMemberHighlight::Total: // for completeness
2411 break;
2412 }
2413 result+=", 及指向";
2414 if (extractAll)
2415 result+="其所属文件";
2416 else
2417 result+="其文档";
2418 result+="的链接:" CN_SPC;
2419 return result;
2420 }
2422 {
2423 bool extractAll = Config_getBool(EXTRACT_ALL);
2424 DString result="这里是所有";
2425 if (!extractAll)
2426 {
2427 result+="文档化的";
2428 }
2429
2430 switch (hl)
2431 {
2433 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
2434 {
2435 result+="结构体及联合体成员";
2436 }
2437 else
2438 {
2439 result+="类成员";
2440 }
2441 break;
2443 result+="函数";
2444 break;
2446 result+="变量";
2447 break;
2449 result+="类型定义";
2450 break;
2452 result+="枚举";
2453 break;
2455 result+="枚举值";
2456 break;
2458 result+="属性";
2459 break;
2461 result+="事件";
2462 break;
2464 result+="相关符号";
2465 break;
2466 case ClassMemberHighlight::Total: // for completeness
2467 break;
2468 }
2469 result+=", 及指向";
2470 if (!extractAll)
2471 {
2472 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
2473 {
2474 result+="结构体 (或联合体) 中所有成员文档";
2475 }
2476 else
2477 {
2478 result+="类中所有成员文档";
2479 }
2480 }
2481 else
2482 {
2483 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
2484 {
2485 result+="其所属结构体 (或联合体)";
2486 }
2487 else
2488 {
2489 result+="其所属类";
2490 }
2491 }
2492 result+="的链接:" CN_SPC;
2493 return result;
2494 }
2496 {
2497 bool extractAll = Config_getBool(EXTRACT_ALL);
2498 DString result="这里是所有";
2499 if (!extractAll) result+="文档化的";
2500 result+="命名空间";
2501 DString singularResult = "";
2502 switch (hl)
2503 {
2505 singularResult="成员";
2506 break;
2508 singularResult="函数";
2509 break;
2511 singularResult="变量";
2512 break;
2514 singularResult="类型定义";
2515 break;
2517 singularResult="序列";
2518 break;
2520 singularResult="字典";
2521 break;
2523 singularResult="枚举";
2524 break;
2526 singularResult="枚举值";
2527 break;
2528 case NamespaceMemberHighlight::Total: // for completeness
2529 break;
2530 }
2531 result+=singularResult;
2532 result+=", 及指向";
2533 if (extractAll)
2534 result+="每个" + singularResult + "所属命名空间文档";
2535 else
2536 result+="其所属命名空间";
2537 result+="的链接:" CN_SPC;
2538 return result;
2539 }
2540 DString trDefinition() override { return "定义";}
2541 DString trDeclaration() override { return "声明";}
2542
2543//////////////////////////////////////////////////////////////////////////
2544// new since 1.9.8
2545//////////////////////////////////////////////////////////////////////////
2546
2548 { return "专题"; }
2550 { return "专题文档"; }
2552 { return "专题列表"; }
2554 { return "专题索引"; }
2556 { return "这里是所有专题及其简介:"; }
2558 {
2559 bool extractAll = Config_getBool(EXTRACT_ALL);
2560 DString result="这里是所有";
2561 if (!extractAll) result+="文档化的";
2562 result+="模块";
2563 DString singularResult = "";
2564 switch (hl)
2565 {
2567 singularResult="成员";
2568 break;
2570 singularResult="函数";
2571 break;
2573 singularResult="变量";
2574 break;
2576 singularResult="类型定义";
2577 break;
2579 singularResult="枚举";
2580 break;
2582 singularResult="枚举值";
2583 break;
2584 case ModuleMemberHighlight::Total: // for completeness
2585 break;
2586 }
2587 result+=singularResult;
2588 result+=", 及指向";
2589 if (extractAll)
2590 result+="每个" + singularResult + "的模块文档";
2591 else
2592 result+="其所属模块";
2593 result+="的链接:" CN_SPC;
2594 return result;
2595 }
2597 {
2598 return "导出的模块";
2599 }
2600
2601//////////////////////////////////////////////////////////////////////////
2602// new since 1.10.0
2603//////////////////////////////////////////////////////////////////////////
2604
2606 {
2607 return "复制到剪贴板";
2608 }
2609//////////////////////////////////////////////////////////////////////////
2610// new since 1.11.0
2611//////////////////////////////////////////////////////////////////////////
2613 {
2614 return "重要事项";
2615 }
2616
2617//////////////////////////////////////////////////////////////////////////
2618// new since 1.16.0
2619//////////////////////////////////////////////////////////////////////////
2620
2621 // the title of the requirements overview page
2623 {
2624 return "需求";
2625 }
2626 // table header for the column with the requirements IDs
2628 {
2629 return "ID";
2630 }
2631 // indicates a symbol implements (satisfies) a requirement
2632 DString trSatisfies(bool /*singular*/) override
2633 {
2634 return "满足需求";
2635 }
2636 // indicates a requirement is satisfied (implemented) by one or more symbols
2637 DString trSatisfiedBy(const DString &list) override
2638 {
2639 return "由" CN_SPC+list+CN_SPC "满足。";
2640 }
2642 {
2643 return "未满足的需求";
2644 }
2645 DString trUnsatisfiedRequirementsText(bool /*singular*/, const DString &list) override
2646 {
2647 return "需求" CN_SPC+list+CN_SPC "没有\"满足\"关联。";
2648 }
2649 // indicates a symbol verifies (tests) a requirement
2650 DString trVerifies(bool /*singular*/) override
2651 {
2652 return "验证需求";
2653 }
2654 // indicates a requirement is verified (tested) by one or more symbols
2655 DString trVerifiedBy(const DString &list) override
2656 {
2657 return "由" CN_SPC+list+CN_SPC "验证。";
2658 }
2660 {
2661 return "未验证的需求";
2662 }
2663 DString trUnverifiedRequirementsText(bool /*singular*/, const DString &list) override
2664 {
2665 return "需求" CN_SPC+list+CN_SPC "没有\"验证\"关联。";
2666 }
2667};
2668
2669#endif
2670
CompoundType
The various compound types.
Definition classdef.h:105
@ Singleton
Definition classdef.h:113
@ Interface
Definition classdef.h:108
@ Exception
Definition classdef.h:111
A String class for use with Doxygen wrapping std::string and adding some additional functionality off...
Definition dstring.h:88
DString()=default
bool empty() const
Returns true iff the string is empty (std::string compatible alias for isEmpty()).
Definition dstring.h:152
DString & sprintf(const char *format,...)
Definition dstring.cpp:30
DString trModulesMembers() override
DString trCallerGraph() override
DString trOperationDocumentation() override
DString trLoading() override
DString trDeclaration() override
DString trInstanceMethods() override
DString trLegend() override
DString trNamespaceList() override
DString idLanguage() override
DString trDayPeriod(bool period) override
DString trFileList() override
DString trExceptionDocumentation() override
DString trImportant() override
DString trReturnValues() override
DString trMore() override
DString trDir(bool, bool) override
DString trStaticPackageFunctions() override
DString trExceptionHierarchyDescription() override
DString trCompoundListFortran() override
DString trCompoundReferenceSlice(const DString &clName, ClassDef::CompoundType compType, bool isLocal) override
DString trGeneratedBy() override
DString trDateTime(int year, int month, int day, int dayOfWeek, int hour, int minutes, int seconds, DateTimeType includeTime) override
Compiles a date string.
DString trLegendTitle() override
DString trFriends() override
DString trConstantDocumentation() override
DString trReturns() override
DString trRequirementID() override
DString latexFontenc() override
DString trPrivateMembers() override
DString trDefinedIn() override
DString trClassHierarchy() override
DString trFileMembers() override
DString trPackageList() override
DString trCompounds() override
DString trCompoundMembersDescriptionFortran(bool extractAll) override
DString trSubprogram(bool, bool) override
DString trVariables() override
DString trCiteReferences() override
DString trEnumerationValues() override
DString trPublicAttribs() override
DString trModuleMembersDescriptionTotal(ModuleMemberHighlight::Enum hl) override
DString trTest() override
DString trConceptListDescription(bool extractAll) override
DString trReferenceManual() override
DString trStaticProtectedAttribs() override
DString trTopicDocumentation() override
DString trProtectedAttribs() override
DString trDocumentation(const DString &projName) override
DString trSingletonReference(const DString &sName) override
UNO IDL singleton page title.
DString trMonth(int month, bool, bool full) override
DString trMemberFunctionDocumentation() override
DString trEnumReference(const DString &name) override
DString trGotoTextualHierarchy() override
DString trDefinedAtLineInSourceFile() override
DString trCopyToClipboard() override
DString trCompoundList() override
DString trNamespaceReference(const DString &namespaceName) override
DString trDeprecatedList() override
DString trNamespaceListDescription(bool extractAll) override
DString trDefinition() override
DString trDictionaries() override
DString trEnumerationTypeDocumentation() override
DString trHierarchicalIndex() override
DString latexDocumentPost() override
DString trGotoSourceCode() override
DString trModuleIndex() override
DString trRelatedSymbols() override
DString trClassMethods() override
DString trFileDocumentation() override
DString trClasses() override
DString trCode() override
DString trPrivateTypes() override
DString trOverloadText() override
DString trWarning() override
DString trFileIndex() override
DString trLegendDocs() override
DString trRelatedPagesDescription() override
DString trStructList() override
DString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool) override
DString trFileReference(const DString &fileName) override
DString trConceptDefinition() override
DString trTodoList() override
DString trBugList() override
DString trExamplesDescription() override
DString trModulesMemberDescription(bool extractAll) override
DString trSearching() override
DString trSeeAlso() override
DString trPackageAttribs() override
DString trEnumValue() override
DString trGroup(bool, bool) override
DString trTypeConstraints() override
DString trConceptDocumentation() override
DString trMemberDataDocumentation() override
DString trThisIsTheListOfAllMembers() override
DString trConstantGroupReference(const DString &namespaceName) override
UNO IDL constant groups.
DString trDirIndex() override
DString trExportedModules() override
DString trSubprogramDocumentation() override
DString trDictionaryDocumentation() override
DString trMemberTypedefDocumentation() override
DString trFileListDescription(bool extractAll) override
DString trFunctionDocumentation() override
DString trSince() override
DString trModulesList() override
DString trDataMembers() override
DString trTopics() override
DString trModuleDocumentation() override
DString trInterfaceList() override
DString trEnumName() override
DString trCollaborationDiagram(const DString &clName) override
DString trDetails() override
DString trImplementedInList(int numEntries) override
DString trVariableDocumentation() override
DString trAndMore(const DString &number) override
DString trStructDocumentation() override
DString trProtectedTypes() override
DString trRTFansicp() override
DString trDate() override
DString trInterfaceIndex() override
DString trTestList() override
DString trCompoundReferenceFortran(const DString &clName, ClassDef::CompoundType compType, bool isTemplate) override
DString trStaticPrivateAttribs() override
DString trProperties() override
DString trGeneratedAt(const DString &date, const DString &projName) override
DString trPanelSynchronisationTooltip(bool enable) override
DString trCompoundMembersDescriptionTotal(ClassMemberHighlight::Enum hl) override
DString trStaticPackageAttribs() override
DString getLanguageString() override
language codes for Html help
DString trModules() override
DString trIncludingInheritedMembers() override
DString trDefines() override
DString trFunctions() override
DString trMemberEnumerationDocumentation() override
DString trSubprograms() override
DString trStructIndex() override
DString trInheritsList(int numEntries) override
DString trCompoundType(ClassDef::CompoundType compType, SrcLangExt lang) override
DString trRelatedFunctions() override
DString trModulesIndex() override
DString trCopyright() override
DString trNamespace(bool, bool) override
DString trAttention() override
DString trCompoundListDescription() override
DString trUnverifiedRequirementsText(bool, const DString &list) override
DString trInterfaceHierarchy() override
DString trRelatedSubscript() override
DString trGlobal(bool, bool) override
DString trVerifies(bool) override
DString trImplementedFromList(int numEntries) override
DString trNamespaceMembersDescriptionTotal(NamespaceMemberHighlight::Enum hl) override
DString trInterfaces() override
old style UNO IDL services: implemented interfaces
DString trSatisfiedBy(const DString &list) override
DString trPublicTypes() override
DString trReferencedBy() override
DString trDirectories() override
DString trPageAbbreviation() override
DString trNamespaceIndex() override
DString trUnverifiedRequirements() override
DString trInclDepGraph(const DString &fName) override
DString trPackages() override
DString trMember(bool, bool) override
DString trListOfAllMembers() override
DString trClassDiagram(const DString &clName) override
DString trRemarks() override
DString trPackageTypes() override
DString trProvidedByCategory() override
DString trCompoundReference(const DString &clName, ClassDef::CompoundType compType, bool isTemplate) override
DString trFileMembersDescription(bool extractAll) override
DString trAdditionalInheritedMembers() override
DString trPublicMembers() override
DString trStructs() override
DString trGeneratedAutomatically(const DString &s) override
DString trInterfaceDocumentation() override
DString trStructListDescription() override
DString trEnumerations() override
DString trAuthor(bool, bool) override
DString trConstructorDocumentation() override
DString trPropertyDocumentation() override
DString trRelatedFunctionDocumentation() override
DString trServiceReference(const DString &sName) override
UNO IDL service page title.
DString trFile(bool, bool) override
DString trEventDocumentation() override
DString trGotoDocumentation() override
DString trSourceFile(const DString &filename) override
DString trReferences() override
DString trClass(bool, bool) override
DString trDefineValue() override
DString trReimplementedFromList(int numEntries) override
DString trProtectedSlots() override
DString trMethodDocumentation() override
DString trSearchResults(int numDocuments) override
DString trPackage(const DString &name) override
DString trConstantGroups() override
UNO IDL constant groups.
DString trDataTypes() override
DString trUnsatisfiedRequirementsText(bool, const DString &list) override
DString trSingletonGeneratedFromFiles(bool) override
UNO IDL singleton page.
DString trSliceInterfaces() override
DString latexLanguageSupportCommand() override
DString trCompoundMembers() override
DString trPublicSlots() override
DString trDesignUnitMembers() override
VHDL design unit members.
DString trTopicIndex() override
DString trInheritedByList(int numEntries) override
DString trDirReference(const DString &dirName) override
DString trInvariant() override
DString trOperations() override
DString trSequenceDocumentation() override
DString trDirDocumentation() override
DString trIncludesFileIn(const DString &name) override
DString trTypedefDocumentation() override
DString trFlowchart() override
DString trServiceGeneratedFromFiles(bool) override
UNO IDL service page.
DString trSearchResultsTitle() override
DString trInterfaceListDescription() override
DString trDetailLevel() override
DString trSatisfies(bool) override
DString trCompoundMembersFortran() override
DString trDirDepGraph(const DString &name) override
DString trCompoundIndex() override
DString trFileIn(const DString &name) override
DString trDeprecated() override
DString trAll() override
DString trCallGraph() override
DString trPrecondition() override
DString trInterfaceHierarchyDescription() override
DString trModulesDescription() override
DString trPrivateAttribs() override
DString trTypedefs() override
DString latexDocumentPre() override
DString trDesignUnits() override
VHDL design units.
DString trRTFTableOfContents() override
DString trModule(bool, bool) override
DString trExamples() override
DString trProtectedMembers() override
DString trFileMembersDescriptionTotal(FileMemberHighlight::Enum hl) override
DString trDefineDocumentation() override
DString trDayOfWeek(int dayOfWeek, bool, bool full) override
DString trMemberFunctionDocumentationFortran() override
DString trExceptionIndex() override
DString trRTFCharSet() override
DString trType(bool, bool) override
DString trRelatedPages() override
DString trPostcondition() override
DString trNamespaceDocumentation() override
DString trExceptionHierarchy() override
DString trExceptionListDescription() override
DString trPackageListDescription() override
DString trDetailedDescription() override
DString trConceptList() override
DString trStaticPublicMembers() override
DString trGeneratedFromFiles(ClassDef::CompoundType compType, bool) override
DString trExtendsClass() override
DString trDesignUnitListDescription() override
VHDL design unit list description.
DString trTopicList() override
DString trPrivateSlots() override
DString trVerifiedBy(const DString &list) override
DString trRTFGeneralIndex() override
DString trCustomReference(const DString &name) override
DString trInitialValue() override
DString trSequences() override
DString trTodo() override
DString trTypeDocumentation() override
DString trMemberList() override
DString trTopicListDescription() override
DString trISOLang() override
DString trConceptIndex() override
DString trPackageMembers() override
DString trSearchMatches() override
DString trNoMatches() override
DString trReimplementedInList(int numEntries) override
DString trEvents() override
DString trConstants() override
DString trEnumerationValueDocumentation() override
DString trDesignUnitDocumentation() override
VHDL design unit documentation.
DString trExceptions() override
DString trConcept(bool, bool) override
C++20 concept.
DString trFunctionAndProc() override
VHDL functions/procedures/processes.
DString trNote() override
DString trStaticPublicAttribs() override
DString trGraphicalHierarchy() override
DString trPage(bool, bool) override
DString trModuleReference(const DString &namespaceName) override
DString trTemplateParameters() override
DString trClassHierarchyDescription() override
DString trUnsatisfiedRequirements() override
DString trPageIndex() override
DString trDesignUnitIndex() override
VHDL design unit index.
DString trBug() override
DString trVhdlType(VhdlSpecifier type, bool) override
VHDL type.
DString trRequirements() override
DString trStaticProtectedMembers() override
DString trDesignUnitHierarchy() override
VHDL design unit hierarchy.
DString trStaticPrivateMembers() override
DString trModulesListDescription(bool extractAll) override
DString trPackageFunctions() override
DString trNamespaceMemberDescription(bool extractAll) override
DString trGlobalNamespace() override
DString trExceptionList() override
DString trDesignUnitList() override
VHDL design unit list.
DString trWriteList(int numEntries) override
DString trInheritedFrom(const DString &members, const DString &what) override
DString trMainPage() override
DString trCompoundIndexFortran() override
bool needsPunctuation() override
add punctuation at the end of a brief description when needed and supported by the language
DString trServices() override
old style UNO IDL services: inherited services
DString trNamespaces() override
DString trCompoundListDescriptionFortran() override
DString trInclByDepGraph() override
DString trSearch() override
DString trRelatedSymbolDocumentation() override
DString trDefinedInSourceFile() override
DString trRelatedSymbolsSubscript() override
DString trNamespaceMembers() override
DString trDirRelation(const DString &name) override
DString trConceptReference(const DString &conceptName) override
DString trDataMemberDocumentation() override
DString trVersion() override
DString trGotoGraphicalHierarchy() override
DString trEnumGeneratedFromFiles(bool) override
DString trCompoundMembersDescription(bool extractAll) override
DString trParameters() override
DString trClassDocumentation() override
DString trSignals() override
Abstract base class for all translatable text fragments.
Definition translator.h:27
#define Config_getBool(name)
Definition config.h:33
DateTimeType
Definition datetime.h:38
DString generateMarker(int id)
Definition dstring.h:908
#define CN_SPC
SrcLangExt
Definition types.h:207
VhdlSpecifier
Definition types.h:770
@ INSTANTIATION
Definition types.h:791
@ MISCELLANEOUS
Definition types.h:797
@ SHAREDVARIABLE
Definition types.h:794
DString getDotImageExtension()
Definition util.cpp:4966