summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
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 /libmpcodecs
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 'libmpcodecs')
-rw-r--r--libmpcodecs/vf.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/libmpcodecs/vf.c b/libmpcodecs/vf.c
index c6f23eb382..682480f85b 100644
--- a/libmpcodecs/vf.c
+++ b/libmpcodecs/vf.c
@@ -489,15 +489,16 @@ vf_instance_t* vf_open_filter(struct MPOpts *opts, vf_instance_t* next, const ch
p += sprintf(str,"%s",name);
for(i = 0 ; args && args[2*i] ; i++)
p += sprintf(p," %s=%s",args[2*i],args[2*i+1]);
- mp_tmsg(MSGT_VFILTER,MSGL_INFO,"Opening video filter: " "[%s]\n",str);
+ mp_msg(MSGT_VFILTER, MSGL_INFO, "%s[%s]\n",
+ mp_gtext("Opening video filter: "), str);
}
} else if(strcmp(name,"vo")) {
if(args && strcmp(args[0],"_oldargs_") == 0)
- mp_tmsg(MSGT_VFILTER,MSGL_INFO,"Opening video filter: "
- "[%s=%s]\n", name,args[1]);
+ mp_msg(MSGT_VFILTER, MSGL_INFO, "%s[%s=%s]\n",
+ mp_gtext("Opening video filter: "), name, args[1]);
else
- mp_tmsg(MSGT_VFILTER,MSGL_INFO,"Opening video filter: "
- "[%s]\n", name);
+ mp_msg(MSGT_VFILTER, MSGL_INFO, "%s[%s]\n",
+ mp_gtext("Opening video filter: "), name);
}
return vf_open_plugin(opts, filter_list,next,name,args);
}