summaryrefslogtreecommitdiffstats
path: root/gettext-runtime/po
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-02-18 13:24:41 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:10:10 +0200
commit8e0e0dbd15c3fd9811ddeac4bbaaf66ff1407201 (patch)
tree11540f844b5fe892fd591b8b47184c6d2da01fd0 /gettext-runtime/po
parent89e9e925e28d9aefcceea8a00e1399afe2e483a6 (diff)
downloadexternal_gettext-8e0e0dbd15c3fd9811ddeac4bbaaf66ff1407201.zip
external_gettext-8e0e0dbd15c3fd9811ddeac4bbaaf66ff1407201.tar.gz
external_gettext-8e0e0dbd15c3fd9811ddeac4bbaaf66ff1407201.tar.bz2
Add MSGID_BUGS_ADDRESS to Makevars.
Add --msgid-bugs-address option to xgettext. Add Report-Msgid-Bugs-To field to PO file header.
Diffstat (limited to 'gettext-runtime/po')
-rw-r--r--gettext-runtime/po/ChangeLog10
-rw-r--r--gettext-runtime/po/Makefile.in.in17
-rw-r--r--gettext-runtime/po/Makevars16
3 files changed, 38 insertions, 5 deletions
diff --git a/gettext-runtime/po/ChangeLog b/gettext-runtime/po/ChangeLog
index f756e51..e2afca1 100644
--- a/gettext-runtime/po/ChangeLog
+++ b/gettext-runtime/po/ChangeLog
@@ -1,3 +1,13 @@
+2003-02-16 Bruno Haible <bruno@clisp.org>
+
+ * Makevars (MSGID_BUGS_ADDRESS): New variable.
+ * Makefile.in.in (DISTFILES.common): Remove Makevars.
+ (DISTFILES): Add Makevars here.
+ ($(DOMAIN).pot-update): Pass --msgid-bugs-address to xgettext.
+ (install-data): Install Makevars.template. Uninstall Makevars.
+ (uninstall-data): Uninstall Makevars.template.
+ (dist2): Distribute Makevars.template, in gettext-tools package only.
+
2003-02-12 Bruno Haible <bruno@clisp.org>
* POTFILES.in: New file.
diff --git a/gettext-runtime/po/Makefile.in.in b/gettext-runtime/po/Makefile.in.in
index 1360f2c..fa15e7f 100644
--- a/gettext-runtime/po/Makefile.in.in
+++ b/gettext-runtime/po/Makefile.in.in
@@ -42,9 +42,9 @@ POFILES = @POFILES@
GMOFILES = @GMOFILES@
UPDATEPOFILES = @UPDATEPOFILES@
DUMMYPOFILES = @DUMMYPOFILES@
-DISTFILES.common = Makefile.in.in Makevars remove-potcdate.sin \
+DISTFILES.common = Makefile.in.in remove-potcdate.sin \
$(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3)
-DISTFILES = $(DISTFILES.common) POTFILES.in $(DOMAIN).pot stamp-po \
+DISTFILES = $(DISTFILES.common) Makevars POTFILES.in $(DOMAIN).pot stamp-po \
$(POFILES) $(GMOFILES) \
$(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3)
@@ -101,7 +101,8 @@ $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed
$(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
--add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \
--files-from=$(srcdir)/POTFILES.in \
- --copyright-holder='$(COPYRIGHT_HOLDER)'
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --msgid-bugs-address='$(MSGID_BUGS_ADDRESS)'
test ! -f $(DOMAIN).po || { \
if test -f $(srcdir)/$(DOMAIN).pot; then \
sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
@@ -137,10 +138,13 @@ install-exec:
install-data: install-data-@USE_NLS@
if test "$(PACKAGE)" = "gettext-tools"; then \
$(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
- for file in $(DISTFILES.common); do \
+ for file in $(DISTFILES.common) Makevars.template; do \
$(INSTALL_DATA) $(srcdir)/$$file \
$(DESTDIR)$(gettextsrcdir)/$$file; \
done; \
+ for file in Makevars; do \
+ rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
+ done; \
else \
: ; \
fi
@@ -237,7 +241,7 @@ uninstall: uninstall-exec uninstall-data
uninstall-exec:
uninstall-data: uninstall-data-@USE_NLS@
if test "$(PACKAGE)" = "gettext-tools"; then \
- for file in $(DISTFILES.common); do \
+ for file in $(DISTFILES.common) Makevars.template; do \
rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
done; \
else \
@@ -281,6 +285,9 @@ dist distdir:
# This is a separate target because 'update-po' must be executed before.
dist2: $(DISTFILES)
dists="$(DISTFILES)"; \
+ if test "$(PACKAGE)" = "gettext-tools"; then \
+ dists="$$dists Makevars.template"; \
+ fi; \
if test -f $(srcdir)/ChangeLog; then \
dists="$$dists ChangeLog"; \
fi; \
diff --git a/gettext-runtime/po/Makevars b/gettext-runtime/po/Makevars
index 8b09f53..5c118c5 100644
--- a/gettext-runtime/po/Makevars
+++ b/gettext-runtime/po/Makevars
@@ -20,6 +20,22 @@ XGETTEXT_OPTIONS = --keyword=_ --keyword=N_
# their copyright.
COPYRIGHT_HOLDER = Free Software Foundation, Inc.
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
# This is the list of locale categories, beyond LC_MESSAGES, for which the
# message catalogs shall be used. It is usually empty.
EXTRA_LOCALE_CATEGORIES =