pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Daniele Varrazzo <daniele.varrazzo@gmail.com>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: macro concatenation fools gettext
Date: Thu, 31 Aug 2017 08:28:15 -0400
Message-ID: <25166.1504182495@sss.pgh.pa.us> (raw)
In-Reply-To: <CAB7nPqT7nhqardNdrrETojBOjB-Ea_a8JKBJkVvtVyKE9Zdg4w@mail.gmail.com>
References: <CA+mi_8bCCMTbuJ2TcTHjCKREzFv_AnYDRJyz4y=gDMrPa++ynQ@mail.gmail.com>
	<CAB7nPqT7nhqardNdrrETojBOjB-Ea_a8JKBJkVvtVyKE9Zdg4w@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Michael Paquier <michael.paquier@gmail.com> writes:
> On Thu, Aug 31, 2017 at 9:41 AM, Daniele Varrazzo
> <daniele.varrazzo@gmail.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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (3+ messages)

Message-ID: <25166.1504182495@sss.pgh.pa.us>
Permalink:  ../25166.1504182495@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25166.1504182495@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, michael.paquier@gmail.com, daniele.varrazzo@gmail.com
  Subject: Re: macro concatenation fools gettext
  In-Reply-To: <25166.1504182495@sss.pgh.pa.us>
  References: <CA+mi_8bCCMTbuJ2TcTHjCKREzFv_AnYDRJyz4y=gDMrPa++ynQ@mail.gmail.com> <CAB7nPqT7nhqardNdrrETojBOjB-Ea_a8JKBJkVvtVyKE9Zdg4w@mail.gmail.com> <25166.1504182495@sss.pgh.pa.us>

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

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