aboutsummaryrefslogtreecommitdiff
path: root/TranslationManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TranslationManager.cpp')
-rw-r--r--TranslationManager.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/TranslationManager.cpp b/TranslationManager.cpp
index afd04ef6..fa39d35a 100644
--- a/TranslationManager.cpp
+++ b/TranslationManager.cpp
@@ -26,7 +26,11 @@ bool TranslationManager::setLanguage(const QString &language)
}
// translations are compiled into app binary
- QString dir = ":/translations";
+#ifdef Q_OS_MACX
+ QString dir = qApp->applicationDirPath() + "/../Resources/translations";
+#else
+ QString dir = qApp->applicationDirPath() + "/translations";
+#endif
QString filename = "monero-core_" + language;