[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:59:38 CEST 2010
vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Aug 19 23:58:14 2010 +0300| [4ebd4e0a7c47753c8d34de9ee680e653eef2045c] | committer: Rémi Denis-Courmont
Qt4: translate description text for configuration choices
(cherry picked from commit 9896506ee513bcd89afcd1bc48bc238fa5ef1cf2)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=4ebd4e0a7c47753c8d34de9ee680e653eef2045c
---
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 3338e55..54cf533 100644
--- a/modules/gui/qt4/components/preferences_widgets.cpp
+++ b/modules/gui/qt4/components/preferences_widgets.cpp
@@ -525,7 +525,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,
@@ -565,7 +565,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