mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
* Use QLocale::system().uiLanguages().first() instead of QLocale::system().name().
This commit is contained in:
@@ -151,7 +151,7 @@ TomahawkApp::TomahawkApp( int& argc, char *argv[] )
|
|||||||
void
|
void
|
||||||
TomahawkApp::installTranslator()
|
TomahawkApp::installTranslator()
|
||||||
{
|
{
|
||||||
QString locale = QLocale::system().name();
|
QString locale = QLocale::system().uiLanguages().first();
|
||||||
if ( locale == "C" )
|
if ( locale == "C" )
|
||||||
locale = "en";
|
locale = "en";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user