summaryrefslogtreecommitdiffstats
path: root/src/language.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/language.cpp')
-rw-r--r--src/language.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/language.cpp b/src/language.cpp
index 582e1f0..e893c3f 100644
--- a/src/language.cpp
+++ b/src/language.cpp
@@ -262,7 +262,7 @@ bool setTranslator(const char *langName)
#ifdef LANG_PT
else if (L_EQUAL("portuguese"))
{
- theTranslator=new TranslatorDecoder(new TranslatorPortuguese);
+ theTranslator=new TranslatorPortuguese;
}
#endif
#ifdef LANG_HU
@@ -298,7 +298,7 @@ bool setTranslator(const char *langName)
#ifdef LANG_CN
else if (L_EQUAL("chinese"))
{
- theTranslator=new TranslatorDecoder(new TranslatorChinese);
+ theTranslator=new TranslatorChinese;
}
#endif
#ifdef LANG_TW