From: Peter Eisentraut <peter_e@gmx.net>
Date: Tue, 10 Apr 2012 18:26:17 +0000 (+0300)
Subject: NLS: Initialize Project-Id-Version field by xgettext
X-Git-Tag: REL9_2_BETA1~151
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eb821b91c86a85a37572c9062902f94a5efba528;p=postgresql

NLS: Initialize Project-Id-Version field by xgettext

Since xgettext provides options to do this now, we might as well use
them.
---

diff --git a/src/nls-global.mk b/src/nls-global.mk
index 2e11b48eba..bb2c8328b4 100644
--- a/src/nls-global.mk
+++ b/src/nls-global.mk
@@ -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