|
|
@ -512,6 +512,7 @@ void Application::initializeTranslation() |
|
|
|
Preferences* const pref = Preferences::instance(); |
|
|
|
Preferences* const pref = Preferences::instance(); |
|
|
|
// Load translation
|
|
|
|
// Load translation
|
|
|
|
QString localeStr = pref->getLocale(); |
|
|
|
QString localeStr = pref->getLocale(); |
|
|
|
|
|
|
|
QLocale::setDefault(QLocale(localeStr)); |
|
|
|
|
|
|
|
|
|
|
|
if ( |
|
|
|
if ( |
|
|
|
#ifdef QBT_USES_QT5 |
|
|
|
#ifdef QBT_USES_QT5 |
|
|
|