]> granicus.if.org Git - postgresql/commitdiff
NLS: Initialize Project-Id-Version field by xgettext
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 10 Apr 2012 18:26:17 +0000 (21:26 +0300)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 10 Apr 2012 18:26:17 +0000 (21:26 +0300)
Since xgettext provides options to do this now, we might as well use
them.

src/nls-global.mk

index 2e11b48eba6f01b38da9ba28c0d1690fc563c6c3..bb2c8328b4e412cf8d33ad3184da441e28d469c2 100644 (file)
@@ -40,7 +40,7 @@ ALL_PO_FILES = $(addprefix po/, $(addsuffix .po, $(AVAIL_LANGUAGES)))
 MO_FILES = $(addprefix po/, $(addsuffix .mo, $(LANGUAGES)))
 
 ifdef XGETTEXT
-XGETTEXT += -ctranslator --copyright-holder='PostgreSQL Global Development Group' --msgid-bugs-address=pgsql-bugs@postgresql.org --no-wrap --sort-by-file
+XGETTEXT += -ctranslator --copyright-holder='PostgreSQL Global Development Group' --msgid-bugs-address=pgsql-bugs@postgresql.org --no-wrap --sort-by-file --package-name='$(CATALOG_NAME) (PostgreSQL)' --package-version='$(MAJORVERSION)'
 endif
 
 ifdef MSGMERGE