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

git at videolan.org git at videolan.org
Wed Apr 28 00:23:31 CEST 2010


vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Tue Apr 27 23:23:01 2010 +0100| [ba394d11c884ee2cbf703d7b6cddccafa96cff74] | committer: Christophe Mutricy 

i18n fix

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

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

diff --git a/modules/gui/qt4/components/extended_panels.cpp b/modules/gui/qt4/components/extended_panels.cpp
index 3c1c990..ceac89e 100644
--- a/modules/gui/qt4/components/extended_panels.cpp
+++ b/modules/gui/qt4/components/extended_panels.cpp
@@ -406,10 +406,10 @@ void ExtVideo::initComboBoxItems( QObject *widget )
         {
             if( i_type == CONFIG_ITEM_INTEGER
              || i_type == CONFIG_ITEM_BOOL )
-                combobox->addItem( qfu( p_item->ppsz_list_text[i_index] ),
+                combobox->addItem( qtr( p_item->ppsz_list_text[i_index] ),
                                    p_item->pi_list[i_index] );
             else if( i_type == CONFIG_ITEM_STRING )
-                combobox->addItem( qfu( p_item->ppsz_list_text[i_index] ),
+                combobox->addItem( qtr( p_item->ppsz_list_text[i_index] ),
                                    p_item->ppsz_list[i_index] );
         }
     }
diff --git a/modules/gui/qt4/dialogs/epg.cpp b/modules/gui/qt4/dialogs/epg.cpp
index 0c1640b..40980c7 100644
--- a/modules/gui/qt4/dialogs/epg.cpp
+++ b/modules/gui/qt4/dialogs/epg.cpp
@@ -73,7 +73,7 @@ EpgDialog::EpgDialog( intf_thread_t *_p_intf ): QVLCFrame( _p_intf )
 
     CONNECT( epg, itemSelectionChanged( EPGEvent *), this, showEvent( EPGEvent *) );
 
-    QPushButton *update = new QPushButton( "Update" ); //Temporary to test
+    QPushButton *update = new QPushButton( qtr( "Update" ) ); //Temporary to test
     layout->addWidget( update, 0, Qt::AlignRight );
     BUTTONACT( update, updateInfos() );
 



More information about the vlc-commits mailing list