summaryrefslogtreecommitdiff
path: root/src/utils/translation/translationmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-05 01:20:59 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-05 01:20:59 +0300
commit75c9723444581805ccbaafaa26109e5bee0d37c6 (patch)
treedc70c30473f5c7958c853c310e9538b6ba9ce153 /src/utils/translation/translationmanager.cpp
parent9630767dc8786a001185356abba081bd0acbbef5 (diff)
downloadplus-75c9723444581805ccbaafaa26109e5bee0d37c6.tar.gz
plus-75c9723444581805ccbaafaa26109e5bee0d37c6.tar.bz2
plus-75c9723444581805ccbaafaa26109e5bee0d37c6.tar.xz
plus-75c9723444581805ccbaafaa26109e5bee0d37c6.zip
Add loading translation for dict object.
For future dictionary translations.
Diffstat (limited to 'src/utils/translation/translationmanager.cpp')
-rw-r--r--src/utils/translation/translationmanager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/translation/translationmanager.cpp b/src/utils/translation/translationmanager.cpp
index 6acde15d6..3ab5dbb23 100644
--- a/src/utils/translation/translationmanager.cpp
+++ b/src/utils/translation/translationmanager.cpp
@@ -43,6 +43,7 @@ void TranslationManager::loadCurrentLang()
delete translator;
translator = loadLang(getLang(), "");
translator = loadLang(getLang(), "help/", translator);
+ dictionary = loadLang(getLang(), "dict/");
}
#ifdef ENABLE_CUSTOMNLS