Re: macro concatenation fools gettext

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>
Cc: pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: macro concatenation fools gettext
Date: 2017-08-31 09:01:05
Message-ID: CAB7nPqT7nhqardNdrrETojBOjB-Ea_a8JKBJkVvtVyKE9Zdg4w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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...
>
> [1] https://github.com/postgres/postgres/blob/21d304df/src/bin/pg_rewind/libpq_fetch.c#L345
> [2] https://github.com/postgres/postgres/blob/21d304df/src/bin/pg_rewind/po/fr.po#L334

This has been already reported a couple of days ago. I have produced a
patch here:
https://www.postgresql.org/message-id/CAB7nPqSSq2_e4DjyR4sKgOoNGxewueF82np4EPHG8cF1tt4yLw@mail.gmail.com
--
Michael

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Sandeep Thakkar 2017-08-31 11:53:24 Re: BUG #14792: Invalid ssleay32.dll
Previous Message Daniele Varrazzo 2017-08-31 00:41:19 macro concatenation fools gettext