summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a18a5aa)
raw | patch | inline | side by side (parent: a18a5aa)
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Mon, 30 Aug 2010 15:27:57 +0000 (15:27 +0000) | ||
committer | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Sat, 30 Oct 2010 07:10:05 +0000 (07:10 +0000) |
By default xgettext(1) assumes that source code is in US-ASCII, change
that to UTF-8 for our case.
I'm not planning to include non-ASCII in any of the main Git interface
strings. But this'll be used for a gettext regression test to make
sure this works if we ever want to go this route, and to check that
the gettext implementation is sane in this regard.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
that to UTF-8 for our case.
I'm not planning to include non-ASCII in any of the main Git interface
strings. But this'll be used for a gettext regression test to make
sure this works if we ever want to go this route, and to check that
the gettext implementation is sane in this regard.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Makefile | patch | blob | history |
diff --git a/Makefile b/Makefile
index 8650eb12e97b2d3fa74d45e25a69cc7b429b072b..8b895445f621aee87a9f3ebca9e3ffa15229f792 100644 (file)
--- a/Makefile
+++ b/Makefile
$(RM) cscope*
$(FIND) . -name '*.[hcS]' -print | xargs cscope -b
-XGETTEXT_OPTIONS = --add-comments --msgid-bugs-address="Git Mailing List <git@vger.kernel.org>"
+XGETTEXT_OPTIONS = --add-comments --msgid-bugs-address="Git Mailing List <git@vger.kernel.org>" --from-code=UTF-8
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