Обсуждение: pgsql: Add the possibility to pass --flag arguments to xgettext calls

Поиск
Список
Период
Сортировка

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

От
Peter Eisentraut
Дата:
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(-)