Commit 6313898a authored by Christophe Mutricy's avatar Christophe Mutricy

i18n: Fixes in Qt4 tooltips.

Remeber that N_( DEFINE ) is not enough

Spotted-by: Cristian Secară
(cherry picked from commit 643c8411)
Signed-off-by: default avatarChristophe Mutricy <xtophe@videolan.org>
parent 5c68bdc5
...@@ -850,13 +850,13 @@ void ControlsWidget::setNavigation( int navigation ) ...@@ -850,13 +850,13 @@ void ControlsWidget::setNavigation( int navigation )
{ {
discFrame->hide(); discFrame->hide();
} else if( navigation == 1 ) { } else if( navigation == 1 ) {
prevSectionButton->setToolTip( qfu( HELP_PCH ) ); prevSectionButton->setToolTip( qtr( HELP_PCH ) );
nextSectionButton->setToolTip( qfu( HELP_NCH ) ); nextSectionButton->setToolTip( qtr( HELP_NCH ) );
menuButton->show(); menuButton->show();
discFrame->show(); discFrame->show();
} else { } else {
prevSectionButton->setToolTip( qfu( HELP_PCH ) ); prevSectionButton->setToolTip( qtr( HELP_PCH ) );
nextSectionButton->setToolTip( qfu( HELP_NCH ) ); nextSectionButton->setToolTip( qtr( HELP_NCH ) );
menuButton->hide(); menuButton->hide();
discFrame->show(); discFrame->show();
} }
......
...@@ -232,7 +232,7 @@ DiscOpenPanel::DiscOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) : ...@@ -232,7 +232,7 @@ DiscOpenPanel::DiscOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
b_firstvcd = true; b_firstvcd = true;
b_firstcdda = true; b_firstcdda = true;
ui.browseDiscButton->setToolTip( I_DEVICE_TOOLTIP ); ui.browseDiscButton->setToolTip( qtr( I_DEVICE_TOOLTIP ));
ui.deviceCombo->setToolTip( I_DEVICE_TOOLTIP ); ui.deviceCombo->setToolTip( I_DEVICE_TOOLTIP );
#if WIN32 /* Disc drives probing for Windows */ #if WIN32 /* Disc drives probing for Windows */
......
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