pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: NLS: Put list of available languages into LINGUAS files
Date: Wed, 13 Jul 2022 06:35:57 +0000
Message-ID: <E1oBVyW-002YTL-3l@gemulon.postgresql.org> (raw )
NLS: Put list of available languages into LINGUAS files
This moves the list of available languages from nls.mk into a separate
file called po/LINGUAS. Advantages:
- It keeps the parts notionally managed by programmers (nls.mk)
separate from the parts notionally managed by translators (LINGUAS).
- It's the standard practice recommended by the Gettext manual
nowadays.
- The Meson build system also supports this layout (and of course
doesn't know anything about our custom nls.mk), so this would enable
sharing the list of languages between the two build systems.
(The MSVC build system currently finds all po files by globbing, so it
is not affected by this change.)
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://www.postgresql.org/message-id/flat/557a9f5c-e871-edc7-2f58-a4140fb65b7b@enterprisedb.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/88dad06b47eb80f699211c9b0b7a1c6d9016ad19
Modified Files
--------------
doc/src/sgml/nls.sgml | 23 ++++++++++-------------
src/backend/nls.mk | 1 -
src/backend/po/LINGUAS | 1 +
src/bin/initdb/nls.mk | 1 -
src/bin/initdb/po/LINGUAS | 1 +
src/bin/pg_amcheck/nls.mk | 1 -
src/bin/pg_amcheck/po/LINGUAS | 1 +
src/bin/pg_archivecleanup/nls.mk | 1 -
src/bin/pg_archivecleanup/po/LINGUAS | 1 +
src/bin/pg_basebackup/nls.mk | 1 -
src/bin/pg_basebackup/po/LINGUAS | 1 +
src/bin/pg_checksums/nls.mk | 1 -
src/bin/pg_checksums/po/LINGUAS | 1 +
src/bin/pg_config/nls.mk | 1 -
src/bin/pg_config/po/LINGUAS | 1 +
src/bin/pg_controldata/nls.mk | 1 -
src/bin/pg_controldata/po/LINGUAS | 1 +
src/bin/pg_ctl/nls.mk | 1 -
src/bin/pg_ctl/po/LINGUAS | 1 +
src/bin/pg_dump/nls.mk | 1 -
src/bin/pg_dump/po/LINGUAS | 1 +
src/bin/pg_resetwal/nls.mk | 1 -
src/bin/pg_resetwal/po/LINGUAS | 1 +
src/bin/pg_rewind/nls.mk | 1 -
src/bin/pg_rewind/po/LINGUAS | 1 +
src/bin/pg_test_fsync/nls.mk | 1 -
src/bin/pg_test_fsync/po/LINGUAS | 1 +
src/bin/pg_test_timing/nls.mk | 1 -
src/bin/pg_test_timing/po/LINGUAS | 1 +
src/bin/pg_upgrade/nls.mk | 1 -
src/bin/pg_upgrade/po/LINGUAS | 1 +
src/bin/pg_verifybackup/nls.mk | 1 -
src/bin/pg_verifybackup/po/LINGUAS | 1 +
src/bin/pg_waldump/nls.mk | 1 -
src/bin/pg_waldump/po/LINGUAS | 1 +
src/bin/psql/nls.mk | 1 -
src/bin/psql/po/LINGUAS | 1 +
src/bin/scripts/nls.mk | 1 -
src/bin/scripts/po/LINGUAS | 1 +
src/interfaces/ecpg/ecpglib/nls.mk | 1 -
src/interfaces/ecpg/ecpglib/po/LINGUAS | 1 +
src/interfaces/ecpg/preproc/nls.mk | 1 -
src/interfaces/ecpg/preproc/po/LINGUAS | 1 +
src/interfaces/libpq/nls.mk | 1 -
src/interfaces/libpq/po/LINGUAS | 1 +
src/nls-global.mk | 6 +++++-
src/pl/plperl/nls.mk | 1 -
src/pl/plperl/po/LINGUAS | 1 +
src/pl/plpgsql/src/nls.mk | 1 -
src/pl/plpgsql/src/po/LINGUAS | 1 +
src/pl/plpython/nls.mk | 1 -
src/pl/plpython/po/LINGUAS | 1 +
src/pl/tcl/nls.mk | 1 -
src/pl/tcl/po/LINGUAS | 1 +
54 files changed, 41 insertions(+), 40 deletions(-)
Message-ID: <E1oBVyW-002YTL-3l@gemulon.postgresql.org>
Permalink: ../E1oBVyW-002YTL-3l@gemulon.postgresql.org/
Also on: postgresql.org/message-id/E1oBVyW-002YTL-3l@gemulon.postgresql.org
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org
Subject: Re: pgsql: NLS: Put list of available languages into LINGUAS files
In-Reply-To: <E1oBVyW-002YTL-3l@gemulon.postgresql.org>
References: <E1oBVyW-002YTL-3l@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox