[vlc-devel] commit: Translate help, short name and description ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed May 21 19:19:24 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Wed May 21 20:18:56 2008 +0300| [f06802bb0473b765a7751cf78b244da240cd1fcc]

Translate help, short name and description

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

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

diff --git a/src/modules/entry.c b/src/modules/entry.c
index 4bc4b8f..f7405bf 100644
--- a/src/modules/entry.c
+++ b/src/modules/entry.c
@@ -109,15 +109,15 @@ int vlc_module_set (module_t *module, int propid, ...)
         }
 
         case VLC_MODULE_SHORTNAME:
-            module->psz_shortname = va_arg (ap, char *);
+            module->psz_shortname = dgettext (PACKAGE, va_arg (ap, char *));
             break;
 
         case VLC_MODULE_DESCRIPTION:
-            module->psz_longname = va_arg (ap, char *);
+            module->psz_longname = dgettext (PACKAGE, va_arg (ap, char *));
             break;
 
         case VLC_MODULE_HELP:
-            module->psz_help = va_arg (ap, char *);
+            module->psz_help = dgettext (PACKAGE, va_arg (ap, char *));
             break;
 
         case VLC_MODULE_CAPABILITY:




More information about the vlc-devel mailing list