git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6ebc6d9)
Remove croak and Perl_croak from gettext triggers. While we could
2009年2月19日 10:07:58 +0000 (10:07 +0000)
2009年2月19日 10:07:58 +0000 (10:07 +0000)
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 25a4d851b0d8fd9c1e31f94d886b7b6d00dddc9b..cc2a0c4a35945ecfa99d5076b1337f54b4092324 100644 (file)
--- a/src/pl/plperl/nls.mk
+++ b/src/pl/plperl/nls.mk
@@ -1,5 +1,5 @@
-# $PostgreSQL: pgsql/src/pl/plperl/nls.mk,v 1.2 2009年02月17日 09:24:57 petere Exp $
+# $PostgreSQL: pgsql/src/pl/plperl/nls.mk,v 1.3 2009年02月19日 10:07:58 petere Exp $
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
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /