Add the possibility to pass --flag arguments to xgettext calls

Peter Eisentraut <peter_e@gmx.net>

Commit: cb5a7bc2dce4377036bd70a69b2b7b3bc821036f
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2011-06-26T21:37:21Z
Releases: 9.2.0
Add the possibility to pass --flag arguments to xgettext calls

The --flag argument can be used to tell xgettext the arguments of
which functions should be flagged with c-format in the PO files,
instead of guessing based on the presence of format specifiers, which
fails if no format specifiers are present but the translation
accidentally introduces one.

Appropriate flag settings have been added for each message catalog.

based on a patch by Christoph Berg for bug #6066

Files

PathChange+/−
src/backend/nls.mk modified +5 −0
src/bin/pg_dump/nls.mk modified +5 −0
src/bin/psql/nls.mk modified +1 −0
src/interfaces/ecpg/ecpglib/nls.mk modified +1 −0
src/interfaces/ecpg/preproc/nls.mk modified +1 −0
src/interfaces/libpq/nls.mk modified +1 −0
src/nls-global.mk modified +11 −2
src/pl/plperl/nls.mk modified +1 −0
src/pl/plpgsql/src/nls.mk modified +1 −0
src/pl/plpython/nls.mk modified +5 −0
src/pl/tcl/nls.mk modified +1 −0