2021-10-04 09:39:18 +02:00
|
|
|
diff --git i/src/settings/appsettings.cpp w/src/settings/appsettings.cpp
|
2021-12-05 19:27:05 +01:00
|
|
|
index a73371b..b9d66ca 100644
|
2021-10-04 09:39:18 +02:00
|
|
|
--- i/src/settings/appsettings.cpp
|
|
|
|
+++ w/src/settings/appsettings.cpp
|
2021-12-05 19:27:05 +01:00
|
|
|
@@ -75,7 +75,7 @@ void AppSettings::applyLocale(const QLocale &locale)
|
|
|
|
const QLocale newLocale = locale == defaultLocale() ? QLocale::system() : locale;
|
|
|
|
QLocale::setDefault(newLocale);
|
|
|
|
s_appTranslator.load(newLocale, QStringLiteral(PROJECT_NAME), QStringLiteral("_"), QStandardPaths::locate(QStandardPaths::AppDataLocation, QStringLiteral("translations"), QStandardPaths::LocateDirectory));
|
|
|
|
- s_qtTranslator.load(newLocale, QStringLiteral("qt"), QStringLiteral("_"), QLibraryInfo::location(QLibraryInfo::TranslationsPath));
|
|
|
|
+ s_qtTranslator.load(newLocale, QStringLiteral("qt"), QStringLiteral("_"), QLatin1String("@qttranslations@/translations"));
|
2020-11-29 23:17:24 +01:00
|
|
|
}
|
|
|
|
|
2021-12-05 19:27:05 +01:00
|
|
|
QLocale AppSettings::defaultLocale()
|