summaryrefslogtreecommitdiffstats
path: root/src/translator_cn.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/translator_cn.h')
-rw-r--r--src/translator_cn.h69
1 files changed, 9 insertions, 60 deletions
diff --git a/src/translator_cn.h b/src/translator_cn.h
index 0f273bd..b78bc8b 100644
--- a/src/translator_cn.h
+++ b/src/translator_cn.h
@@ -24,7 +24,7 @@
*/
#define CN_SPC
-class TranslatorChinese : public Translator
+class TranslatorChinese : public TranslatorAdapter_1_4_1
{
public:
/*! Used for identification of the language. The identification
@@ -83,9 +83,6 @@ class TranslatorChinese : public Translator
virtual QCString trMemberEnumerationDocumentation()
{ return "成员枚举类型文档"; }
- virtual QCString trEnumerationValueDocumentation()
- { return "成员枚举值文档"; }
-
/*! header that is put before the list of member function. */
virtual QCString trMemberFunctionDocumentation()
{ return "成员函数文档"; }
@@ -173,11 +170,6 @@ class TranslatorChinese : public Translator
virtual QCString trFileList()
{ return "文件列表"; }
-
- /*! This is put above each page as a link to the list of all verbatim headers */
- virtual QCString trHeaderFiles()
- { return "头文件"; }
-
/*! This is put above each page as a link to all members of compounds. */
virtual QCString trCompoundMembers()
{
@@ -286,9 +278,6 @@ class TranslatorChinese : public Translator
return result;
}
- virtual QCString trHeaderFilesDescription()
- { return "这里列出组成API的头文件:"; }
-
virtual QCString trExamplesDescription()
{ return "这里列出所有示例:"; }
@@ -298,9 +287,6 @@ class TranslatorChinese : public Translator
virtual QCString trModulesDescription()
{ return "这里列出所有模块"; }
- virtual QCString trNoDescriptionAvailable()
- { return "无可用文档"; }
-
virtual QCString trDocumentation()
{ return "文档"; }
@@ -422,16 +408,9 @@ class TranslatorChinese : public Translator
virtual QCString trForInternalUseOnly()
{ return "仅限内部使用。"; }
- virtual QCString trReimplementedForInternalReasons()
- { return "由于内部原因被重载;但不影响API";
- }
-
virtual QCString trWarning()
{ return "警告"; }
- virtual QCString trBugsAndLimitations()
- { return "BUG"CN_SPC"与局限"; }
-
virtual QCString trVersion()
{ return "版本"; }
@@ -698,12 +677,7 @@ class TranslatorChinese : public Translator
// new since 0.49-991106
//////////////////////////////////////////////////////////////////////////
- virtual QCString trSources()
- {
- return "源代码";
- }
-
- virtual QCString trDefinedAtLineInSourceFile()
+ virtual QCString trDefinedAtLineInSourceFile()
{
return "在文件"CN_SPC"@1"CN_SPC"第"CN_SPC"@0"CN_SPC"行定义。";
}
@@ -1025,12 +999,6 @@ class TranslatorChinese : public Translator
// new since 1.2.4
//////////////////////////////////////////////////////////////////////////
- /*! Used for Java interfaces in the summary section of Java packages */
- virtual QCString trInterfaces()
- {
- return "接口";
- }
-
/*! Used for Java classes in the summary section of Java packages */
virtual QCString trClasses()
{
@@ -1068,12 +1036,6 @@ class TranslatorChinese : public Translator
return "包";
}
- /*! Used as a chapter title for Latex & RTF output */
- virtual QCString trPackageDocumentation()
- {
- return "包的文档";
- }
-
/*! Text shown before a multi-line define */
virtual QCString trDefineValue()
{
@@ -1232,20 +1194,6 @@ class TranslatorChinese : public Translator
* be followed by a single name or by a list of names
* of the category.
*/
- virtual QCString trField(bool /*first_capital*/, bool /*singular*/)
- {
- /*
- QCString result((first_capital ? "Field" : "field"));
- if (!singular) result+="s";
- return result;
- */
- return "字段";
- }
-
- /*! 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.
- */
virtual QCString trGlobal(bool /*first_capital*/, bool /*singular*/)
{
/*
@@ -1492,7 +1440,7 @@ class TranslatorChinese : public Translator
virtual QCString trDirIndex()
/* { return "Directory Hierarchy"; } */
{
- return "$(BL\\录结$(DC((B";
+ return "目录结构";
}
/*! This is used as the name of the chapter containing the documentation
@@ -1501,7 +1449,7 @@ class TranslatorChinese : public Translator
virtual QCString trDirDocumentation()
/* { return "Directory Documentation"; } */
{
- return "$(BL\\录J8[c(B";
+ return "目录文档";
}
/*! This is used as the title of the directory index and also in the
@@ -1510,7 +1458,7 @@ class TranslatorChinese : public Translator
virtual QCString trDirectories()
/* { return "Directories"; } */
{
- return "$(BL\\录(B";
+ return "目录";
}
/*! This returns a sentences that introduces the directory hierarchy.
@@ -1521,7 +1469,7 @@ class TranslatorChinese : public Translator
/* "but not completely, alphabetically:"; */
/* } */
{
- return "$(BL\\录结$(DC(仅经过$(BBgCWE*GSNs!$VuL$40A40D;zJl顺=x(B";
+ return "目录结构仅经过粗略的排序";
}
/*! This returns the title of a directory page. The name of the
@@ -1531,7 +1479,7 @@ class TranslatorChinese : public Translator
/* { QCString result=dirName; result+=" Directory Reference"; return result; } */
{
QCString result=dirName;
- result+=CN_SPC"$(BL\\录;29M(B";
+ result+=CN_SPC"目录参考";
return result;
}
@@ -1543,9 +1491,10 @@ class TranslatorChinese : public Translator
/* QCString result((first_capital ? "Director" : "director")); */
/* if (singular) result+="y"; else result+="ies"; */
/* return result; */
- return "$(BL\\录(B";
+ return "目录";
}
};
#endif
+