[vlc-commits] l10n: Use translations of help messages

Christoph Miebach git at videolan.org
Fri Sep 14 01:04:10 CEST 2012


vlc/vlc-2.0 | branch: master | Christoph Miebach <christoph.miebach at web.de> | Tue Jul 31 15:03:12 2012 +0200| [f21936168e045fd3d5c9c118255c390d5f66813f] | committer: Jean-Baptiste Kempf

l10n: Use translations of help messages
(cherry picked from commit 72645d4fc730e63160be468bcb13b056a1ce93f2)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 src/config/help.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/config/help.c b/src/config/help.c
index 5791d80..de755db 100644
--- a/src/config/help.c
+++ b/src/config/help.c
@@ -165,20 +165,20 @@ static void Help (vlc_object_t *p_this, char const *psz_help_name)
 
     if( psz_help_name && !strcmp( psz_help_name, "help" ) )
     {
-        utf8_fprintf( stdout, vlc_usage, "vlc" );
+        utf8_fprintf( stdout, _(vlc_usage), "vlc" );
         Usage( p_this, "=help" );
         Usage( p_this, "=main" );
         print_help_on_full_help();
     }
     else if( psz_help_name && !strcmp( psz_help_name, "longhelp" ) )
     {
-        utf8_fprintf( stdout, vlc_usage, "vlc" );
+        utf8_fprintf( stdout, _(vlc_usage), "vlc" );
         Usage( p_this, NULL );
         print_help_on_full_help();
     }
     else if( psz_help_name && !strcmp( psz_help_name, "full-help" ) )
     {
-        utf8_fprintf( stdout, vlc_usage, "vlc" );
+        utf8_fprintf( stdout, _(vlc_usage), "vlc" );
         Usage( p_this, NULL );
     }
     else if( psz_help_name )



More information about the vlc-commits mailing list