Commit 5d00d361 authored by Christophe Mutricy's avatar Christophe Mutricy

i18n

parent bbbdc632
...@@ -50,7 +50,7 @@ ToolbarEditDialog::ToolbarEditDialog( intf_thread_t *_p_intf) ...@@ -50,7 +50,7 @@ ToolbarEditDialog::ToolbarEditDialog( intf_thread_t *_p_intf)
setMinimumWidth( 600 ); setMinimumWidth( 600 );
/* main GroupBox */ /* main GroupBox */
QGroupBox *widgetBox = new QGroupBox( "Toolbar Elements", this ); QGroupBox *widgetBox = new QGroupBox( qtr( "Toolbar Elements") , this );
widgetBox->setSizePolicy( QSizePolicy::Preferred, widgetBox->setSizePolicy( QSizePolicy::Preferred,
QSizePolicy::MinimumExpanding ); QSizePolicy::MinimumExpanding );
QGridLayout *boxLayout = new QGridLayout( widgetBox ); QGridLayout *boxLayout = new QGridLayout( widgetBox );
...@@ -68,15 +68,15 @@ ToolbarEditDialog::ToolbarEditDialog( intf_thread_t *_p_intf) ...@@ -68,15 +68,15 @@ ToolbarEditDialog::ToolbarEditDialog( intf_thread_t *_p_intf)
/* Main ToolBar */ /* Main ToolBar */
QGroupBox *mainToolbarBox = new QGroupBox( "Main Toolbar", this ); QGroupBox *mainToolbarBox = new QGroupBox( qtr( "Main Toolbar" ), this );
QGridLayout *mainTboxLayout = new QGridLayout( mainToolbarBox ); QGridLayout *mainTboxLayout = new QGridLayout( mainToolbarBox );
QLabel *label = new QLabel( "Toolbar position:" ); QLabel *label = new QLabel( qtr( "Toolbar position:" ) );
mainTboxLayout->addWidget(label, 0, 0, 1, 2); mainTboxLayout->addWidget(label, 0, 0, 1, 2);
QComboBox *positionCombo = new QComboBox; QComboBox *positionCombo = new QComboBox;
positionCombo->addItems( QStringList() << "Above the Video" positionCombo->addItems( QStringList() << qtr( "Above the Video" )
<< "Under the Video" ); << qtr( "Under the Video" ) );
mainTboxLayout->addWidget( positionCombo, 0, 2, 1, 1 ); mainTboxLayout->addWidget( positionCombo, 0, 2, 1, 1 );
QLabel *line1Label = new QLabel( "Line 1:" ); QLabel *line1Label = new QLabel( "Line 1:" );
...@@ -96,7 +96,7 @@ ToolbarEditDialog::ToolbarEditDialog( intf_thread_t *_p_intf) ...@@ -96,7 +96,7 @@ ToolbarEditDialog::ToolbarEditDialog( intf_thread_t *_p_intf)
mainTboxLayout->addWidget( controller2, 2, 1, 1, 2); mainTboxLayout->addWidget( controller2, 2, 1, 1, 2);
/* Advanced ToolBar */ /* Advanced ToolBar */
QLabel *advLabel = new QLabel( "Advanced Widget toolbar:" ); QLabel *advLabel = new QLabel( qtr( "Advanced Widget toolbar:" ) );
QString lineA = getSettings()->value( "MainWindow/AdvToolbar", QString lineA = getSettings()->value( "MainWindow/AdvToolbar",
"12;11;13;14").toString(); "12;11;13;14").toString();
controllerA = new DroppingController( p_intf, lineA, controllerA = new DroppingController( p_intf, lineA,
...@@ -107,7 +107,7 @@ ToolbarEditDialog::ToolbarEditDialog( intf_thread_t *_p_intf) ...@@ -107,7 +107,7 @@ ToolbarEditDialog::ToolbarEditDialog( intf_thread_t *_p_intf)
mainLayout->addWidget( mainToolbarBox, 1, 0, 1, -1 ); mainLayout->addWidget( mainToolbarBox, 1, 0, 1, -1 );
/* TimeToolBar */ /* TimeToolBar */
QGroupBox *timeToolbarBox = new QGroupBox( "Time Toolbar", this ); QGroupBox *timeToolbarBox = new QGroupBox( qtr( "Time Toolbar" ) , this );
QGridLayout *timeTboxLayout = new QGridLayout( timeToolbarBox ); QGridLayout *timeTboxLayout = new QGridLayout( timeToolbarBox );
QString line = getSettings()->value( "MainWindow/InputToolbar", QString line = getSettings()->value( "MainWindow/InputToolbar",
...@@ -119,7 +119,8 @@ ToolbarEditDialog::ToolbarEditDialog( intf_thread_t *_p_intf) ...@@ -119,7 +119,8 @@ ToolbarEditDialog::ToolbarEditDialog( intf_thread_t *_p_intf)
mainLayout->addWidget( timeToolbarBox, 2, 0, 1, -1 ); mainLayout->addWidget( timeToolbarBox, 2, 0, 1, -1 );
/* FSCToolBar */ /* FSCToolBar */
QGroupBox *FSCToolbarBox = new QGroupBox( "Fullscreen Controller", this ); QGroupBox *FSCToolbarBox = new QGroupBox( qtr( "Fullscreen Controller" ),
this );
QGridLayout *FSCTboxLayout = new QGridLayout( FSCToolbarBox ); QGridLayout *FSCTboxLayout = new QGridLayout( FSCToolbarBox );
QString lineFSC = getSettings()->value( "MainWindow/FSCtoolbar", QString lineFSC = getSettings()->value( "MainWindow/FSCtoolbar",
......
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