mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-29 09:38:48 -04:00
Fix qtbase translations not being loaded (regression)
This commit is contained in:
parent
df185b4343
commit
2fd2085bb5
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue