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