[vlc-devel] [PATCH] i18n: Manage i18n in integer and string lists

Dupont Lajoie gozer at progrock.com
Fri Jan 15 11:38:41 CET 2010


---
 src/modules/entry.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/modules/entry.c b/src/modules/entry.c
index 1b5dba6..e264b41 100644
--- a/src/modules/entry.c
+++ b/src/modules/entry.c
@@ -386,7 +386,7 @@ int vlc_plugin_set (module_t *module, module_config_t *item, int propid, ...)
                 if( dtext != NULL )
                 {
                     for (size_t i = 0; i < len; i++)
-                        dtext[i] = text[i] ? strdup (text[i]) : NULL;
+                        dtext[i] = text[i] ? strdup (_(text[i])) : NULL;
                     dtext[len] = NULL;
                 }
                 item->ppsz_list_text = dtext;
-- 
1.6.1.2


--
    Eric Lassauge 
        <gozer {at} progrock [dot] com>
        #lassauge [at] users {dot} sf {dot} net#

_____________________________________________________________
For the best in Progressive Rock on the internet, check out PROGROCK.COM!
http://www.progrock.com



More information about the vlc-devel mailing list