nixpkgs/pkgs/applications/altcoins/monero-gui/move-translations-dir.patch

14 lines
511 B
Diff
Raw Normal View History

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