pgsql: Add the possibility to pass --flag arguments to xgettext calls - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Add the possibility to pass --flag arguments to xgettext calls
Date
Msg-id E1Qax40-00081x-9E@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/cb5a7bc2dce4377036bd70a69b2b7b3bc821036f

Modified Files
--------------
src/backend/nls.mk                 |    5 +++++
src/bin/pg_dump/nls.mk             |    5 +++++
src/bin/psql/nls.mk                |    1 +
src/interfaces/ecpg/ecpglib/nls.mk |    1 +
src/interfaces/ecpg/preproc/nls.mk |    1 +
src/interfaces/libpq/nls.mk        |    1 +
src/nls-global.mk                  |   13 +++++++++++--
src/pl/plperl/nls.mk               |    1 +
src/pl/plpgsql/src/nls.mk          |    1 +
src/pl/plpython/nls.mk             |    5 +++++
src/pl/tcl/nls.mk                  |    1 +
11 files changed, 33 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Replace tabs by spaces in makefile comment
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Replace := by = in nls.mk files