summaryrefslogtreecommitdiffstats
path: root/libmpdemux/demux_ty.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-03-07 19:25:52 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-03-07 21:35:23 +0200
commitb34a88e4f44ee2a926c8c30f8fb3954fc7d71b90 (patch)
treecb056d99378f7a00fb64f4ddd2598f50938f8833 /libmpdemux/demux_ty.c
parent5234c72e28c27e232a35ebcbadc50c5933cccf7d (diff)
downloadmpv-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_ty.c')
-rw-r--r--libmpdemux/demux_ty.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmpdemux/demux_ty.c b/libmpdemux/demux_ty.c
index 9515d0b893..5f6dcdb59a 100644
--- a/libmpdemux/demux_ty.c
+++ b/libmpdemux/demux_ty.c
@@ -871,7 +871,8 @@ static demuxer_t* demux_open_ty(demuxer_t* demuxer)
if(demuxer->audio->id!=-2) {
if(!ds_fill_buffer(demuxer->audio)){
- mp_tmsg(MSGT_DEMUXER,MSGL_INFO,"MPEG: " "No audio stream found -> no sound.\n");
+ mp_msg(MSGT_DEMUXER, MSGL_INFO, "MPEG: %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;