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.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/translator_cn.h b/src/translator_cn.h
index 7b2756a..41a4ebc 100644
--- a/src/translator_cn.h
+++ b/src/translator_cn.h
@@ -24,7 +24,7 @@
*/
#define CN_SPC
-class TranslatorChinese : public TranslatorAdapter_1_3_3
+class TranslatorChinese : public Translator
{
public:
/*! Used for identification of the language. The identification
@@ -1467,9 +1467,22 @@ class TranslatorChinese : public TranslatorAdapter_1_3_3
*/
virtual QCString trSearchMatches()
{
- return "Matches:";
+ /* return "Matches:"; */
return "符合的结果:";
}
+
+//////////////////////////////////////////////////////////////////////////
+// new since 1.3.8
+//////////////////////////////////////////////////////////////////////////
+
+ /*! This is used in HTML as the title of page with source code for file filename
+ */
+ virtual QCString trSourceFile(QCString& filename)
+ {
+ /* return filename + " Source File"; */
+ return filename + CN_SPC"源文件";
+ }
+
};
#endif