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 08704d3..186edae 100644
--- a/src/language.cpp
+++ b/src/language.cpp
@@ -30,6 +30,7 @@
#include "translator_ru.h"
#include "translator_hr.h"
#include "translator_pl.h"
+#include "translator_pt.h"
#endif
#define L_EQUAL(a) !stricmp(langName,a)
@@ -95,6 +96,10 @@ bool setTranslator(const char *langName)
{
theTranslator=new TranslatorPolish;
}
+ else if (L_EQUAL("portuguese"))
+ {
+ theTranslator=new TranslatorPortuguese;
+ }
#endif
else // use the default language (i.e. english)
{