translation files moved to resources

This commit is contained in:
Ilya Kitaev
2016-07-21 16:29:37 +03:00
parent e5d5a6082f
commit aa0ea18356
3 changed files with 12 additions and 5 deletions

View File

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