Doxygen
Loading...
Searching...
No Matches
TranslatorChinese Class Reference

#include <src/translator_cn.h>

Inheritance diagram for TranslatorChinese:
Collaboration diagram for TranslatorChinese:

Public Member Functions

DString idLanguage () override
DString latexLanguageSupportCommand () override
DString trISOLang () override
DString getLanguageString () override
 language codes for Html help
DString latexFontenc () override
DString latexDocumentPre () override
DString latexDocumentPost () override
bool needsPunctuation () override
 add punctuation at the end of a brief description when needed and supported by the language
DString trRelatedFunctions () override
DString trRelatedSubscript () override
DString trDetailedDescription () override
DString trDetails () override
DString trMemberTypedefDocumentation () override
DString trMemberEnumerationDocumentation () override
DString trMemberFunctionDocumentation () override
DString trMemberDataDocumentation () override
DString trMore () override
DString trListOfAllMembers () override
DString trMemberList () override
DString trThisIsTheListOfAllMembers () override
DString trIncludingInheritedMembers () override
DString trGeneratedAutomatically (const DString &s) override
DString trEnumName () override
DString trEnumValue () override
DString trDefinedIn () override
DString trModules () override
DString trClassHierarchy () override
DString trCompoundList () override
DString trFileList () override
DString trCompoundMembers () override
DString trFileMembers () override
DString trRelatedPages () override
DString trExamples () override
DString trSearch () override
DString trClassHierarchyDescription () override
DString trFileListDescription (bool extractAll) override
DString trCompoundListDescription () override
DString trCompoundMembersDescription (bool extractAll) override
DString trFileMembersDescription (bool extractAll) override
DString trExamplesDescription () override
DString trRelatedPagesDescription () override
DString trModulesDescription () override
DString trDocumentation (const DString &projName) override
DString trModuleIndex () override
DString trHierarchicalIndex () override
DString trCompoundIndex () override
DString trFileIndex () override
DString trModuleDocumentation () override
DString trClassDocumentation () override
DString trFileDocumentation () override
DString trReferenceManual () override
DString trDefines () override
DString trTypedefs () override
DString trEnumerations () override
DString trFunctions () override
DString trVariables () override
DString trEnumerationValues () override
DString trDefineDocumentation () override
DString trTypedefDocumentation () override
DString trEnumerationTypeDocumentation () override
DString trFunctionDocumentation () override
DString trVariableDocumentation () override
DString trCompounds () override
DString trGeneratedAt (const DString &date, const DString &projName) override
DString trClassDiagram (const DString &clName) override
DString trWarning () override
DString trVersion () override
DString trDate () override
DString trReturns () override
DString trSeeAlso () override
DString trParameters () override
DString trExceptions () override
DString trGeneratedBy () override
DString trNamespaceList () override
DString trNamespaceListDescription (bool extractAll) override
DString trFriends () override
DString trRelatedFunctionDocumentation () override
DString trCompoundReference (const DString &clName, ClassDef::CompoundType compType, bool isTemplate) override
DString trFileReference (const DString &fileName) override
DString trNamespaceReference (const DString &namespaceName) override
DString trPublicMembers () override
DString trPublicSlots () override
DString trSignals () override
DString trStaticPublicMembers () override
DString trProtectedMembers () override
DString trProtectedSlots () override
DString trStaticProtectedMembers () override
DString trPrivateMembers () override
DString trPrivateSlots () override
DString trStaticPrivateMembers () override
DString trWriteList (int numEntries) override
DString trInheritsList (int numEntries) override
DString trInheritedByList (int numEntries) override
DString trReimplementedFromList (int numEntries) override
DString trReimplementedInList (int numEntries) override
DString trNamespaceMembers () override
DString trNamespaceMemberDescription (bool extractAll) override
DString trNamespaceIndex () override
DString trNamespaceDocumentation () override
DString trNamespaces () override
DString trGeneratedFromFiles (ClassDef::CompoundType compType, bool single) override
DString trReturnValues () override
DString trMainPage () override
DString trPageAbbreviation () override
DString trDefinedAtLineInSourceFile () override
DString trDefinedInSourceFile () override
DString trDeprecated () override
DString trCollaborationDiagram (const DString &clName) override
DString trInclDepGraph (const DString &fName) override
DString trConstructorDocumentation () override
DString trGotoSourceCode () override
DString trGotoDocumentation () override
DString trPrecondition () override
DString trPostcondition () override
DString trInvariant () override
DString trInitialValue () override
DString trCode () override
DString trGraphicalHierarchy () override
DString trGotoGraphicalHierarchy () override
DString trGotoTextualHierarchy () override
DString trPageIndex () override
DString trNote () override
DString trPublicTypes () override
DString trPublicAttribs () override
DString trStaticPublicAttribs () override
DString trProtectedTypes () override
DString trProtectedAttribs () override
DString trStaticProtectedAttribs () override
DString trPrivateTypes () override
DString trPrivateAttribs () override
DString trStaticPrivateAttribs () override
DString trTodo () override
DString trTodoList () override
DString trReferencedBy () override
DString trRemarks () override
DString trAttention () override
DString trInclByDepGraph () override
DString trSince () override
DString trLegendTitle () override
DString trLegendDocs () override
DString trLegend () override
DString trTest () override
DString trTestList () override
DString trProperties () override
DString trPropertyDocumentation () override
DString trClasses () override
DString trPackage (const DString &name) override
DString trPackageListDescription () override
DString trPackages () override
DString trDefineValue () override
DString trBug () override
DString trBugList () override
DString trRTFansicp () override
DString trRTFCharSet () override
DString trRTFGeneralIndex () override
DString trClass (bool, bool) override
DString trFile (bool, bool) override
DString trNamespace (bool, bool) override
DString trGroup (bool, bool) override
DString trPage (bool, bool) override
DString trMember (bool, bool) override
DString trGlobal (bool, bool) override
DString trAuthor (bool, bool) override
DString trReferences () override
DString trImplementedFromList (int numEntries) override
DString trImplementedInList (int numEntries) override
DString trRTFTableOfContents () override
DString trDeprecatedList () override
DString trEvents () override
DString trEventDocumentation () override
DString trPackageTypes () override
DString trPackageFunctions () override
DString trPackageMembers () override
DString trStaticPackageFunctions () override
DString trPackageAttribs () override
DString trStaticPackageAttribs () override
DString trAll () override
DString trCallGraph () override
DString trSearchResultsTitle () override
DString trSearchResults (int numDocuments) override
DString trSearchMatches () override
DString trSourceFile (const DString &filename) override
DString trDirIndex () override
DString trDirDocumentation () override
DString trDirectories () override
DString trDirReference (const DString &dirName) override
DString trDir (bool, bool) override
DString trOverloadText () override
DString trCallerGraph () override
DString trEnumerationValueDocumentation () override
DString trMemberFunctionDocumentationFortran () override
DString trCompoundListFortran () override
DString trCompoundMembersFortran () override
DString trCompoundListDescriptionFortran () override
DString trCompoundMembersDescriptionFortran (bool extractAll) override
DString trCompoundIndexFortran () override
DString trTypeDocumentation () override
DString trSubprograms () override
DString trSubprogramDocumentation () override
DString trDataTypes () override
DString trModulesList () override
DString trModulesListDescription (bool extractAll) override
DString trCompoundReferenceFortran (const DString &clName, ClassDef::CompoundType compType, bool isTemplate) override
DString trModuleReference (const DString &namespaceName) override
DString trModulesMembers () override
DString trModulesMemberDescription (bool extractAll) override
DString trModulesIndex () override
DString trModule (bool, bool) override
DString trGeneratedFromFilesFortran (ClassDef::CompoundType compType, bool) override
DString trType (bool, bool) override
DString trSubprogram (bool, bool) override
DString trTypeConstraints () override
DString trDirRelation (const DString &name) override
DString trLoading () override
DString trGlobalNamespace () override
DString trSearching () override
DString trNoMatches () override
DString trFileIn (const DString &name) override
DString trIncludesFileIn (const DString &name) 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 trDayOfWeek (int dayOfWeek, bool, bool full) override
DString trMonth (int month, bool, bool full) override
DString trDayPeriod (bool period) override
DString trCiteReferences () override
DString trCopyright () override
DString trDirDepGraph (const DString &name) override
DString trDetailLevel () override
DString trTemplateParameters () override
DString trAndMore (const DString &number) override
DString trEnumGeneratedFromFiles (bool) override
DString trEnumReference (const DString &name) override
DString trInheritedFrom (const DString &members, const DString &what) override
DString trAdditionalInheritedMembers () override
DString trPanelSynchronisationTooltip (bool enable) override
DString trProvidedByCategory () override
DString trExtendsClass () override
DString trClassMethods () override
DString trInstanceMethods () override
DString trMethodDocumentation () override
DString trInterfaces () override
 old style UNO IDL services: implemented interfaces
DString trServices () override
 old style UNO IDL services: inherited services
DString trConstantGroups () override
 UNO IDL constant groups.
DString trConstantGroupReference (const DString &namespaceName) override
 UNO IDL constant groups.
DString trServiceReference (const DString &sName) override
 UNO IDL service page title.
DString trSingletonReference (const DString &sName) override
 UNO IDL singleton page title.
DString trServiceGeneratedFromFiles (bool) override
 UNO IDL service page.
DString trSingletonGeneratedFromFiles (bool) override
 UNO IDL singleton page.
DString trDesignUnitHierarchy () override
 VHDL design unit hierarchy.
DString trDesignUnitList () override
 VHDL design unit list.
DString trDesignUnitMembers () override
 VHDL design unit members.
DString trDesignUnitListDescription () override
 VHDL design unit list description.
DString trDesignUnitIndex () override
 VHDL design unit index.
DString trDesignUnits () override
 VHDL design units.
DString trFunctionAndProc () override
 VHDL functions/procedures/processes.
DString trVhdlType (VhdlSpecifier type, bool) override
 VHDL type.
DString trCustomReference (const DString &name) override
DString trConstants () override
DString trConstantDocumentation () override
DString trSequences () override
DString trSequenceDocumentation () override
DString trDictionaries () override
DString trDictionaryDocumentation () override
DString trSliceInterfaces () override
DString trInterfaceIndex () override
DString trInterfaceList () override
DString trInterfaceListDescription () override
DString trInterfaceHierarchy () override
DString trInterfaceHierarchyDescription () override
DString trInterfaceDocumentation () override
DString trStructs () override
DString trStructIndex () override
DString trStructList () override
DString trStructListDescription () override
DString trStructDocumentation () override
DString trExceptionIndex () override
DString trExceptionList () override
DString trExceptionListDescription () override
DString trExceptionHierarchy () override
DString trExceptionHierarchyDescription () override
DString trExceptionDocumentation () override
DString trCompoundReferenceSlice (const DString &clName, ClassDef::CompoundType compType, bool isLocal) override
DString trOperations () override
DString trOperationDocumentation () override
DString trDataMembers () override
DString trDataMemberDocumentation () override
DString trDesignUnitDocumentation () override
 VHDL design unit documentation.
DString trConcept (bool, bool) override
 C++20 concept.
DString trConceptReference (const DString &conceptName) override
DString trConceptList () override
DString trConceptIndex () override
DString trConceptDocumentation () override
DString trConceptListDescription (bool extractAll) override
DString trConceptDefinition () override
DString trPackageList () override
DString trFlowchart () override
DString trRelatedSymbols () override
DString trRelatedSymbolsSubscript () override
DString trRelatedSymbolDocumentation () override
DString trCompoundType (ClassDef::CompoundType compType, SrcLangExt lang) override
DString trFileMembersDescriptionTotal (FileMemberHighlight::Enum hl) override
DString trCompoundMembersDescriptionTotal (ClassMemberHighlight::Enum hl) override
DString trNamespaceMembersDescriptionTotal (NamespaceMemberHighlight::Enum hl) override
DString trDefinition () override
DString trDeclaration () override
DString trTopics () override
DString trTopicDocumentation () override
DString trTopicList () override
DString trTopicIndex () override
DString trTopicListDescription () override
DString trModuleMembersDescriptionTotal (ModuleMemberHighlight::Enum hl) override
DString trExportedModules () override
DString trCopyToClipboard () override
DString trImportant () override
DString trRequirements () override
DString trRequirementID () override
DString trSatisfies (bool) override
DString trSatisfiedBy (const DString &list) override
DString trUnsatisfiedRequirements () override
DString trUnsatisfiedRequirementsText (bool, const DString &list) override
DString trVerifies (bool) override
DString trVerifiedBy (const DString &list) override
DString trUnverifiedRequirements () override
DString trUnverifiedRequirementsText (bool, const DString &list) override
Public Member Functions inherited from TranslatorAdapter_1_19_0
DString updateNeededMessage () override
DString trRecords () override
DString trRecordIndex () override
DString trRecordList () override
DString trRecordListDescription () override
DString trRecordDocumentation () override
Public Member Functions inherited from Translator
virtual DString latexFont ()
virtual DString latexCommandName ()

Additional Inherited Members

Protected Member Functions inherited from TranslatorAdapterBase
DString createUpdateNeededMessage (const DString &languageName, const DString &versionString)
Protected Member Functions inherited from Translator
DString p_latexCommandName (const DString &latexCmd)
DString createNoun (bool first_capital, bool singular, const DString &base, const DString &plurSuffix, const DString &singSuffix="")
Protected Attributes inherited from TranslatorAdapterBase
TranslatorEnglish english

Detailed Description

Definition at line 25 of file translator_cn.h.

Member Function Documentation

◆ getLanguageString()

DString TranslatorChinese::getLanguageString ( )
inlineoverridevirtual

language codes for Html help

 0x402 Bulgarian
 0x405 Czech
 0x406 Danish
 0x413 Dutch
 0xC09 English (Australia)
 0x809 English (Britain)
 0x1009 English (Canada)
 0x1809 English (Ireland)
 0x1409 English (New Zealand)
 0x1C09 English (South Africa)
 0x409 English (United States)
 0x40B Finnish
 0x40C French
 0x407 German
 0x408 Greece
 0x439 Hindi
 0x40E Hungarian
 0x410 Italian
 0x814 Norwegian
 0x415 Polish
 0x816 Portuguese(Portugal)
 0x416 Portuguese(Brazil)
 0x419 Russian
 0x80A Spanish(Mexico)
 0xC0A Spanish(Modern Sort)
 0x40A Spanish(Traditional Sort)
 0x41D Swedish
 0x41F Turkey
 0x411 Japanese
 0x412 Korean
 0x804 Chinese (PRC)
 0x404 Chinese (Taiwan)
 

New LCIDs:

 0x421 Indonesian
 0x41A Croatian
 0x418 Romanian
 0x424 Slovenian
 0x41B Slovak
 0x422 Ukrainian
 0x81A Serbian (Serbia, Latin)
 0x403 Catalan
 0x426 Latvian
 0x427 Lithuanian
 0x436 Afrikaans
 0x42A Vietnamese
 0x429 Persian (Iran)
 0xC01 Arabic (Egypt) - I don't know which version of arabic is used inside translator_ar.h ,
       so I have chosen Egypt at random
 

Code for Esperanto should be as shown below but the htmlhelp compiler 1.3 does not support this (and no newer version is available).

0x48f Esperanto

So do a fallback to the default language

0x409 English (United States)
0xC1A Serbian (Serbia, Cyrillic)

Implements Translator.

Definition at line 60 of file translator_cn.h.

