Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitccd31eb

Browse files
committed
Initialize .pot files with some useful default values.
1 parenta3114e5 commitccd31eb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎src/nls-global.mk

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $PostgreSQL: pgsql/src/nls-global.mk,v 1.15 2008/12/11 07:34:07 petere Exp $
1+
# $PostgreSQL: pgsql/src/nls-global.mk,v 1.16 2009/01/02 15:15:42 petere Exp $
22

33
# Common rules for Native Language Support (NLS)
44
#
@@ -36,7 +36,7 @@ PO_FILES = $(addprefix po/, $(addsuffix .po, $(LANGUAGES)))
3636
MO_FILES =$(addprefix po/,$(addsuffix .mo,$(LANGUAGES)))
3737

3838
ifdefXGETTEXT
39-
XGETTEXT += --foreign-user -ctranslator
39+
XGETTEXT += -ctranslator --copyright-holder='PostgreSQL Global Development Group' --msgid-bugs-address=pgsql-bugs@postgresql.org
4040
endif
4141

4242

@@ -56,7 +56,8 @@ po/$(CATALOG_NAME).pot: $(GETTEXT_FILES)
5656
$(XGETTEXT) -D $(srcdir) -n $(addprefix -k, $(GETTEXT_TRIGGERS)) $(GETTEXT_FILES)
5757
endif
5858
@$(mkinstalldirs) $(dir $@)
59-
mv messages.po $@
59+
sed -e '1,18 { s/SOME DESCRIPTIVE TITLE./LANGUAGE message translation file for $(CATALOG_NAME)/;s/PACKAGE/PostgreSQL/g;s/VERSION/$(MAJORVERSION)/g;s/YEAR/'`date +%Y`'/g; }' messages.po >$@
60+
rm messages.po
6061
else# not XGETTEXT
6162
@echo "You don't have 'xgettext'."; exit 1
6263
endif# not XGETTEXT

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp