aboutsummaryrefslogtreecommitdiff
path: root/TranslationManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TranslationManager.cpp')
-rw-r--r--TranslationManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TranslationManager.cpp b/TranslationManager.cpp
index 69448ce2..afd04ef6 100644
--- a/TranslationManager.cpp
+++ b/TranslationManager.cpp
@@ -25,8 +25,8 @@ bool TranslationManager::setLanguage(const QString &language)
return true;
}
- // we expecting to have translation files in "i18n" directory
- QString dir = qApp->applicationDirPath() + QDir::separator() + "i18n";
+ // translations are compiled into app binary
+ QString dir = ":/translations";
QString filename = "monero-core_" + language;