summaryrefslogtreecommitdiffstats
path: root/src/language.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/language.cpp')
-rw-r--r--src/language.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/language.cpp b/src/language.cpp
index 4fca8c7..e7a9576 100644
--- a/src/language.cpp
+++ b/src/language.cpp
@@ -35,6 +35,7 @@
#include "translator_kr.h"
#include "translator_ro.h"
#include "translator_si.h"
+#include "translator_cn.h"
#endif
#define L_EQUAL(a) !stricmp(langName,a)
@@ -120,6 +121,10 @@ bool setTranslator(const char *langName)
{
theTranslator=new TranslatorSlovene;
}
+ else if (L_EQUAL("chinese"))
+ {
+ theTranslator=new TranslatorChinese;
+ }
#endif
else // use the default language (i.e. english)
{