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

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add the possibility to pass --flag arguments to xgettext calls
Date: 2011-06-26 21:40:20
Message-ID: E1Qax40-00081x-9E@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2011-06-26 21:59:38 pgsql: Add missing file to GETTEXT_FILES
Previous Message Joe Conway 2011-06-26 00:00:55 Re: pgsql: Branch refs/heads/REL9_1_STABLE was removed