mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Expose new translations and improve language code.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user