Re: macro concatenation fools gettext

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>, pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: macro concatenation fools gettext
Date: 2017-08-31 12:28:15
Message-ID: 25166.1504182495@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Michael Paquier <michael(dot)paquier(at)gmail(dot)com> writes:
> On Thu, Aug 31, 2017 at 9:41 AM, Daniele Varrazzo
> <daniele(dot)varrazzo(at)gmail(dot)com> wrote:
>> the part after the macro is lost and I'm not sure if it will "work" by
>> returning an half-translated sentence, or not work at all and return
>> an English sentence, or return only the first part of the sentence, or
>> explode...

> This has been already reported a couple of days ago. I have produced a
> patch here:

Yeah, but this is just fixing the one occurrence. It'd be nice if we
could have some guarantee that the same thing hasn't been done elsewhere.
No idea whether gettext itself could be taught to complain.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Sandeep Thakkar 2017-08-31 16:57:14 Re: BUG #14792: Invalid ssleay32.dll
Previous Message zosrothko 2017-08-31 12:14:22 Re: BUG #14792: Invalid ssleay32.dll