Translate meta data category properly
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 18 Apr 2009 20:23:03 +0000 (23:23 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 18 Apr 2009 20:23:03 +0000 (23:23 +0300)
modules/demux/playlist/qtl.c
modules/demux/playlist/shoutcast.c

index fb3e495..b667b69 100644 (file)
@@ -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 )
index 1dbb4ce..cd78bd8 100644 (file)
@@ -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 )