summaryrefslogtreecommitdiffstats
path: root/src/language.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/language.cpp')
-rw-r--r--src/language.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/language.cpp b/src/language.cpp
index 06c3d11..7c9494a 100644
--- a/src/language.cpp
+++ b/src/language.cpp
@@ -76,6 +76,9 @@
#ifdef LANG_CN
#include "translator_cn.h"
#endif
+#ifdef LANG_TW
+#include "translator_tw.h"
+#endif
#ifdef LANG_NO
#include "translator_no.h"
#endif
@@ -218,6 +221,12 @@ bool setTranslator(const char *langName)
theTranslator=new TranslatorChinese;
}
#endif
+#ifdef LANG_TW
+ else if (L_EQUAL("chinese-traditional"))
+ {
+ theTranslator=new TranslatorChinesetraditional;
+ }
+#endif
#ifdef LANG_NO
else if (L_EQUAL("norwegian"))
{