PL/Perl translation, croak

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Subject: PL/Perl translation, croak
Date: 2009-02-17 09:03:40
Message-ID: 499A7D6C.20605@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

plperl's nls.mk contains

GETTEXT_TRIGGERS:= _ errmsg errdetail errdetail_log errhint errcontext
write_stderr croak Perl_croak

As far as I can tell, croak() and Perl_croak() are provided by the Perl
library. So it is quite unclear to me how we expect their argument
strings to be translated using our message catalogs. Is this unfinished
business or is there some mechanism here that I'm not seeing?

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2009-02-17 11:34:34 pgsql: Redefine _() to dgettext() instead of gettext() so that it uses
Previous Message ITAGAKI Takahiro 2009-02-17 06:17:45 Allow on/off as input texts for boolean.