61 {
62 return "0x804 Chinese (PRC)";
63 }

◆ idLanguage()

DString TranslatorChinese::idLanguage ( )
inlineoverridevirtual

Used for identification of the language. The identification should not be translated. It should be replaced by the name of the language in English using lower-case characters only (e.g. "czech", "japanese", "russian", etc.). It should be equal to the identification used in the language.cpp.

Implements Translator.

Definition at line 35 of file translator_cn.h.

36 { return "chinese"; }

◆ latexDocumentPost()

DString TranslatorChinese::latexDocumentPost ( )
inlineoverridevirtual

Sets the commands to be inserted directly before the \\end{document} in the LaTeX document.

Reimplemented from Translator.

Definition at line 72 of file translator_cn.h.

73 {
74 return "\\end{CJK}\n";
75 }

◆ latexDocumentPre()

DString TranslatorChinese::latexDocumentPre ( )
inlineoverridevirtual

Sets the commands to be inserted directly after the \\begin{document} in the LaTeX document.

Reimplemented from Translator.

Definition at line 68 of file translator_cn.h.

69 {
70 return "\\begin{CJK}{UTF8}{gbsn}\n";
71 }

◆ latexFontenc()

DString TranslatorChinese::latexFontenc ( )
inlineoverridevirtual

Sets the LaTeX font encoding to be used. The default is set to T1, in case another font encoding has to be used this can be specified with this routine. In case no font encoding is required the empty string can be returned.

Reimplemented from Translator.

Definition at line 64 of file translator_cn.h.

65 {
66 return "";
67 }

◆ latexLanguageSupportCommand()

DString TranslatorChinese::latexLanguageSupportCommand ( )
inlineoverridevirtual

Used to get the LaTeX command(s) for the language support. This method should return string with commands that switch LaTeX to the desired language. For example

"\\usepackage[german]{babel}\n"

or

"\\usepackage{polski}\n"
"\\usepackage[latin2]{inputenc}\n"
"\\usepackage[T1]{fontenc}\n"

The English LaTeX does not use such commands. Because of this the empty string is returned in this implementation.

Implements Translator.

Definition at line 52 of file translator_cn.h.

53 {
54 return "\\usepackage{CJKutf8}\n";
55 }

◆ needsPunctuation()

bool TranslatorChinese::needsPunctuation ( )
inlineoverridevirtual

add punctuation at the end of a brief description when needed and supported by the language

Reimplemented from Translator.

Definition at line 76 of file translator_cn.h.

77 {
78 return false;
79 }

◆ trAdditionalInheritedMembers()

DString TranslatorChinese::trAdditionalInheritedMembers ( )
inlineoverridevirtual

Header of the sections with inherited members specific for the base class(es)

Implements Translator.

Definition at line 1913 of file translator_cn.h.

1914 { return "额外继承的成员函数"; }

◆ trAll()

DString TranslatorChinese::trAll ( )
inlineoverridevirtual

Used in the quick index of a class/file/namespace member list page to link to the unfiltered list of all members.

Implements Translator.

Definition at line 1427 of file translator_cn.h.

1428 {
1429 return "全部";
1430 }

◆ trAndMore()

DString TranslatorChinese::trAndMore ( const DString & number)
inlineoverridevirtual

Used in dot graph when UML_LOOK is enabled and there are many fields

Implements Translator.

Definition at line 1895 of file translator_cn.h.

1896 { return "和" CN_SPC+number+CN_SPC "更多..."; }
#define CN_SPC

References CN_SPC.

◆ trAttention()

DString TranslatorChinese::trAttention ( )
inlineoverridevirtual

Implements Translator.

Definition at line 993 of file translator_cn.h.

994 {
995 return "注意";
996 }

◆ trAuthor()

DString TranslatorChinese::trAuthor ( bool ,
bool  )
inlineoverridevirtual

This text is generated when the \author command is used and for the author section in man pages.

Implements Translator.

Definition at line 1295 of file translator_cn.h.

1296 {
1297 return "作者";
1298 }

◆ trBug()

DString TranslatorChinese::trBug ( )
inlineoverridevirtual

Used as a marker that is put before a \bug item

Implements Translator.

Definition at line 1162 of file translator_cn.h.

1163 {
1164 return "Bug";
1165 }

◆ trBugList()

DString TranslatorChinese::trBugList ( )
inlineoverridevirtual

Used as the header of the bug list

Implements Translator.

Definition at line 1167 of file translator_cn.h.

1168 {
1169 return "Bug" CN_SPC "列表";
1170 }

References CN_SPC.

◆ trCallerGraph()

DString TranslatorChinese::trCallerGraph ( )
inlineoverridevirtual

This is used to introduce a caller (or called-by) graph

Implements Translator.

Definition at line 1554 of file translator_cn.h.

1555 {
1556 return "这是这个函数的调用关系图:";
1557 }

◆ trCallGraph()

DString TranslatorChinese::trCallGraph ( )
inlineoverridevirtual

Put in front of the call graph for a function.

Implements Translator.

Definition at line 1433 of file translator_cn.h.

1434 {
1435 return "函数调用图:";
1436 }

◆ trCiteReferences()

DString TranslatorChinese::trCiteReferences ( )
inlineoverridevirtual

Header for the page with bibliographic citations

Implements Translator.

Definition at line 1869 of file translator_cn.h.

1870 { return "参考文献"; }

◆ trClass()

DString TranslatorChinese::trClass ( bool ,
bool  )
inlineoverridevirtual

This is used for translation of the word that will possibly be followed by a single name or by a list of names of the category.

Implements Translator.

Definition at line 1229 of file translator_cn.h.

1230 {
1231 return "类";
1232 }

Referenced by trCompoundType().

◆ trClassDiagram()

DString TranslatorChinese::trClassDiagram ( const DString & clName)
inlineoverridevirtual

this text is put before a class diagram

Implements Translator.

Definition at line 507 of file translator_cn.h.

508 {
509 return "类" CN_SPC+clName+CN_SPC "继承关系图:";
510 }

References CN_SPC.

◆ trClassDocumentation()

DString TranslatorChinese::trClassDocumentation ( )
inlineoverridevirtual

This is used in LaTeX as the title of the chapter containing the documentation of all classes, structs and unions.

Implements Translator.

Definition at line 390 of file translator_cn.h.

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 }
DString trDesignUnitDocumentation() override
VHDL design unit documentation.
#define Config_getBool(name)
Definition config.h:33

References Config_getBool, and trDesignUnitDocumentation().

◆ trClasses()

DString TranslatorChinese::trClasses ( )
inlineoverridevirtual

Used for Java classes in the summary section of Java packages

Implements Translator.

Definition at line 1121 of file translator_cn.h.

1122 {
1123 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
1124 {
1125 return "结构体";
1126 }
1127 else
1128 {
1129 return "类";
1130 }
1131 }

References Config_getBool.

◆ trClassHierarchy()

DString TranslatorChinese::trClassHierarchy ( )
inlineoverridevirtual

This is put above each page as a link to the class hierarchy

Implements Translator.

Definition at line 187 of file translator_cn.h.

188 { return "类继承关系"; }

◆ trClassHierarchyDescription()

DString TranslatorChinese::trClassHierarchyDescription ( )
inlineoverridevirtual

This is an introduction to the class hierarchy.

Implements Translator.

Definition at line 239 of file translator_cn.h.

240 {
241 if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
242 {
243 return "这里给出了所有实体的层次化列表:";
244 }
245 else
246 {
247 return "此继承关系列表按字典顺序粗略的排序:" CN_SPC;
248 }
249 }

References CN_SPC, and Config_getBool.

◆ trClassMethods()

DString TranslatorChinese::trClassMethods ( )
inlineoverridevirtual

Used as the header of a list of class methods in Objective-C. These are similar to static public member functions in C++.

Implements Translator.

Definition at line 1953 of file translator_cn.h.

1954 {
1955 return "类方法";
1956 }

◆ trCode()

DString TranslatorChinese::trCode ( )
inlineoverridevirtual

Text used the source code in the file index

Implements Translator.

Definition at line 876 of file translator_cn.h.

877 {
878 return "代码";
879 }

◆ trCollaborationDiagram()

DString TranslatorChinese::trCollaborationDiagram ( const DString & clName)
inlineoverridevirtual

this text is put before a collaboration diagram

Implements Translator.

Definition at line 822 of file translator_cn.h.

823 {
824 return clName+CN_SPC "的协作图:";
825 }

References CN_SPC.

◆ trCompoundIndex()

DString TranslatorChinese::trCompoundIndex ( )
inlineoverridevirtual

This is used in LaTeX as the title of the chapter with the annotated compound index.

Implements Translator.

Definition at line 364 of file translator_cn.h.

365 {
366 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
367 {
368 return "结构体索引";
369 }
370 else {
371 return "类索引";
372 }
373 }

References Config_getBool.

◆ trCompoundIndexFortran()

DString TranslatorChinese::trCompoundIndexFortran ( )
inlineoverridevirtual

This is used in LaTeX as the title of the chapter with the annotated compound index (Fortran).

Implements Translator.

Definition at line 1610 of file translator_cn.h.

1611 { return "数据类型索引"; }

◆ trCompoundList()

DString TranslatorChinese::trCompoundList ( )
inlineoverridevirtual

This is put above each page as a link to the list of annotated class

Implements Translator.

Definition at line 191 of file translator_cn.h.

192 {
193 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
194 return "结构体";
195 }
196 else {
197 return "类列表";
198 }
199 }

References Config_getBool.

◆ trCompoundListDescription()

DString TranslatorChinese::trCompoundListDescription ( )
inlineoverridevirtual

This is an introduction to the annotated compound list.

Implements Translator.

Definition at line 261 of file translator_cn.h.

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 }

References Config_getBool.

◆ trCompoundListDescriptionFortran()

DString TranslatorChinese::trCompoundListDescriptionFortran ( )
inlineoverridevirtual

This is an introduction to the annotated compound list (Fortran).

Implements Translator.

Definition at line 1584 of file translator_cn.h.

1585 { return "带简要描述的数据类型列表:"; }

◆ trCompoundListFortran()

DString TranslatorChinese::trCompoundListFortran ( )
inlineoverridevirtual

This is put above each page as a link to the list of annotated data types (Fortran).

Implements Translator.

Definition at line 1576 of file translator_cn.h.

1577 { return "数据类型列表"; }

◆ trCompoundMembers()

DString TranslatorChinese::trCompoundMembers ( )
inlineoverridevirtual

This is put above each page as a link to all members of compounds.

Implements Translator.

Definition at line 206 of file translator_cn.h.

207 {
208 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
209 return "成员变量";
210 }
211 else {
212 return "类成员";
213 }
214 }

References Config_getBool.

◆ trCompoundMembersDescription()

DString TranslatorChinese::trCompoundMembersDescription ( bool extractAll)
inlineoverridevirtual

This is an introduction to the page with all class members.

Implements Translator.

Definition at line 278 of file translator_cn.h.

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 }

References Config_getBool.

◆ trCompoundMembersDescriptionFortran()

DString TranslatorChinese::trCompoundMembersDescriptionFortran ( bool extractAll)
inlineoverridevirtual

This is an introduction to the page with all data types (Fortran).

Implements Translator.

Definition at line 1588 of file translator_cn.h.

1589 {
1590 DString result="这里列出了所有";
1591 if (!extractAll)
1592 {
1593 result+="文档化的";
1594 }
1595 result+="数据类型成员,并附带";
1596 if (!extractAll)
1597 {
1598 result+="其数据结构说明文档:";
1599 }
1600 else
1601 {
1602 result+="其所属的数据类型:";
1603 }
1604 return result;
1605 }

◆ trCompoundMembersDescriptionTotal()

DString TranslatorChinese::trCompoundMembersDescriptionTotal ( ClassMemberHighlight::Enum hl)
inlineoverridevirtual

Implements Translator.

Definition at line 2424 of file translator_cn.h.

2425 {
2426 bool extractAll = Config_getBool(EXTRACT_ALL);
2427 DString result="这里是所有";
2428 if (!extractAll)
2429 {
2430 result+="文档化的";
2431 }
2432
2433 switch (hl)
2434 {
2436 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
2437 {
2438 result+="结构体及联合体成员";
2439 }
2440 else
2441 {
2442 result+="类成员";
2443 }
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;
2467 result+="相关符号";
2468 break;
2469 case ClassMemberHighlight::Total: // for completeness
2470 break;
2471 }
2472 result+=", 及指向";
2473 if (!extractAll)
2474 {
2475 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
2476 {
2477 result+="结构体 (或联合体) 中所有成员文档";
2478 }
2479 else
2480 {
2481 result+="类中所有成员文档";
2482 }
2483 }
2484 else
2485 {
2486 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
2487 {
2488 result+="其所属结构体 (或联合体)";
2489 }
2490 else
2491 {
2492 result+="其所属类";
2493 }
2494 }
2495 result+="的链接:" CN_SPC;
2496 return result;
2497 }

References ClassMemberHighlight::All, CN_SPC, Config_getBool, ClassMemberHighlight::Enums, ClassMemberHighlight::EnumValues, ClassMemberHighlight::Events, ClassMemberHighlight::Functions, ClassMemberHighlight::Properties, ClassMemberHighlight::Related, ClassMemberHighlight::Total, ClassMemberHighlight::Typedefs, and ClassMemberHighlight::Variables.

◆ trCompoundMembersFortran()

DString TranslatorChinese::trCompoundMembersFortran ( )
inlineoverridevirtual

This is put above each page as a link to all members of compounds (Fortran).

Implements Translator.

Definition at line 1580 of file translator_cn.h.

1581 { return "数据项"; }

◆ trCompoundReference()

DString TranslatorChinese::trCompoundReference ( const DString & clName,
ClassDef::CompoundType compType,
bool isTemplate )
inlineoverridevirtual

used as the title of the HTML page of a class/struct/union

Implements Translator.

Definition at line 582 of file translator_cn.h.

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::Record: return english.trCompoundReference(clName,compType,isTemplate);
593 case ClassDef::Union: result+="联合体"; break;
594 case ClassDef::Interface: result+="接口"; break;
595 case ClassDef::Protocol: result+="协议"; break;
596 case ClassDef::Category: result+="分类"; break;
597 case ClassDef::Exception: result+="异常"; break;
598 default: break;
599 }
600 result+=CN_SPC "参考";
601 return result;
602 }
@ Interface
Definition classdef.h:109
@ Exception
Definition classdef.h:112
TranslatorEnglish english
DString trCompoundReference(const DString &clName, ClassDef::CompoundType compType, bool isTemplate) override

References ClassDef::Category, ClassDef::Class, CN_SPC, TranslatorAdapterBase::english, ClassDef::Exception, ClassDef::Interface, ClassDef::Protocol, ClassDef::Record, ClassDef::Struct, TranslatorEnglish::trCompoundReference(), and ClassDef::Union.

◆ trCompoundReferenceFortran()

DString TranslatorChinese::trCompoundReferenceFortran ( const DString & clName,
ClassDef::CompoundType compType,
bool isTemplate )
inlineoverridevirtual

used as the title of the HTML page of a module/type (Fortran)

Implements Translator.

Definition at line 1653 of file translator_cn.h.

