Commit 7910ae7a authored by Christophe Mutricy's avatar Christophe Mutricy

Only do translation in Qt when asked.

parent aa9715b2
......@@ -283,6 +283,7 @@ static void Init( intf_thread_t *p_intf )
else
/*if( p_intf->pf_show_dialog )*/
vlc_thread_ready( p_intf );
#ifdef ENABLE_NLS
// Translation - get locale
QLocale ql = QLocale::system();
// Translations for qt's own dialogs
......@@ -299,7 +300,7 @@ static void Init( intf_thread_t *p_intf )
if (!b_loaded)
msg_Dbg( p_intf, "Error while initializing qt-specific localization" );
app->installTranslator( &qtTranslator );
#endif //ENABLE_NLS
/* Start playing if needed */
if( !p_intf->pf_show_dialog && p_intf->b_play )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment