[vlc-devel] commit: i18n: Fixes in qt4 simple prefs (Christophe Mutricy )

git version control git at videolan.org
Thu Sep 25 00:22:51 CEST 2008


vlc | branch: 0.9-bugfix | Christophe Mutricy <xtophe at videolan.org> | Wed Sep 24 20:11:54 2008 +0100| [54067333d795d3f489257626d7ff89c2ff94dfa3] | committer: Christophe Mutricy 

i18n: Fixes in qt4 simple prefs
(cherry picked from commit 9aba65f77139f16347c57cdd4d53001bd2c4cda5)

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

 modules/gui/qt4/components/simple_preferences.cpp |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index a074ab9..d196990 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -404,13 +404,13 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
             /* Caching */
             /* Add the things to the ComboBox */
             #define addToCachingBox( str, cachingNumber ) \
-                ui.cachingCombo->addItem( str, QVariant( cachingNumber ) );
-            addToCachingBox( "Custom", CachingCustom );
-            addToCachingBox( "Lowest latency", CachingLowest );
-            addToCachingBox( "Low latency", CachingLow );
-            addToCachingBox( "Normal", CachingNormal );
-            addToCachingBox( "High latency", CachingHigh );
-            addToCachingBox( "Higher latency", CachingHigher );
+                ui.cachingCombo->addItem( qtr(str), QVariant( cachingNumber ) );
+            addToCachingBox( N_("Custom"), CachingCustom );
+            addToCachingBox( N_("Lowest latency"), CachingLowest );
+            addToCachingBox( N_("Low latency"), CachingLow );
+            addToCachingBox( N_("Normal"), CachingNormal );
+            addToCachingBox( N_("High latency"), CachingHigh );
+            addToCachingBox( N_("Higher latency"), CachingHigher );
 
 #define TestCaC( name ) \
     b_cache_equal =  b_cache_equal && \




More information about the vlc-devel mailing list