[vlc-commits] commit: Qt4: i18n fixes (Christophe Mutricy )

git at videolan.org git at videolan.org
Mon Apr 12 00:58:13 CEST 2010


vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Fri Apr  9 23:01:21 2010 +0100| [e3774fe27933a6d2be9288624e22f5eaacd5508b] | committer: Christophe Mutricy 

Qt4: i18n fixes

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e3774fe27933a6d2be9288624e22f5eaacd5508b
---

 modules/gui/qt4/components/preferences_widgets.cpp |    2 +-
 modules/gui/qt4/dialogs/epg.cpp                    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/components/preferences_widgets.cpp b/modules/gui/qt4/components/preferences_widgets.cpp
index 8d4dbf6..b51b64c 100644
--- a/modules/gui/qt4/components/preferences_widgets.cpp
+++ b/modules/gui/qt4/components/preferences_widgets.cpp
@@ -449,7 +449,7 @@ StringListConfigControl::StringListConfigControl( vlc_object_t *_p_this,
         for( int i = 0; i < p_item->i_action; i++ )
         {
             QPushButton *button =
-                new QPushButton( qfu( p_item->ppsz_action_text[i] ));
+                new QPushButton( qtr( p_item->ppsz_action_text[i] ));
             CONNECT( button, clicked(), signalMapper, map() );
             signalMapper->setMapping( button, i );
             l->addWidget( button, line, LAST_COLUMN - p_item->i_action + i,
diff --git a/modules/gui/qt4/dialogs/epg.cpp b/modules/gui/qt4/dialogs/epg.cpp
index bea56e9..0c1640b 100644
--- a/modules/gui/qt4/dialogs/epg.cpp
+++ b/modules/gui/qt4/dialogs/epg.cpp
@@ -39,7 +39,7 @@
 
 EpgDialog::EpgDialog( intf_thread_t *_p_intf ): QVLCFrame( _p_intf )
 {
-    setWindowTitle( "Program Guide" );
+    setWindowTitle( qtr( "Program Guide" ) );
 
     QVBoxLayout *layout = new QVBoxLayout( this );
     layout->setMargin( 0 );



More information about the vlc-commits mailing list