mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-03-28 08:58:26 -04:00
Fix qtbase translations not being loaded (regression)
This commit is contained in:
parent
df185b4343
commit
2fd2085bb5
@ -53,6 +53,9 @@ void Translator::installTranslators()
|
||||
bool translationsLoaded = false;
|
||||
for (const QString& path : paths) {
|
||||
translationsLoaded |= installTranslator(language, path) || installTranslator("en_US", path);
|
||||
if (!installQtTranslator(language, path)) {
|
||||
installQtTranslator("en", path);
|
||||
}
|
||||
}
|
||||
if (!translationsLoaded) {
|
||||
// couldn't load configured language or fallback
|
||||
|
Loading…
x
Reference in New Issue
Block a user