2021-10-04 09:39:18 +02:00
|
|
|
diff --git i/src/settings/appsettings.cpp w/src/settings/appsettings.cpp
|
|
|
|
index aa8b357..15e4f74 100644
|
|
|
|
--- i/src/settings/appsettings.cpp
|
|
|
|
+++ w/src/settings/appsettings.cpp
|
|
|
|
@@ -81,7 +81,7 @@ void AppSettings::applyLanguage(QLocale::Language lang)
|
2021-02-05 00:02:12 +01:00
|
|
|
QLocale::setDefault(locale);
|
2020-11-29 23:17:24 +01:00
|
|
|
|
2021-02-05 00:02:12 +01:00
|
|
|
s_appTranslator.load(locale, QStringLiteral(PROJECT_NAME), QStringLiteral("_"), QStandardPaths::locate(QStandardPaths::AppDataLocation, QStringLiteral("translations"), QStandardPaths::LocateDirectory));
|
|
|
|
- s_qtTranslator.load(locale, QStringLiteral("qtbase"), QStringLiteral("_"), QLibraryInfo::location(QLibraryInfo::TranslationsPath));
|
|
|
|
+ s_qtTranslator.load(locale, QStringLiteral("qtbase"), QStringLiteral("_"), QLatin1String("@qttranslations@/translations"));
|
2020-11-29 23:17:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
QLocale::Language AppSettings::defaultLanguage()
|