agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
pgsql: Fix translatable string construction
2+ messages / 1 participants
[nested] [flat]

* pgsql: Fix translatable string construction
@ 2026-06-11 16:34  Álvaro Herrera <alvherre@kurilemu.de>
  0 siblings, 0 replies; 2+ messages in thread

From: Álvaro Herrera @ 2026-06-11 16:34 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix translatable string construction

In a few places, we were constructing translatable strings consisting of
elements list by adding one element at a time and separately a comma.
This is not great from a translation point of view, so rewrite to append
the comma together with the corresponding element in one go.

Author: Peter Smith <smithpb2250@gmail.com>
Author: Álvaro Herrera <alvherre@kurilemu.de>
Discussion: https://postgr.es/m/CAHut+Pvp7jYcaiZ3pXedXgLcWZWDBLXFUK05JtZpGv3Mj=UOjw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3692a622d3fdf8a44af0c0b541a51163ead314f1

Modified Files
--------------
src/backend/catalog/pg_subscription.c      | 22 ++++++++++++++--------
src/backend/commands/tablecmds.c           | 15 ++++-----------
src/backend/replication/logical/relation.c | 13 ++++++-------
3 files changed, 24 insertions(+), 26 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Fix translatable string construction in psql
@ 2026-06-12 12:25  Álvaro Herrera <alvherre@kurilemu.de>
  0 siblings, 0 replies; 2+ messages in thread

From: Álvaro Herrera @ 2026-06-12 12:25 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix translatable string construction in psql

Similar to commit 3692a622d3fd, for a slightly different code pattern in
psql.

No backpatch to avoid disrupting translation in stable branches.

Author: Álvaro Herrera <alvherre@kurilemu.de>
Reviewed-by: Peter Smith <smithpb2250@gmail.com>
Discussion: https://postgr.es/m/airjxKXx7aTG8kfE@alvherre.pgsql

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5459223edb1d08d31711c55f7be9aa6a5710f762

Modified Files
--------------
src/bin/psql/describe.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2026-06-12 12:25 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-06-11 16:34 pgsql: Fix translatable string construction Álvaro Herrera <alvherre@kurilemu.de>
2026-06-12 12:25 pgsql: Fix translatable string construction in psql Álvaro Herrera <alvherre@kurilemu.de>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox