[vlc-commits] input: show elementary stream language in current user locale
Rémi Denis-Courmont
git at videolan.org
Sat Jul 14 10:42:05 CEST 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jul 14 11:08:04 2012 +0300| [61e068e67963a9f3b04a6d0c0221969e3658404b] | committer: Rémi Denis-Courmont
input: show elementary stream language in current user locale
...rather than in the language's own spelling or in English.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=61e068e67963a9f3b04a6d0c0221969e3658404b
---
src/input/es_out.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/input/es_out.c b/src/input/es_out.c
index abcebec..d7cfb1e 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -2720,11 +2720,7 @@ static char *LanguageGetName( const char *psz_code )
}
else
{
- if( *pl->psz_native_name )
- {
- return strdup( pl->psz_native_name );
- }
- return strdup( pl->psz_eng_name );
+ return strdup( vlc_gettext(pl->psz_eng_name) );
}
}
More information about the vlc-commits
mailing list