mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-11-25 19:41:37 -08:00
Add Qt translation dir for RPM packaging
This commit is contained in:
1 parent
e1a264825a
commit
fb7cc673ac
1 file changed
+2
@@ -71,6 +71,8 @@ bool Translator::installTranslator(const QStringList& languages, const QString&
|
||||
QScopedPointer<QTranslator> translator(new QTranslator(qApp));
|
||||
if (translator->load(locale, "keepassx_", "", path)) {
|
||||
return QCoreApplication::installTranslator(translator.take());
|
||||
} else if (translator->load(locale, "keepassx_", "", QLibraryInfo::location(QLibraryInfo::TranslationsPath))) {
|
||||
return QCoreApplication::installTranslator(translator.take());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user