summaryrefslogtreecommitdiffstats
path: root/src/language.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/language.cpp')
-rw-r--r--src/language.cpp15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/language.cpp b/src/language.cpp
index f5485a4..1e02097 100644
--- a/src/language.cpp
+++ b/src/language.cpp
@@ -26,8 +26,8 @@
#ifdef LANG_NL
#include "translator_nl.h"
#endif
-#ifdef LANG_SE
-#include "translator_se.h"
+#ifdef LANG_SV
+#include "translator_sv.h"
#endif
#ifdef LANG_CZ
#include "translator_cz.h"
@@ -53,6 +53,9 @@
#ifdef LANG_ES
#include "translator_es.h"
#endif
+#ifdef LANG_EO
+#include "translator_eo.h"
+#endif
#ifdef LANG_FI
#include "translator_fi.h"
#endif
@@ -169,7 +172,7 @@ bool setTranslator(const char *langName)
theTranslator=new TranslatorDutch;
}
#endif
-#ifdef LANG_SE
+#ifdef LANG_SV
else if (L_EQUAL("swedish"))
{
theTranslator=new TranslatorDecoder(new TranslatorSwedish);
@@ -391,6 +394,12 @@ bool setTranslator(const char *langName)
theTranslator=new TranslatorTurkish;
}
#endif
+#ifdef LANG_EO
+ else if (L_EQUAL("esperanto"))
+ {
+ theTranslator=new TranslatorEsperanto;
+ }
+#endif
#endif // ENGLISH_ONLY
else // use the default language (i.e. english)
{