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

14 lines
511 B
Diff
Raw Normal View History

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