]> git.sesse.net Git - vlc/commitdiff
i18n: Fixes in Qt4 tooltips.
authorChristophe Mutricy <xtophe@videolan.org>
Wed, 27 Aug 2008 19:17:08 +0000 (20:17 +0100)
committerChristophe Mutricy <xtophe@videolan.org>
Wed, 27 Aug 2008 19:26:38 +0000 (20:26 +0100)
Remeber that N_( DEFINE ) is not enough

Spotted-by: Cristian Secară
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/open_panels.cpp

index 305eed3cf15b4355d33f265364da7e3d34383904..d5d9b68636c14f7ad7c3c5e9f6dbd70454d8e841 100644 (file)
@@ -849,13 +849,13 @@ void ControlsWidget::setNavigation( int navigation )
     {
         discFrame->hide();
     } else if( navigation == 1 ) {
-        prevSectionButton->setToolTip( qfu( HELP_PCH ) );
-        nextSectionButton->setToolTip( qfu( HELP_NCH ) );
+        prevSectionButton->setToolTip( qtr( HELP_PCH ) );
+        nextSectionButton->setToolTip( qtr( HELP_NCH ) );
         menuButton->show();
         discFrame->show();
     } else {
-        prevSectionButton->setToolTip( qfu( HELP_PCH ) );
-        nextSectionButton->setToolTip( qfu( HELP_NCH ) );
+        prevSectionButton->setToolTip( qtr( HELP_PCH ) );
+        nextSectionButton->setToolTip( qtr( HELP_NCH ) );
         menuButton->hide();
         discFrame->show();
     }
index ee1edca934a247b6bcc62f85b834c2dea7c220d6..35e7763e2ecb6a52d159e2ff4662731899af8893 100644 (file)
@@ -232,7 +232,7 @@ DiscOpenPanel::DiscOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
     b_firstvcd = true;
     b_firstcdda = true;
 
-    ui.browseDiscButton->setToolTip( I_DEVICE_TOOLTIP );
+    ui.browseDiscButton->setToolTip( qtr( I_DEVICE_TOOLTIP ));
     ui.deviceCombo->setToolTip( I_DEVICE_TOOLTIP );
 
 #if WIN32 /* Disc drives probing for Windows */