diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2011-08-14 13:56:38 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2011-08-14 13:56:38 (GMT) |
commit | 9e5aed6d58f0e33ca942f67daa49971d885b0110 (patch) | |
tree | 3138a0d18d53a00498b4cad59f934a4e64762cf8 /src/translator_cn.h | |
parent | 3426c85df5daa8d679bc2ed87740ccbc34d6346b (diff) | |
download | Doxygen-9e5aed6d58f0e33ca942f67daa49971d885b0110.zip Doxygen-9e5aed6d58f0e33ca942f67daa49971d885b0110.tar.gz Doxygen-9e5aed6d58f0e33ca942f67daa49971d885b0110.tar.bz2 |
Release-1.7.5
Diffstat (limited to 'src/translator_cn.h')
-rw-r--r-- | src/translator_cn.h | 646 |
1 files changed, 332 insertions, 314 deletions
diff --git a/src/translator_cn.h b/src/translator_cn.h index 10d0e6a..54bbcf4 100644 --- a/src/translator_cn.h +++ b/src/translator_cn.h @@ -24,7 +24,7 @@ */ #define CN_SPC -class TranslatorChinese : public TranslatorAdapter_1_7_5 +class TranslatorChinese : public Translator { public: /*! Used for identification of the language. The identification @@ -59,66 +59,66 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 /*! return the language charset. This will be used for the HTML output */ virtual QCString idLanguageCharset() - { return "gb2312"; } + { return "UTF-8"; } /*! used in the compound documentation before a list of related functions. */ virtual QCString trRelatedFunctions() - { return "相关函数"; } + { return "鐩稿叧鍑芥暟"; } /*! subscript for the related functions. */ virtual QCString trRelatedSubscript() - { return "(注意:这些不是成员函数。)"; } + { return "锛堟敞鎰忥細杩欎簺涓嶆槸鎴愬憳鍑芥暟銆傦級"; } /*! header that is put before the detailed description of files, * classes and namespaces. */ virtual QCString trDetailedDescription() - { return "详细描述"; } + { return "璇︾粏鎻忚堪"; } /*! header that is put before the list of typedefs. */ virtual QCString trMemberTypedefDocumentation() - { return "成员类型定义文档"; } + { return "鎴愬憳绫诲瀷瀹氫箟鏂囨。"; } /*! header that is put before the list of enumerations. */ virtual QCString trMemberEnumerationDocumentation() - { return "成员枚举类型文档"; } + { return "鎴愬憳鏋氫妇绫诲瀷鏂囨。"; } /*! header that is put before the list of member function. */ virtual QCString trMemberFunctionDocumentation() - { return "成员函数文档"; } + { return "鎴愬憳鍑芥暟鏂囨。"; } /*! header that is put before the list of member attributes. */ virtual QCString trMemberDataDocumentation() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "字段文档"; + return "瀛楁鏂囨。"; } else { - return "成员数据文档"; + return "鎴愬憳鏁版嵁鏂囨。"; } } /*! this is the text of a link put after brief descriptions. */ virtual QCString trMore() - { return "更多..."; } + { return "鏇村..."; } /*! put in the class documention */ virtual QCString trListOfAllMembers() - { return "所有成员的列表。"; } + { return "鎵鏈夋垚鍛樼殑鍒楄〃銆"; } /*! used as the title of the "list of all members" page of a class */ virtual QCString trMemberList() - { return "成员列表"; } + { return "鎴愬憳鍒楄〃"; } /*! this is the first part of a sentence that is followed by a class name */ virtual QCString trThisIsTheListOfAllMembers() - { return "成员的完整列表,这些成员属于"CN_SPC; } + { return "鎴愬憳鐨勫畬鏁村垪琛紝杩欎簺鎴愬憳灞炰簬"CN_SPC; } /*! this is the remainder of the sentence after the class name */ virtual QCString trIncludingInheritedMembers() - { return ",包括所有继承而来的成员"; } + { return "锛屽寘鎷墍鏈夌户鎵胯屾潵鐨勬垚鍛"; } /*! this is put at the author sections at the bottom of man pages. * parameter s is name of the project name. @@ -126,22 +126,22 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 virtual QCString trGeneratedAutomatically(const char *s) { QCString result; - if (s) result=(QCString)"为"CN_SPC+s+","; - result+="由"CN_SPC"Doyxgen"CN_SPC"通过分析源代码自动生成。"; + if (s) result=(QCString)"涓"CN_SPC+s+"锛"; + result+="鐢"CN_SPC"Doyxgen"CN_SPC"閫氳繃鍒嗘瀽婧愪唬鐮佽嚜鍔ㄧ敓鎴愩"; return result; } /*! put after an enum name in the list of all members */ virtual QCString trEnumName() - { return "枚举名称"; } + { return "鏋氫妇鍚嶇О"; } /*! put after an enum value in the list of all members */ virtual QCString trEnumValue() - { return "枚举值"; } + { return "鏋氫妇鍊"; } /*! put after an undocumented member in the list of all members */ virtual QCString trDefinedIn() - { return "定义于"CN_SPC; } + { return "瀹氫箟浜"CN_SPC; } // quick reference sections @@ -150,35 +150,35 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 * compounds or files (see the \\group command). */ virtual QCString trModules() - { return "模块"; } + { return "妯″潡"; } /*! This is put above each page as a link to the class hierarchy */ virtual QCString trClassHierarchy() - { return "类继承关系"; } + { return "绫荤户鎵垮叧绯"; } /*! This is put above each page as a link to the list of annotated class */ virtual QCString trCompoundList() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "数据结构"; + return "鏁版嵁缁撴瀯"; } else { - return "组合类型列表"; + return "缁勫悎绫诲瀷鍒楄〃"; } } /*! This is put above each page as a link to the list of documented files */ virtual QCString trFileList() - { return "文件列表"; } + { return "鏂囦欢鍒楄〃"; } /*! This is put above each page as a link to all members of compounds. */ virtual QCString trCompoundMembers() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "数据字段"; + return "鏁版嵁瀛楁"; } else { - return "组合类型成员"; + return "缁勫悎绫诲瀷鎴愬憳"; } } @@ -186,31 +186,31 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 virtual QCString trFileMembers() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "全局定义"; + return "鍏ㄥ眬瀹氫箟"; } else { - return "文件成员"; + return "鏂囦欢鎴愬憳"; } } /*! This is put above each page as a link to all related pages. */ virtual QCString trRelatedPages() - { return "相关页面"; } + { return "鐩稿叧椤甸潰"; } /*! This is put above each page as a link to all examples. */ virtual QCString trExamples() - { return "示例"; } + { return "绀轰緥"; } virtual QCString trSearch() - { return "搜索"; } + { return "鎼滅储"; } virtual QCString trClassHierarchyDescription() - { return "此列表基本按字典顺序排序:"; } + { return "姝ゅ垪琛ㄥ熀鏈寜瀛楀吀椤哄簭鎺掑簭锛"; } virtual QCString trFileListDescription(bool extractAll) { - QCString result="这里列出所有"; - if (!extractAll) result+="文档化的"; - result+="文件,附带简要说明:"; + QCString result="杩欓噷鍒楀嚭鎵鏈"; + if (!extractAll) result+="鏂囨。鍖栫殑"; + result+="鏂囦欢锛岄檮甯︾畝瑕佽鏄庯細"; return result; } @@ -219,41 +219,41 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "这里列出所有数据结构,附带简要说明:"; + return "杩欓噷鍒楀嚭鎵鏈夋暟鎹粨鏋勶紝闄勫甫绠瑕佽鏄庯細"; } else { - return "这里列出所有类、结构、联合以及接口定义,附带简要说明:"; + return "杩欓噷鍒楀嚭鎵鏈夌被銆佺粨鏋勩佽仈鍚堜互鍙婃帴鍙e畾涔夛紝闄勫甫绠瑕佽鏄庯細"; } } virtual QCString trCompoundMembersDescription(bool extractAll) { - QCString result="这里列出所有"; + QCString result="杩欓噷鍒楀嚭鎵鏈"; if (!extractAll) { - result+="文档化的"; + result+="鏂囨。鍖栫殑"; } if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - result+="结构和联合的成员,附带"; + result+="缁撴瀯鍜岃仈鍚堢殑鎴愬憳锛岄檮甯"; } else { - result+="类成员,附带"; + result+="绫绘垚鍛橈紝闄勫甫"; } if (extractAll) { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - result+="所在结构/联合的文档的链接:"; + result+="鎵鍦ㄧ粨鏋勶紡鑱斿悎鐨勬枃妗g殑閾炬帴锛"; } else { - result+="所在类的文档的链接:"; + result+="鎵鍦ㄧ被鐨勬枃妗g殑閾炬帴锛"; } } else { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - result+="所属结构/联合的链接:"; + result+="鎵灞炵粨鏋勶紡鑱斿悎鐨勯摼鎺ワ細"; } else { - result+="所属类的链接:"; + result+="鎵灞炵被鐨勯摼鎺ワ細"; } } return result; @@ -261,130 +261,130 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 virtual QCString trFileMembersDescription(bool extractAll) { - QCString result="这里列出所有"; + QCString result="杩欓噷鍒楀嚭鎵鏈"; if (!extractAll) - result +="文档化的"; + result +="鏂囨。鍖栫殑"; if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - result +="函数,变量,宏,枚举和类型定义,附带"; + result +="鍑芥暟锛屽彉閲忥紝瀹忥紝鏋氫妇鍜岀被鍨嬪畾涔夛紝闄勫甫"; } else { - result +="文件成员,附带"; + result +="鏂囦欢鎴愬憳锛岄檮甯"; } if (extractAll) - result+="所在文件的文档的链接:"; + result+="鎵鍦ㄦ枃浠剁殑鏂囨。鐨勯摼鎺ワ細"; else - result+="所在文件的链接:"; + result+="鎵鍦ㄦ枃浠剁殑閾炬帴锛"; return result; } virtual QCString trExamplesDescription() - { return "这里列出所有示例:"; } + { return "杩欓噷鍒楀嚭鎵鏈夌ず渚嬶細"; } virtual QCString trRelatedPagesDescription() - { return "这里列出所有相关的页面:"; } + { return "杩欓噷鍒楀嚭鎵鏈夌浉鍏崇殑椤甸潰锛"; } virtual QCString trModulesDescription() - { return "这里列出所有模块"; } + { return "杩欓噷鍒楀嚭鎵鏈夋ā鍧"; } virtual QCString trDocumentation() - { return "文档"; } + { return "鏂囨。"; } virtual QCString trModuleIndex() - { return "模块索引"; } + { return "妯″潡绱㈠紩"; } virtual QCString trHierarchicalIndex() - { return "继承关系索引"; } + { return "缁ф壙鍏崇郴绱㈠紩"; } virtual QCString trCompoundIndex() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "数据结构索引"; + return "鏁版嵁缁撴瀯绱㈠紩"; } else { - return "组合类型索引"; + return "缁勫悎绫诲瀷绱㈠紩"; } } virtual QCString trFileIndex() - { return "文件索引"; } + { return "鏂囦欢绱㈠紩"; } virtual QCString trModuleDocumentation() - { return "模块文档"; } + { return "妯″潡鏂囨。"; } virtual QCString trClassDocumentation() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "数据结构文档"; + return "鏁版嵁缁撴瀯鏂囨。"; } else { - return "类文档"; + return "绫绘枃妗"; } } virtual QCString trFileDocumentation() - { return "文件文档"; } + { return "鏂囦欢鏂囨。"; } virtual QCString trExampleDocumentation() - { return "示例文档"; } + { return "绀轰緥鏂囨。"; } virtual QCString trPageDocumentation() - { return "页面文档"; } + { return "椤甸潰鏂囨。"; } virtual QCString trReferenceManual() - { return "参考手册"; } + { return "鍙傝冩墜鍐"; } virtual QCString trDefines() - { return "宏定义"; } + { return "瀹忓畾涔"; } virtual QCString trFuncProtos() - { return "函数原型"; } + { return "鍑芥暟鍘熷瀷"; } virtual QCString trTypedefs() - { return "类型定义"; } + { return "绫诲瀷瀹氫箟"; } virtual QCString trEnumerations() - { return "枚举"; } + { return "鏋氫妇"; } virtual QCString trFunctions() - { return "函数"; } + { return "鍑芥暟"; } virtual QCString trVariables() - { return "变量"; } + { return "鍙橀噺"; } virtual QCString trEnumerationValues() - { return "枚举值"; } + { return "鏋氫妇鍊"; } virtual QCString trDefineDocumentation() - { return "宏定义文档"; } + { return "瀹忓畾涔夋枃妗"; } virtual QCString trFunctionPrototypeDocumentation() - { return "函数原型文档"; } + { return "鍑芥暟鍘熷瀷鏂囨。"; } virtual QCString trTypedefDocumentation() - { return "类型定义文档"; } + { return "绫诲瀷瀹氫箟鏂囨。"; } virtual QCString trEnumerationTypeDocumentation() - { return "枚举类型文档"; } + { return "鏋氫妇绫诲瀷鏂囨。"; } virtual QCString trFunctionDocumentation() - { return "函数文档"; } + { return "鍑芥暟鏂囨。"; } virtual QCString trVariableDocumentation() - { return "变量文档"; } + { return "鍙橀噺鏂囨。"; } virtual QCString trCompounds() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "数据结构"; + return "鏁版嵁缁撴瀯"; } else { - return "组合类型"; + return "缁勫悎绫诲瀷"; } } @@ -403,60 +403,60 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 virtual QCString trClassDiagram(const char *clName) { - return (QCString)"继承图,类"CN_SPC+clName; + return (QCString)"绫"CN_SPC+clName+CN_SPC"缁ф壙鍏崇郴鍥撅細"; } virtual QCString trForInternalUseOnly() - { return "仅限内部使用。"; } + { return "浠呴檺鍐呴儴浣跨敤銆"; } virtual QCString trWarning() - { return "警告"; } + { return "璀﹀憡"; } virtual QCString trVersion() - { return "版本"; } + { return "鐗堟湰"; } virtual QCString trDate() - { return "日期"; } + { return "鏃ユ湡"; } virtual QCString trReturns() - { return "返回"; } + { return "杩斿洖"; } virtual QCString trSeeAlso() - { return "参见"; } + { return "鍙傝"; } virtual QCString trParameters() - { return "参数"; } + { return "鍙傛暟"; } virtual QCString trExceptions() - { return "异常"; } + { return "寮傚父"; } virtual QCString trGeneratedBy() - { return "制作者"; } + { return "鍒朵綔鑰"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990307 ////////////////////////////////////////////////////////////////////////// virtual QCString trNamespaceList() - { return "名字空间列表"; } + { return "鍛藉悕绌洪棿鍒楄〃"; } virtual QCString trNamespaceListDescription(bool extractAll) { - QCString result="这里列出所有"; - if (!extractAll) result+="文档化的"; - result+="名字空间定义,附带简要说明:"; + QCString result="杩欓噷鍒楀嚭鎵鏈"; + if (!extractAll) result+="鏂囨。鍖栫殑"; + result+="鍛藉悕绌洪棿瀹氫箟锛岄檮甯︾畝瑕佽鏄庯細"; return result; } virtual QCString trFriends() - { return "友元"; } + { return "鍙嬪厓"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 ////////////////////////////////////////////////////////////////////////// virtual QCString trRelatedFunctionDocumentation() - { return "友元及相关函数文档"; } + { return "鍙嬪厓鍙婄浉鍏冲嚱鏁版枃妗"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 @@ -468,18 +468,18 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 // used as the title of the HTML page of a class/struct/union { QCString result=(QCString)clName; - if (isTemplate) result+=CN_SPC"模板"; + if (isTemplate) result+=CN_SPC"妯℃澘"; switch(compType) { - case ClassDef::Class: result+="类"; break; - case ClassDef::Struct: result+="结构"; break; - case ClassDef::Union: result+="联合"; break; - case ClassDef::Interface: result+="接口"; break; - case ClassDef::Protocol: result+="协议"; break; - case ClassDef::Category: result+="分类"; break; - case ClassDef::Exception: result+="异常"; break; + case ClassDef::Class: result+="绫"; break; + case ClassDef::Struct: result+="缁撴瀯"; break; + case ClassDef::Union: result+="鑱斿悎"; break; + case ClassDef::Interface: result+="鎺ュ彛"; break; + case ClassDef::Protocol: result+="鍗忚"; break; + case ClassDef::Category: result+="鍒嗙被"; break; + case ClassDef::Exception: result+="寮傚父"; break; } - result+="参考"; + result+="鍙傝"; return result; } @@ -487,7 +487,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 // used as the title of the HTML page of a file { QCString result=fileName; - result+=CN_SPC"文件参考"; + result+=CN_SPC"鏂囦欢鍙傝"; return result; } @@ -495,40 +495,40 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 // used as the title of the HTML page of a namespace { QCString result=namespaceName; - result+=CN_SPC"名字空间参考"; + result+=CN_SPC"鍛藉悕绌洪棿鍙傝"; return result; } // these are for the member sections of a class, struct or union virtual QCString trPublicMembers() - { return "公有成员"; } + { return "鍏湁鎴愬憳"; } virtual QCString trPublicSlots() - { return "公有槽"; } + { return "鍏湁妲"; } virtual QCString trSignals() - { return "信号"; } + { return "淇″彿"; } virtual QCString trStaticPublicMembers() - { return "静态公有成员"; } + { return "闈欐佸叕鏈夋垚鍛"; } virtual QCString trProtectedMembers() - { return "保护成员"; } + { return "淇濇姢鎴愬憳"; } virtual QCString trProtectedSlots() - { return "保护槽"; } + { return "淇濇姢妲"; } virtual QCString trStaticProtectedMembers() - { return "静态保护成员"; } + { return "闈欐佷繚鎶ゆ垚鍛"; } virtual QCString trPrivateMembers() - { return "私有成员"; } + { return "绉佹湁鎴愬憳"; } virtual QCString trPrivateSlots() - { return "私有槽"; } + { return "绉佹湁妲"; } virtual QCString trStaticPrivateMembers() - { return "静态私有成员"; } + { return "闈欐佺鏈夋垚鍛"; } // end of member sections @@ -548,9 +548,9 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 if (i!=numEntries-1) // not the last entry, so we need a separator { if (i<numEntries-2) // not the fore last entry - result+="、"; + result+="銆"; else // the fore last entry - result+=CN_SPC"及"CN_SPC; + result+=CN_SPC"鍙"CN_SPC; } } return result; @@ -560,56 +560,56 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 // used in class documentation to produce a list of base classes, // if class diagrams are disabled. { - return "继承自"CN_SPC+trWriteList(numEntries)+"。"; + return "缁ф壙鑷"CN_SPC+trWriteList(numEntries)+"銆"; } virtual QCString trInheritedByList(int numEntries) // used in class documentation to produce a list of super classes, // if class diagrams are disabled. { - return "被"CN_SPC+trWriteList(numEntries)+CN_SPC"继承."; + return "琚"CN_SPC+trWriteList(numEntries)+CN_SPC"缁ф壙."; } virtual QCString trReimplementedFromList(int numEntries) // used in member documentation blocks to produce a list of // members that are hidden by this one. { - return "重载"CN_SPC+trWriteList(numEntries)+"。"; + return "閲嶈浇"CN_SPC+trWriteList(numEntries)+"銆"; } virtual QCString trReimplementedInList(int numEntries) { // used in member documentation blocks to produce a list of // all member that overwrite the implementation of this member. - return "被"CN_SPC+trWriteList(numEntries)+CN_SPC"重载。"; + return "琚"CN_SPC+trWriteList(numEntries)+CN_SPC"閲嶈浇銆"; } virtual QCString trNamespaceMembers() // This is put above each page as a link to all members of namespaces. - { return "名字空间成员"; } + { return "鍛藉悕绌洪棿鎴愬憳"; } virtual QCString trNamespaceMemberDescription(bool extractAll) // This is an introduction to the page with all namespace members { - QCString result="这里列出了所有"; - if (!extractAll) result+="文档化的"; - result+="名字空间成员,附带"; + QCString result="杩欓噷鍒楀嚭浜嗘墍鏈"; + if (!extractAll) result+="鏂囨。鍖栫殑"; + result+="鍛藉悕绌洪棿鎴愬憳锛岄檮甯"; if (extractAll) - result+="所在类的文档的链接:"; + result+="鎵鍦ㄧ被鐨勬枃妗g殑閾炬帴锛"; else - result+="所在类的链接:"; + result+="鎵鍦ㄧ被鐨勯摼鎺ワ細"; return result; } virtual QCString trNamespaceIndex() // This is used in LaTeX as the title of the chapter with the // index of all namespaces. - { return "名字空间索引"; } + { return "鍛藉悕绌洪棿绱㈠紩"; } virtual QCString trNamespaceDocumentation() // This is used in LaTeX as the title of the chapter containing // the documentation of all namespaces. - { return "名字空间文档"; } + { return "鍛藉悕绌洪棿鏂囨。"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990522 @@ -621,7 +621,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 virtual QCString trNamespaces() { // return "Namespaces"; - return "名字空间"; + return "鍛藉悕绌洪棿"; } ////////////////////////////////////////////////////////////////////////// @@ -635,18 +635,18 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 bool) { // here s is one of " Class", " Struct" or " Union" // single is true implies a single file - QCString result=(QCString)"该"; + QCString result=(QCString)"璇"; switch(compType) { - case ClassDef::Class: result+="类"; break; - case ClassDef::Struct: result+="结构"; break; - case ClassDef::Union: result+="联合"; break; - case ClassDef::Interface: result+="接口"; break; - case ClassDef::Protocol: result+="协议"; break; - case ClassDef::Category: result+="分类"; break; - case ClassDef::Exception: result+="异常"; break; + case ClassDef::Class: result+="绫"; break; + case ClassDef::Struct: result+="缁撴瀯"; break; + case ClassDef::Union: result+="鑱斿悎"; break; + case ClassDef::Interface: result+="鎺ュ彛"; break; + case ClassDef::Protocol: result+="鍗忚"; break; + case ClassDef::Category: result+="鍒嗙被"; break; + case ClassDef::Exception: result+="寮傚父"; break; } - result+="的文档由以下文件生成:"; + result+="鐨勬枃妗g敱浠ヤ笅鏂囦欢鐢熸垚锛"; return result; } @@ -654,7 +654,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 * list. */ virtual QCString trAlphabeticalList() - { return "按字典顺序排序的列表"; } + { return "鎸夊瓧鍏搁『搴忔帓搴忕殑鍒楄〃"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 @@ -662,12 +662,12 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 /*! This is used as the heading text for the retval command. */ virtual QCString trReturnValues() - { return "返回值"; } + { return "杩斿洖鍊"; } /*! This is in the (quick) index as a link to the main page (index.html) */ virtual QCString trMainPage() - { return "首页"; } + { return "棣栭〉"; } /*! This is used in references to page that are put in the LaTeX * documentation. It should be an abbreviation of the word page. @@ -681,12 +681,12 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 virtual QCString trDefinedAtLineInSourceFile() { - return "在文件"CN_SPC"@1"CN_SPC"第"CN_SPC"@0"CN_SPC"行定义。"; + return "鍦ㄦ枃浠"CN_SPC"@1"CN_SPC"绗"CN_SPC"@0"CN_SPC"琛屽畾涔夈"; } virtual QCString trDefinedInSourceFile() { - return "在文件"CN_SPC"@0"CN_SPC"中定义。"; + return "鍦ㄦ枃浠"CN_SPC"@0"CN_SPC"涓畾涔夈"; } ////////////////////////////////////////////////////////////////////////// @@ -705,81 +705,81 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 /*! this text is put before a collaboration diagram */ virtual QCString trCollaborationDiagram(const char *clName) { - return (QCString)clName+CN_SPC"合作图:"; + return (QCString)clName+CN_SPC"鍚堜綔鍥撅細"; } /*! this text is put before an include dependency graph */ virtual QCString trInclDepGraph(const char *fName) { - return (QCString)fName+CN_SPC"包含/依赖关系图:"; + return (QCString)fName+CN_SPC"鍖呭惈/渚濊禆鍏崇郴鍥撅細"; } /*! header that is put before the list of constructor/destructors. */ virtual QCString trConstructorDocumentation() { - return "构造及析构函数文档"; + return "鏋勯犲強鏋愭瀯鍑芥暟鏂囨。"; } /*! Used in the file documentation to point to the corresponding sources. */ virtual QCString trGotoSourceCode() { - return "浏览该文件的源代码。"; + return "娴忚璇ユ枃浠剁殑婧愪唬鐮併"; } /*! Used in the file sources to point to the corresponding documentation. */ virtual QCString trGotoDocumentation() { - return "浏览该文件的文档。"; + return "娴忚璇ユ枃浠剁殑鏂囨。銆"; } /*! Text for the \\pre command */ virtual QCString trPrecondition() { - return "前置条件"; + return "鍓嶇疆鏉′欢"; } /*! Text for the \\post command */ virtual QCString trPostcondition() { - return "后置条件"; + return "鍚庣疆鏉′欢"; } /*! Text for the \\invariant command */ virtual QCString trInvariant() { - return "不变性"; + return "涓嶅彉鎬"; } /*! Text shown before a multi-line variable/enum initialization */ virtual QCString trInitialValue() { - return "初始化序列:"; + return "鍒濆鍖栧簭鍒楋細"; } /*! Text used the source code in the file index */ virtual QCString trCode() { - return "代码"; + return "浠g爜"; } virtual QCString trGraphicalHierarchy() { - return "类继承关系图"; + return "绫荤户鎵垮叧绯诲浘"; } virtual QCString trGotoGraphicalHierarchy() { - return "浏览类继承关系图"; + return "娴忚绫荤户鎵垮叧绯诲浘"; } virtual QCString trGotoTextualHierarchy() { - return "浏览类继承关系表"; + return "娴忚绫荤户鎵垮叧绯昏〃"; } virtual QCString trPageIndex() { - return "页面索引"; + return "椤甸潰绱㈠紩"; } ////////////////////////////////////////////////////////////////////////// @@ -788,58 +788,58 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 virtual QCString trNote() { - return "注解"; + return "娉ㄨВ"; } virtual QCString trPublicTypes() { - return "公有类型"; + return "鍏湁绫诲瀷"; } virtual QCString trPublicAttribs() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "数据成员"; + return "鏁版嵁鎴愬憳"; } else { - return "公有属性"; + return "鍏湁灞炴"; } } virtual QCString trStaticPublicAttribs() { - return "静态公有属性"; + return "闈欐佸叕鏈夊睘鎬"; } virtual QCString trProtectedTypes() { - return "保护类型"; + return "淇濇姢绫诲瀷"; } virtual QCString trProtectedAttribs() { - return "保护属性"; + return "淇濇姢灞炴"; } virtual QCString trStaticProtectedAttribs() { - return "静态保护属性"; + return "闈欐佷繚鎶ゅ睘鎬"; } virtual QCString trPrivateTypes() { - return "私有类型"; + return "绉佹湁绫诲瀷"; } virtual QCString trPrivateAttribs() { - return "私有属性"; + return "绉佹湁灞炴"; } virtual QCString trStaticPrivateAttribs() { - return "静态私有属性"; + return "闈欐佺鏈夊睘鎬"; } @@ -856,7 +856,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 /*! Used as the header of the todo list */ virtual QCString trTodoList() { - return "TODO"CN_SPC"列表"; + return "TODO"CN_SPC"鍒楄〃"; } ////////////////////////////////////////////////////////////////////////// @@ -865,27 +865,27 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 virtual QCString trReferencedBy() { - return "参考自"; + return "鍙傝冭嚜"; } virtual QCString trRemarks() { - return "评论"; + return "璇勮"; } virtual QCString trAttention() { - return "注意"; + return "娉ㄦ剰"; } virtual QCString trInclByDepGraph() { - return "此图展示直接或间接包含该文件的文件:"; + return "姝ゅ浘灞曠ず鐩存帴鎴栭棿鎺ュ寘鍚鏂囦欢鐨勬枃浠讹細"; } virtual QCString trSince() { - return "自从"; + return "鑷粠"; } ////////////////////////////////////////////////////////////////////////// @@ -895,33 +895,33 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 /*! title of the graph legend page */ virtual QCString trLegendTitle() { - return "图例"; + return "鍥句緥"; } /*! page explaining how the dot graph's should be interpreted */ virtual QCString trLegendDocs() { return - "本页向您展示如何理解由"CN_SPC"Doxygen"CN_SPC"生成的图形。<p>\n" - "请考虑如下示例:\n" + "鏈〉鍚戞偍灞曠ず濡備綍鐞嗚В鐢"CN_SPC"Doxygen"CN_SPC"鐢熸垚鐨勫浘褰€<p>\n" + "璇疯冭檻濡備笅绀轰緥锛歕n" "\\code\n" - "/*! 由于截取而使该类不可见 */\n" + "/*! 鐢变簬鎴彇鑰屼娇璇ョ被涓嶅彲瑙 */\n" "class Invisible { };\n\n" - "/*! 被截取的类,继承关系被隐藏起来了 */\n" + "/*! 琚埅鍙栫殑绫伙紝缁ф壙鍏崇郴琚殣钘忚捣鏉ヤ簡 */\n" "class Truncated : public Invisible { };\n\n" - "/* 没有被"CN_SPC"doxygen"CN_SPC"的注释文档化的类 */\n" + "/* 娌℃湁琚"CN_SPC"doxygen"CN_SPC"鐨勬敞閲婃枃妗e寲鐨勭被 */\n" "class Undocumented { };\n\n" - "/*! 被公有继承的类 */\n" + "/*! 琚叕鏈夌户鎵跨殑绫 */\n" "class PublicBase : public Truncated { };\n\n" "/*! A template class */\n" "template<class T> class Templ { };\n\n" - "/*! 被保护继承的类 */\n" + "/*! 琚繚鎶ょ户鎵跨殑绫 */\n" "class ProtectedBase { };\n\n" - "/*! 被私有继承的类 */\n" + "/*! 琚鏈夌户鎵跨殑绫 */\n" "class PrivateBase { };\n\n" - "/*! 被使用的类 */\n" + "/*! 琚娇鐢ㄧ殑绫 */\n" "class Used { };\n\n" - "/*! 继承了若干其它类的类 */\n" + "/*! 缁ф壙浜嗚嫢骞插叾瀹冪被鐨勭被 */\n" "class Inherited : public PublicBase,\n" " protected ProtectedBase,\n" " private PrivateBase,\n" @@ -932,31 +932,30 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 " Used *m_usedClass;\n" "};\n" "\\endcode\n" - "如果在配置文件中指定了"CN_SPC"MAX_DOT_GRAPH_HEIGHT"CN_SPC"的值为200," - "则Doxygen将生成如下的图形:" + "Doxygen灏嗙敓鎴愬涓嬬殑鍥惧舰锛" "<p><center><img src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n" "<p>\n" - "以上图形中的矩形有如下的含义:\n" + "浠ヤ笂鍥惧舰涓殑鐭╁舰鏈夊涓嬬殑鍚箟锛歕n" "<ul>\n" - "<li>被黑色填充的矩形代表当前的类或结构。\n" - "<li>黑色边框的矩形代表<i>文档化</i>的类或结构。\n" - "<li>灰色边框的矩形代表没有<i>文档化</i>的类或结构。\n" - "<li>红色边框的矩形代表继承/包含关系没有被完整显示出的类或结构。如果一幅图像的尺" - "寸大于指定尺寸,它将被截取。" + "<li>琚粦鑹插~鍏呯殑鐭╁舰浠h〃褰撳墠鐨勭被鎴栫粨鏋勩俓n" + "<li>榛戣壊杈规鐨勭煩褰唬琛<i>鏂囨。鍖</i>鐨勭被鎴栫粨鏋勩俓n" + "<li>鐏拌壊杈规鐨勭煩褰唬琛ㄦ病鏈<i>鏂囨。鍖</i>鐨勭被鎴栫粨鏋勩俓n" + "<li>绾㈣壊杈规鐨勭煩褰唬琛ㄧ户鎵/鍖呭惈鍏崇郴娌℃湁琚畬鏁存樉绀哄嚭鐨勭被鎴栫粨鏋勩傚鏋滀竴骞呭浘鍍忕殑灏" + "瀵稿ぇ浜庢寚瀹氬昂瀵革紝瀹冨皢琚埅鍙栥" "</ul>\n" - "各个箭头有如下的含义:\n" + "鍚勪釜绠ご鏈夊涓嬬殑鍚箟锛歕n" "<ul>\n" - "<li>深蓝色的箭头用于显示两个类之间的公有继承关系。\n" - "<li>深绿色的箭头用于显示保护继承关系。\n" - "<li>深红色的箭头用于显示私有继承关系。\n" - "<li>紫色点状线条的箭头用于显示两个类之间包含或者使用的关系。通过箭头旁边的变量可以" - "访问到箭头所指的类或结构。\n" + "<li>娣辫摑鑹茬殑绠ご鐢ㄤ簬鏄剧ず涓や釜绫讳箣闂寸殑鍏湁缁ф壙鍏崇郴銆俓n" + "<li>娣辩豢鑹茬殑绠ご鐢ㄤ簬鏄剧ず淇濇姢缁ф壙鍏崇郴銆俓n" + "<li>娣辩孩鑹茬殑绠ご鐢ㄤ簬鏄剧ず绉佹湁缁ф壙鍏崇郴銆俓n" + "<li>绱壊鐐圭姸绾挎潯鐨勭澶寸敤浜庢樉绀轰袱涓被涔嬮棿鍖呭惈鎴栬呬娇鐢ㄧ殑鍏崇郴銆傞氳繃绠ご鏃佽竟鐨勫彉閲忓彲浠" + "璁块棶鍒扮澶存墍鎸囩殑绫绘垨缁撴瀯銆俓n" "</ul>\n"; } /*! text for the link to the legend page */ virtual QCString trLegend() { - return "图例"; + return "鍥句緥"; } ////////////////////////////////////////////////////////////////////////// @@ -966,13 +965,13 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 /*! Used as a marker that is put before a test item */ virtual QCString trTest() { - return "测试"; + return "娴嬭瘯"; } /*! Used as the header of the test list */ virtual QCString trTestList() { - return "测试列表"; + return "娴嬭瘯鍒楄〃"; } ////////////////////////////////////////////////////////////////////////// @@ -981,7 +980,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 /*! Used as a section header for KDE-2 IDL methods */ virtual QCString trDCOPMethods() { - return "DCOP"CN_SPC"方法"; + return "DCOP"CN_SPC"鏂规硶"; } ////////////////////////////////////////////////////////////////////////// @@ -991,13 +990,13 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 /*! Used as a section header for IDL properties */ virtual QCString trProperties() { - return "属性"; + return "灞炴"; } /*! Used as a section header for IDL property documentation */ virtual QCString trPropertyDocumentation() { - return "属性文档"; + return "灞炴ф枃妗"; } ////////////////////////////////////////////////////////////////////////// @@ -1009,42 +1008,42 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "数据结构"; + return "鏁版嵁缁撴瀯"; } else { - return "类"; + return "绫"; } } /*! Used as the title of a Java package */ virtual QCString trPackage(const char *name) { - return (QCString)"包 "+name; + return (QCString)"鍖 "+name; } /*! Title of the package index page */ virtual QCString trPackageList() { - return "包列表"; + return "鍖呭垪琛"; } /*! The description of the package index page */ virtual QCString trPackageListDescription() { - return "这里列出所有的包,附带简要说明(如果有的话):"; + return "杩欓噷鍒楀嚭鎵鏈夌殑鍖咃紝闄勫甫绠瑕佽鏄(濡傛灉鏈夌殑璇)锛"; } /*! The link name in the Quick links header for each page */ virtual QCString trPackages() { - return "包"; + return "鍖"; } /*! Text shown before a multi-line define */ virtual QCString trDefineValue() { - return "值:"; + return "鍊:"; } //////////////////////////////////////////////////////////////////////////// @@ -1052,12 +1051,12 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 //////////////////////////////////////////////////////////////////////////// virtual QCString trBug () { - return "缺陷"; + return "缂洪櫡"; } virtual QCString trBugList () { - return "缺陷列表"; + return "缂洪櫡鍒楄〃"; } ////////////////////////////////////////////////////////////////////////// @@ -1106,7 +1105,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 /*! Used as header RTF general index */ virtual QCString trRTFGeneralIndex() { - return "索引"; + return "绱㈠紩"; } @@ -1121,7 +1120,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 if (!singular) result+="es"; return result; */ - return "类"; + return "绫"; } /*! This is used for translation of the word that will possibly @@ -1135,7 +1134,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 if (!singular) result+="s"; return result; */ - return "文件"; + return "鏂囦欢"; } @@ -1150,7 +1149,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 if (!singular) result+="s"; return result; */ - return "名字空间"; + return "鍛藉悕绌洪棿"; } /*! This is used for translation of the word that will possibly @@ -1164,7 +1163,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 if (!singular) result+="s"; return result; */ - return "组"; + return "缁"; } /*! This is used for translation of the word that will possibly @@ -1178,7 +1177,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 if (!singular) result+="s"; return result; */ - return "页"; + return "椤"; } /*! This is used for translation of the word that will possibly @@ -1192,7 +1191,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 if (!singular) result+="s"; return result; */ - return "成员"; + return "鎴愬憳"; } /*! This is used for translation of the word that will possibly @@ -1206,7 +1205,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 if (!singular) result+="s"; return result; */ - return "全局定义"; + return "鍏ㄥ眬瀹氫箟"; } ////////////////////////////////////////////////////////////////////////// @@ -1222,7 +1221,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 if (!singular) result+="s"; return result; */ - return "作者"; + return "浣滆"; } ////////////////////////////////////////////////////////////////////////// @@ -1233,7 +1232,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 */ virtual QCString trReferences() { - return "参考"; + return "鍙傝"; } ////////////////////////////////////////////////////////////////////////// @@ -1246,7 +1245,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 virtual QCString trImplementedFromList(int numEntries) { /* return "Implements "+trWriteList(numEntries)+"."; */ - return "实现了"CN_SPC+trWriteList(numEntries)+"。"; + return "瀹炵幇浜"CN_SPC+trWriteList(numEntries)+"銆"; } /*! used in member documentation blocks to produce a list of @@ -1255,7 +1254,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 virtual QCString trImplementedInList(int numEntries) { /* return "Implemented in "+trWriteList(numEntries)+"."; */ - return "在"CN_SPC+trWriteList(numEntries)+CN_SPC"内被实现。"; + return "鍦"CN_SPC+trWriteList(numEntries)+CN_SPC"鍐呰瀹炵幇銆"; } ////////////////////////////////////////////////////////////////////////// @@ -1268,7 +1267,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 virtual QCString trRTFTableOfContents() { /* return "Table of Contents"; */ - return "目录"; + return "鐩綍"; } ////////////////////////////////////////////////////////////////////////// @@ -1281,7 +1280,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 virtual QCString trDeprecatedList() { /* return "Deprecated List"; */ - return "过时列表"; + return "杩囨椂鍒楄〃"; } ////////////////////////////////////////////////////////////////////////// @@ -1294,13 +1293,13 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 virtual QCString trEvents() { /* return "Events"; */ - return "事件"; + return "浜嬩欢"; } /*! Header used for the documentation section of a class' events. */ virtual QCString trEventDocumentation() { /* return "Event Documentation"; */ - return "事件文档"; + return "浜嬩欢鏂囨。"; } ////////////////////////////////////////////////////////////////////////// @@ -1312,7 +1311,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 virtual QCString trPackageTypes() { /* return "Package Types"; */ - return "模块类型"; + return "妯″潡绫诲瀷"; } /*! Used as a heading for a list of Java class functions with package * scope. @@ -1320,7 +1319,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 virtual QCString trPackageMembers() { /* return "Package Functions"; */ - return "模块函数"; + return "妯″潡鍑芥暟"; } /*! Used as a heading for a list of static Java class functions with * package scope. @@ -1328,7 +1327,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 virtual QCString trStaticPackageMembers() { /* return "Static Package Functions"; */ - return "静态模块函数"; + return "闈欐佹ā鍧楀嚱鏁"; } /*! Used as a heading for a list of Java class variables with package * scope. @@ -1336,7 +1335,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 virtual QCString trPackageAttribs() { /* return "Package Attributes"; */ - return "模块属性"; + return "妯″潡灞炴"; } /*! Used as a heading for a list of static Java class variables with * package scope. @@ -1344,7 +1343,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 virtual QCString trStaticPackageAttribs() { /* return "Static Package Attributes"; */ - return "静态模块属性"; + return "闈欐佹ā鍧楀睘鎬"; } ////////////////////////////////////////////////////////////////////////// @@ -1357,13 +1356,13 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 virtual QCString trAll() { /* return "All"; */ - return "全部"; + return "鍏ㄩ儴"; } /*! Put in front of the call graph for a function. */ virtual QCString trCallGraph() { /* return "Here is the call graph for this function:"; */ - return "函数调用图:"; + return "鍑芥暟璋冪敤鍥:"; } ////////////////////////////////////////////////////////////////////////// @@ -1377,7 +1376,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 virtual QCString trSearchForIndex() { /* return "Search for"; */ - return "搜索"; + return "鎼滅储"; } /*! This string is used as the title for the page listing the search * results. @@ -1385,7 +1384,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 virtual QCString trSearchResultsTitle() { /* return "Search Results"; */ - return "搜索结果"; + return "鎼滅储缁撴灉"; } /*! This string is put just before listing the search results. The * text can be different depending on the number of documents found. @@ -1400,19 +1399,19 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 if (numDocuments==0) { /* return "Sorry, no documents matching your query."; */ - return "对不起,找不到与你的查询相符的文档。"; + return "瀵逛笉璧凤紝鎵句笉鍒颁笌浣犵殑鏌ヨ鐩哥鐨勬枃妗c"; } else if (numDocuments==1) { /* return "Found <b>1</b> document matching your query."; */ - return "找到<b>1</b>篇与你的查询相符的文档。"; + return "鎵惧埌<b>1</b>绡囦笌浣犵殑鏌ヨ鐩哥鐨勬枃妗c"; } else { /* return "Found <b>$num</b> documents matching your query. " "Showing best matches first."; */ - return "找到<b>$num</b>篇与你的查询相符的文档。" - "先显示最吻合的文档。"; + return "鎵惧埌<b>$num</b>绡囦笌浣犵殑鏌ヨ鐩哥鐨勬枃妗c" + "鍏堟樉绀烘渶鍚诲悎鐨勬枃妗c"; } } /*! This string is put before the list of matched words, for each search @@ -1421,7 +1420,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 virtual QCString trSearchMatches() { /* return "Matches:"; */ - return "符合的结果:"; + return "绗﹀悎鐨勭粨鏋:"; } ////////////////////////////////////////////////////////////////////////// @@ -1433,7 +1432,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 virtual QCString trSourceFile(QCString& filename) { /* return filename + " Source File"; */ - return filename + CN_SPC"源文件"; + return filename + CN_SPC"婧愭枃浠"; } ////////////////////////////////////////////////////////////////////////// // new since 1.3.9 @@ -1445,7 +1444,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 virtual QCString trDirIndex() /* { return "Directory Hierarchy"; } */ { - return "目录结构"; + return "鐩綍缁撴瀯"; } /*! This is used as the name of the chapter containing the documentation @@ -1454,7 +1453,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 virtual QCString trDirDocumentation() /* { return "Directory Documentation"; } */ { - return "目录文档"; + return "鐩綍鏂囨。"; } /*! This is used as the title of the directory index and also in the @@ -1463,7 +1462,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 virtual QCString trDirectories() /* { return "Directories"; } */ { - return "目录"; + return "鐩綍"; } /*! This returns a sentences that introduces the directory hierarchy. @@ -1474,7 +1473,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 /* "but not completely, alphabetically:"; */ /* } */ { - return "目录结构仅经过粗略的排序"; + return "鐩綍缁撴瀯浠呯粡杩囩矖鐣ョ殑鎺掑簭"; } /*! This returns the title of a directory page. The name of the @@ -1484,7 +1483,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 /* { QCString result=dirName; result+=" Directory Reference"; return result; } */ { QCString result=dirName; - result+=CN_SPC"目录参考"; + result+=CN_SPC"鐩綍鍙傝"; return result; } @@ -1496,7 +1495,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 /* QCString result((first_capital ? "Director" : "director")); */ /* if (singular) result+="y"; else result+="ies"; */ /* return result; */ - return "目录"; + return "鐩綍"; } ////////////////////////////////////////////////////////////////////////// @@ -1511,8 +1510,8 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 /* return "This is an overloaded member function, " "provided for convenience. It differs from the above " "function only in what argument(s) it accepts."; */ - return "这是为便于使用而提供的一个重载成员函数。" - "与上面的函数相比,它接受不同类型的参数。"; + return "杩欐槸涓轰究浜庝娇鐢ㄨ屾彁渚涚殑涓涓噸杞芥垚鍛樺嚱鏁般" + "涓庝笂闈㈢殑鍑芥暟鐩告瘮锛屽畠鎺ュ彈涓嶅悓绫诲瀷鐨勫弬鏁般"; } ////////////////////////////////////////////////////////////////////////// @@ -1523,7 +1522,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 virtual QCString trCallerGraph() { /* return "Here is the caller graph for this function:"; */ - return "这是这个函数的调用图。"; + return "杩欐槸杩欎釜鍑芥暟鐨勮皟鐢ㄥ浘锛"; } /*! This is used in the documentation of a file/namespace before the list @@ -1532,7 +1531,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 virtual QCString trEnumerationValueDocumentation() { /* return "Enumerator Documentation"; */ - return "枚举变量文档"; + return "鏋氫妇鍙橀噺鏂囨。"; } ////////////////////////////////////////////////////////////////////////// @@ -1542,22 +1541,22 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 /*! header that is put before the list of member subprograms (Fortran). */ virtual QCString trMemberFunctionDocumentationFortran() // { return "Member Function/Subroutine Documentation"; } - { return "成员函数及过程文档"; } + { return "鎴愬憳鍑芥暟鍙婅繃绋嬫枃妗"; } /*! This is put above each page as a link to the list of annotated data types (Fortran). */ virtual QCString trCompoundListFortran() // { return "Data Types List"; } - { return "数据类型列表"; } + { return "鏁版嵁绫诲瀷鍒楄〃"; } /*! This is put above each page as a link to all members of compounds (Fortran). */ virtual QCString trCompoundMembersFortran() // { return "Data Fields"; } - { return "数据项"; } + { return "鏁版嵁椤"; } /*! This is an introduction to the annotated compound list (Fortran). */ virtual QCString trCompoundListDescriptionFortran() // { return "Here are the data types with brief descriptions:"; } - { return "带简要描述的数据类型列表:"; } + { return "甯︾畝瑕佹弿杩扮殑鏁版嵁绫诲瀷鍒楄〃:"; } /*! This is an introduction to the page with all data types (Fortran). */ virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) @@ -1579,9 +1578,9 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 // } // return result; if(!extractAll) { - return "这里是有文档的数据类型成员列表,含有到每个成员的数据结构文档的链接"; + return "杩欓噷鏄湁鏂囨。鐨勬暟鎹被鍨嬫垚鍛樺垪琛紝鍚湁鍒版瘡涓垚鍛樼殑鏁版嵁缁撴瀯鏂囨。鐨勯摼鎺"; } else { - return "这里是数据类型成员列表,含有到成员所属的数据类型的链接:"; + return "杩欓噷鏄暟鎹被鍨嬫垚鍛樺垪琛紝鍚湁鍒版垚鍛樻墍灞炵殑鏁版嵁绫诲瀷鐨勯摼鎺:"; } } @@ -1591,7 +1590,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 */ virtual QCString trCompoundIndexFortran() // { return "Data Type Index"; } - { return "数据类型索引"; } + { return "鏁版嵁绫诲瀷绱㈠紩"; } /*! This is used in LaTeX as the title of the chapter containing @@ -1599,21 +1598,21 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 */ virtual QCString trTypeDocumentation() // { return "Data Type Documentation"; } - { return "数据类型文档"; } + { return "鏁版嵁绫诲瀷鏂囨。"; } /*! This is used in the documentation of a file as a header before the * list of (global) subprograms (Fortran). */ virtual QCString trSubprograms() //{ return "Functions/Subroutines"; } - { return "函数/过程"; } + { return "鍑芥暟/杩囩▼"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for subprograms (Fortran) */ virtual QCString trSubprogramDocumentation() //{ return "Function/Subroutine Documentation"; } - { return "函数/过程文档"; } + { return "鍑芥暟/杩囩▼鏂囨。"; } /*! This is used in the documentation of a file/namespace/group before @@ -1621,12 +1620,12 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 */ virtual QCString trDataTypes() // { return "Data Types"; } - { return "数据类型"; } + { return "鏁版嵁绫诲瀷"; } /*! used as the title of page containing all the index of all modules (Fortran). */ virtual QCString trModulesList() // { return "Modules List"; } - { return "模块列表"; } + { return "妯″潡鍒楄〃"; } /*! used as an introduction to the modules list (Fortran) */ virtual QCString trModulesListDescription(bool extractAll) @@ -1636,9 +1635,9 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 // result+="modules with brief descriptions:"; // return result; if(!extractAll) { - return "带简要描述的有文档的模块列表:"; + return "甯︾畝瑕佹弿杩扮殑鏈夋枃妗g殑妯″潡鍒楄〃:"; } else { - return "带简要描述的模块列表:"; + return "甯︾畝瑕佹弿杩扮殑妯″潡鍒楄〃:"; } } @@ -1664,16 +1663,16 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 QCString result=(QCString)clName; switch(compType) { - case ClassDef::Class: result+=CN_SPC"模块"; break; - case ClassDef::Struct: result+=CN_SPC"类型"; break; - case ClassDef::Union: result+=CN_SPC"联合"; break; - case ClassDef::Interface: result+=CN_SPC"界面"; break; - case ClassDef::Protocol: result+=CN_SPC"接口"; break; - case ClassDef::Category: result+=CN_SPC"目录"; break; - case ClassDef::Exception: result+=CN_SPC"异常"; break; + case ClassDef::Class: result+=CN_SPC"妯″潡"; break; + case ClassDef::Struct: result+=CN_SPC"绫诲瀷"; break; + case ClassDef::Union: result+=CN_SPC"鑱斿悎"; break; + case ClassDef::Interface: result+=CN_SPC"鐣岄潰"; break; + case ClassDef::Protocol: result+=CN_SPC"鎺ュ彛"; break; + case ClassDef::Category: result+=CN_SPC"鐩綍"; break; + case ClassDef::Exception: result+=CN_SPC"寮傚父"; break; } - if (isTemplate) result+="模板"; - result+="参考手册"; + if (isTemplate) result+="妯℃澘"; + result+="鍙傝冩墜鍐"; return result; } /*! used as the title of the HTML page of a module (Fortran) */ @@ -1681,14 +1680,14 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 { QCString result=namespaceName; // result+=" Module Reference"; - result += CN_SPC"模块参考手册"; + result += CN_SPC"妯″潡鍙傝冩墜鍐"; return result; } /*! This is put above each page as a link to all members of modules. (Fortran) */ virtual QCString trModulesMembers() // { return "Module Members"; } - { return "模块成员"; } + { return "妯″潡鎴愬憳"; } /*! This is an introduction to the page with all modules members (Fortran) */ virtual QCString trModulesMemberDescription(bool extractAll) @@ -1706,9 +1705,9 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 // } // return result; if(!extractAll) { - return "这里是有文档的模块成员列表,含有到每个成员所在模块的文档的链接"; + return "杩欓噷鏄湁鏂囨。鐨勬ā鍧楁垚鍛樺垪琛紝鍚湁鍒版瘡涓垚鍛樻墍鍦ㄦā鍧楃殑鏂囨。鐨勯摼鎺"; } else { - return "这里是模块成员列表,含有到成员所属的模块的链接:"; + return "杩欓噷鏄ā鍧楁垚鍛樺垪琛紝鍚湁鍒版垚鍛樻墍灞炵殑妯″潡鐨勯摼鎺:"; } } @@ -1717,7 +1716,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 */ virtual QCString trModulesIndex() // { return "Modules Index"; } - { return "模块索引"; } + { return "妯″潡绱㈠紩"; } /*! This is used for translation of the word that will possibly * be followed by a single name or by a list of names @@ -1728,7 +1727,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 // QCString result((first_capital ? "Module" : "module")); // if (!singular) result+="s"; // return result; - return "模块"; + return "妯″潡"; } /*! 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. @@ -1751,18 +1750,18 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 // result+=" was generated from the following file"; // if (single) result+=":"; else result+="s:"; // return result; - QCString result="该"; + QCString result="璇"; switch(compType) { - case ClassDef::Class: result+=CN_SPC"模块"; break; - case ClassDef::Struct: result+=CN_SPC"类型"; break; - case ClassDef::Union: result+=CN_SPC"联合"; break; - case ClassDef::Interface: result+=CN_SPC"界面"; break; - case ClassDef::Protocol: result+=CN_SPC"接口"; break; - case ClassDef::Category: result+=CN_SPC"目录"; break; - case ClassDef::Exception: result+=CN_SPC"异常"; break; + case ClassDef::Class: result+=CN_SPC"妯″潡"; break; + case ClassDef::Struct: result+=CN_SPC"绫诲瀷"; break; + case ClassDef::Union: result+=CN_SPC"鑱斿悎"; break; + case ClassDef::Interface: result+=CN_SPC"鐣岄潰"; break; + case ClassDef::Protocol: result+=CN_SPC"鎺ュ彛"; break; + case ClassDef::Category: result+=CN_SPC"鐩綍"; break; + case ClassDef::Exception: result+=CN_SPC"寮傚父"; break; } - result+="的文档由以下文件生成:"; + result+="鐨勬枃妗g敱浠ヤ笅鏂囦欢鐢熸垚:"; return result; } /*! This is used for translation of the word that will possibly @@ -1771,7 +1770,7 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 */ virtual QCString trType(bool, bool) { - return "类型"; + return "绫诲瀷"; } /*! This is used for translation of the word that will possibly * be followed by a single name or by a list of names @@ -1779,13 +1778,13 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 */ virtual QCString trSubprogram(bool, bool) { - return "子程序"; + return "瀛愮▼搴"; } /*! C# Type Constraint list */ virtual QCString trTypeConstraints() { - return "类型限制"; + return "绫诲瀷闄愬埗"; } ////////////////////////////////////////////////////////////////////////// @@ -1795,27 +1794,27 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 { // return QCString(name)+" Relation"; // unsure - return QCString(name)+CN_SPC"关系"; + return QCString(name)+CN_SPC"鍏崇郴"; } virtual QCString trLoading() { - return "载入中..."; + return "杞藉叆涓..."; } virtual QCString trGlobalNamespace() { - return "全局命名空间"; + return "鍏ㄥ眬鍛藉悕绌洪棿"; } virtual QCString trSearching() { - return "搜索中..."; + return "鎼滅储涓..."; } virtual QCString trNoMatches() { - return "未找到"; + return "鏈壘鍒"; } ////////////////////////////////////////////////////////////////////////// @@ -1826,33 +1825,33 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 { // return (QCString)"Directory dependency graph for "+name; // unsure - return QCString(name)+CN_SPC"的目录依赖关系图"; + return QCString(name)+CN_SPC"鐨勭洰褰曚緷璧栧叧绯诲浘"; } virtual QCString trFileIn(const char *name) { // return (QCString)"File in "+name; // unsure - return (QCString)"文件在"+CN_SPC+name; + return (QCString)"鏂囦欢鍦"+CN_SPC+name; } virtual QCString trIncludesFileIn(const char *name) { // return (QCString)"Includes file in "+name; // unsure - return (QCString)"在"CN_SPC+name+CN_SPC"中引用"; + return (QCString)"鍦"CN_SPC+name+CN_SPC"涓紩鐢"; } virtual QCString trDateTime(int year,int month,int day,int dayOfWeek, int hour,int minutes,int seconds, bool includeTime) { - static const char *days[] = { "一","二","三","四","五","六","日" }; - static const char *months[] = { "一","二","三","四","五","六","七","八","九","十","十一","十二" }; + static const char *days[] = { "涓","浜","涓","鍥","浜","鍏","鏃" }; + static const char *months[] = { "涓","浜","涓","鍥","浜","鍏","涓","鍏","涔","鍗","鍗佷竴","鍗佷簩" }; QCString sdate; - sdate.sprintf("%d年%s月%d日 星期%s",year, months[month-1], day, days[dayOfWeek-1]); + sdate.sprintf("%d骞%s鏈%d鏃 鏄熸湡%s",year, months[month-1], day, days[dayOfWeek-1]); if (includeTime) { @@ -1861,7 +1860,26 @@ class TranslatorChinese : public TranslatorAdapter_1_7_5 sdate+=stime; } return sdate; - } + } + +////////////////////////////////////////////////////////////////////////// +// new since 1.7.5 +////////////////////////////////////////////////////////////////////////// + + /*! Header for the page with bibliographic citations */ + virtual QCString trCiteReferences() + { return "鍙傝冧功鐩"; } + + /*! Text for copyright paragraph */ + virtual QCString trCopyright() + { return "鐗堟潈鎵鏈"; } + + /*! Header for the graph showing the directory dependencies */ + virtual QCString trDirDepGraph(const char *name) + { + //unsure + return QCString(name)+CN_SPC"鐨勭洰褰曚緷璧栧叧绯诲浘"; + } }; #endif |