mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
* Fixed qt picking wrong translations.
This commit is contained in:
@@ -152,7 +152,7 @@ void
|
||||
TomahawkApp::installTranslator()
|
||||
{
|
||||
#if QT_VERSION >= 0x040800
|
||||
QString locale = QLocale::system().uiLanguages().first();
|
||||
QString locale = QLocale::system().uiLanguages().first().replace( "-", "_" );
|
||||
#else
|
||||
QString locale = QLocale::system().name();
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user