Re: Heikki Linnakangas 2011-06-17 <4dfb137e.4040...@enterprisedb.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 -- c...@df7cb.de | http://www.df7cb.de/ -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs