Commit 3d94da0d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

mkv: remove incorrect use of N_()

parent dce178aa
...@@ -133,28 +133,28 @@ std::string dvd_chapter_codec_c::GetCodecName( bool f_for_title ) const ...@@ -133,28 +133,28 @@ std::string dvd_chapter_codec_c::GetCodecName( bool f_for_title ) const
uint16_t i_title = (p_data[1] << 8) + p_data[2]; uint16_t i_title = (p_data[1] << 8) + p_data[2];
char psz_str[11]; char psz_str[11];
sprintf( psz_str, " %d ---", i_title ); sprintf( psz_str, " %d ---", i_title );
result = N_("--- DVD Title"); result = "--- DVD Title";
result += psz_str; result += psz_str;
} }
else */ if ( p_data[0] == MATROSKA_DVD_LEVEL_LU ) else */ if ( p_data[0] == MATROSKA_DVD_LEVEL_LU )
{ {
char psz_str[11]; char psz_str[11];
sprintf( psz_str, " (%c%c) ---", p_data[1], p_data[2] ); sprintf( psz_str, " (%c%c) ---", p_data[1], p_data[2] );
result = N_("--- DVD Menu"); result = "--- DVD Menu";
result += psz_str; result += psz_str;
} }
else if ( p_data[0] == MATROSKA_DVD_LEVEL_SS && f_for_title ) else if ( p_data[0] == MATROSKA_DVD_LEVEL_SS && f_for_title )
{ {
if ( p_data[1] == 0x00 ) if ( p_data[1] == 0x00 )
result = N_("First Played"); result = "First Played";
else if ( p_data[1] == 0xC0 ) else if ( p_data[1] == 0xC0 )
result = N_("Video Manager"); result = "Video Manager";
else if ( p_data[1] == 0x80 ) else if ( p_data[1] == 0x80 )
{ {
uint16_t i_title = (p_data[2] << 8) + p_data[3]; uint16_t i_title = (p_data[2] << 8) + p_data[3];
char psz_str[20]; char psz_str[20];
sprintf( psz_str, " %d -----", i_title ); sprintf( psz_str, " %d -----", i_title );
result = N_("----- Title"); result = "----- Title";
result += psz_str; result += psz_str;
} }
} }
......
...@@ -705,7 +705,7 @@ bool demux_sys_t::PreloadLinked() ...@@ -705,7 +705,7 @@ bool demux_sys_t::PreloadLinked()
} }
if( !p_title->psz_name && if( !p_title->psz_name &&
asprintf(&(p_title->psz_name), "%s %d", N_("Segment"), (int)ij) == -1 ) asprintf(&(p_title->psz_name), "%s %d", "Segment", (int)ij) == -1 )
p_title->psz_name = NULL; p_title->psz_name = NULL;
} }
} }
......
Supports Markdown
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