Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b870f80

Browse files
committed
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.
1 parent 6ebc6d9 commit b870f80

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pl/plperl/nls.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# $PostgreSQL: pgsql/src/pl/plperl/nls.mk,v 1.2 2009/02/17 09:24:57 petere Exp $
1+
# $PostgreSQL: pgsql/src/pl/plperl/nls.mk,v 1.3 2009/02/19 10:07:58 petere Exp $
22
CATALOG_NAME := plperl
33
AVAIL_LANGUAGES :=
4-
GETTEXT_FILES := plperl.c SPI.xs
5-
GETTEXT_TRIGGERS:= _ errmsg errdetail errdetail_log errhint errcontext croak Perl_croak
4+
GETTEXT_FILES := plperl.c SPI.c
5+
GETTEXT_TRIGGERS:= errmsg errdetail errdetail_log errhint errcontext

0 commit comments

Comments
 (0)