Expose new translations and improve language code.

This commit is contained in:
sledgehammer999 2013-10-20 19:31:01 +03:00
parent 88c64ccf0a
commit 2b9f79fafe
7 changed files with 26 additions and 15 deletions

View file

@ -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);