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

From Tom Lane
Subject Re: Get rid of translation strings that only contain punctuation
Date
Msg-id 889437.1776825168@sss.pgh.pa.us
Whole thread
In response to Re: Get rid of translation strings that only contain punctuation  (Peter Smith <smithpb2250@gmail.com>)
Responses Re: Get rid of translation strings that only contain punctuation
List pgsql-hackers
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()).

Is there a good reason not to output a separate message for
each publication?  If we need to throw an ereport(ERROR)
covering them all, maybe list them in separate sentences
in a DETAIL message.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Peter Smith
Date:
Subject: Re: Get rid of translation strings that only contain punctuation
Next
From: Xuneng Zhou
Date:
Subject: Re: PoC: Add condition variable support to WaitEventSetWait()