From: Peter Eisentraut Date: Thu, 19 Feb 2009 10:07:58 +0000 (+0000) Subject: Remove croak and Perl_croak from gettext triggers. While we could X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=3c06fa4456276eb070a4f80f0b71199d15a0c44f;p=users%2Fsimon%2Fpostgres.git Remove croak and Perl_croak from gettext triggers. While we could selectively mark up their arguments for translation, the Perl xsubpp tool generates a bunch of additional Perl_croak calls that we cannot control, so we'd be creating a confusing mix of translated and untranslated messages of a similar kind. This is something that might deserve a more comprehensive solution later. Also remove _ from gettext triggers, because it wasn't used. Use SPI.c instead of SPI.xs as source file for xgettext, because the .xs format isn't really supported in xgettext. --- diff --git a/src/pl/plperl/nls.mk b/src/pl/plperl/nls.mk index 0064ff8d4f..84891d2f53 100644 --- a/src/pl/plperl/nls.mk +++ b/src/pl/plperl/nls.mk @@ -1,5 +1,5 @@ # $PostgreSQL$ CATALOG_NAME := plperl AVAIL_LANGUAGES := -GETTEXT_FILES := plperl.c SPI.xs -GETTEXT_TRIGGERS:= _ errmsg errdetail errdetail_log errhint errcontext croak Perl_croak +GETTEXT_FILES := plperl.c SPI.c +GETTEXT_TRIGGERS:= errmsg errdetail errdetail_log errhint errcontext