diff options
| author | Ilya Kitaev <mbg033@gmail.comm> | 2016-07-21 16:29:37 +0300 |
|---|---|---|
| committer | Ilya Kitaev <mbg033@gmail.comm> | 2016-07-21 16:29:37 +0300 |
| commit | aa0ea18356ca2435aac7fd0d2ae8f9e638bdaa46 (patch) | |
| tree | 42992e0f2bd2586bb9c6134e372c539f8b2f9577 /TranslationManager.cpp | |
| parent | e5d5a6082fdcacfd9f1de1b2144101e705f2d322 (diff) | |
| download | monzero-gui-aa0ea18356ca2435aac7fd0d2ae8f9e638bdaa46.tar.gz monzero-gui-aa0ea18356ca2435aac7fd0d2ae8f9e638bdaa46.tar.xz monzero-gui-aa0ea18356ca2435aac7fd0d2ae8f9e638bdaa46.zip | |
translation files moved to resources
Diffstat (limited to 'TranslationManager.cpp')
| -rw-r--r-- | TranslationManager.cpp | 4 |
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; |
