Commit f2193616 authored by Christoph Miebach's avatar Christoph Miebach Committed by Jean-Baptiste Kempf

l10n: Use translations of help messages

(cherry picked from commit 72645d4fc730e63160be468bcb13b056a1ce93f2)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent cfd1e8c8
...@@ -165,20 +165,20 @@ static void Help (vlc_object_t *p_this, char const *psz_help_name) ...@@ -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" ) ) 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, "=help" );
Usage( p_this, "=main" ); Usage( p_this, "=main" );
print_help_on_full_help(); print_help_on_full_help();
} }
else if( psz_help_name && !strcmp( psz_help_name, "longhelp" ) ) 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 ); Usage( p_this, NULL );
print_help_on_full_help(); print_help_on_full_help();
} }
else if( psz_help_name && !strcmp( psz_help_name, "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 ); Usage( p_this, NULL );
} }
else if( psz_help_name ) else if( psz_help_name )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment