nixpkgs/pkgs/applications/altcoins/monero-gui/move-translations-dir.patch
2018-09-04 14:20:41 +02:00

14 lines
511 B
Diff

diff --git a/TranslationManager.cpp b/TranslationManager.cpp
index e7fc52a..83534cc 100644
--- a/TranslationManager.cpp
+++ b/TranslationManager.cpp
@@ -25,7 +25,7 @@ bool TranslationManager::setLanguage(const QString &language)
return true;
}
- QString dir = qApp->applicationDirPath() + "/translations";
+ QString dir = qApp->applicationDirPath() + "/../share/translations";
QString filename = "monero-core_" + language;
qDebug("%s: loading translation file '%s' from '%s'",