equal
deleted
inserted
replaced
331 |
331 |
332 // load locale file into translator |
332 // load locale file into translator |
333 if (!Translator.load(QString("physfs://Locale/hedgewars_%1").arg(cc))) |
333 if (!Translator.load(QString("physfs://Locale/hedgewars_%1").arg(cc))) |
334 qWarning("Failed to install translation (%s)", qPrintable(cc)); |
334 qWarning("Failed to install translation (%s)", qPrintable(cc)); |
335 app.installTranslator(&Translator); |
335 app.installTranslator(&Translator); |
|
336 app.setLayoutDirection(QLocale(cc).textDirection()); |
336 } |
337 } |
337 |
338 |
338 #ifdef _WIN32 |
339 #ifdef _WIN32 |
339 // Win32 registry setup (used for xfire detection etc. - don't set it if we're running in "portable" mode with a custom config dir) |
340 // Win32 registry setup (used for xfire detection etc. - don't set it if we're running in "portable" mode with a custom config dir) |
340 if(!custom_config) |
341 if(!custom_config) |