Re: Heikki Linnakangas 2011-06-17 <4DFB137E(dot)4040404(at)enterprisedb(dot)com>
> So, this is a case where the untranslated string doesn't have a %s
> in it, but the translated one does. We should have a way to check
> those automatically. In fact, I'm surprised if someone somewhere
> hasn't already written such a script, as gettext is used very
> widely. Anyone want to research/write a script?
Actually, msgfmt can do that itself with -c. This can be set in
Makefile.global:
$ grep MSGFMT src/Makefile.global
MSGFMT = msgfmt -c
Unfortunately that doesn't help in this case, as the bad string isn't
tagged as "#, c-format", but still gets used as such. This seems to be
the case for many errhint() strings. Maybe xgettext should be taught
to treat all errhint() et al arguments as c-strings.
Christoph
--
cb(at)df7cb(dot)de | http://www.df7cb.de/