Translations are separate qm files

This commit is contained in:
Ilya Kitaev
2016-07-27 22:32:33 +03:00
parent 1b35a1ae4b
commit 9cd73dfbbe
6 changed files with 68 additions and 49 deletions

View File

@@ -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;