[vlc-devel] commit: Translate meta data category properly ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Apr 18 22:23:43 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Apr 18 23:23:03 2009 +0300| [a5cf57fc0edc53eed44930578c8255baa3b6e925] | committer: Rémi Denis-Courmont
Translate meta data category properly
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a5cf57fc0edc53eed44930578c8255baa3b6e925
---
modules/demux/playlist/qtl.c | 2 +-
modules/demux/playlist/shoutcast.c | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/modules/demux/playlist/qtl.c b/modules/demux/playlist/qtl.c
index fb3e495..b667b69 100644
--- a/modules/demux/playlist/qtl.c
+++ b/modules/demux/playlist/qtl.c
@@ -353,7 +353,7 @@ static int Demux( demux_t *p_demux )
#define SADD_INFO( type, field ) if( field ) { input_item_AddInfo( \
p_input, "QuickTime Media Link", type, "%s", field ) ; }
SADD_INFO( "href", psz_href );
- SADD_INFO( "mime type", psz_mimetype );
+ SADD_INFO( _("Mime"), psz_mimetype );
input_item_AddSubItem( p_current_input, p_input );
vlc_gc_decref( p_input );
if( psz_qtnext )
diff --git a/modules/demux/playlist/shoutcast.c b/modules/demux/playlist/shoutcast.c
index 1dbb4ce..cd78bd8 100644
--- a/modules/demux/playlist/shoutcast.c
+++ b/modules/demux/playlist/shoutcast.c
@@ -403,11 +403,11 @@ static int DemuxStation( demux_t *p_demux )
free( psz_mrl );
#define SADD_INFO( type, field ) if( field ) { input_item_AddInfo( \
- p_input, _("Shoutcast"), _(type), "%s", field ) ; }
- SADD_INFO( "Mime type", psz_mt );
- SADD_INFO( "Bitrate", psz_br );
- SADD_INFO( "Listeners", psz_lc );
- SADD_INFO( "Load", psz_load );
+ p_input, _("Shoutcast"), gettext(type), "%s", field ) ; }
+ SADD_INFO( N_("Mime"), psz_mt );
+ SADD_INFO( N_("Bitrate"), psz_br );
+ SADD_INFO( N_("Listeners"), psz_lc );
+ SADD_INFO( N_("Load"), psz_load );
if( psz_genre )
input_item_SetGenre( p_input, psz_genre );
if( psz_ct )
More information about the vlc-devel
mailing list