[BUGS] macro concatenation fools gettext - Mailing list pgsql-bugs

From Daniele Varrazzo
Subject [BUGS] macro concatenation fools gettext
Date
Msg-id CA+mi_8bCCMTbuJ2TcTHjCKREzFv_AnYDRJyz4y=gDMrPa++ynQ@mail.gmail.com
Whole thread Raw
Responses Re: [BUGS] macro concatenation fools gettext  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-bugs
The macro concatenation [1]:
   pg_log(PG_DEBUG, "received chunk for file \"%s\", offset "
INT64_FORMAT ", size %d\n",

fools gettext which produces only [2]:
   msgid "received chunk for file \"%s\", offset "

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

-- Daniele


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

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [BUGS] BUG #14791: Error 42P07 but the relation DOESN'T Exists!Error 42P01
Next
From: Michael Paquier
Date:
Subject: Re: [BUGS] macro concatenation fools gettext