Commit bb727b7f authored by Pavlov Konstantin's avatar Pavlov Konstantin

properly display translated strings in setWindowTitle in qt4 interface

parent d1f54c77
......@@ -34,7 +34,7 @@ ErrorsDialog *ErrorsDialog::instance = NULL;
ErrorsDialog::ErrorsDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
{
setWindowTitle( _("Errors" ) );
setWindowTitle( qtr( "Errors" ) );
resize( 500 , 200 );
QGridLayout *layout = new QGridLayout( this );
......
......@@ -38,7 +38,7 @@ ExtendedDialog::ExtendedDialog( intf_thread_t *_p_intf ): QVLCFrame( _p_intf )
l->addWidget( tab );
setWindowTitle( _("Extended controls" ) );
setWindowTitle( qtr( "Extended controls" ) );
Equalizer *foo = new Equalizer( p_intf, this );
tab->addTab( foo, qtr( "Equalizer" ) );
......
......@@ -38,7 +38,7 @@ MessagesDialog *MessagesDialog::instance = NULL;
MessagesDialog::MessagesDialog( intf_thread_t *_p_intf) : QVLCFrame( _p_intf )
{
setWindowTitle( _("Messages" ) );
setWindowTitle( qtr( "Messages" ) );
resize(600, 400);
QGridLayout *layout = new QGridLayout(this);
......
......@@ -40,7 +40,7 @@ PrefsDialog *PrefsDialog::instance = NULL;
PrefsDialog::PrefsDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
{
QGridLayout *main_layout = new QGridLayout(this);
setWindowTitle( qtr("Preferences" ) );
setWindowTitle( qtr( "Preferences" ) );
resize( 800, 450 );
tree_panel = new QWidget(0);
......
......@@ -29,7 +29,7 @@
SoutDialog::SoutDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
{
setWindowTitle( _("Stream output") );
setWindowTitle( qtr( "Stream output") );
main = new QWidget( this );
/* UI stuff */
......
......@@ -37,7 +37,7 @@ StreamInfoDialog *StreamInfoDialog::instance = NULL;
StreamInfoDialog::StreamInfoDialog( intf_thread_t *_p_intf ) :QVLCFrame( _p_intf )
{
i_runs = 0;
setWindowTitle( _("Stream information" ) );
setWindowTitle( qtr( "Stream information" ) );
QGridLayout *layout = new QGridLayout(this);
IT = new InfoTab( this, p_intf, true ) ;
......
......@@ -102,7 +102,7 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
visualSelectorEnabled= settings->value( "visual-selector", false ).toBool();
/* UI */
setWindowTitle( QString::fromUtf8( _("VLC media player") ) );
setWindowTitle( qtr( "VLC media player" ) );
handleMainUi( settings );
QVLCMenu::createMenuBar( this, p_intf, playlistEmbeddedFlag,
advControlsEnabled, visualSelectorEnabled );
......
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