OSDN Git Service

Add the possibility to pass --flag arguments to xgettext calls
authorPeter Eisentraut <peter_e@gmx.net>
Sun, 26 Jun 2011 21:13:10 +0000 (00:13 +0300)
committerPeter Eisentraut <peter_e@gmx.net>
Sun, 26 Jun 2011 21:37:21 +0000 (00:37 +0300)
commitcb5a7bc2dce4377036bd70a69b2b7b3bc821036f
tree0aabced33a09c1658c8fc305d5be7dbacff715ad
parent7a5a843a2a63636458397823f090d5e28a02b6a4
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
src/backend/nls.mk
src/bin/pg_dump/nls.mk
src/bin/psql/nls.mk
src/interfaces/ecpg/ecpglib/nls.mk
src/interfaces/ecpg/preproc/nls.mk
src/interfaces/libpq/nls.mk
src/nls-global.mk
src/pl/plperl/nls.mk
src/pl/plpgsql/src/nls.mk
src/pl/plpython/nls.mk
src/pl/tcl/nls.mk