public inbox for [email protected]  
help / color / mirror / Atom feed
From: Chao Li <[email protected]>
To: Álvaro Herrera <[email protected]>
Cc: PostgreSQL Hackers <[email protected]>
Cc: Peter Smith <[email protected]>
Subject: Re: Redundant/mis-use of _(x) gettext macro?
Date: Thu, 2 Apr 2026 11:11:04 +0800
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAHut+PtnpNoJKAgwG54-BFRcH5rTn91T6njJnrnTK5+8BbzzBg@mail.gmail.com>
References: <CAHut+Pvp7jYcaiZ3pXedXgLcWZWDBLXFUK05JtZpGv3Mj=UOjw@mail.gmail.com>
	<[email protected]>
	<CAHut+PtnpNoJKAgwG54-BFRcH5rTn91T6njJnrnTK5+8BbzzBg@mail.gmail.com>



> On Apr 2, 2026, at 10:55, Peter Smith <[email protected]> wrote:
> 
> On Wed, Apr 1, 2026 at 10:52 PM Álvaro Herrera <[email protected]> wrote:
>> 
>> On 2026-Apr-01, Peter Smith wrote:
>> 
>>> Hi.
>>> 
>>> As originally reported [1] in the EXCEPT (TABLE ...) thread, I felt
>>> the _() gettext macro is mis-used when it contains nothing but a
>>> quoted format string.
>> 
>> No, you feel wrong -- this is necessary so that the translator has
>> control over the quoting style of a list of items.  Not all translations
>> use double quoting.  Some examples from different language files:
>> 
>> msgstr "unbekannte Komprimierungsoption: »%s«"
>> msgstr "opción de compresión no reconocida: «%s»"
>> msgstr "option de compression inconnue : « %s »"
>> msgstr "tidak dapat menentukan encoding untuk lokal « %s » : codesetnya adalah « %s »"
>> 
> 
> OK. Thanks for your explanation.
> 

Yep, good to learn. Noted.

Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/









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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: Redundant/mis-use of _(x) gettext macro?
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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