summaryrefslogtreecommitdiffstats
path: root/src/translator_cn.h
diff options
context:
space:
mode:
authorLian Yang <lian.yang.cn@gmail.com>2015-06-24 02:31:27 (GMT)
committerLian Yang <lian.yang.cn@gmail.com>2015-06-24 02:31:27 (GMT)
commita88d3549373990bfac09f936748577fc5c59d240 (patch)
tree69979df66100568a5875d0eb772d57c1b5283c52 /src/translator_cn.h
parentae8f618d140b4368045d286a682df3f6de7b2960 (diff)
downloadDoxygen-a88d3549373990bfac09f936748577fc5c59d240.zip
Doxygen-a88d3549373990bfac09f936748577fc5c59d240.tar.gz
Doxygen-a88d3549373990bfac09f936748577fc5c59d240.tar.bz2
Update translator_cn.h
update to 1.8.4
Diffstat (limited to 'src/translator_cn.h')
-rw-r--r--src/translator_cn.h117
1 files changed, 116 insertions, 1 deletions
diff --git a/src/translator_cn.h b/src/translator_cn.h
index 4d60e87..26160d4 100644
--- a/src/translator_cn.h
+++ b/src/translator_cn.h
@@ -24,7 +24,7 @@
*/
#define CN_SPC " "
-class TranslatorChinese : public TranslatorAdapter_1_8_2
+class TranslatorChinese : public Translator
{
public:
/*! Used for identification of the language. The identification
@@ -1794,6 +1794,121 @@ class TranslatorChinese : public TranslatorAdapter_1_8_2
{ return "额外继承的成员函数"; }
//////////////////////////////////////////////////////////////////////////
+
+//////////////////////////////////////////////////////////////////////////
+// new since 1.8.2
+//////////////////////////////////////////////////////////////////////////
+
+ /*! 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.
+ */
+ virtual QCString trPanelSynchronisationTooltip(bool enable)
+ {
+ QCString opt = enable ? "开启" : "关闭";
+ return "点击"CN_SPC+opt+CN_SPC"面板同步";
+ }
+
+ /*! 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.
+ */
+ virtual QCString trProvidedByCategory()
+ {
+ return "由 category @1 提供.";
+ }
+
+ /*! 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.
+ */
+ virtual QCString trExtendsClass()
+ {
+ return "扩展类 @1.";
+ }
+
+ /*! Used as the header of a list of class methods in Objective-C.
+ * These are similar to static public member functions in C++.
+ */
+ virtual QCString trClassMethods()
+ {
+ return "类方法";
+ }
+
+ /*! Used as the header of a list of instance methods in Objective-C.
+ * These are similar to public member functions in C++.
+ */
+ virtual QCString trInstanceMethods()
+ {
+ return "构造函数";
+ }
+
+ /*! Used as the header of the member functions of an Objective-C class.
+ */
+ virtual QCString trMethodDocumentation()
+ {
+ return "函数文档";
+ }
+
+ /*! Used as the title of the design overview picture created for the
+ * VHDL output.
+ */
+ virtual QCString trDesignOverview()
+ {
+ return "设计概要";
+ }
+
+//////////////////////////////////////////////////////////////////////////
+// new since 1.8.4
+//////////////////////////////////////////////////////////////////////////
+
+ /** old style UNO IDL services: implemented interfaces */
+ virtual QCString trInterfaces()
+ { return "导出的接口"; }
+
+ /** old style UNO IDL services: inherited services */
+ virtual QCString trServices()
+ { return "包含的服务"; }
+
+ /** UNO IDL constant groups */
+ virtual QCString trConstantGroups()
+ { return "常量组"; }
+
+ /** UNO IDL constant groups */
+ virtual QCString trConstantGroupReference(const char *namespaceName)
+ {
+ QCString result=namespaceName;
+ result+= CN_SPC"常量组参考";
+ return result;
+ }
+ /** UNO IDL service page title */
+ virtual QCString trServiceReference(const char *sName)
+ {
+ QCString result=(QCString)sName;
+ result+= CN_SPC"服务参考";
+ return result;
+ }
+ /** UNO IDL singleton page title */
+ virtual QCString trSingletonReference(const char *sName)
+ {
+ QCString result=(QCString)sName;
+ result+= CN_SPC"单例参考";
+ return result;
+ }
+ /** UNO IDL service page */
+ virtual QCString trServiceGeneratedFromFiles(bool single)
+ {
+ // single is true implies a single file
+ return "该服务的文档由下列文件生成:";
+ }
+ /** UNO IDL singleton page */
+ virtual QCString trSingletonGeneratedFromFiles(bool single)
+ {
+ // single is true implies a single file
+ return "该单例的文档由下列文件生成:";
+ }
+
+//////////////////////////////////////////////////////////////////////////
};
#endif