summaryrefslogtreecommitdiffstats
path: root/src/language.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/language.cpp')
-rw-r--r--src/language.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/language.cpp b/src/language.cpp
index e29fa22..31e0e6e 100644
--- a/src/language.cpp
+++ b/src/language.cpp
@@ -27,6 +27,7 @@
#include "translator_es.h"
#include "translator_fi.h"
#include "translator_ru.h"
+#include "translator_hr.h"
#endif
#define L_EQUAL(a) !stricmp(langName,a)
@@ -80,6 +81,10 @@ bool setTranslator(const char *langName)
{
theTranslator=new TranslatorRussian;
}
+ else if (L_EQUAL("croatian"))
+ {
+ theTranslator=new TranslatorCroatian;
+ }
#endif
else // use the default language (i.e. english)
{