From b34a88e4f44ee2a926c8c30f8fb3954fc7d71b90 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Sun, 7 Mar 2010 19:25:52 +0200 Subject: translations: tweak cases that relied on concatenating adjacent strings Tweak some code parts that used to rely on string literals from translation macros being concatenated with other adjacent string literals. Break up the resulting string into independently translated parts, so that the existing translations for those parts can still be used. --- libmpdemux/demux_real.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libmpdemux/demux_real.c') diff --git a/libmpdemux/demux_real.c b/libmpdemux/demux_real.c index f6611eb2ed..8f3a46d56c 100644 --- a/libmpdemux/demux_real.c +++ b/libmpdemux/demux_real.c @@ -1740,13 +1740,15 @@ header_end: if(demuxer->video->id==-1 && v_streams>0){ // find the valid video stream: if(!ds_fill_buffer(demuxer->video)){ - mp_tmsg(MSGT_DEMUXER,MSGL_INFO,"RM: " "No video stream found.\n"); + mp_msg(MSGT_DEMUXER, MSGL_INFO, "RM: %s", + mp_gtext("No video stream found.\n")); } } if(demuxer->audio->id==-1 && a_streams>0){ // find the valid audio stream: if(!ds_fill_buffer(demuxer->audio)){ - mp_tmsg(MSGT_DEMUXER,MSGL_INFO,"RM: " "No audio stream found -> no sound.\n"); + mp_msg(MSGT_DEMUXER, MSGL_INFO, "RM: %s", + mp_gtext("No audio stream found -> no sound.\n")); } } -- cgit v1.2.3