From 89fafa9a57ce304fcecc3b77c7a669240cf9ab7e Mon Sep 17 00:00:00 2001
From: Christophe Mutricy <xtophe@videolan.org>
Date: Sun, 19 Nov 2006 23:07:33 +0000
Subject: [PATCH] i18n fixes

---
 modules/gui/qt4/components/extended_panels.cpp        |  2 +-
 modules/gui/qt4/components/playlist/standardpanel.cpp | 10 +++++-----
 modules/gui/qt4/ui/equalizer.ui                       |  2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/modules/gui/qt4/components/extended_panels.cpp b/modules/gui/qt4/components/extended_panels.cpp
index 2e7a6a5f73fe..ea1276984126 100644
--- a/modules/gui/qt4/components/extended_panels.cpp
+++ b/modules/gui/qt4/components/extended_panels.cpp
@@ -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 ) );
diff --git a/modules/gui/qt4/components/playlist/standardpanel.cpp b/modules/gui/qt4/components/playlist/standardpanel.cpp
index 9942c29cf64e..ab1c953a76fb 100644
--- a/modules/gui/qt4/components/playlist/standardpanel.cpp
+++ b/modules/gui/qt4/components/playlist/standardpanel.cpp
@@ -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() );
 }
diff --git a/modules/gui/qt4/ui/equalizer.ui b/modules/gui/qt4/ui/equalizer.ui
index 99f4f8a1c1c2..ae37097e47b3 100644
--- a/modules/gui/qt4/ui/equalizer.ui
+++ b/modules/gui/qt4/ui/equalizer.ui
@@ -60,7 +60,7 @@
      <item>
       <widget class="QLabel" name="label" >
        <property name="text" >
-        <string>Preset</string>
+        <string>_("Preset")</string>
        </property>
       </widget>
      </item>
-- 
GitLab