mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Expose new translations and improve language code.
This commit is contained in:
parent
88c64ccf0a
commit
2b9f79fafe
7 changed files with 26 additions and 15 deletions
|
@ -155,7 +155,7 @@ void prefjson::setPreferences(const QString& json)
|
|||
if (translator->load(QString::fromUtf8(":/lang/qbittorrent_") + locale)) {
|
||||
qDebug("%s locale recognized, using translation.", qPrintable(locale));
|
||||
}else{
|
||||
qDebug("%s locale unrecognized, using default (en_GB).", qPrintable(locale));
|
||||
qDebug("%s locale unrecognized, using default (en).", qPrintable(locale));
|
||||
}
|
||||
qApp->installTranslator(translator);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue