summaryrefslogtreecommitdiffstats
path: root/src/language.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/language.cpp')
-rw-r--r--src/language.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/language.cpp b/src/language.cpp
index 7c9494a..5711b07 100644
--- a/src/language.cpp
+++ b/src/language.cpp
@@ -97,6 +97,9 @@
#ifdef LANG_GR
#include "translator_gr.h"
#endif
+#ifdef LANG_SR
+#include "translator_sr.h"
+#endif
//#ifdef LANG_JS
//#include "translator_js.h"
//#endif
@@ -154,6 +157,10 @@ bool setTranslator(const char *langName)
{
theTranslator=new TranslatorJapanese;
}
+ else if (L_EQUAL("japanese-en"))
+ {
+ theTranslator=new TranslatorJapaneseEn;
+ }
#endif
#ifdef LANG_ES
else if (L_EQUAL("spanish"))
@@ -263,6 +270,12 @@ bool setTranslator(const char *langName)
theTranslator=new TranslatorGreek;
}
#endif
+#ifdef LANG_SR
+ else if (L_EQUAL("serbian"))
+ {
+ theTranslator=new TranslatorSerbian;
+ }
+#endif
// else if (L_EQUAL("japanese-sjis"))
// {
// theTranslator=new TranslatorJapaneseSjis;