diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-03-07 19:25:52 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-03-07 21:35:23 +0200 |
commit | b34a88e4f44ee2a926c8c30f8fb3954fc7d71b90 (patch) | |
tree | cb056d99378f7a00fb64f4ddd2598f50938f8833 /libmpdemux/demux_asf.c | |
parent | 5234c72e28c27e232a35ebcbadc50c5933cccf7d (diff) | |
download | mpv-b34a88e4f44ee2a926c8c30f8fb3954fc7d71b90.tar.bz2 mpv-b34a88e4f44ee2a926c8c30f8fb3954fc7d71b90.tar.xz |
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.
Diffstat (limited to 'libmpdemux/demux_asf.c')
-rw-r--r-- | libmpdemux/demux_asf.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libmpdemux/demux_asf.c b/libmpdemux/demux_asf.c index e205524d62..4d7490e7f8 100644 --- a/libmpdemux/demux_asf.c +++ b/libmpdemux/demux_asf.c @@ -642,7 +642,8 @@ static demuxer_t* demux_open_asf(demuxer_t* demuxer) // demuxer->endpos=avi_header.movi_end; if(demuxer->video->id != -2) { if(!ds_fill_buffer(demuxer->video)){ - mp_tmsg(MSGT_DEMUXER,MSGL_WARN,"ASF: " "No video stream found.\n"); + mp_msg(MSGT_DEMUXER, MSGL_WARN, "ASF: %s", + mp_gtext("No video stream found.\n")); demuxer->video->sh=NULL; //printf("ASF: missing video stream!? contact the author, it may be a bug :(\n"); } else { @@ -659,7 +660,8 @@ static demuxer_t* demux_open_asf(demuxer_t* demuxer) if(demuxer->audio->id!=-2){ mp_tmsg(MSGT_DEMUXER,MSGL_V,"ASF: Searching for audio stream (id:%d).\n",demuxer->audio->id); if(!ds_fill_buffer(demuxer->audio)){ - mp_tmsg(MSGT_DEMUXER,MSGL_INFO,"ASF: " "No audio stream found -> no sound.\n"); + mp_msg(MSGT_DEMUXER, MSGL_INFO, "ASF: %s", + mp_gtext("No audio stream found -> no sound.\n")); demuxer->audio->sh=NULL; } else { sh_audio=demuxer->audio->sh;sh_audio->ds=demuxer->audio; |