1656 {
1657 DString result=clName;
1658 switch(compType)
1659 {
1660 case ClassDef::Class: result+=CN_SPC "模块"; break;
1661 case ClassDef::Struct: result+=CN_SPC "类型"; break;
1662 case ClassDef::Union: result+=CN_SPC "联合体"; break;
1663 case ClassDef::Interface: result+=CN_SPC "接口"; break;
1664 case ClassDef::Protocol: result+=CN_SPC "协议"; break;
1665 case ClassDef::Category: result+=CN_SPC "目录"; break;
1666 case ClassDef::Exception: result+=CN_SPC "异常"; break;
1667 default: break;
1668 }
1669 if (isTemplate) result+="模板" CN_SPC;
1670 result+="参考手册";
1671 return result;
1672 }

References ClassDef::Category, ClassDef::Class, CN_SPC, ClassDef::Exception, ClassDef::Interface, ClassDef::Protocol, ClassDef::Struct, and ClassDef::Union.

◆ trCompoundReferenceSlice()

DString TranslatorChinese::trCompoundReferenceSlice ( const DString & clName,
ClassDef::CompoundType compType,
bool isLocal )
inlineoverridevirtual

Implements Translator.

Definition at line 2213 of file translator_cn.h.

2214 {
2215 DString result=clName;
2216 if (isLocal) result+=CN_SPC "局部";
2217 switch(compType)
2218 {
2219 case ClassDef::Class: result+=CN_SPC "类"; break;
2220 case ClassDef::Struct: result+=CN_SPC "结构"; break;
2221 case ClassDef::Union: result+=CN_SPC "联合"; break;
2222 case ClassDef::Interface: result+=CN_SPC "接口"; break;
2223 case ClassDef::Protocol: result+=CN_SPC "协议"; break;
2224 case ClassDef::Category: result+=CN_SPC "类别"; break;
2225 case ClassDef::Exception: result+=CN_SPC "异常"; break;
2226 default: break;
2227 }
2228 result+="引用";
2229 return result;
2230 }

References ClassDef::Category, ClassDef::Class, CN_SPC, ClassDef::Exception, ClassDef::Interface, ClassDef::Protocol, ClassDef::Struct, and ClassDef::Union.

◆ trCompounds()

DString TranslatorChinese::trCompounds ( )
inlineoverridevirtual

This is used in the documentation of a file/namespace/group before the list of links to documented compounds

Implements Translator.

Definition at line 484 of file translator_cn.h.

485 {
486 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
487 {
488 return "结构体";
489 }
490 else {
491 return "类";
492 }
493 }

References Config_getBool.

◆ trCompoundType()

DString TranslatorChinese::trCompoundType ( ClassDef::CompoundType compType,
SrcLangExt lang )
inlineoverridevirtual

the compound type as used for the xrefitems

Implements Translator.

Definition at line 2348 of file translator_cn.h.

2349 {
2350 DString result;
2351 switch(compType)
2352 {
2353 case ClassDef::Class:
2354 if (lang == SrcLangExt::Fortran) result=trType(true,true);
2355 else result=trClass(true,true);
2356 break;
2357 case ClassDef::Struct: result="结构体"; break;
2358 case ClassDef::Record: return english.trCompoundType(compType,lang);
2359 case ClassDef::Union: result="联合体"; break;
2360 case ClassDef::Interface: result="接口"; break;
2361 case ClassDef::Protocol: result="协议"; break;
2362 case ClassDef::Category: result="分类"; break;
2363 case ClassDef::Exception: result="异常"; break;
2364 case ClassDef::Service: result="服务"; break;
2365 case ClassDef::Singleton: result="单例"; break;
2366 default: break;
2367 }
2368 return result;
2369 }
@ Singleton
Definition classdef.h:114
DString trClass(bool, bool) override
DString trType(bool, bool) override
DString trCompoundType(ClassDef::CompoundType compType, SrcLangExt lang) override

References ClassDef::Category, ClassDef::Class, TranslatorAdapterBase::english, ClassDef::Exception, ClassDef::Interface, ClassDef::Protocol, ClassDef::Record, ClassDef::Service, ClassDef::Singleton, ClassDef::Struct, trClass(), TranslatorEnglish::trCompoundType(), trType(), and ClassDef::Union.

◆ trConcept()

DString TranslatorChinese::trConcept ( bool ,
bool  )
inlineoverridevirtual

C++20 concept.

Implements Translator.

Definition at line 2261 of file translator_cn.h.

2262 {
2263 return "概念";
2264 }

◆ trConceptDefinition()

DString TranslatorChinese::trConceptDefinition ( )
inlineoverridevirtual

used to introduce the definition of the C++20 concept

Implements Translator.

Definition at line 2295 of file translator_cn.h.

2296 {
2297 return "概念定义";
2298 }

◆ trConceptDocumentation()

DString TranslatorChinese::trConceptDocumentation ( )
inlineoverridevirtual

used as the title of chapter containing all information about concepts.

Implements Translator.

Definition at line 2282 of file translator_cn.h.

2283 { return "概念文档"; }

◆ trConceptIndex()

DString TranslatorChinese::trConceptIndex ( )
inlineoverridevirtual

used as the title of chapter containing the index listing all concepts.

Implements Translator.

Definition at line 2278 of file translator_cn.h.

2279 { return "概念索引"; }

◆ trConceptList()

DString TranslatorChinese::trConceptList ( )
inlineoverridevirtual

used as the title of page containing all the index of all concepts.

Implements Translator.

Definition at line 2274 of file translator_cn.h.

2275 { return "概念列表"; }

◆ trConceptListDescription()

DString TranslatorChinese::trConceptListDescription ( bool extractAll)
inlineoverridevirtual

used as an introduction to the concept list

Implements Translator.

Definition at line 2286 of file translator_cn.h.

2287 {
2288 DString result="这里是所有";
2289 if (!extractAll) result+="文档化的";
2290 result+="概念, 并附有简要说明:";
2291 return result;
2292 }

◆ trConceptReference()

DString TranslatorChinese::trConceptReference ( const DString & conceptName)
inlineoverridevirtual

used as the title of the HTML page of a C++20 concept page

Implements Translator.

Definition at line 2266 of file translator_cn.h.

2267 {
2268 DString result=conceptName;
2269 result+=CN_SPC "概念参考";
2270 return result;
2271 }

References CN_SPC.

◆ trConstantDocumentation()

DString TranslatorChinese::trConstantDocumentation ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2121 of file translator_cn.h.

2122 {
2123 return "常量文档";
2124 }

◆ trConstantGroupReference()

DString TranslatorChinese::trConstantGroupReference ( const DString & namespaceName)
inlineoverridevirtual

UNO IDL constant groups.

Implements Translator.

Definition at line 1990 of file translator_cn.h.

1991 {
1992 DString result=namespaceName;
1993 result+= CN_SPC "常量组参考";
1994 return result;
1995 }

References CN_SPC.

◆ trConstantGroups()

DString TranslatorChinese::trConstantGroups ( )
inlineoverridevirtual

UNO IDL constant groups.

Implements Translator.

Definition at line 1986 of file translator_cn.h.

1987 { return "常量组"; }

◆ trConstants()

DString TranslatorChinese::trConstants ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2117 of file translator_cn.h.

2118 {
2119 return "常量";
2120 }

◆ trConstructorDocumentation()

DString TranslatorChinese::trConstructorDocumentation ( )
inlineoverridevirtual

header that is put before the list of constructor/destructors.

Implements Translator.

Definition at line 834 of file translator_cn.h.

835 {
836 return "构造及析构函数说明";
837 }

◆ trCopyright()

DString TranslatorChinese::trCopyright ( )
inlineoverridevirtual

Text for copyright paragraph

Implements Translator.

Definition at line 1873 of file translator_cn.h.

1874 { return "版权所有"; }

◆ trCopyToClipboard()

DString TranslatorChinese::trCopyToClipboard ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2608 of file translator_cn.h.

2609 {
2610 return "复制到剪贴板";
2611 }

◆ trCustomReference()

DString TranslatorChinese::trCustomReference ( const DString & name)
inlineoverridevirtual

Implements Translator.

Definition at line 2113 of file translator_cn.h.

2114 { return name+" 引用"; }
const char * name(int level)
Definition latexgen.h:368

◆ trDataMemberDocumentation()

DString TranslatorChinese::trDataMemberDocumentation ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2243 of file translator_cn.h.

2244 {
2245 return "数据成员文档";
2246 }

◆ trDataMembers()

DString TranslatorChinese::trDataMembers ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2239 of file translator_cn.h.

2240 {
2241 return "数据成员";
2242 }

◆ trDataTypes()

DString TranslatorChinese::trDataTypes ( )
inlineoverridevirtual

This is used in the documentation of a file/namespace/group before the list of links to documented compounds (Fortran)

Implements Translator.

Definition at line 1636 of file translator_cn.h.

1637 { return "数据类型"; }

◆ trDate()

DString TranslatorChinese::trDate ( )
inlineoverridevirtual

this text is generated when the \date command is used.

Implements Translator.

Definition at line 521 of file translator_cn.h.

522 { return "日期"; }

◆ trDateTime()

DString TranslatorChinese::trDateTime ( int year,
int month,
int day,
int dayOfWeek,
int hour,
int minutes,
int seconds,
DateTimeType includeTime )
inlineoverridevirtual

Compiles a date string.

Parameters
yearYear in 4 digits
monthMonth of the year: 1=January
dayDay of the Month: 1..31
dayOfWeekDay of the week: 1=Monday..7=Sunday
hourHour of the day: 0..23
minutesMinutes in the hour: 0..59
secondsSeconds within the minute: 0..59
includeTimeInclude time in the result string?

Implements Translator.

Definition at line 1824 of file translator_cn.h.

1827 {
1828 static const char *days[] = { "一","二","三","四","五","六","日" };
1829 static const char *months[] = { "一","二","三","四","五","六","七","八","九","十","十一","十二" };
1830
1831 DString sdate;
1832
1833 if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Date)
1834 {
1835 sdate.sprintf("%d年" CN_SPC "%s月" CN_SPC "%d日" CN_SPC "星期%s",year, months[month-1], day, days[dayOfWeek-1]);
1836 }
1837 if (includeTime == DateTimeType::DateTime) sdate += " ";
1838 if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Time)
1839 {
1840 DString stime;
1841 stime.sprintf("%.2d:%.2d:%.2d",hour,minutes,seconds);
1842 sdate+=stime;
1843 }
1844 return sdate;
1845 }
DString & sprintf(const char *format,...)
Definition dstring.cpp:34

References CN_SPC, Date, DateTime, DString::sprintf(), and Time.

◆ trDayOfWeek()

DString TranslatorChinese::trDayOfWeek ( int dayOfWeek,
bool ,
bool full )
inlineoverridevirtual

Implements Translator.

Definition at line 1846 of file translator_cn.h.

1847 {
1848 static const char *days_short[] = { "周一", "周二", "周三", "周四", "周五", "周六", "周日" };
1849 static const char *days_full[] = { "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日" };
1850 return full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
1851 }

◆ trDayPeriod()

DString TranslatorChinese::trDayPeriod ( bool period)
inlineoverridevirtual

Implements Translator.

Definition at line 1858 of file translator_cn.h.

1859 {
1860 static const char *dayPeriod[] = { "上午", "下午" };
1861 return dayPeriod[period?1:0];
1862 }

◆ trDeclaration()

DString TranslatorChinese::trDeclaration ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2544 of file translator_cn.h.

2544{ return "声明";}

◆ trDefinedAtLineInSourceFile()

DString TranslatorChinese::trDefinedAtLineInSourceFile ( )
inlineoverridevirtual

Implements Translator.

Definition at line 798 of file translator_cn.h.

799 {
800 return "在文件" CN_SPC "@1" CN_SPC "第" CN_SPC "@0" CN_SPC "行定义.";
801 }

References CN_SPC.

◆ trDefinedIn()

DString TranslatorChinese::trDefinedIn ( )
inlineoverridevirtual

put after an undocumented member in the list of all members

Implements Translator.

Definition at line 175 of file translator_cn.h.

176 { return "定义于" CN_SPC; }

References CN_SPC.

◆ trDefinedInSourceFile()

DString TranslatorChinese::trDefinedInSourceFile ( )
inlineoverridevirtual

Implements Translator.

Definition at line 803 of file translator_cn.h.

804 {
805 return "在文件" CN_SPC "@0" CN_SPC "中定义.";
806 }

References CN_SPC.

◆ trDefineDocumentation()

DString TranslatorChinese::trDefineDocumentation ( )
inlineoverridevirtual

This is used in the documentation of a file before the list of documentation blocks for defines

Implements Translator.

Definition at line 454 of file translator_cn.h.

455 { return "宏定义说明"; }

◆ trDefines()

DString TranslatorChinese::trDefines ( )
inlineoverridevirtual

This is used in the documentation of a file as a header before the list of defines

Implements Translator.

Definition at line 418 of file translator_cn.h.

419 { return "宏定义"; }

◆ trDefineValue()

DString TranslatorChinese::trDefineValue ( )
inlineoverridevirtual

Text shown before a multi-line define

Implements Translator.

Definition at line 1153 of file translator_cn.h.

1154 {
1155 return "值:";
1156 }

◆ trDefinition()

DString TranslatorChinese::trDefinition ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2543 of file translator_cn.h.

2543{ return "定义";}

◆ trDeprecated()

DString TranslatorChinese::trDeprecated ( )
inlineoverridevirtual

Implements Translator.

Definition at line 812 of file translator_cn.h.

813 {
814 return "弃用";
815 }

◆ trDeprecatedList()

DString TranslatorChinese::trDeprecatedList ( )
inlineoverridevirtual

Used as the header of the list of item that have been flagged deprecated

Implements Translator.

Definition at line 1350 of file translator_cn.h.

1351 {
1352 return "弃用列表";
1353 }

◆ trDesignUnitDocumentation()

DString TranslatorChinese::trDesignUnitDocumentation ( )
inlineoverridevirtual

VHDL design unit documentation.

Implements Translator.

Definition at line 2253 of file translator_cn.h.

2254 { return "设计单元文档"; }

Referenced by trClassDocumentation().

◆ trDesignUnitHierarchy()

DString TranslatorChinese::trDesignUnitHierarchy ( )
inlineoverridevirtual

VHDL design unit hierarchy.

Implements Translator.

Definition at line 2028 of file translator_cn.h.

2029 { return "设计单元层次结构"; }

◆ trDesignUnitIndex()

DString TranslatorChinese::trDesignUnitIndex ( )
inlineoverridevirtual

VHDL design unit index.

Implements Translator.

Definition at line 2042 of file translator_cn.h.

2043 { return "设计单元索引"; }

◆ trDesignUnitList()

DString TranslatorChinese::trDesignUnitList ( )
inlineoverridevirtual

VHDL design unit list.

Implements Translator.

Definition at line 2031 of file translator_cn.h.

2032 { return "设计单元列表"; }

◆ trDesignUnitListDescription()

DString TranslatorChinese::trDesignUnitListDescription ( )
inlineoverridevirtual

VHDL design unit list description.

Implements Translator.

Definition at line 2037 of file translator_cn.h.

2038 {
2039 return "这是所有设计单元成员的列表,以及指向他们所属实体的链接:";
2040 }

◆ trDesignUnitMembers()

DString TranslatorChinese::trDesignUnitMembers ( )
inlineoverridevirtual

VHDL design unit members.

Implements Translator.

Definition at line 2034 of file translator_cn.h.

2035 { return "设计单元成员"; }

◆ trDesignUnits()

DString TranslatorChinese::trDesignUnits ( )
inlineoverridevirtual

VHDL design units.

Implements Translator.

Definition at line 2045 of file translator_cn.h.

