📄 translator_cn.h
字号:
} virtual QCString trClassDiagram(const char *clName) { return (QCString)"继承图,类"CN_SPC+clName; } virtual QCString trForInternalUseOnly() { return "仅限内部使用。"; } virtual QCString trReimplementedForInternalReasons() { return "由于内部原因被重载;但不影响API"; } virtual QCString trWarning() { return "警告"; } virtual QCString trBugsAndLimitations() { return "BUG"CN_SPC"与局限"; } virtual QCString trVersion() { return "版本"; } virtual QCString trDate() { return "日期"; } virtual QCString trAuthors() { return "作者"; } virtual QCString trReturns() { return "返回"; } virtual QCString trSeeAlso() { return "参见"; } virtual QCString trParameters() { return "参数"; } virtual QCString trExceptions() { return "异常"; } virtual QCString trGeneratedBy() { return "制作者"; } //////////////////////////////////////////////////////////////////////////// new since 0.49-990307 ////////////////////////////////////////////////////////////////////////// virtual QCString trNamespaceList() { return "名字空间列表"; } virtual QCString trNamespaceListDescription(bool extractAll) { QCString result="这里列出所有"; if (!extractAll) result+="文档化的"; result+="名字空间定义,附带简要说明:"; return result; } virtual QCString trFriends() { return "友元"; }//////////////////////////////////////////////////////////////////////////// new since 0.49-990405////////////////////////////////////////////////////////////////////////// virtual QCString trRelatedFunctionDocumentation() { return "友元及相关函数文档"; } //////////////////////////////////////////////////////////////////////////// new since 0.49-990425////////////////////////////////////////////////////////////////////////// virtual QCString trCompoundReference(const char *clName, ClassDef::CompoundType compType, bool isTemplate) // used as the title of the HTML page of a class/struct/union { QCString result=(QCString)clName; if (isTemplate) result+=CN_SPC"模板"; switch(compType) { case ClassDef::Class: result+="类"; break; case ClassDef::Struct: result+="结构"; break; case ClassDef::Union: result+="联合"; break; case ClassDef::Interface: result+="接口"; break; case ClassDef::Exception: result+="异常"; break; } result+="参考"; return result; } virtual QCString trFileReference(const char *fileName) // used as the title of the HTML page of a file { QCString result=fileName; result+=CN_SPC"文件参考"; return result; } virtual QCString trNamespaceReference(const char *namespaceName) // used as the title of the HTML page of a namespace { QCString result=namespaceName; result+=CN_SPC"名字空间参考"; return result; } // these are for the member sections of a class, struct or union virtual QCString trPublicMembers() { return "公有成员"; } virtual QCString trPublicSlots() { return "公有槽"; } virtual QCString trSignals() { return "信号"; } virtual QCString trStaticPublicMembers() { return "静态公有成员"; } virtual QCString trProtectedMembers() { return "保护成员"; } virtual QCString trProtectedSlots() { return "保护槽"; } virtual QCString trStaticProtectedMembers() { return "静态保护成员"; } virtual QCString trPrivateMembers() { return "私有成员"; } virtual QCString trPrivateSlots() { return "私有槽"; } virtual QCString trStaticPrivateMembers() { return "静态私有成员"; } // end of member sections virtual QCString trWriteList(int numEntries) { // this function is used to produce a comma-separated list of items. // use generateMarker(i) to indicate where item i should be put. QCString result; int i; // the inherits list contain `numEntries' classes for (i=0;i<numEntries;i++) { // use generateMarker to generate placeholders for the class links! result+=generateMarker(i); // generate marker for entry i in the list // (order is left to right) if (i!=numEntries-1) // not the last entry, so we need a separator { if (i<numEntries-2) // not the fore last entry result+="、"; else // the fore last entry result+=CN_SPC"及"CN_SPC; } } return result; } virtual QCString trInheritsList(int numEntries) // used in class documentation to produce a list of base classes, // if class diagrams are disabled. { return "继承自"CN_SPC+trWriteList(numEntries)+"。"; } virtual QCString trInheritedByList(int numEntries) // used in class documentation to produce a list of super classes, // if class diagrams are disabled. { return "被"CN_SPC+trWriteList(numEntries)+CN_SPC"继承."; } virtual QCString trReimplementedFromList(int numEntries) // used in member documentation blocks to produce a list of // members that are hidden by this one. { return "重载"CN_SPC+trWriteList(numEntries)+"。"; } virtual QCString trReimplementedInList(int numEntries) { // used in member documentation blocks to produce a list of // all member that overwrite the implementation of this member. return "被"CN_SPC+trWriteList(numEntries)+CN_SPC"重载。"; } virtual QCString trNamespaceMembers() // This is put above each page as a link to all members of namespaces. { return "名字空间成员"; } virtual QCString trNamespaceMemberDescription(bool extractAll) // This is an introduction to the page with all namespace members { QCString result="这里列出了所有"; if (!extractAll) result+="文档化的"; result+="名字空间成员,附带"; if (extractAll) result+="所在类的文档的链接:"; else result+="所在类的链接:"; return result; } virtual QCString trNamespaceIndex() // This is used in LaTeX as the title of the chapter with the // index of all namespaces. { return "名字空间索引"; } virtual QCString trNamespaceDocumentation() // This is used in LaTeX as the title of the chapter containing // the documentation of all namespaces. { return "名字空间文档"; }//////////////////////////////////////////////////////////////////////////// new since 0.49-990522////////////////////////////////////////////////////////////////////////// /*! This is used in the documentation before the list of all * namespaces in a file. */ virtual QCString trNamespaces() { return "Namespaces"; }//////////////////////////////////////////////////////////////////////////// new since 0.49-990728////////////////////////////////////////////////////////////////////////// /*! This is put at the bottom of a class documentation page and is * followed by a list of files that were used to generate the page. */ virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType, bool) { // here s is one of " Class", " Struct" or " Union" // single is true implies a single file QCString result=(QCString)"该"; switch(compType) { case ClassDef::Class: result+="类"; break; case ClassDef::Struct: result+="结构"; break; case ClassDef::Union: result+="联合"; break; case ClassDef::Interface: result+="接口"; break; case ClassDef::Exception: result+="异常"; break; } result+="的文档由以下文件生成:"; return result; } /*! This is in the (quick) index as a link to the alphabetical compound * list. */ virtual QCString trAlphabeticalList() { return "按字典顺序排序的列表"; }//////////////////////////////////////////////////////////////////////////// new since 0.49-990901////////////////////////////////////////////////////////////////////////// /*! This is used as the heading text for the retval command. */ virtual QCString trReturnValues() { return "返回值"; } /*! This is in the (quick) index as a link to the main page (index.html) */ virtual QCString trMainPage() { return "首页"; } /*! This is used in references to page that are put in the LaTeX * documentation. It should be an abbreviation of the word page. */ virtual QCString trPageAbbreviation() { return "p."; }//////////////////////////////////////////////////////////////////////////// new since 0.49-991106////////////////////////////////////////////////////////////////////////// virtual QCString trSources() { return "源代码"; } virtual QCString trDefinedAtLineInSourceFile() { return "在文件"CN_SPC"@1"CN_SPC"第"CN_SPC"@0"CN_SPC"行定义。"; } virtual QCString trDefinedInSourceFile() { return "在文件"CN_SPC"@0"CN_SPC"中定义。"; }//////////////////////////////////////////////////////////////////////////// new since 0.49-991205////////////////////////////////////////////////////////////////////////// virtual QCString trDeprecated() { return "Deprecated"; }//////////////////////////////////////////////////////////////////////////// new since 1.0.0////////////////////////////////////////////////////////////////////////// /*! this text is put before a collaboration diagram */ virtual QCString trCollaborationDiagram(const char *clName) { return (QCString)clName+CN_SPC"合作图:"; } /*! this text is put before an include dependency graph */ virtual QCString trInclDepGraph(const char *fName) { return (QCString)fName+CN_SPC"包含/依赖关系图:"; } /*! header that is put before the list of constructor/destructors. */ virtual QCString trConstructorDocumentation() { return "构造及析构函数文档"; } /*! Used in the file documentation to point to the corresponding sources. */ virtual QCString trGotoSourceCode() { return "浏览该文件的源代码。"; } /*! Used in the file sources to point to the corresponding documentation. */ virtual QCString trGotoDocumentation() { return "浏览该文件的文档。"; } /*! Text for the \\pre command */ virtual QCString trPrecondition() { return "前置条件"; } /*! Text for the \\post command */ virtual QCString trPostcondition() { return "后置条件"; } /*! Text for the \\invariant command */ virtual QCString trInvariant() { return "不变性"; } /*! Text shown before a multi-line variable/enum initialization */ virtual QCString trInitialValue() { return "初始化序列:"; } /*! Text used the source code in the file index */ virtual QCString trCode() { return "代码"; } virtual QCString trGraphicalHierarchy() { return "类继承关系图"; } virtual QCString trGotoGraphicalHierarchy() { return "浏览类继承关系图"; } virtual QCString trGotoTextualHierarchy() { return "浏览类继承关系表"; } virtual QCString trPageIndex() { return "页面索引"; }//////////////////////////////////////////////////////////////////////////// new since 1.1.0////////////////////////////////////////////////////////////////////////// virtual QCString trNote() { return "注解"; } virtual QCString trPublicTypes() { return "公有类型"; } virtual QCString trPublicAttribs() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "数据成员"; } else { return "公有属性"; } } virtual QCString trStaticPublicAttribs() { return "静态公有属性"; } virtual QCString trProtectedTypes() { return "保护类型"; } virtual QCString trProtectedAttribs() { return "保护属性"; }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -