diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2011-04-10 19:37:01 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-04-11 10:34:50 -0700 |
commit | ff46a49afadc92bf16ab1ec2dab6d31487de23cb (patch) | |
tree | 74563d554328c79d2753731630c650b6c3a571ed /Makefile | |
parent | 642f85faab27adec13eced36cd7e7548311f6c87 (diff) | |
download | git-ff46a49afadc92bf16ab1ec2dab6d31487de23cb.tar.gz |
Makefile: extract Q_() source strings as ngettext()
The Q_() wrapper added by 0c9ea33 (i18n: add stub Q_() wrapper for
ngettext, 2011-03-09) needs to be noticed by xgettext.
Add an appropriate --keyword option to the Makefile, so that "make pot"
would notice the strings in the plural form marked with the wrapper.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2051,7 +2051,8 @@ XGETTEXT_FLAGS = \ --add-comments \ --msgid-bugs-address="Git Mailing List <git@vger.kernel.org>" \ --from-code=UTF-8 -XGETTEXT_FLAGS_C = $(XGETTEXT_FLAGS) --keyword=_ --keyword=N_ --language=C +XGETTEXT_FLAGS_C = $(XGETTEXT_FLAGS) --language=C \ + --keyword=_ --keyword=N_ --keyword="Q_:1,2" LOCALIZED_C := $(C_OBJ:o=c) po/git.pot: $(LOCALIZED_C) |