2046 { return "设计单元"; }

◆ trDetailedDescription()

DString TranslatorChinese::trDetailedDescription ( )
inlineoverridevirtual

header that is put before the detailed description of files, classes and namespaces.

Implements Translator.

Definition at line 94 of file translator_cn.h.

95 { return "详细描述"; }

◆ trDetailLevel()

DString TranslatorChinese::trDetailLevel ( )
inlineoverridevirtual

Detail level selector shown for hierarchical indices

Implements Translator.

Definition at line 1887 of file translator_cn.h.

1888 { return "详情级别"; }

◆ trDetails()

DString TranslatorChinese::trDetails ( )
inlineoverridevirtual

header that is used when the summary tag is missing inside the details tag

Implements Translator.

Definition at line 98 of file translator_cn.h.

99 { return "详细信息"; }

◆ trDictionaries()

DString TranslatorChinese::trDictionaries ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2133 of file translator_cn.h.

2134 {
2135 return "字典";
2136 }

◆ trDictionaryDocumentation()

DString TranslatorChinese::trDictionaryDocumentation ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2137 of file translator_cn.h.

2138 {
2139 return "字典文档";
2140 }

◆ trDir()

DString TranslatorChinese::trDir ( bool ,
bool  )
inlineoverridevirtual

This returns the word directory with or without starting capital (first_capital) and in singular or plural form (singular).

Implements Translator.

Definition at line 1531 of file translator_cn.h.

1532 {
1533 return "目录";
1534 }

◆ trDirDepGraph()

DString TranslatorChinese::trDirDepGraph ( const DString & name)
inlineoverridevirtual

Header for the graph showing the directory dependencies

Implements Translator.

Definition at line 1877 of file translator_cn.h.

1878 {
1879 return name+CN_SPC "的目录依赖关系图";
1880 }

References CN_SPC.

◆ trDirDocumentation()

DString TranslatorChinese::trDirDocumentation ( )
inlineoverridevirtual

This is used as the name of the chapter containing the documentation of the directories.

Implements Translator.

Definition at line 1507 of file translator_cn.h.

1508 {
1509 return "目录说明";
1510 }

◆ trDirectories()

DString TranslatorChinese::trDirectories ( )
inlineoverridevirtual

This is used as the title of the directory index and also in the Quick links of an HTML page, to link to the directory hierarchy.

Implements Translator.

Definition at line 1515 of file translator_cn.h.

1516 { return "目录"; }

◆ trDirIndex()

DString TranslatorChinese::trDirIndex ( )
inlineoverridevirtual

This is used as the name of the chapter containing the directory hierarchy.

Implements Translator.

Definition at line 1499 of file translator_cn.h.

1500 {
1501 return "目录结构";
1502 }

◆ trDirReference()

DString TranslatorChinese::trDirReference ( const DString & dirName)
inlineoverridevirtual

This returns the title of a directory page. The name of the directory is passed via dirName.

Implements Translator.

Definition at line 1521 of file translator_cn.h.

1522 {
1523 DString result=dirName;
1524 result+=CN_SPC "目录参考";
1525 return result;
1526 }

References CN_SPC.

◆ trDirRelation()

DString TranslatorChinese::trDirRelation ( const DString & name)
inlineoverridevirtual

directory relation for name

Implements Translator.

Definition at line 1761 of file translator_cn.h.

1762 {
1763 // return name+" Relation";
1764 // unsure
1765 return name+CN_SPC "关系";
1766 }

References CN_SPC.

◆ trDocumentation()

DString TranslatorChinese::trDocumentation ( const DString & projName)
inlineoverridevirtual

This is used in HTML as the title of index.html.

Implements Translator.

Definition at line 346 of file translator_cn.h.

347 { return (!projName.empty()?projName + " " : "") + "文档"; }
bool empty() const
Returns true iff the string is empty (std::string compatible alias for isEmpty()).
Definition dstring.h:148

References DString::empty().

◆ trEnumerations()

DString TranslatorChinese::trEnumerations ( )
inlineoverridevirtual

This is used in the documentation of a file as a header before the list of enumerations

Implements Translator.

Definition at line 430 of file translator_cn.h.

431 { return "枚举"; }

◆ trEnumerationTypeDocumentation()

DString TranslatorChinese::trEnumerationTypeDocumentation ( )
inlineoverridevirtual

This is used in the documentation of a file/namespace before the list of documentation blocks for enumeration types

Implements Translator.

Definition at line 466 of file translator_cn.h.

467 { return "枚举类型说明"; }

◆ trEnumerationValueDocumentation()

DString TranslatorChinese::trEnumerationValueDocumentation ( )
inlineoverridevirtual

This is used in the documentation of a file/namespace before the list of documentation blocks for enumeration values

Implements Translator.

Definition at line 1562 of file translator_cn.h.

1563 {
1564 return "枚举变量说明";
1565 }

◆ trEnumerationValues()

DString TranslatorChinese::trEnumerationValues ( )
inlineoverridevirtual

This is used in the documentation of a file as a header before the list of (global) variables

Implements Translator.

Definition at line 448 of file translator_cn.h.

449 { return "枚举值"; }

◆ trEnumGeneratedFromFiles()

DString TranslatorChinese::trEnumGeneratedFromFiles ( bool )
inlineoverridevirtual

Used file list for a Java enum

Implements Translator.

Definition at line 1899 of file translator_cn.h.

1900 { return "枚举说明文档从下列文件生成:"; }

◆ trEnumName()

DString TranslatorChinese::trEnumName ( )
inlineoverridevirtual

put after an enum name in the list of all members

Implements Translator.

Definition at line 167 of file translator_cn.h.

168 { return "枚举名称"; }

◆ trEnumReference()

DString TranslatorChinese::trEnumReference ( const DString & name)
inlineoverridevirtual

Header of a Java enum page (Java enums are represented as classes).

Implements Translator.

Definition at line 1903 of file translator_cn.h.

1904 { return name+CN_SPC "枚举类型参考"; }

References CN_SPC.

◆ trEnumValue()

DString TranslatorChinese::trEnumValue ( )
inlineoverridevirtual

put after an enum value in the list of all members

Implements Translator.

Definition at line 171 of file translator_cn.h.

172 { return "枚举值"; }

◆ trEventDocumentation()

DString TranslatorChinese::trEventDocumentation ( )
inlineoverridevirtual

Header used for the documentation section of a class' events.

Implements Translator.

Definition at line 1368 of file translator_cn.h.

1369 {
1370 return "事件说明";
1371 }

◆ trEvents()

DString TranslatorChinese::trEvents ( )
inlineoverridevirtual

Used as a header for declaration section of the events found in a C# program

Implements Translator.

Definition at line 1362 of file translator_cn.h.

1363 {
1364 return "事件";
1365 }

◆ trExamples()

DString TranslatorChinese::trExamples ( )
inlineoverridevirtual

This is put above each page as a link to all examples.

Implements Translator.

Definition at line 231 of file translator_cn.h.

232 { return "示例"; }

◆ trExamplesDescription()

DString TranslatorChinese::trExamplesDescription ( )
inlineoverridevirtual

This is an introduction to the page with the list of all examples

Implements Translator.

Definition at line 332 of file translator_cn.h.

333 { return "这里列出了所有示例:"; }

◆ trExceptionDocumentation()

DString TranslatorChinese::trExceptionDocumentation ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2209 of file translator_cn.h.

2210 {
2211 return "异常文档";
2212 }

◆ trExceptionHierarchy()

DString TranslatorChinese::trExceptionHierarchy ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2201 of file translator_cn.h.

2202 {
2203 return "异常层次结构";
2204 }

◆ trExceptionHierarchyDescription()

DString TranslatorChinese::trExceptionHierarchyDescription ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2205 of file translator_cn.h.

2206 {
2207 return "此继承列表大致按字母顺序排序:";
2208 }

◆ trExceptionIndex()

DString TranslatorChinese::trExceptionIndex ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2189 of file translator_cn.h.

2190 {
2191 return "异常索引";
2192 }

◆ trExceptionList()

DString TranslatorChinese::trExceptionList ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2193 of file translator_cn.h.

2194 {
2195 return "异常列表";
2196 }

◆ trExceptionListDescription()

DString TranslatorChinese::trExceptionListDescription ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2197 of file translator_cn.h.

2198 {
2199 return "以下是带有简要说明的异常:";
2200 }

◆ trExceptions()

DString TranslatorChinese::trExceptions ( )
inlineoverridevirtual

this text is generated when the \exception command is used.

Implements Translator.

Definition at line 537 of file translator_cn.h.

538 { return "异常"; }

◆ trExportedModules()

DString TranslatorChinese::trExportedModules ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2599 of file translator_cn.h.

2600 {
2601 return "导出的模块";
2602 }

◆ trExtendsClass()

DString TranslatorChinese::trExtendsClass ( )
inlineoverridevirtual

Used in a method of an Objective-C category that extends a class. Note that the @1 marker is required and is replaced by a link to the class method.

Implements Translator.

Definition at line 1945 of file translator_cn.h.

1946 {
1947 return "扩展类 @0.";
1948 }

◆ trFile()

DString TranslatorChinese::trFile ( bool ,
bool  )
inlineoverridevirtual

This is used for translation of the word that will possibly be followed by a single name or by a list of names of the category.

Implements Translator.

Definition at line 1238 of file translator_cn.h.

1239 {
1240 return "文件";
1241
1242 }

◆ trFileDocumentation()

DString TranslatorChinese::trFileDocumentation ( )
inlineoverridevirtual

This is used in LaTeX as the title of the chapter containing the documentation of all classes, structs and unions.

Implements Translator.

Definition at line 408 of file translator_cn.h.

409 { return "文件说明"; }

◆ trFileIn()

DString TranslatorChinese::trFileIn ( const DString & name)
inlineoverridevirtual

when clicking a directory dependency label, a page with a table is shown. The heading for the first column mentions the source file that has a relation to another file.

Implements Translator.

Definition at line 1800 of file translator_cn.h.

1801 {
1802 return DString("文件在")+CN_SPC+name;
1803 }

References CN_SPC.

◆ trFileIndex()

DString TranslatorChinese::trFileIndex ( )
inlineoverridevirtual

This is used in LaTeX as the title of the chapter with the list of all files.

Implements Translator.

Definition at line 378 of file translator_cn.h.

379 { return "文件索引"; }

◆ trFileList()

DString TranslatorChinese::trFileList ( )
inlineoverridevirtual

This is put above each page as a link to the list of documented files

Implements Translator.

Definition at line 202 of file translator_cn.h.

203 { return "文件列表"; }

◆ trFileListDescription()

DString TranslatorChinese::trFileListDescription ( bool extractAll)
inlineoverridevirtual

This is an introduction to the list with all files.

Implements Translator.

Definition at line 252 of file translator_cn.h.

253 {
254 DString result="这里列出了所有";
255 if (!extractAll) result+="文档化的";
256 result+="文件,并附带简要说明:";
257 return result;
258 }

◆ trFileMembers()

DString TranslatorChinese::trFileMembers ( )
inlineoverridevirtual

This is put above each page as a link to all member of files.

Implements Translator.

Definition at line 217 of file translator_cn.h.

218 {
219 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
220 return "全局定义";
221 } else {
222 return "文件成员";
223 }
224 }

References Config_getBool.

◆ trFileMembersDescription()

DString TranslatorChinese::trFileMembersDescription ( bool extractAll)
inlineoverridevirtual

This is an introduction to the page with all file members.

Implements Translator.

Definition at line 311 of file translator_cn.h.

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 }

References Config_getBool.

◆ trFileMembersDescriptionTotal()

DString TranslatorChinese::trFileMembersDescriptionTotal ( FileMemberHighlight::Enum hl)
inlineoverridevirtual

Implements Translator.

Definition at line 2371 of file translator_cn.h.

2372 {
2373 bool extractAll = Config_getBool(EXTRACT_ALL);
2374 DString result="这里是所有";
2375 if (!extractAll) result+="文档化的";
2376
2377 switch (hl)
2378 {
2380 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
2381 {
2382 result+="函数、变量、定义、枚举和类型定义";
2383 }
2384 else
2385 {
2386 result+="文件成员";
2387 }
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;
2411 result+="宏";
2412 break;
2413 case FileMemberHighlight::Total: // for completeness
2414 break;
2415 }
2416 result+=", 及指向";
2417 if (extractAll)
2418 result+="其所属文件";
2419 else
2420 result+="其文档";
2421 result+="的链接:" CN_SPC;
2422 return result;
2423 }

References FileMemberHighlight::All, CN_SPC, Config_getBool, FileMemberHighlight::Defines, FileMemberHighlight::Dictionaries, FileMemberHighlight::Enums, FileMemberHighlight::EnumValues, FileMemberHighlight::Functions, FileMemberHighlight::Sequences, FileMemberHighlight::Total, FileMemberHighlight::Typedefs, and FileMemberHighlight::Variables.

◆ trFileReference()

DString TranslatorChinese::trFileReference ( const DString & fileName)
inlineoverridevirtual

used as the title of the HTML page of a file

Implements Translator.

Definition at line 605 of file translator_cn.h.

606 {
607 DString result=fileName;
608 result+=CN_SPC "文件参考";
609 return result;
610 }

References CN_SPC.

◆ trFlowchart()

DString TranslatorChinese::trFlowchart ( )
inlineoverridevirtual

This is used for translation of the word that will be followed by a single name of the VHDL process flowchart.

Implements Translator.

Definition at line 2314 of file translator_cn.h.

2315 { return "流程图:"; }

◆ trFriends()

DString TranslatorChinese::trFriends ( )
inlineoverridevirtual

used in the class documentation as a header before the list of all friends of a class

Implements Translator.

Definition at line 564 of file translator_cn.h.

565 { return "友元"; }

◆ trFunctionAndProc()

DString TranslatorChinese::trFunctionAndProc ( )
inlineoverridevirtual

VHDL functions/procedures/processes.

Implements Translator.

Definition at line 2048 of file translator_cn.h.

2049 { return "函数/调用过程/进程语句"; }

◆ trFunctionDocumentation()

DString TranslatorChinese::trFunctionDocumentation ( )
inlineoverridevirtual

This is used in the documentation of a file/namespace before the list of documentation blocks for functions

Implements Translator.

Definition at line 472 of file translator_cn.h.

473 { return "函数说明"; }

◆ trFunctions()

DString TranslatorChinese::trFunctions ( )
inlineoverridevirtual

This is used in the documentation of a file as a header before the list of (global) functions

Implements Translator.

Definition at line 436 of file translator_cn.h.

437 { return "函数"; }

◆ trGeneratedAt()

DString TranslatorChinese::trGeneratedAt ( const DString & date,
const DString & projName )
inlineoverridevirtual

This is used in the standard footer of each page and indicates when the page was generated

Implements Translator.

Definition at line 498 of file translator_cn.h.

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 }

References CN_SPC, and DString::empty().

◆ trGeneratedAutomatically()

DString TranslatorChinese::trGeneratedAutomatically ( const DString & s)
inlineoverridevirtual

this is put at the author sections at the bottom of man pages. parameter s is name of the project name.

Implements Translator.

Definition at line 158 of file translator_cn.h.

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 }

References CN_SPC, and DString::empty().

◆ trGeneratedBy()

DString TranslatorChinese::trGeneratedBy ( )
inlineoverridevirtual

this text is used in the title page of a LaTeX document.

Implements Translator.

Definition at line 541 of file translator_cn.h.

542 { return "制作者"; }

