summaryrefslogtreecommitdiff
path: root/src/utils/translation/translationmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/translation/translationmanager.cpp')
-rw-r--r--src/utils/translation/translationmanager.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/utils/translation/translationmanager.cpp b/src/utils/translation/translationmanager.cpp
index 01f38e57f..4fa233990 100644
--- a/src/utils/translation/translationmanager.cpp
+++ b/src/utils/translation/translationmanager.cpp
@@ -44,6 +44,14 @@ void TranslationManager::loadCurrentLang()
translator = loadLang(getLang(), "help/", translator);
}
+#ifdef ENABLE_CUSTOMNLS
+void TranslationManager::loadGettextLang()
+{
+ delete mainTranslator;
+ mainTranslator = loadLang(getLang(), "manaplus/");
+}
+#endif
+
void TranslationManager::close()
{
delete2(translator);