Re: Get rid of translation strings that only contain punctuation - Mailing list pgsql-hackers

From Peter Smith
Subject Re: Get rid of translation strings that only contain punctuation
Date
Msg-id CAHut+PtbTmrpXOqbYy+HZujWNNxqLs+YwND070H0Z-vd55CYxQ@mail.gmail.com
Whole thread
In response to Re: Get rid of translation strings that only contain punctuation  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Wed, Apr 22, 2026 at 12:32 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Peter Smith <smithpb2250@gmail.com> writes:
> > Case#1: publication "XXX" has a problem
> > Case#2: the following publications have a problem: "XXX", "YYY", "ZZZ"
>
> Entirely aside from the mechanics of producing the output,
> I am not sure I buy that emitting that is a desirable goal.
> It seems to be based on an English-centric notion that singular
> and indefinitely-many plural are the only two categories.
> This is incorrect (see the documentation for ngettext()).
>

Those case#1 and case#2 were just illustrative. The real code is using
`errmsg_plural` and `errdetail_plural`, so I think that makes it ok
for languages that have multiple forms of "plural".

======
Kind Regards,
Peter Smith.
Fujitsu Australia



pgsql-hackers by date:

Previous
From: jian he
Date:
Subject: Re: First draft of PG 19 release notes
Next
From: shveta malik
Date:
Subject: Re: Warn on missing replica identity in CREATE/ALTER PUBLICATION