◆ trGeneratedFromFiles()

DString TranslatorChinese::trGeneratedFromFiles ( ClassDef::CompoundType compType,
bool single )
inlineoverridevirtual

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.

Implements Translator.

Definition at line 754 of file translator_cn.h.

756 { // single is true implies a single file
757 bool vhdlOpt = Config_getBool(OPTIMIZE_OUTPUT_VHDL);
758 DString result="该";
759 switch(compType)
760 {
761 case ClassDef::Class: result+=vhdlOpt?"设计单元":"类"; break;
762 case ClassDef::Struct: result+="结构体"; break;
763 case ClassDef::Record: return english.trGeneratedFromFiles(compType,single);
764 case ClassDef::Union: result+="联合体"; break;
765 case ClassDef::Interface: result+="接口"; break;
766 case ClassDef::Protocol: result+="协议"; break;
767 case ClassDef::Category: result+="分类"; break;
768 case ClassDef::Exception: result+="异常"; break;
769 default: break;
770 }
771 result+="的文档由以下文件生成:";
772 return result;
773 }
DString trGeneratedFromFiles(ClassDef::CompoundType compType, bool single) override

References ClassDef::Category, ClassDef::Class, Config_getBool, TranslatorAdapterBase::english, ClassDef::Exception, ClassDef::Interface, ClassDef::Protocol, ClassDef::Record, ClassDef::Struct, TranslatorEnglish::trGeneratedFromFiles(), and ClassDef::Union.

◆ trGeneratedFromFilesFortran()

DString TranslatorChinese::trGeneratedFromFilesFortran ( ClassDef::CompoundType compType,
bool  )
inlineoverridevirtual

This is put at the bottom of a module documentation page and is followed by a list of files that were used to generate the page.

Implements Translator.

Definition at line 1713 of file translator_cn.h.

1715 {
1716 DString result="该";
1717 switch(compType)
1718 {
1719 case ClassDef::Class: result+=CN_SPC "模块"; break;
1720 case ClassDef::Struct: result+=CN_SPC "结构体"; break;
1721 case ClassDef::Union: result+=CN_SPC "联合体"; break;
1722 case ClassDef::Interface: result+=CN_SPC "接口"; break;
1723 case ClassDef::Protocol: result+=CN_SPC "协议"; break;
1724 case ClassDef::Category: result+=CN_SPC "目录"; break;
1725 case ClassDef::Exception: result+=CN_SPC "异常"; break;
1726 default: break;
1727 }
1728 result+=CN_SPC "的文档由以下文件生成:";
1729 return result;
1730 }

References ClassDef::Category, ClassDef::Class, CN_SPC, ClassDef::Exception, ClassDef::Interface, ClassDef::Protocol, ClassDef::Struct, and ClassDef::Union.

◆ trGlobal()

DString TranslatorChinese::trGlobal ( bool ,
bool  )
inlineoverridevirtual

This is used for translation of the word that will possibly be followed by a single name or by a list of names of the category.

Implements Translator.

Definition at line 1284 of file translator_cn.h.

1285 {
1286 return "全局";
1287 }

◆ trGlobalNamespace()

DString TranslatorChinese::trGlobalNamespace ( )
inlineoverridevirtual

Label used for search results in the global namespace

Implements Translator.

Definition at line 1775 of file translator_cn.h.

1776 {
1777 return "全局命名空间";
1778 }

◆ trGotoDocumentation()

DString TranslatorChinese::trGotoDocumentation ( )
inlineoverridevirtual

Used in the file sources to point to the corresponding documentation.

Implements Translator.

Definition at line 846 of file translator_cn.h.

847 {
848 return "浏览该文件的文档.";
849 }

◆ trGotoGraphicalHierarchy()

DString TranslatorChinese::trGotoGraphicalHierarchy ( )
inlineoverridevirtual

Implements Translator.

Definition at line 886 of file translator_cn.h.

887 {
888 return "浏览类继承关系图";
889 }

◆ trGotoSourceCode()

DString TranslatorChinese::trGotoSourceCode ( )
inlineoverridevirtual

Used in the file documentation to point to the corresponding sources.

Implements Translator.

Definition at line 840 of file translator_cn.h.

841 {
842 return "浏览该文件的源代码.";
843 }

◆ trGotoTextualHierarchy()

DString TranslatorChinese::trGotoTextualHierarchy ( )
inlineoverridevirtual

Implements Translator.

Definition at line 891 of file translator_cn.h.

892 {
893 return "浏览类继承关系表";
894 }

◆ trGraphicalHierarchy()

DString TranslatorChinese::trGraphicalHierarchy ( )
inlineoverridevirtual

Implements Translator.

Definition at line 881 of file translator_cn.h.

882 {
883 return "类继承关系图";
884 }

◆ trGroup()

DString TranslatorChinese::trGroup ( bool ,
bool  )
inlineoverridevirtual

This is used for translation of the word that will possibly be followed by a single name or by a list of names of the category.

Implements Translator.

Definition at line 1257 of file translator_cn.h.

1258 {
1259 return "组";
1260 }

◆ trHierarchicalIndex()

DString TranslatorChinese::trHierarchicalIndex ( )
inlineoverridevirtual

This is used in LaTeX as the title of the chapter with the class hierarchy.

Implements Translator.

Definition at line 358 of file translator_cn.h.

359 { return "继承关系索引"; }

◆ trImplementedFromList()

DString TranslatorChinese::trImplementedFromList ( int numEntries)
inlineoverridevirtual

used in member documentation blocks to produce a list of members that are implemented by this one.

Implements Translator.

Definition at line 1318 of file translator_cn.h.

1319 {
1320 return "实现了" CN_SPC+trWriteList(numEntries)+".";
1321 }
DString trWriteList(int numEntries) override

References CN_SPC, and trWriteList().

◆ trImplementedInList()

DString TranslatorChinese::trImplementedInList ( int numEntries)
inlineoverridevirtual

used in member documentation blocks to produce a list of all members that implement this abstract member.

Implements Translator.

Definition at line 1326 of file translator_cn.h.

1327 {
1328 return "在" CN_SPC+trWriteList(numEntries)+CN_SPC "内被实现.";
1329 }

References CN_SPC, and trWriteList().

◆ trImportant()

DString TranslatorChinese::trImportant ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2615 of file translator_cn.h.

2616 {
2617 return "重要事项";
2618 }

◆ trInclByDepGraph()

DString TranslatorChinese::trInclByDepGraph ( )
inlineoverridevirtual

Implements Translator.

Definition at line 998 of file translator_cn.h.

999 {
1000 return "此图展示该文件被哪些文件直接或间接地引用了:";
1001 }

◆ trInclDepGraph()

DString TranslatorChinese::trInclDepGraph ( const DString & fName)
inlineoverridevirtual

this text is put before an include dependency graph

Implements Translator.

Definition at line 828 of file translator_cn.h.

829 {
830 return fName+CN_SPC "的引用(Include)关系图:";
831 }

References CN_SPC.

◆ trIncludesFileIn()

DString TranslatorChinese::trIncludesFileIn ( const DString & name)
inlineoverridevirtual

when clicking a directory dependency label, a page with a table is shown. The heading for the second column mentions the destination file that is included.

Implements Translator.

Definition at line 1809 of file translator_cn.h.

1810 {
1811 return "在" CN_SPC+name+CN_SPC "中引用";
1812 }

References CN_SPC.

◆ trIncludingInheritedMembers()

DString TranslatorChinese::trIncludingInheritedMembers ( )
inlineoverridevirtual

this is the remainder of the sentence after the class name

Implements Translator.

Definition at line 152 of file translator_cn.h.

153 { return ",包括所有继承而来的类成员"; }

◆ trInheritedByList()

DString TranslatorChinese::trInheritedByList ( int numEntries)
inlineoverridevirtual

used in class documentation to produce a list of super classes, if class diagrams are disabled.

Implements Translator.

Definition at line 685 of file translator_cn.h.

686 {
687 return "被" CN_SPC+trWriteList(numEntries)+CN_SPC "继承.";
688 }

References CN_SPC, and trWriteList().

◆ trInheritedFrom()

DString TranslatorChinese::trInheritedFrom ( const DString & members,
const DString & what )
inlineoverridevirtual

Used for a section containing inherited members

Implements Translator.

Definition at line 1907 of file translator_cn.h.

1908 { return members+CN_SPC "继承自" CN_SPC+what; }

References CN_SPC.

◆ trInheritsList()

DString TranslatorChinese::trInheritsList ( int numEntries)
inlineoverridevirtual

used in class documentation to produce a list of base classes, if class diagrams are disabled.

Implements Translator.

Definition at line 679 of file translator_cn.h.

680 { return "继承自" CN_SPC+trWriteList(numEntries)+CN_SPC "."; }

References CN_SPC, and trWriteList().

◆ trInitialValue()

DString TranslatorChinese::trInitialValue ( )
inlineoverridevirtual

Text shown before a multi-line variable/enum initialization

Implements Translator.

Definition at line 870 of file translator_cn.h.

871 {
872 return "初始值:";
873 }

◆ trInstanceMethods()

DString TranslatorChinese::trInstanceMethods ( )
inlineoverridevirtual

Used as the header of a list of instance methods in Objective-C. These are similar to public member functions in C++.

Implements Translator.

Definition at line 1961 of file translator_cn.h.

1962 {
1963 return "实例方法";
1964 }

◆ trInterfaceDocumentation()

DString TranslatorChinese::trInterfaceDocumentation ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2165 of file translator_cn.h.

2166 {
2167 return "接口文档";
2168 }

◆ trInterfaceHierarchy()

DString TranslatorChinese::trInterfaceHierarchy ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2157 of file translator_cn.h.

2158 {
2159 return "接口层次结构";
2160 }

◆ trInterfaceHierarchyDescription()

DString TranslatorChinese::trInterfaceHierarchyDescription ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2161 of file translator_cn.h.

2162 {
2163 return "此继承列表大致按字母顺序排序:";
2164 }

◆ trInterfaceIndex()

DString TranslatorChinese::trInterfaceIndex ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2145 of file translator_cn.h.

2146 {
2147 return "接口索引";
2148 }

◆ trInterfaceList()

DString TranslatorChinese::trInterfaceList ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2149 of file translator_cn.h.

2150 {
2151 return "接口列表";
2152 }

◆ trInterfaceListDescription()

DString TranslatorChinese::trInterfaceListDescription ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2153 of file translator_cn.h.

2154 {
2155 return "以下是带有简要说明的接口:";
2156 }

◆ trInterfaces()

DString TranslatorChinese::trInterfaces ( )
inlineoverridevirtual

old style UNO IDL services: implemented interfaces

Implements Translator.

Definition at line 1978 of file translator_cn.h.

1979 { return "导出的接口"; }

◆ trInvariant()

DString TranslatorChinese::trInvariant ( )
inlineoverridevirtual

Text for the \invariant command

Implements Translator.

Definition at line 864 of file translator_cn.h.

865 {
866 return "不变性";
867 }

◆ trISOLang()

DString TranslatorChinese::trISOLang ( )
inlineoverridevirtual

Implements Translator.

Definition at line 56 of file translator_cn.h.

57 {
58 return "zh";
59 }

◆ trLegend()

DString TranslatorChinese::trLegend ( )
inlineoverridevirtual

text for the link to the legend page

Implements Translator.

Definition at line 1079 of file translator_cn.h.

1080 {
1081 return "图例";
1082 }

◆ trLegendDocs()

DString TranslatorChinese::trLegendDocs ( )
inlineoverridevirtual

page explaining how the dot graph's should be interpreted The A in the text below are to prevent link to classes called "A".

Implements Translator.

Definition at line 1021 of file translator_cn.h.

1022 {
1023 return
1024 "本页将向您解释如何理解由" CN_SPC "doxygen" CN_SPC "生成的图.<p>\n"
1025 "考虑如下例子:\n"
1026 "\\code\n"
1027 "/*! 由于截断而使" CN_SPC "Invisible" CN_SPC "不可见 */\n"
1028 "class Invisible { };\n\n"
1029 "/*! Truncated" CN_SPC "的继承关系将被隐藏 */\n"
1030 "class Truncated : public Invisible { };\n\n"
1031 "/* 没有被" CN_SPC "doxygen" CN_SPC "文档化的类 */\n"
1032 "class Undocumented { };\n\n"
1033 "/*! public" CN_SPC "继承关系的基类 */\n"
1034 "class PublicBase : public Truncated { };\n\n"
1035 "/*! 一个模板类 */\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"
1041 "/*! 被" CN_SPC "Inherited" CN_SPC "使用的类 */\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"
1049 "{\n"
1050 " private:\n"
1051 " Used *m_usedClass;\n"
1052 "};\n"
1053 "\\endcode\n"
1054 "结果将会生成以下图:"
1055 "<p><center><img alt=\"\" src=\"graph_legend."+getDotImageExtension()+"\"></center></p>\n"
1056 "<p>\n"
1057 "上图中的矩形含义为:\n"
1058 "</p>\n"
1059 "<ul>\n"
1060 "<li>%灰色填充的矩形 表示生成上图的结构体或类.</li>\n"
1061 "<li>%黑色边框的矩形 表示已经被文档化的结构体或类.</li>\n"
1062 "<li>%灰色边框的矩形 表示未被文档化的结构体或类.</li>\n"
1063 "<li>%红色边框的矩形 表示该结构体或类的关系没有被完全显示."
1064 "%如果生成的图超出了指定的尺寸范围,有一些关系就会被截断而无法显示.</li>\n"
1065 "</ul>\n"
1066 "<p>\n"
1067 "箭头的含义为:\n"
1068 "</p>\n"
1069 "<ul>\n"
1070 "<li>%蓝色的箭头 表示" CN_SPC "public" CN_SPC "继承关系.</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"
1075 "</ul>\n";
1076 }
DString getDotImageExtension()
Definition util.cpp:5100

References CN_SPC, and getDotImageExtension().

◆ trLegendTitle()

DString TranslatorChinese::trLegendTitle ( )
inlineoverridevirtual

title of the graph legend page

Implements Translator.

Definition at line 1013 of file translator_cn.h.

1014 {
1015 return "图例";
1016 }

◆ trListOfAllMembers()

DString TranslatorChinese::trListOfAllMembers ( )
inlineoverridevirtual

put in the class documentation

Implements Translator.

Definition at line 140 of file translator_cn.h.

141 { return "所有成员列表"; }

◆ trLoading()

DString TranslatorChinese::trLoading ( )
inlineoverridevirtual

Loading message shown when loading search results

Implements Translator.

Definition at line 1769 of file translator_cn.h.

1770 {
1771 return "载入中...";
1772 }

◆ trMainPage()

DString TranslatorChinese::trMainPage ( )
inlineoverridevirtual

This is in the (quick) index as a link to the main page (index.html)

Implements Translator.

Definition at line 785 of file translator_cn.h.

786 { return "首页"; }

◆ trMember()

DString TranslatorChinese::trMember ( bool ,
bool  )
inlineoverridevirtual

This is used for translation of the word that will possibly be followed by a single name or by a list of names of the category.

Implements Translator.

Definition at line 1275 of file translator_cn.h.

1276 {
1277 return "成员";
1278 }

◆ trMemberDataDocumentation()

DString TranslatorChinese::trMemberDataDocumentation ( )
inlineoverridevirtual

header that is put before the list of member attributes.

Implements Translator.

Definition at line 123 of file translator_cn.h.

124 {
125 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
126 {
127 return "结构体成员变量说明";
128 }
129 else
130 {
131 return "类成员变量说明";
132 }
133 }

References Config_getBool.

◆ trMemberEnumerationDocumentation()

DString TranslatorChinese::trMemberEnumerationDocumentation ( )
inlineoverridevirtual

header that is put before the list of enumerations.

Implements Translator.

Definition at line 106 of file translator_cn.h.

107 { return "成员枚举类型说明"; }

◆ trMemberFunctionDocumentation()

DString TranslatorChinese::trMemberFunctionDocumentation ( )
inlineoverridevirtual

header that is put before the list of member function.

Implements Translator.

Definition at line 110 of file translator_cn.h.

111 {
112 if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
113 {
114 return "成员函数/过程/进程说明";
115 }
116 else
117 {
118 return "成员函数说明";
119 }
120 }

References Config_getBool.

◆ trMemberFunctionDocumentationFortran()

DString TranslatorChinese::trMemberFunctionDocumentationFortran ( )
inlineoverridevirtual

header that is put before the list of member subprograms (Fortran).

Implements Translator.

Definition at line 1572 of file translator_cn.h.

1573 { return "成员函数/子程序说明"; }

◆ trMemberList()

DString TranslatorChinese::trMemberList ( )
inlineoverridevirtual

used as the title of the "list of all members" page of a class

Implements Translator.

Definition at line 144 of file translator_cn.h.

145 { return "成员列表"; }

◆ trMemberTypedefDocumentation()

DString TranslatorChinese::trMemberTypedefDocumentation ( )
inlineoverridevirtual

header that is put before the list of typedefs.

Implements Translator.

Definition at line 102 of file translator_cn.h.

103 { return "成员类型定义说明"; }

◆ trMethodDocumentation()

DString TranslatorChinese::trMethodDocumentation ( )
inlineoverridevirtual

Used as the header of the member functions of an Objective-C class.

Implements Translator.

Definition at line 1968 of file translator_cn.h.

1969 {
1970 return "成员函数文档";
1971 }

◆ trModule()

DString TranslatorChinese::trModule ( bool ,
bool  )
inlineoverridevirtual

This is used for translation of the word that will possibly be followed by a single name or by a list of names of the category.

Implements Translator.

Definition at line 1706 of file translator_cn.h.

1707 {
1708 return "模块";
1709 }

◆ trModuleDocumentation()

DString TranslatorChinese::trModuleDocumentation ( )
inlineoverridevirtual

This is used in LaTeX as the title of the chapter containing the documentation of all groups.

Implements Translator.

Definition at line 384 of file translator_cn.h.

385 { return "模块说明"; }

◆ trModuleIndex()

DString TranslatorChinese::trModuleIndex ( )
inlineoverridevirtual

This is used in LaTeX as the title of the chapter with the index of all groups.

Implements Translator.

Definition at line 352 of file translator_cn.h.

353 { return "模块索引"; }

◆ trModuleMembersDescriptionTotal()

DString TranslatorChinese::trModuleMembersDescriptionTotal ( ModuleMemberHighlight::Enum hl)
inlineoverridevirtual

Implements Translator.

Definition at line 2560 of file translator_cn.h.

2561 {
2562 bool extractAll = Config_getBool(EXTRACT_ALL);
2563 DString result="这里是所有";
2564 if (!extractAll) result+="文档化的";
2565 result+="模块";
2566 DString singularResult = "";
2567 switch (hl)
2568 {
2570 singularResult="成员";
2571 break;
2573 singularResult="函数";
2574 break;
2576 singularResult="变量";
2577 break;
2579 singularResult="类型定义";
2580 break;
2582 singularResult="枚举";
2583 break;
2585 singularResult="枚举值";
2586 break;
2587 case ModuleMemberHighlight::Total: // for completeness
2588 break;
2589 }
2590 result+=singularResult;
2591 result+=", 及指向";
2592 if (extractAll)
2593 result+="每个" + singularResult + "的模块文档";
2594 else
2595 result+="其所属模块";
2596 result+="的链接:" CN_SPC;
2597 return result;
2598 }

References ModuleMemberHighlight::All, CN_SPC, Config_getBool, ModuleMemberHighlight::Enums, ModuleMemberHighlight::EnumValues, ModuleMemberHighlight::Functions, ModuleMemberHighlight::Total, ModuleMemberHighlight::Typedefs, and ModuleMemberHighlight::Variables.

◆ trModuleReference()

DString TranslatorChinese::trModuleReference ( const DString & namespaceName)
inlineoverridevirtual

used as the title of the HTML page of a module (Fortran)

Implements Translator.

Definition at line 1675 of file translator_cn.h.

1676 {
1677 DString result=namespaceName;
1678 result += CN_SPC "模块参考手册";
1679 return result;
1680 }

References CN_SPC.

◆ trModules()

DString TranslatorChinese::trModules ( )
inlineoverridevirtual

This is put above each page as a link to the list of all groups of compounds or files (see the \group command).

Implements Translator.

Definition at line 183 of file translator_cn.h.

184 { return "模块"; }

◆ trModulesDescription()

DString TranslatorChinese::trModulesDescription ( )
inlineoverridevirtual

This is an introduction to the page with the list of class/file groups

Implements Translator.

Definition at line 340 of file translator_cn.h.

341 { return "这里列出了所有模块:"; }

◆ trModulesIndex()

DString TranslatorChinese::trModulesIndex ( )
inlineoverridevirtual

This is used in LaTeX as the title of the chapter with the index of all modules (Fortran).

Implements Translator.

Definition at line 1699 of file translator_cn.h.

1700 { return "模块索引"; }

◆ trModulesList()

DString TranslatorChinese::trModulesList ( )
inlineoverridevirtual

used as the title of page containing all the index of all modules (Fortran).

Implements Translator.

Definition at line 1640 of file translator_cn.h.

1641 { return "模块列表"; }

◆ trModulesListDescription()

DString TranslatorChinese::trModulesListDescription ( bool extractAll)
inlineoverridevirtual

used as an introduction to the modules list (Fortran)

Implements Translator.

Definition at line 1644 of file translator_cn.h.

1645 {
1646 DString result="这里列出了所有";
1647 if (!extractAll) result+="文档化的";
1648 result+="模块,并附带简要说明:";
1649 return result;
1650 }

◆ trModulesMemberDescription()

DString TranslatorChinese::trModulesMemberDescription ( bool extractAll)
inlineoverridevirtual

This is an introduction to the page with all modules members (Fortran)

Implements Translator.

Definition at line 1687 of file translator_cn.h.

1688 {
1689 if(!extractAll) {
1690 return "这里是所有文档化的模块成员列表,含有到每个成员所在模块的文档的链接:";
1691 } else {
1692 return "这里是模块成员列表,含有到成员所属的模块的链接:";
1693 }
1694 }

◆ trModulesMembers()

DString TranslatorChinese::trModulesMembers ( )
inlineoverridevirtual

This is put above each page as a link to all members of modules. (Fortran)

Implements Translator.

Definition at line 1683 of file translator_cn.h.

1684 { return "模块成员"; }

◆ trMonth()

DString TranslatorChinese::trMonth ( int month,
bool ,
bool full )
inlineoverridevirtual

Implements Translator.

Definition at line 1852 of file translator_cn.h.

1853 {
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];
1857 }

◆ trMore()

DString TranslatorChinese::trMore ( )
inlineoverridevirtual

this is the text of a link put after brief descriptions.

Implements Translator.

Definition at line 136 of file translator_cn.h.

137 { return "更多..."; }

◆ trNamespace()

DString TranslatorChinese::trNamespace ( bool ,
bool  )
inlineoverridevirtual

This is used for translation of the word that will possibly be followed by a single name or by a list of names of the category.

Implements Translator.

Definition at line 1248 of file translator_cn.h.

1249 {
1250 return "命名空间";
1251 }

◆ trNamespaceDocumentation()

DString TranslatorChinese::trNamespaceDocumentation ( )
inlineoverridevirtual

This is used in LaTeX as the title of the chapter containing the documentation of all namespaces.

Implements Translator.

Definition at line 732 of file translator_cn.h.

733 { return "命名空间文档"; }

◆ trNamespaceIndex()

DString TranslatorChinese::trNamespaceIndex ( )
inlineoverridevirtual

This is used in LaTeX as the title of the chapter with the index of all namespaces.

Implements Translator.

Definition at line 726 of file translator_cn.h.

727 { return "命名空间索引"; }

◆ trNamespaceList()

DString TranslatorChinese::trNamespaceList ( )
inlineoverridevirtual

used as the title of page containing all the index of all namespaces.

Implements Translator.

Definition at line 549 of file translator_cn.h.

550 { return "命名空间列表"; }

◆ trNamespaceListDescription()

DString TranslatorChinese::trNamespaceListDescription ( bool extractAll)
inlineoverridevirtual

used as an introduction to the namespace list

Implements Translator.

Definition at line 553 of file translator_cn.h.

554 {
555 DString result="这里列出了所有";
556 if (!extractAll) result+="文档化的";
557 result+="命名空间定义,附带简要说明:";
558 return result;
559 }

◆ trNamespaceMemberDescription()

DString TranslatorChinese::trNamespaceMemberDescription ( bool extractAll)
inlineoverridevirtual

This is an introduction to the page with all namespace members

Implements Translator.

Definition at line 711 of file translator_cn.h.

712 {
713 DString result="这里列出了所有";
714 if (!extractAll) result+="文档化的";
715 result+="命名空间成员,并附带";
716 if (extractAll)
717 result+="其对应命名空间的说明文档:";
718 else
719 result+="其所属的命名空间:";
720 return result;
721 }

◆ trNamespaceMembers()

DString TranslatorChinese::trNamespaceMembers ( )
inlineoverridevirtual

This is put above each page as a link to all members of namespaces.

Implements Translator.

Definition at line 707 of file translator_cn.h.

708 { return "命名空间成员"; }

◆ trNamespaceMembersDescriptionTotal()

DString TranslatorChinese::trNamespaceMembersDescriptionTotal ( NamespaceMemberHighlight::Enum hl)
inlineoverridevirtual

Implements Translator.

Definition at line 2498 of file translator_cn.h.

2499 {
2500 bool extractAll = Config_getBool(EXTRACT_ALL);
2501 DString result="这里是所有";
2502 if (!extractAll) result+="文档化的";
2503 result+="命名空间";
2504 DString singularResult = "";
2505 switch (hl)
2506 {
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;
2529 singularResult="枚举值";
2530 break;
2531 case NamespaceMemberHighlight::Total: // for completeness
2532 break;
2533 }
2534 result+=singularResult;
2535 result+=", 及指向";
2536 if (extractAll)
2537 result+="每个" + singularResult + "所属命名空间文档";
2538 else
2539 result+="其所属命名空间";
2540 result+="的链接:" CN_SPC;
2541 return result;
2542 }

References NamespaceMemberHighlight::All, CN_SPC, Config_getBool, NamespaceMemberHighlight::Dictionaries, NamespaceMemberHighlight::Enums, NamespaceMemberHighlight::EnumValues, NamespaceMemberHighlight::Functions, NamespaceMemberHighlight::Sequences, NamespaceMemberHighlight::Total, NamespaceMemberHighlight::Typedefs, and NamespaceMemberHighlight::Variables.

◆ trNamespaceReference()

DString TranslatorChinese::trNamespaceReference ( const DString & namespaceName)
inlineoverridevirtual

used as the title of the HTML page of a namespace

Implements Translator.

Definition at line 613 of file translator_cn.h.

614 { DString result=namespaceName;
615 result+=CN_SPC "命名空间参考";
616 return result;
617 }

References CN_SPC.

◆ trNamespaces()

DString TranslatorChinese::trNamespaces ( )
inlineoverridevirtual

This is used in the documentation before the list of all namespaces in a file.

Implements Translator.

Definition at line 742 of file translator_cn.h.

743 {
744 return "命名空间";
745 }

◆ trNoMatches()

DString TranslatorChinese::trNoMatches ( )
inlineoverridevirtual

Text shown when no search results are found

Implements Translator.

Definition at line 1787 of file translator_cn.h.

1788 {
1789 return "未找到";
1790 }

◆ trNote()

DString TranslatorChinese::trNote ( )
inlineoverridevirtual

Implements Translator.

Definition at line 905 of file translator_cn.h.

906 {
907 return "注解";
908 }

◆ trOperationDocumentation()

DString TranslatorChinese::trOperationDocumentation ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2235 of file translator_cn.h.

2236 {
2237 return "操作文档";
2238 }

◆ trOperations()

DString TranslatorChinese::trOperations ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2231 of file translator_cn.h.

2232 {
2233 return "操作";
2234 }

◆ trOverloadText()

DString TranslatorChinese::trOverloadText ( )
inlineoverridevirtual

This text is added to the documentation when the \overload command is used for a overloaded function.

Implements Translator.

Definition at line 1543 of file translator_cn.h.

1544 {
1545 return "这是为便于使用而提供的一个重载成员函数."
1546 "与上面的函数相比,它接受不同类型的参数.";
1547 }

◆ trPackage()

DString TranslatorChinese::trPackage ( const DString & name)
inlineoverridevirtual

Used as the title of a Java package

Implements Translator.

Definition at line 1134 of file translator_cn.h.

1135 {
1136 return "包" CN_SPC+name;
1137 }

References CN_SPC.

◆ trPackageAttribs()

DString TranslatorChinese::trPackageAttribs ( )
inlineoverridevirtual

Used as a heading for a list of Java class variables with package scope.

Implements Translator.

Definition at line 1407 of file translator_cn.h.

1408 {
1409 return "包属性";
1410 }

◆ trPackageFunctions()

DString TranslatorChinese::trPackageFunctions ( )
inlineoverridevirtual

Used as a heading for a list of Java class functions with package scope.

Implements Translator.

Definition at line 1387 of file translator_cn.h.

1388 {
1389 return "包函数";
1390 }

◆ trPackageList()

DString TranslatorChinese::trPackageList ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2304 of file translator_cn.h.

2305 { return "包列表"; }

◆ trPackageListDescription()

DString TranslatorChinese::trPackageListDescription ( )
inlineoverridevirtual

The description of the package index page

Implements Translator.

Definition at line 1141 of file translator_cn.h.

1142 {
1143 return "这里列出所有的包,附带简要说明(如果有的话):";
1144 }

◆ trPackageMembers()

DString TranslatorChinese::trPackageMembers ( )
inlineoverridevirtual

Implements Translator.

Definition at line 1391 of file translator_cn.h.

1392 {
1393 return "包成员";
1394 }

◆ trPackages()

DString TranslatorChinese::trPackages ( )
inlineoverridevirtual

The link name in the Quick links header for each page

Implements Translator.

Definition at line 1147 of file translator_cn.h.

1148 {
1149 return "包";
1150 }

◆ trPackageTypes()

DString TranslatorChinese::trPackageTypes ( )
inlineoverridevirtual

Used as a heading for a list of Java class types with package scope.

Implements Translator.

Definition at line 1379 of file translator_cn.h.

1380 {
1381 return "包类型";
1382 }

◆ trPage()

DString TranslatorChinese::trPage ( bool ,
bool  )
inlineoverridevirtual

This is used for translation of the word that will possibly be followed by a single name or by a list of names of the category.

Implements Translator.

Definition at line 1266 of file translator_cn.h.

1267 {
1268 return "页";
1269 }

◆ trPageAbbreviation()

DString TranslatorChinese::trPageAbbreviation ( )
inlineoverridevirtual

This is used in references to page that are put in the LaTeX documentation. It should be an abbreviation of the word page.

Implements Translator.

Definition at line 791 of file translator_cn.h.

792 { return "p."; }

◆ trPageIndex()

DString TranslatorChinese::trPageIndex ( )
inlineoverridevirtual

Implements Translator.

Definition at line 896 of file translator_cn.h.

897 {
898 return "页面索引";
899 }

◆ trPanelSynchronisationTooltip()

DString TranslatorChinese::trPanelSynchronisationTooltip ( bool enable)
inlineoverridevirtual

Used as a tooltip for the toggle button that appears in the navigation tree in the HTML output when GENERATE_TREEVIEW is enabled. This tooltip explains the meaning of the button.

Implements Translator.

Definition at line 1926 of file translator_cn.h.

1927 {
1928 DString opt = enable ? "开启" : "关闭";
1929 return "点击" CN_SPC+opt+CN_SPC "面板同步";
1930 }

References CN_SPC.

◆ trParameters()

DString TranslatorChinese::trParameters ( )
inlineoverridevirtual

this text is generated when the \param command is used.

Implements Translator.

Definition at line 533 of file translator_cn.h.

534 { return "参数"; }

◆ trPostcondition()

DString TranslatorChinese::trPostcondition ( )
inlineoverridevirtual

Text for the \post command

Implements Translator.

Definition at line 858 of file translator_cn.h.

859 {
860 return "后置条件";
861 }

◆ trPrecondition()

DString TranslatorChinese::trPrecondition ( )
inlineoverridevirtual

Text for the \pre command

Implements Translator.

Definition at line 852 of file translator_cn.h.

853 {
854 return "前置条件";
855 }

◆ trPrivateAttribs()

DString TranslatorChinese::trPrivateAttribs ( )
inlineoverridevirtual

Implements Translator.

Definition at line 952 of file translator_cn.h.

953 {
954 return "Private 属性";
955 }

◆ trPrivateMembers()

DString TranslatorChinese::trPrivateMembers ( )
inlineoverridevirtual

Implements Translator.

Definition at line 641 of file translator_cn.h.

642 { return "Private 成员函数"; }

◆ trPrivateSlots()

DString TranslatorChinese::trPrivateSlots ( )
inlineoverridevirtual

Implements Translator.

Definition at line 644 of file translator_cn.h.

645 { return "Private 槽"; }

◆ trPrivateTypes()

DString TranslatorChinese::trPrivateTypes ( )
inlineoverridevirtual

Implements Translator.

Definition at line 947 of file translator_cn.h.

948 {
949 return "Private 类型";
950 }

◆ trProperties()

DString TranslatorChinese::trProperties ( )
inlineoverridevirtual

Used as a section header for IDL properties

Implements Translator.

Definition at line 1105 of file translator_cn.h.

1106 {
1107 return "属性";
1108 }

◆ trPropertyDocumentation()

DString TranslatorChinese::trPropertyDocumentation ( )
inlineoverridevirtual

Used as a section header for IDL property documentation

Implements Translator.

Definition at line 1111 of file translator_cn.h.

1112 {
1113 return "属性说明";
1114 }

◆ trProtectedAttribs()

DString TranslatorChinese::trProtectedAttribs ( )
inlineoverridevirtual

Implements Translator.

Definition at line 937 of file translator_cn.h.

938 {
939 return "Protected 属性";
940 }

◆ trProtectedMembers()

DString TranslatorChinese::trProtectedMembers ( )
inlineoverridevirtual

Implements Translator.

Definition at line 632 of file translator_cn.h.

633 { return "Protected 成员函数"; }

◆ trProtectedSlots()

DString TranslatorChinese::trProtectedSlots ( )
inlineoverridevirtual

Implements Translator.

Definition at line 635 of file translator_cn.h.

636 { return "Protected 槽"; }

◆ trProtectedTypes()

DString TranslatorChinese::trProtectedTypes ( )
inlineoverridevirtual

Implements Translator.

Definition at line 932 of file translator_cn.h.

933 {
934 return "Protected 类型";
935 }

◆ trProvidedByCategory()

DString TranslatorChinese::trProvidedByCategory ( )
inlineoverridevirtual

Used in a method of an Objective-C class that is declared in a a category. Note that the @1 marker is required and is replaced by a link.

Implements Translator.

Definition at line 1936 of file translator_cn.h.

1937 {
1938 return "由 category @0 提供.";
1939 }

◆ trPublicAttribs()

DString TranslatorChinese::trPublicAttribs ( )
inlineoverridevirtual

Implements Translator.

Definition at line 915 of file translator_cn.h.

916 {
917 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
918 {
919 return "成员变量";
920 }
921 else
922 {
923 return "Public 属性";
924 }
925 }

References Config_getBool.

◆ trPublicMembers()

DString TranslatorChinese::trPublicMembers ( )
inlineoverridevirtual

Implements Translator.

Definition at line 620 of file translator_cn.h.

621 { return "Public 成员函数"; }

◆ trPublicSlots()

DString TranslatorChinese::trPublicSlots ( )
inlineoverridevirtual

Implements Translator.

Definition at line 623 of file translator_cn.h.

624 { return "Public 槽"; }

◆ trPublicTypes()

DString TranslatorChinese::trPublicTypes ( )
inlineoverridevirtual

Implements Translator.

Definition at line 910 of file translator_cn.h.

911 {
912 return "Public 类型";
913 }

◆ trReferencedBy()

DString TranslatorChinese::trReferencedBy ( )
inlineoverridevirtual

Implements Translator.

Definition at line 983 of file translator_cn.h.

984 {
985 return "被这些函数引用";
986 }

◆ trReferenceManual()

DString TranslatorChinese::trReferenceManual ( )
inlineoverridevirtual

This is used in LaTeX as the title of the document

Implements Translator.

Definition at line 412 of file translator_cn.h.

413 { return "参考手册"; }

◆ trReferences()

DString TranslatorChinese::trReferences ( )
inlineoverridevirtual

This text is put before the list of members referenced by a member

Implements Translator.

Definition at line 1306 of file translator_cn.h.

1307 {
1308 return "引用了";
1309 }

◆ trReimplementedFromList()

DString TranslatorChinese::trReimplementedFromList ( int numEntries)
inlineoverridevirtual

used in member documentation blocks to produce a list of members that are hidden by this one.

Implements Translator.

Definition at line 693 of file translator_cn.h.

694 {
695 return "重载" CN_SPC+trWriteList(numEntries)+CN_SPC ".";
696 }

References CN_SPC, and trWriteList().

◆ trReimplementedInList()

DString TranslatorChinese::trReimplementedInList ( int numEntries)
inlineoverridevirtual

used in member documentation blocks to produce a list of all member that overwrite the implementation of this member.

Implements Translator.

Definition at line 701 of file translator_cn.h.

702 {
703 return "被" CN_SPC+trWriteList(numEntries)+CN_SPC "重载.";
704 }

References CN_SPC, and trWriteList().

◆ trRelatedFunctionDocumentation()

DString TranslatorChinese::trRelatedFunctionDocumentation ( )
inlineoverridevirtual

used in the class documentation as a header before the list of all related classes

Implements Translator.

Definition at line 574 of file translator_cn.h.

575 { return "友元及相关函数文档"; }

◆ trRelatedFunctions()

DString TranslatorChinese::trRelatedFunctions ( )
inlineoverridevirtual

used in the compound documentation before a list of related functions.

Implements Translator.

Definition at line 84 of file translator_cn.h.

85 { return "相关函数"; }

◆ trRelatedPages()

DString TranslatorChinese::trRelatedPages ( )
inlineoverridevirtual

This is put above each page as a link to all related pages.

Implements Translator.

Definition at line 227 of file translator_cn.h.

228 { return "相关页面"; }

◆ trRelatedPagesDescription()

DString TranslatorChinese::trRelatedPagesDescription ( )
inlineoverridevirtual

This is an introduction to the page with the list of related pages

Implements Translator.

Definition at line 336 of file translator_cn.h.

337 { return "这里列出了所有相关页面:"; }

◆ trRelatedSubscript()

DString TranslatorChinese::trRelatedSubscript ( )
inlineoverridevirtual

subscript for the related functions.

Implements Translator.

Definition at line 88 of file translator_cn.h.

89 { return "(请注意: 这些不是成员函数.)"; }

◆ trRelatedSymbolDocumentation()

DString TranslatorChinese::trRelatedSymbolDocumentation ( )
inlineoverridevirtual

used in the class documentation as a header before the list of all related classes.

Supersedes trRelatedFunctionDocumentation

Implements Translator.

Definition at line 2344 of file translator_cn.h.

2345 { return "友元及相关符号说明"; }

◆ trRelatedSymbols()

DString TranslatorChinese::trRelatedSymbols ( )
inlineoverridevirtual

Please translate also updated body of the method trMemberFunctionDocumentation(), now better adapted for VHDL sources documentation.

used in the compound documentation before a list of related symbols.

Supersedes trRelatedFunctions

Implements Translator.

Definition at line 2329 of file translator_cn.h.

2330 { return "相关符号"; }

◆ trRelatedSymbolsSubscript()

DString TranslatorChinese::trRelatedSymbolsSubscript ( )
inlineoverridevirtual

subscript for the related symbols

Supersedes trRelatedSubscript

Implements Translator.

Definition at line 2336 of file translator_cn.h.

2337 { return "(注意: 这些不是成员符号.)"; }

◆ trRemarks()

DString TranslatorChinese::trRemarks ( )
inlineoverridevirtual

Implements Translator.

Definition at line 988 of file translator_cn.h.

989 {
990 return "备注";
991 }

◆ trRequirementID()

DString TranslatorChinese::trRequirementID ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2630 of file translator_cn.h.

2631 {
2632 return "ID";
2633 }

◆ trRequirements()

DString TranslatorChinese::trRequirements ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2625 of file translator_cn.h.

2626 {
2627 return "需求";
2628 }

◆ trReturns()

DString TranslatorChinese::trReturns ( )
inlineoverridevirtual

this text is generated when the \return command is used.

Implements Translator.

Definition at line 525 of file translator_cn.h.

526 { return "返回"; }

◆ trReturnValues()

DString TranslatorChinese::trReturnValues ( )
inlineoverridevirtual

This is used as the heading text for the retval command.

Implements Translator.

Definition at line 780 of file translator_cn.h.

781 { return "返回值"; }

◆ trRTFansicp()

DString TranslatorChinese::trRTFansicp ( )
inlineoverridevirtual

Used as ansicpg for RTF file

The following table shows the correlation of Charset name, Charset Value and

Codepage number:
Charset Name       Charset Value(hex)  Codepage number
------------------------------------------------------
DEFAULT_CHARSET           1 (x01)
SYMBOL_CHARSET            2 (x02)
OEM_CHARSET             255 (xFF)
ANSI_CHARSET              0 (x00)            1252
RUSSIAN_CHARSET         204 (xCC)            1251
EE_CHARSET              238 (xEE)            1250
GREEK_CHARSET           161 (xA1)            1253
TURKISH_CHARSET         162 (xA2)            1254
BALTIC_CHARSET          186 (xBA)            1257
HEBREW_CHARSET          177 (xB1)            1255
ARABIC _CHARSET         178 (xB2)            1256
SHIFTJIS_CHARSET        128 (x80)             932
HANGEUL_CHARSET         129 (x81)             949
GB2313_CHARSET          134 (x86)             936
CHINESEBIG5_CHARSET     136 (x88)             950

Implements Translator.

Definition at line 1201 of file translator_cn.h.

1202 {
1203 return "936";
1204 }

◆ trRTFCharSet()

DString TranslatorChinese::trRTFCharSet ( )
inlineoverridevirtual

Used as ansicpg for RTF fcharset

See also
trRTFansicp() for a table of possible values.

Implements Translator.

Definition at line 1209 of file translator_cn.h.

1210 {
1211 return "134";
1212 }

◆ trRTFGeneralIndex()

DString TranslatorChinese::trRTFGeneralIndex ( )
inlineoverridevirtual

Used as header RTF general index

Implements Translator.

Definition at line 1216 of file translator_cn.h.

1217 {
1218 return "索引";
1219 }

◆ trRTFTableOfContents()

DString TranslatorChinese::trRTFTableOfContents ( )
inlineoverridevirtual

used in RTF documentation as a heading for the Table of Contents.

Implements Translator.

Definition at line 1338 of file translator_cn.h.

1339 {
1340 return "目录";
1341 }

◆ trSatisfiedBy()

DString TranslatorChinese::trSatisfiedBy ( const DString & list)
inlineoverridevirtual

Implements Translator.

Definition at line 2640 of file translator_cn.h.

2641 {
2642 return "由" CN_SPC+list+CN_SPC "满足。";
2643 }

References CN_SPC.

◆ trSatisfies()

DString TranslatorChinese::trSatisfies ( bool )
inlineoverridevirtual

Implements Translator.

Definition at line 2635 of file translator_cn.h.

2636 {
2637 return "满足需求";
2638 }

◆ trSearch()

DString TranslatorChinese::trSearch ( )
inlineoverridevirtual

This is put above each page as a link to the search engine.

Implements Translator.

Definition at line 235 of file translator_cn.h.

236 { return "搜索"; }

◆ trSearching()

DString TranslatorChinese::trSearching ( )
inlineoverridevirtual

Message shown while searching

Implements Translator.

Definition at line 1781 of file translator_cn.h.

1782 {
1783 return "搜索中...";
1784 }

◆ trSearchMatches()

DString TranslatorChinese::trSearchMatches ( )
inlineoverridevirtual

This string is put before the list of matched words, for each search result. What follows is the list of words that matched the query.

Implements Translator.

Definition at line 1477 of file translator_cn.h.

1478 {
1479 return "符合的结果:";
1480 }

◆ trSearchResults()

DString TranslatorChinese::trSearchResults ( int numDocuments)
inlineoverridevirtual

This string is put just before listing the search results. The text can be different depending on the number of documents found. Inside the text you can put the special marker $num to insert the number representing the actual number of search results. The numDocuments parameter can be either 0, 1 or 2, where the value 2 represents 2 or more matches. HTML markup is allowed inside the returned string.

Implements Translator.

Definition at line 1458 of file translator_cn.h.

1459 {
1460 if (numDocuments==0)
1461 {
1462 return "抱歉,未找到与您查询相符的文档.";
1463 }
1464 else if (numDocuments==1)
1465 {
1466 return "找到<b>1</b>篇与您查询相符的文档.";
1467 }
1468 else
1469 {
1470 return "找到<b>$num</b>篇与您查询相符的文档."
1471 "优先显示最符合的文档.";
1472 }
1473 }

◆ trSearchResultsTitle()

DString TranslatorChinese::trSearchResultsTitle ( )
inlineoverridevirtual

This string is used as the title for the page listing the search results.

Implements Translator.

Definition at line 1445 of file translator_cn.h.

1446 {
1447 return "搜索结果";
1448 }

◆ trSeeAlso()

DString TranslatorChinese::trSeeAlso ( )
inlineoverridevirtual

this text is generated when the \sa command is used.

Implements Translator.

Definition at line 529 of file translator_cn.h.

530 { return "参见"; }

◆ trSequenceDocumentation()

DString TranslatorChinese::trSequenceDocumentation ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2129 of file translator_cn.h.

2130 {
2131 return "序列文档";
2132 }

◆ trSequences()

