Commit 89fafa9a authored by Christophe Mutricy's avatar Christophe Mutricy

i18n fixes

parent 213f7a98
......@@ -58,7 +58,7 @@ Equalizer::Equalizer( intf_thread_t *_p_intf, QWidget *_parent ) :
ui.preampSlider->setMaximum( 400 );
for( int i = 0 ; i < NB_PRESETS ; i ++ )
{
ui.presetsCombo->addItem( qfu( preset_list_text[i] ),
ui.presetsCombo->addItem( qtr( preset_list_text[i] ),
QVariant( i ) );
}
CONNECT( ui.presetsCombo, activated( int ), this, setPreset( int ) );
......
......@@ -177,15 +177,15 @@ void StandardPLPanel::add()
if( currentRootId == THEPL->p_local_category->i_id ||
currentRootId == THEPL->p_local_onelevel->i_id )
{
popup->addAction( "Add file", THEDP, SLOT( simplePLAppendDialog() ) );
popup->addAction( "Advanced add", THEDP, SLOT( PLAppendDialog() ) );
popup->addAction( qtr("Add file"), THEDP, SLOT( simplePLAppendDialog() ) );
popup->addAction( qtr("Advanced add"), THEDP, SLOT( PLAppendDialog() ) );
}
else if( currentRootId == THEPL->p_ml_category->i_id ||
currentRootId == THEPL->p_ml_onelevel->i_id )
{
popup->addAction( "Add file", THEDP, SLOT( simpleMLAppendDialog() ) );
popup->addAction( "Advanced add", THEDP, SLOT( MLAppendDialog() ) );
popup->addAction( "Directory", THEDP, SLOT( openMLDirectory() ) );
popup->addAction( qtr("Add file"), THEDP, SLOT( simpleMLAppendDialog() ) );
popup->addAction( qtr("Advanced add"), THEDP, SLOT( MLAppendDialog() ) );
popup->addAction( qtr("Directory"), THEDP, SLOT( openMLDirectory() ) );
}
popup->popup( QCursor::pos() );
}
......
......@@ -60,7 +60,7 @@
<item>
<widget class="QLabel" name="label" >
<property name="text" >
<string>Preset</string>
<string>_("Preset")</string>
</property>
</widget>
</item>
......
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