summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0c51fa6)
raw | patch | inline | side by side (parent: 0c51fa6)
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Sat, 28 Aug 2010 17:42:11 +0000 (17:42 +0000) | ||
committer | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Sat, 30 Oct 2010 07:10:05 +0000 (07:10 +0000) |
Change the invocations of xgettext to use the --msgid-bugs-address
option. This has the effect of adding a Report-Msgid-Bugs-To header to
the git.pot and the derived *.po files. Doing so is recommended by the
gettext manual.
If this isn't added the Report-Msgid-Bugs-To header already in
po/is.po and other PO files will be removed by msgmerge(1).
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
option. This has the effect of adding a Report-Msgid-Bugs-To header to
the git.pot and the derived *.po files. Doing so is recommended by the
gettext manual.
If this isn't added the Report-Msgid-Bugs-To header already in
po/is.po and other PO files will be removed by msgmerge(1).
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Makefile | patch | blob | history |
diff --git a/Makefile b/Makefile
index 52b713f91f97589e6ece019c309943b4664d1d02..8650eb12e97b2d3fa74d45e25a69cc7b429b072b 100644 (file)
--- a/Makefile
+++ b/Makefile
$(RM) cscope*
$(FIND) . -name '*.[hcS]' -print | xargs cscope -b
-XGETTEXT_OPTIONS = --add-comments
+XGETTEXT_OPTIONS = --add-comments --msgid-bugs-address="Git Mailing List <git@vger.kernel.org>"
pot:
$(XGETTEXT) $(XGETTEXT_OPTIONS) --keyword=_ --keyword=N_ --output=po/git.pot --language=C $(C_OBJ:o=c) t/t0200/test.c
$(XGETTEXT) $(XGETTEXT_OPTIONS) --join-existing --output=po/git.pot --language=Shell $(SCRIPT_SH) t/t0200/test.sh