[vlc-commits] commit: Qt4: translate description text for configuration choices ( Rémi Denis-Courmont )
git at videolan.org
git at videolan.org
Thu Aug 19 22:58:56 CEST 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Aug 19 23:58:14 2010 +0300| [9896506ee513bcd89afcd1bc48bc238fa5ef1cf2] | committer: Rémi Denis-Courmont
Qt4: translate description text for configuration choices
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9896506ee513bcd89afcd1bc48bc238fa5ef1cf2
---
modules/gui/qt4/components/preferences_widgets.cpp | 4 ++--
1 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 56c68f2..6260c81 100644
--- a/modules/gui/qt4/components/preferences_widgets.cpp
+++ b/modules/gui/qt4/components/preferences_widgets.cpp
@@ -526,7 +526,7 @@ void StringListConfigControl::finish(module_config_t *p_module_config, bool byca
}
combo->addItem( qfu((p_module_config->ppsz_list_text &&
p_module_config->ppsz_list_text[i_index])?
- p_module_config->ppsz_list_text[i_index] :
+ _(p_module_config->ppsz_list_text[i_index]) :
p_module_config->ppsz_list[i_index] ),
QVariant( qfu(p_module_config->ppsz_list[i_index] )) );
if( p_item->value.psz && !strcmp( p_module_config->value.psz,
@@ -566,7 +566,7 @@ void setfillVLCConfigCombo( const char *configname, intf_thread_t *p_intf,
for ( int i_index = 0; i_index < p_config->i_list; i_index++ )
{
- combo->addItem( qfu( p_config->ppsz_list_text[i_index] ),
+ combo->addItem( qtr(p_config->ppsz_list_text[i_index]),
QVariant( p_config->pi_list[i_index] ) );
if( p_config->value.i == p_config->pi_list[i_index] )
{
More information about the vlc-commits
mailing list