summaryrefslogtreecommitdiffstats
path: root/src/language.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/language.cpp')
-rw-r--r--src/language.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/language.cpp b/src/language.cpp
index 33da153..5f27716 100644
--- a/src/language.cpp
+++ b/src/language.cpp
@@ -91,6 +91,12 @@
#ifdef LANG_UA
#include "translator_ua.h"
#endif
+#ifdef LANG_GR
+#include "translator_gr.h"
+#endif
+//#ifdef LANG_JS
+//#include "translator_js.h"
+//#endif
#endif
#define L_EQUAL(a) !stricmp(langName,a)
@@ -242,6 +248,16 @@ bool setTranslator(const char *langName)
theTranslator=new TranslatorUkrainian;
}
#endif
+#ifdef LANG_GR
+ else if (L_EQUAL("greek"))
+ {
+ theTranslator=new TranslatorGreek;
+ }
+#endif
+// else if (L_EQUAL("japanese-sjis"))
+// {
+// theTranslator=new TranslatorJapaneseSjis;
+// }
#endif
else // use the default language (i.e. english)
{