pgsql: Remove croak and Perl_croak from gettext triggers.

From: petere(at)postgresql(dot)org (Peter Eisentraut)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove croak and Perl_croak from gettext triggers.
Date: 2009-02-19 10:07:58
Message-ID: 20090219100758.616CA7559ED@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/src/pl/plperl:
nls.mk (r1.2 -> r1.3)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/nls.mk?r1=1.2&r2=1.3)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2009-02-19 10:32:30 pgsql: Add an implicit rule %.c -> %.i for running the C preprocessor.
Previous Message Heikki Linnakangas 2009-02-19 08:02:32 pgsql: Increase NUM_AUXILIARY_PROCS, now that the startup process can