summaryrefslogtreecommitdiffstats
path: root/src/translator_cn.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2004-08-03 16:49:33 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2004-08-03 16:49:33 (GMT)
commitf4bab88acea24b261d85d25359c73cbb49869c5f (patch)
tree947221d2f202d586f7f386c57472cc941980963f /src/translator_cn.h
parentd7bf5675c4490ac0291cf1795b7499f2047d5c58 (diff)
downloadDoxygen-f4bab88acea24b261d85d25359c73cbb49869c5f.zip
Doxygen-f4bab88acea24b261d85d25359c73cbb49869c5f.tar.gz
Doxygen-f4bab88acea24b261d85d25359c73cbb49869c5f.tar.bz2
Release-1.3.8-20040803
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