DString TranslatorChinese::trSequences ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2125 of file translator_cn.h.

2126 {
2127 return "序列";
2128 }

◆ trServiceGeneratedFromFiles()

DString TranslatorChinese::trServiceGeneratedFromFiles ( bool )
inlineoverridevirtual

UNO IDL service page.

Implements Translator.

Definition at line 2011 of file translator_cn.h.

2012 {
2013 // single is true implies a single file
2014 return "该服务的文档由下列文件生成:";
2015 }

◆ trServiceReference()

DString TranslatorChinese::trServiceReference ( const DString & sName)
inlineoverridevirtual

UNO IDL service page title.

Implements Translator.

Definition at line 1997 of file translator_cn.h.

1998 {
1999 DString result=sName;
2000 result+= CN_SPC "服务参考";
2001 return result;
2002 }

References CN_SPC.

◆ trServices()

DString TranslatorChinese::trServices ( )
inlineoverridevirtual

old style UNO IDL services: inherited services

Implements Translator.

Definition at line 1982 of file translator_cn.h.

1983 { return "包含的服务"; }

◆ trSignals()

DString TranslatorChinese::trSignals ( )
inlineoverridevirtual

Implements Translator.

Definition at line 626 of file translator_cn.h.

627 { return "信号"; }

◆ trSince()

DString TranslatorChinese::trSince ( )
inlineoverridevirtual

Implements Translator.

Definition at line 1003 of file translator_cn.h.

1004 {
1005 return "自从";
1006 }

◆ trSingletonGeneratedFromFiles()

DString TranslatorChinese::trSingletonGeneratedFromFiles ( bool )
inlineoverridevirtual

UNO IDL singleton page.

Implements Translator.

Definition at line 2017 of file translator_cn.h.

2018 {
2019 // single is true implies a single file
2020 return "该单例的文档由下列文件生成:";
2021 }

◆ trSingletonReference()

DString TranslatorChinese::trSingletonReference ( const DString & sName)
inlineoverridevirtual

UNO IDL singleton page title.

Implements Translator.

Definition at line 2004 of file translator_cn.h.

2005 {
2006 DString result=sName;
2007 result+= CN_SPC "单例参考";
2008 return result;
2009 }

References CN_SPC.

◆ trSliceInterfaces()

DString TranslatorChinese::trSliceInterfaces ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2141 of file translator_cn.h.

2142 {
2143 return "接口";
2144 }

◆ trSourceFile()

DString TranslatorChinese::trSourceFile ( const DString & filename)
inlineoverridevirtual

This is used in HTML as the title of page with source code for file filename

Implements Translator.

Definition at line 1488 of file translator_cn.h.

1489 {
1490 return filename + CN_SPC "源文件";
1491 }

References CN_SPC.

◆ trStaticPackageAttribs()

DString TranslatorChinese::trStaticPackageAttribs ( )
inlineoverridevirtual

Used as a heading for a list of static Java class variables with package scope.

Implements Translator.

Definition at line 1415 of file translator_cn.h.

1416 {
1417 return "静态包属性";
1418 }

◆ trStaticPackageFunctions()

DString TranslatorChinese::trStaticPackageFunctions ( )
inlineoverridevirtual

Used as a heading for a list of static Java class functions with package scope.

Implements Translator.

Definition at line 1399 of file translator_cn.h.

1400 {
1401 return "静态包函数";
1402 }

◆ trStaticPrivateAttribs()

DString TranslatorChinese::trStaticPrivateAttribs ( )
inlineoverridevirtual

Implements Translator.

Definition at line 957 of file translator_cn.h.

958 {
959 return "静态 Private 属性";
960 }

◆ trStaticPrivateMembers()

DString TranslatorChinese::trStaticPrivateMembers ( )
inlineoverridevirtual

Implements Translator.

Definition at line 647 of file translator_cn.h.

648 { return "静态 Private 成员函数"; }

◆ trStaticProtectedAttribs()

DString TranslatorChinese::trStaticProtectedAttribs ( )
inlineoverridevirtual

Implements Translator.

Definition at line 942 of file translator_cn.h.

943 {
944 return "静态 Protected 属性";
945 }

◆ trStaticProtectedMembers()

DString TranslatorChinese::trStaticProtectedMembers ( )
inlineoverridevirtual

Implements Translator.

Definition at line 638 of file translator_cn.h.

639 { return "静态 Protected 成员函数"; }

◆ trStaticPublicAttribs()

DString TranslatorChinese::trStaticPublicAttribs ( )
inlineoverridevirtual

Implements Translator.

Definition at line 927 of file translator_cn.h.

928 {
929 return "静态 Public 属性";
930 }

◆ trStaticPublicMembers()

DString TranslatorChinese::trStaticPublicMembers ( )
inlineoverridevirtual

Implements Translator.

Definition at line 629 of file translator_cn.h.

630 { return "静态 Public 成员函数"; }

◆ trStructDocumentation()

DString TranslatorChinese::trStructDocumentation ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2185 of file translator_cn.h.

2186 {
2187 return "结构文档";
2188 }

◆ trStructIndex()

DString TranslatorChinese::trStructIndex ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2173 of file translator_cn.h.

2174 {
2175 return "结构索引";
2176 }

◆ trStructList()

DString TranslatorChinese::trStructList ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2177 of file translator_cn.h.

2178 {
2179 return "结构列表";
2180 }

◆ trStructListDescription()

DString TranslatorChinese::trStructListDescription ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2181 of file translator_cn.h.

2182 {
2183 return "以下是带有简要说明的结构:";
2184 }

◆ trStructs()

DString TranslatorChinese::trStructs ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2169 of file translator_cn.h.

2170 {
2171 return "结构";
2172 }

◆ trSubprogram()

DString TranslatorChinese::trSubprogram ( bool ,
bool  )
inlineoverridevirtual

This is used for translation of the word that will possibly be followed by a single name or by a list of names of the category.

Implements Translator.

Definition at line 1745 of file translator_cn.h.

1746 {
1747 return "子程序";
1748 }

◆ trSubprogramDocumentation()

DString TranslatorChinese::trSubprogramDocumentation ( )
inlineoverridevirtual

This is used in the documentation of a file/namespace before the list of documentation blocks for subprograms (Fortran)

Implements Translator.

Definition at line 1629 of file translator_cn.h.

1630 { return "函数/子程序说明"; }

◆ trSubprograms()

DString TranslatorChinese::trSubprograms ( )
inlineoverridevirtual

This is used in the documentation of a file as a header before the list of (global) subprograms (Fortran).

Implements Translator.

Definition at line 1623 of file translator_cn.h.

1624 { return "函数/子程序"; }

◆ trTemplateParameters()

DString TranslatorChinese::trTemplateParameters ( )
inlineoverridevirtual

Section header for list of template parameters

Implements Translator.

Definition at line 1891 of file translator_cn.h.

1892 { return "模板参数"; }

◆ trTest()

DString TranslatorChinese::trTest ( )
inlineoverridevirtual

Used as a marker that is put before a test item

Implements Translator.

Definition at line 1089 of file translator_cn.h.

1090 {
1091 return "测试";
1092 }

◆ trTestList()

DString TranslatorChinese::trTestList ( )
inlineoverridevirtual

Used as the header of the test list

Implements Translator.

Definition at line 1095 of file translator_cn.h.

1096 {
1097 return "测试列表";
1098 }

◆ trThisIsTheListOfAllMembers()

DString TranslatorChinese::trThisIsTheListOfAllMembers ( )
inlineoverridevirtual

this is the first part of a sentence that is followed by a class name

Implements Translator.

Definition at line 148 of file translator_cn.h.

149 { return "成员的完整列表,这些成员属于"; }

◆ trTodo()

DString TranslatorChinese::trTodo ( )
inlineoverridevirtual

Used as a marker that is put before a todo item

Implements Translator.

Definition at line 968 of file translator_cn.h.

969 {
970 return "待办事项";
971 }

◆ trTodoList()

DString TranslatorChinese::trTodoList ( )
inlineoverridevirtual

Used as the header of the todo list

Implements Translator.

Definition at line 974 of file translator_cn.h.

975 {
976 return "待办事项列表";
977 }

◆ trTopicDocumentation()

DString TranslatorChinese::trTopicDocumentation ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2552 of file translator_cn.h.

2553 { return "专题文档"; }

◆ trTopicIndex()

DString TranslatorChinese::trTopicIndex ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2556 of file translator_cn.h.

2557 { return "专题索引"; }

◆ trTopicList()

DString TranslatorChinese::trTopicList ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2554 of file translator_cn.h.

2555 { return "专题列表"; }

◆ trTopicListDescription()

DString TranslatorChinese::trTopicListDescription ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2558 of file translator_cn.h.

2559 { return "这里是所有专题及其简介:"; }

◆ trTopics()

DString TranslatorChinese::trTopics ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2550 of file translator_cn.h.

2551 { return "专题"; }

◆ trType()

DString TranslatorChinese::trType ( bool ,
bool  )
inlineoverridevirtual

This is used for translation of the word that will possibly be followed by a single name or by a list of names of the category.

Implements Translator.

Definition at line 1736 of file translator_cn.h.

1737 {
1738 return "类型";
1739 }

Referenced by trCompoundType().

◆ trTypeConstraints()

DString TranslatorChinese::trTypeConstraints ( )
inlineoverridevirtual

C# Type Constraint list

Implements Translator.

Definition at line 1751 of file translator_cn.h.

1752 {
1753 return "类型限制";
1754 }

◆ trTypedefDocumentation()

DString TranslatorChinese::trTypedefDocumentation ( )
inlineoverridevirtual

This is used in the documentation of a file/namespace before the list of documentation blocks for typedefs

Implements Translator.

Definition at line 460 of file translator_cn.h.

461 { return "类型定义说明"; }

◆ trTypedefs()

DString TranslatorChinese::trTypedefs ( )
inlineoverridevirtual

This is used in the documentation of a file as a header before the list of typedefs

Implements Translator.

Definition at line 424 of file translator_cn.h.

425 { return "类型定义"; }

◆ trTypeDocumentation()

DString TranslatorChinese::trTypeDocumentation ( )
inlineoverridevirtual

This is used in LaTeX as the title of the chapter containing the documentation of all data types (Fortran).

Implements Translator.

Definition at line 1617 of file translator_cn.h.

1618 { return "数据类型文档"; }

◆ trUnsatisfiedRequirements()

DString TranslatorChinese::trUnsatisfiedRequirements ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2644 of file translator_cn.h.

2645 {
2646 return "未满足的需求";
2647 }

◆ trUnsatisfiedRequirementsText()

DString TranslatorChinese::trUnsatisfiedRequirementsText ( bool ,
const DString & list )
inlineoverridevirtual

Implements Translator.

Definition at line 2648 of file translator_cn.h.

2649 {
2650 return "需求" CN_SPC+list+CN_SPC "没有\"满足\"关联。";
2651 }

References CN_SPC.

◆ trUnverifiedRequirements()

DString TranslatorChinese::trUnverifiedRequirements ( )
inlineoverridevirtual

Implements Translator.

Definition at line 2662 of file translator_cn.h.

2663 {
2664 return "未验证的需求";
2665 }

◆ trUnverifiedRequirementsText()

DString TranslatorChinese::trUnverifiedRequirementsText ( bool ,
const DString & list )
inlineoverridevirtual

Implements Translator.

Definition at line 2666 of file translator_cn.h.

2667 {
2668 return "需求" CN_SPC+list+CN_SPC "没有\"验证\"关联。";
2669 }

References CN_SPC.

◆ trVariableDocumentation()

DString TranslatorChinese::trVariableDocumentation ( )
inlineoverridevirtual

This is used in the documentation of a file/namespace before the list of documentation blocks for variables

Implements Translator.

Definition at line 478 of file translator_cn.h.

479 { return "变量说明"; }

◆ trVariables()

DString TranslatorChinese::trVariables ( )
inlineoverridevirtual

This is used in the documentation of a file as a header before the list of (global) variables

Implements Translator.

Definition at line 442 of file translator_cn.h.

443 { return "变量"; }

◆ trVerifiedBy()

DString TranslatorChinese::trVerifiedBy ( const DString & list)
inlineoverridevirtual

Implements Translator.

Definition at line 2658 of file translator_cn.h.

2659 {
2660 return "由" CN_SPC+list+CN_SPC "验证。";
2661 }

References CN_SPC.

◆ trVerifies()

DString TranslatorChinese::trVerifies ( bool )
inlineoverridevirtual

Implements Translator.

Definition at line 2653 of file translator_cn.h.

2654 {
2655 return "验证需求";
2656 }

◆ trVersion()

DString TranslatorChinese::trVersion ( )
inlineoverridevirtual

this text is generated when the \version command is used.

Implements Translator.

Definition at line 517 of file translator_cn.h.

518 { return "版本"; }

◆ trVhdlType()

DString TranslatorChinese::trVhdlType ( VhdlSpecifier type,
bool  )
inlineoverridevirtual

VHDL type.

Implements Translator.

Definition at line 2051 of file translator_cn.h.

2052 {
2053 switch(type)
2054 {
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 "进程语句";
2084 return "端口";
2085 case VhdlSpecifier::USE:
2086 return "使用语句";
2088 return "类属";
2090 return "包体";
2092 return "单元";
2094 return "共享变量";
2096 return "文件";
2098 return "组";
2100 return "实例化";
2102 return "别名";
2104 return " 配置";
2106 return "混合运算";
2108 return "约束";
2109 default:
2110 return "类";
2111 }
2112 }
@ INSTANTIATION
Definition types.h:793
@ MISCELLANEOUS
Definition types.h:799
@ SHAREDVARIABLE
Definition types.h:796

References ALIAS, ARCHITECTURE, ATTRIBUTE, COMPONENT, CONFIG, CONSTANT, ENTITY, FUNCTION, GENERIC, GROUP, INSTANTIATION, LIBRARY, MISCELLANEOUS, PACKAGE, PACKAGE_BODY, PORT, PROCEDURE, PROCESS, RECORD, SHAREDVARIABLE, SIGNAL, SUBTYPE, TYPE, UCF_CONST, UNITS, USE, and VFILE.

◆ trWarning()

DString TranslatorChinese::trWarning ( )
inlineoverridevirtual

this text is generated when the \warning command is used.

Implements Translator.

Definition at line 513 of file translator_cn.h.

514 { return "警告"; }

◆ trWriteList()

DString TranslatorChinese::trWriteList ( int numEntries)
inlineoverridevirtual

this function is used to produce a comma-separated list of items. use generateMarker(i) to indicate where item i should be put.

Implements Translator.

Definition at line 655 of file translator_cn.h.

656 {
657 DString result;
658 // the inherits list contain `numEntries' classes
659 for (int i=0;i<numEntries;i++)
660 {
661 // use generateMarker to generate placeholders for the class links!
662 result+=generateMarker(i); // generate marker for entry i in the list
663 // (order is left to right)
664
665 if (i!=numEntries-1) // not the last entry, so we need a separator
666 {
667 if (i<numEntries-2) // not the fore last entry
668 result+="," CN_SPC;
669 else // the fore last entry
670 result+=CN_SPC ", 以及" CN_SPC;
671 }
672 }
673 return result;
674 }
DString generateMarker(int id)
Definition dstring.h:904

References CN_SPC, and generateMarker().

Referenced by trImplementedFromList(), trImplementedInList(), trInheritedByList(), trInheritsList(), trReimplementedFromList(), and trReimplementedInList().


The documentation for this class was generated from the following file: