Commit 4a693e57 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Don't call gettext for stuff that's not translated

parent 97cf7d54
...@@ -204,7 +204,7 @@ static int Demux( demux_t *p_demux ) ...@@ -204,7 +204,7 @@ static int Demux( demux_t *p_demux )
{ {
p_input = input_item_New( p_demux, psz_url, psz_title ); p_input = input_item_New( p_demux, psz_url, psz_title );
#define SADD_INFO( type, field ) if( field ) { input_item_AddInfo( \ #define SADD_INFO( type, field ) if( field ) { input_item_AddInfo( \
p_input, _("Google Video"), _(type), "%s", field ) ; } p_input, _("Google Video"), type, "%s", field ) ; }
SADD_INFO( "gvp_version", psz_version ); SADD_INFO( "gvp_version", psz_version );
SADD_INFO( "docid", psz_docid ); SADD_INFO( "docid", psz_docid );
SADD_INFO( "description", psz_description ); SADD_INFO( "description", psz_description );
......
...@@ -351,7 +351,7 @@ static int Demux( demux_t *p_demux ) ...@@ -351,7 +351,7 @@ static int Demux( demux_t *p_demux )
{ {
p_input = input_item_New( p_demux, psz_src, psz_moviename ); p_input = input_item_New( p_demux, psz_src, psz_moviename );
#define SADD_INFO( type, field ) if( field ) { input_item_AddInfo( \ #define SADD_INFO( type, field ) if( field ) { input_item_AddInfo( \
p_input, "QuickTime Media Link", _(type), "%s", field ) ; } p_input, "QuickTime Media Link", type, "%s", field ) ; }
SADD_INFO( "href", psz_href ); SADD_INFO( "href", psz_href );
SADD_INFO( "mime type", psz_mimetype ); SADD_INFO( "mime type", psz_mimetype );
input_item_AddSubItem( p_current_input, p_input ); input_item_AddSubItem( p_current_input, p_input );
......
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