Code

Makefile: MSGFMT="msgfmt --check" under GNU_GETTEXT
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 7 Sep 2010 12:06:42 +0000 (12:06 +0000)
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sat, 30 Oct 2010 07:58:15 +0000 (07:58 +0000)
commit3ee00ae7d093158cf4aee8c27d324afc7774f625
treee349ef45c97155747b02ca98b5e968e2df119fe0
parent9acb202cabbc1be526735105c7e84199672f2c2e
Makefile: MSGFMT="msgfmt --check" under GNU_GETTEXT

GNU msgfmt(1) supports the --check parameter which does various sanity
checks on the translated strings we're processing, including checks
that the printf(3) format of "c-format" translations matches the
original. I.e. that a "%s" isn't missing, or that there aren't
spurious or missing newlines in the translation.

Since Solaris msgfmt(1) doesn't support --check we have to wrap this
in `ifdef GNU_GETTEXT'.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Makefile