18#ifndef TRANSLATOR_CN_H
19#define TRANSLATOR_CN_H
56 return "\\usepackage{CJKutf8}\n";
64 return "0x804 Chinese (PRC)";
72 return "\\begin{CJK}{UTF8}{gbsn}\n";
76 return "\\end{CJK}\n";
91 {
return "(请注意: 这些不是成员函数.)"; }
105 {
return "成员类型定义说明"; }
109 {
return "成员枚举类型说明"; }
116 return "成员函数/过程/进程说明";
151 {
return "成员的完整列表,这些成员属于"; }
155 {
return ",包括所有继承而来的类成员"; }
245 return "这里给出了所有实体的层次化列表:";
249 return "此继承关系列表按字典顺序粗略的排序:" CN_SPC;
256 QCString result=
"这里列出了所有";
257 if (!extractAll) result+=
"文档化的";
258 result+=
"文件,并附带简要说明:";
267 return "这里列出了所有结构体,并附带简要说明:";
271 return "这里列出了所有类并附带简要说明:";
275 return "这里列出了所有类、结构、联合以及接口定义等,并附带简要说明:";
282 QCString result=
"这里列出了所有";
287 result+=
"结构体和联合体的成员变量";
295 result+=
"结构体或联合的详细说明:";
303 result+=
"结构或联合所属的文件:";
315 QCString result=
"这里列出了所有";
319 result +=
"函数、变量、宏、枚举和类型定义等";
335 {
return "这里列出了所有示例:"; }
339 {
return "这里列出了所有相关页面:"; }
343 {
return "这里列出了所有模块:"; }
349 {
return (!projName.
isEmpty()?projName +
" " :
"") +
"文档"; }
500 QCString
trGeneratedAt(
const QCString &date,
const QCString &projName)
override
502 QCString result=
"生成于" CN_SPC+date;
557 QCString result=
"这里列出了所有";
558 if (!extractAll) result+=
"文档化的";
559 result+=
"命名空间定义,附带简要说明:";
577 {
return "友元及相关函数文档"; }
586 bool isTemplate)
override
588 QCString result=clName;
589 if (isTemplate) result+=
CN_SPC "模板";
608 QCString result=fileName;
615 { QCString result=namespaceName;
622 {
return "Public 成员函数"; }
625 {
return "Public 槽"; }
631 {
return "静态 Public 成员函数"; }
634 {
return "Protected 成员函数"; }
637 {
return "Protected 槽"; }
640 {
return "静态 Protected 成员函数"; }
643 {
return "Private 成员函数"; }
646 {
return "Private 槽"; }
649 {
return "静态 Private 成员函数"; }
660 for (
int i=0;i<numEntries;i++)
714 QCString result=
"这里列出了所有";
715 if (!extractAll) result+=
"文档化的";
716 result+=
"命名空间成员,并附带";
718 result+=
"其对应命名空间的说明文档:";
771 result+=
"的文档由以下文件生成:";
824 return clName+
CN_SPC "的协作图:";
830 return fName+
CN_SPC "的引用(Include)关系图:";
929 return "静态 Public 属性";
934 return "Protected 类型";
939 return "Protected 属性";
944 return "静态 Protected 属性";
959 return "静态 Private 属性";
1000 return "此图展示该文件被哪些文件直接或间接地引用了:";
1028 "class Invisible { };\n\n"
1029 "/*! Truncated" CN_SPC "的继承关系将被隐藏 */\n"
1030 "class Truncated : public Invisible { };\n\n"
1032 "class Undocumented { };\n\n"
1033 "/*! public" CN_SPC "继承关系的基类 */\n"
1034 "class PublicBase : public Truncated { };\n\n"
1036 "template<class T> class Templ { };\n\n"
1037 "/*! protected" CN_SPC "继承关系的基类 */\n"
1038 "class ProtectedBase { };\n\n"
1039 "/*! private" CN_SPC "继承关系的基类 */\n"
1040 "class PrivateBase { };\n\n"
1042 "class Used { };\n\n"
1043 "/*! 继承自其它若干类的超级类 */\n"
1044 "class Inherited : public PublicBase,\n"
1045 " protected ProtectedBase,\n"
1046 " private PrivateBase,\n"
1047 " public Undocumented,\n"
1048 " public Templ<int>\n"
1051 " Used *m_usedClass;\n"
1060 "<li>%灰色填充的矩形 表示生成上图的结构体或类.</li>\n"
1061 "<li>%黑色边框的矩形 表示已经被文档化的结构体或类.</li>\n"
1062 "<li>%灰色边框的矩形 表示未被文档化的结构体或类.</li>\n"
1063 "<li>%红色边框的矩形 表示该结构体或类的关系没有被完全显示."
1064 "%如果生成的图超出了指定的尺寸范围,有一些关系就会被截断而无法显示.</li>\n"
1071 "<li>%深绿色的箭头 表示" CN_SPC "protected" CN_SPC "继承关系.</li>\n"
1072 "<li>%深红色的箭头 表示" CN_SPC "private" CN_SPC "继承关系.</li>\n"
1073 "<li>%紫色虚线箭头 表示两个类之间的聚合关系. 可以通过箭头旁标明的变量访问箭头指向的类或结构体实例.</li>\n"
1074 "<li>%黄色虚线箭头 表示模板类实例和模板类之间的关系. 箭头旁边标明了模板类实例化时所用的模板参数.</li>\n"
1143 return "这里列出所有的包,附带简要说明(如果有的话):";
1169 return "Bug" CN_SPC "列表";
1460 if (numDocuments==0)
1462 return "抱歉,未找到与您查询相符的文档.";
1464 else if (numDocuments==1)
1466 return "找到<b>1</b>篇与您查询相符的文档.";
1470 return "找到<b>$num</b>篇与您查询相符的文档."
1490 return filename +
CN_SPC "源文件";
1523 QCString result=dirName;
1545 return "这是为便于使用而提供的一个重载成员函数."
1546 "与上面的函数相比,它接受不同类型的参数.";
1556 return "这是这个函数的调用关系图:";
1573 {
return "成员函数/子程序说明"; }
1577 {
return "数据类型列表"; }
1585 {
return "带简要描述的数据类型列表:"; }
1590 QCString result=
"这里列出了所有";
1595 result+=
"数据类型成员,并附带";
1598 result+=
"其数据结构说明文档:";
1602 result+=
"其所属的数据类型:";
1611 {
return "数据类型索引"; }
1618 {
return "数据类型文档"; }
1624 {
return "函数/子程序"; }
1630 {
return "函数/子程序说明"; }
1646 QCString result=
"这里列出了所有";
1647 if (!extractAll) result+=
"文档化的";
1648 result+=
"模块,并附带简要说明:";
1655 bool isTemplate)
override
1657 QCString result=clName;
1669 if (isTemplate) result+=
"模板" CN_SPC;
1677 QCString result=namespaceName;
1678 result +=
CN_SPC "模块参考手册";
1690 return "这里是所有文档化的模块成员列表,含有到每个成员所在模块的文档的链接:";
1692 return "这里是模块成员列表,含有到成员所属的模块的链接:";
1716 QCString result=
"该";
1728 result+=
CN_SPC "的文档由以下文件生成:";
1765 return QCString(name)+
CN_SPC "关系";
1802 return QCString(
"文件在")+
CN_SPC+name;
1825 int hour,
int minutes,
int seconds,
1828 static const char *days[] = {
"一",
"二",
"三",
"四",
"五",
"六",
"日" };
1829 static const char *months[] = {
"一",
"二",
"三",
"四",
"五",
"六",
"七",
"八",
"九",
"十",
"十一",
"十二" };
1841 stime.
sprintf(
"%.2d:%.2d:%.2d",hour,minutes,seconds);
1848 static const char *days_short[] = {
"周一",
"周二",
"周三",
"周四",
"周五",
"周六",
"周日" };
1849 static const char *days_full[] = {
"星期一",
"星期二",
"星期三",
"星期四",
"星期五",
"星期六",
"星期日" };
1850 return full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
1852 QCString
trMonth(
int month,
bool,
bool full)
override
1854 static const char *months_short[] = {
"1月",
"2月",
"3月",
"4月",
"5月",
"6月",
"7月",
"8月",
"9月",
"10月",
"11月",
"12月" };
1855 static const char *months_full[] = {
"一月",
"二月",
"三月",
"四月",
"五月",
"六月",
"七月",
"八月",
"九月",
"十月",
"十一月",
"十二月" };
1856 return full? months_full[month-1] : months_short[month-1];
1860 static const char *dayPeriod[] = {
"上午",
"下午" };
1861 return dayPeriod[period?1:0];
1879 return QCString(name)+
CN_SPC "的目录依赖关系图";
1900 {
return "枚举说明文档从下列文件生成:"; }
1904 {
return QCString(name)+
CN_SPC "枚举类型参考"; }
1914 {
return "额外继承的成员函数"; }
1928 QCString opt = enable ?
"开启" :
"关闭";
1938 return "由 category @0 提供.";
1992 QCString result=namespaceName;
1999 QCString result=sName;
2006 QCString result=sName;
2014 return "该服务的文档由下列文件生成:";
2020 return "该单例的文档由下列文件生成:";
2029 {
return "设计单元层次结构"; }
2032 {
return "设计单元列表"; }
2035 {
return "设计单元成员"; }
2039 return "这是所有设计单元成员的列表,以及指向他们所属实体的链接:";
2043 {
return "设计单元索引"; }
2049 {
return "函数/调用过程/进程语句"; }
2114 {
return QCString(name)+
" 引用"; }
2155 return "以下是带有简要说明的接口:";
2163 return "此继承列表大致按字母顺序排序:";
2183 return "以下是带有简要说明的结构:";
2199 return "以下是带有简要说明的异常:";
2207 return "此继承列表大致按字母顺序排序:";
2215 QCString result=clName;
2216 if (isLocal) result+=
CN_SPC "局部";
2254 {
return "设计单元文档"; }
2268 QCString result=conceptName;
2288 QCString result=
"这里是所有";
2289 if (!extractAll) result+=
"文档化的";
2290 result+=
"概念, 并附有简要说明:";
2337 {
return "(注意: 这些不是成员符号.)"; }
2345 {
return "友元及相关符号说明"; }
2355 else result=
trClass(
true,
true);
2373 QCString result=
"这里是所有";
2374 if (!extractAll) result+=
"文档化的";
2381 result+=
"函数、变量、定义、枚举和类型定义";
2426 QCString result=
"这里是所有";
2437 result+=
"结构体及联合体成员";
2476 result+=
"结构体 (或联合体) 中所有成员文档";
2487 result+=
"其所属结构体 (或联合体)";
2500 QCString result=
"这里是所有";
2501 if (!extractAll) result+=
"文档化的";
2503 QCString singularResult =
"";
2507 singularResult=
"成员";
2510 singularResult=
"函数";
2513 singularResult=
"变量";
2516 singularResult=
"类型定义";
2519 singularResult=
"序列";
2522 singularResult=
"字典";
2525 singularResult=
"枚举";
2528 singularResult=
"枚举值";
2533 result+=singularResult;
2536 result+=
"每个" + singularResult +
"所属命名空间文档";
2558 {
return "这里是所有专题及其简介:"; }
2562 QCString result=
"这里是所有";
2563 if (!extractAll) result+=
"文档化的";
2565 QCString singularResult =
"";
2569 singularResult=
"成员";
2572 singularResult=
"函数";
2575 singularResult=
"变量";
2578 singularResult=
"类型定义";
2581 singularResult=
"枚举";
2584 singularResult=
"枚举值";
2589 result+=singularResult;
2592 result+=
"每个" + singularResult +
"的模块文档";
CompoundType
The various compound types.
bool isEmpty() const
Returns TRUE iff the string is empty.
QCString & sprintf(const char *format,...)
QCString trGotoGraphicalHierarchy() override
QCString trDirIndex() override
QCString trDictionaryDocumentation() override
QCString trLegendTitle() override
QCString trDesignUnitIndex() override
VHDL design unit index.
QCString trExportedModules() override
QCString trListOfAllMembers() override
QCString trMemberDataDocumentation() override
QCString trModule(bool, bool) override
QCString trDataTypes() override
QCString trConceptDocumentation() override
QCString trInvariant() override
QCString trRTFGeneralIndex() override
QCString trProtectedMembers() override
QCString trCompoundReferenceSlice(const QCString &clName, ClassDef::CompoundType compType, bool isLocal) override
QCString trTypedefs() override
QCString trEnumGeneratedFromFiles(bool) override
QCString trInheritedByList(int numEntries) override
QCString trClassDocumentation() override
QCString trPage(bool, bool) override
QCString trSubprograms() override
QCString trFileMembersDescription(bool extractAll) override
QCString trImplementedInList(int numEntries) override
QCString trNoMatches() override
QCString trClassMethods() override
QCString trPrivateSlots() override
QCString trDefines() override
QCString trBug() override
QCString trDayOfWeek(int dayOfWeek, bool, bool full) override
QCString trMemberFunctionDocumentationFortran() override
QCString trEnumerations() override
QCString trSingletonReference(const QCString &sName) override
UNO IDL singleton page title.
QCString trTopicListDescription() override
QCString trMemberFunctionDocumentation() override
QCString trModules() override
QCString trPageIndex() override
QCString trCompoundReferenceFortran(const QCString &clName, ClassDef::CompoundType compType, bool isTemplate) override
QCString trNamespaceMembers() override
QCString trStaticPrivateMembers() override
QCString trDefinedIn() override
QCString trNamespaceList() override
QCString trRTFansicp() override
QCString trConceptReference(const QCString &conceptName) override
QCString trGlobal(bool, bool) override
QCString trInterfaceList() override
QCString trDictionaries() override
QCString trEnumName() override
QCString trStructDocumentation() override
QCString getLanguageString() override
language codes for Html help
QCString trMore() override
QCString trTestList() override
QCString trLegend() override
QCString trExtendsClass() override
QCString trServiceReference(const QCString &sName) override
UNO IDL service page title.
QCString trTypedefDocumentation() override
QCString trModulesIndex() override
QCString trDir(bool, bool) override
QCString trRTFTableOfContents() override
QCString trDirReference(const QCString &dirName) override
QCString trPackageTypes() override
QCString trCompoundMembers() override
QCString trConcept(bool, bool) override
C++20 concept.
QCString trMethodDocumentation() override
QCString trEvents() override
QCString trGotoSourceCode() override
QCString trLegendDocs() override
QCString trRelatedFunctions() override
QCString trMemberList() override
QCString trCollaborationDiagram(const QCString &clName) override
QCString trTodo() override
QCString trDirectories() override
QCString trPublicAttribs() override
QCString trBugList() override
QCString trInterfaceIndex() override
QCString trReferenceManual() override
QCString trDirDepGraph(const QCString &name) override
QCString trCompoundListDescriptionFortran() override
QCString trProvidedByCategory() override
QCString trNamespace(bool, bool) override
QCString trStaticPackageFunctions() override
QCString trDate() override
QCString trOperationDocumentation() override
QCString trInstanceMethods() override
QCString trGeneratedAutomatically(const QCString &s) override
QCString trSince() override
QCString trType(bool, bool) override
QCString trConstantGroupReference(const QCString &namespaceName) override
UNO IDL constant groups.
QCString trCompoundIndexFortran() override
QCString trGeneratedBy() override
QCString trFunctions() override
QCString trRelatedFunctionDocumentation() override
QCString trCompoundMembersDescriptionFortran(bool extractAll) override
QCString trModuleReference(const QCString &namespaceName) override
QCString trDefineDocumentation() override
QCString trPrivateTypes() override
QCString trGotoTextualHierarchy() override
QCString trDirDocumentation() override
QCString trDesignUnitListDescription() override
VHDL design unit list description.
QCString trExceptionHierarchyDescription() override
QCString trAndMore(const QCString &number) override
QCString trMemberEnumerationDocumentation() override
QCString trSearchMatches() override
QCString trFunctionAndProc() override
VHDL functions/procedures/processes.
QCString trGeneratedFromFiles(ClassDef::CompoundType compType, bool) override
QCString trTopicIndex() override
QCString trInheritsList(int numEntries) override
QCString trEnumerationValueDocumentation() override
QCString trDefineValue() override
QCString trPackage(const QCString &name) override
QCString trMainPage() override
QCString trInterfaceListDescription() override
QCString trCompoundMembersFortran() override
QCString trMember(bool, bool) override
QCString trDetails() override
QCString trMemberTypedefDocumentation() override
QCString trReferences() override
QCString trCompoundListFortran() override
QCString trDesignUnitList() override
VHDL design unit list.
QCString trPageAbbreviation() override
QCString trTypeDocumentation() override
QCString trSubprogram(bool, bool) override
QCString trFileDocumentation() override
QCString trCompoundList() override
QCString trFileIn(const QCString &name) override
QCString trInclDepGraph(const QCString &fName) override
QCString trPackages() override
QCString trCompoundMembersDescription(bool extractAll) override
QCString trPublicSlots() override
QCString trFriends() override
QCString trCompoundMembersDescriptionTotal(ClassMemberHighlight::Enum hl) override
QCString trExceptionList() override
QCString trCompoundType(ClassDef::CompoundType compType, SrcLangExt lang) override
QCString trDetailedDescription() override
QCString trInitialValue() override
QCString trTemplateParameters() override
QCString trDesignUnitDocumentation() override
VHDL design unit documentation.
QCString trGotoDocumentation() override
QCString trDayPeriod(bool period) override
QCString trStaticPrivateAttribs() override
QCString idLanguage() override
QCString trCallGraph() override
QCString trClassDiagram(const QCString &clName) override
QCString trPrivateAttribs() override
QCString trConceptListDescription(bool extractAll) override
QCString trReturns() override
QCString trModulesListDescription(bool extractAll) override
QCString trReimplementedFromList(int numEntries) override
QCString trClassHierarchyDescription() override
QCString trPublicMembers() override
QCString trNamespaceListDescription(bool extractAll) override
QCString trFileMembers() override
QCString trISOLang() override
QCString trConstantDocumentation() override
QCString trParameters() override
QCString trFileReference(const QCString &fileName) override
QCString trReturnValues() override
QCString trEnumReference(const QCString &name) override
QCString trInterfaces() override
old style UNO IDL services: implemented interfaces
QCString trAdditionalInheritedMembers() override
QCString trPackageMembers() override
QCString trPublicTypes() override
QCString trRelatedSymbols() override
QCString trStructList() override
QCString trCiteReferences() override
QCString trTodoList() override
QCString trRTFCharSet() override
QCString latexLanguageSupportCommand() override
QCString trDetailLevel() override
QCString trThisIsTheListOfAllMembers() override
QCString trTopicList() override
QCString trCustomReference(const QCString &name) override
QCString trModulesList() override
QCString trEnumValue() override
QCString trNamespaces() override
QCString trExamples() override
QCString trRelatedSymbolsSubscript() override
QCString trPackageAttribs() override
QCString trReferencedBy() override
QCString trStaticPublicAttribs() override
QCString trFunctionDocumentation() override
QCString trExceptionIndex() override
QCString trStaticPackageAttribs() override
QCString trExceptionHierarchy() override
QCString trWarning() override
QCString trDeclaration() override
QCString trModulesDescription() override
QCString trModuleIndex() override
QCString trConstructorDocumentation() override
QCString trTopics() override
QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool) override
QCString trRelatedPagesDescription() override
QCString trExamplesDescription() override
QCString trDesignUnits() override
VHDL design units.
QCString trExceptions() override
QCString trModulesMemberDescription(bool extractAll) override
QCString trStaticPublicMembers() override
QCString trDirRelation(const QCString &name) override
QCString trGroup(bool, bool) override
QCString trAttention() override
QCString trConstants() override
QCString trStructs() override
QCString trSignals() override
QCString trNamespaceDocumentation() override
QCString trRelatedSymbolDocumentation() override
QCString trCallerGraph() override
QCString trServiceGeneratedFromFiles(bool) override
UNO IDL service page.
QCString trPrecondition() override
QCString trOverloadText() override
QCString trFlowchart() override
QCString trVariables() override
QCString trNamespaceIndex() override
QCString trStructIndex() override
QCString trRelatedSubscript() override
QCString trTest() override
QCString trOperations() override
QCString latexDocumentPre() override
QCString trInterfaceHierarchy() override
QCString trNamespaceReference(const QCString &namespaceName) override
QCString trRelatedPages() override
QCString trProtectedTypes() override
QCString trPackageListDescription() override
QCString trEventDocumentation() override
QCString trExceptionListDescription() override
QCString trConstantGroups() override
UNO IDL constant groups.
QCString trConceptDefinition() 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 trDefinition() override
QCString trInclByDepGraph() override
QCString trNamespaceMembersDescriptionTotal(NamespaceMemberHighlight::Enum hl) override
QCString trSliceInterfaces() override
QCString trStaticProtectedAttribs() override
QCString trImplementedFromList(int numEntries) override
QCString trDeprecatedList() override
QCString trCopyright() override
QCString trDocumentation(const QCString &projName) override
QCString trSingletonGeneratedFromFiles(bool) override
UNO IDL singleton page.
QCString trFileMembersDescriptionTotal(FileMemberHighlight::Enum hl) override
QCString trDeprecated() override
QCString trCompoundIndex() override
QCString trSubprogramDocumentation() override
QCString trSearchResultsTitle() override
QCString trStructListDescription() override
QCString trFileListDescription(bool extractAll) override
QCString trClassHierarchy() override
QCString trModuleMembersDescriptionTotal(ModuleMemberHighlight::Enum hl) override
QCString trAuthor(bool, bool) override
QCString trFile(bool, bool) override
QCString trTopicDocumentation() override
QCString trSearching() override
QCString trInterfaceDocumentation() override
QCString trCopyToClipboard() override
QCString trProtectedSlots() override
QCString trVersion() override
QCString trInheritedFrom(const QCString &members, const QCString &what) override
QCString trPropertyDocumentation() override
QCString trClass(bool, bool) override
QCString trServices() override
old style UNO IDL services: inherited services
QCString trGlobalNamespace() override
QCString trFileList() override
QCString trIncludesFileIn(const QCString &name) override
QCString trPackageFunctions() override
QCString trSequenceDocumentation() override
QCString trInterfaceHierarchyDescription() override
QCString trCompoundReference(const QCString &clName, ClassDef::CompoundType compType, bool isTemplate) override
QCString trImportant() override
QCString trPanelSynchronisationTooltip(bool enable) override
QCString trDefinedAtLineInSourceFile() override
QCString trNote() override
QCString trTypeConstraints() override
QCString latexDocumentPost() override
QCString trDesignUnitHierarchy() override
VHDL design unit hierarchy.
QCString trIncludingInheritedMembers() override
QCString trDefinedInSourceFile() override
QCString trReimplementedInList(int numEntries) override
QCString trModuleDocumentation() override
QCString trPackageList() override
QCString trGeneratedAt(const QCString &date, const QCString &projName) override
QCString trProperties() override
QCString trAll() override
QCString trConceptList() override
QCString trNamespaceMemberDescription(bool extractAll) override
QCString trDataMemberDocumentation() override
QCString trPostcondition() override
QCString trCode() override
QCString trEnumerationTypeDocumentation() override
QCString latexFontenc() override
QCString trMonth(int month, bool, bool full) override
QCString trPrivateMembers() override
QCString trDesignUnitMembers() override
VHDL design unit members.
QCString trCompounds() override
QCString trConceptIndex() override
QCString trProtectedAttribs() override
QCString trCompoundListDescription() override
QCString trStaticProtectedMembers() override
bool needsPunctuation() override
add punctuation at the end of a brief description when needed and supported by the language
QCString trFileIndex() override
QCString trSequences() override
QCString trGraphicalHierarchy() override
QCString trModulesMembers() override
QCString trSeeAlso() override
QCString trRemarks() override
QCString trSourceFile(const QCString &filename) override
QCString trExceptionDocumentation() override
QCString trClasses() override
QCString trHierarchicalIndex() override
QCString trSearch() override
QCString trWriteList(int numEntries) override
QCString trEnumerationValues() override
QCString trLoading() override
QCString trDataMembers() override
QCString trSearchResults(int numDocuments) override
QCString trVhdlType(VhdlSpecifier type, bool) override
VHDL type.
QCString trVariableDocumentation() override
Abstract base class for all translatable text fragments.
#define Config_getBool(name)
SrcLangExt
Language as given by extension.
QCString generateMarker(int id)
QCString getDotImageExtension()