diff options
author | Vasco Almeida <vascomalmeida@sapo.pt> | 2016-12-14 11:54:29 -0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-12-14 11:00:05 -0800 |
commit | c4a85c3b8eef8c3b37f5103870e82894d9e5e7d0 (patch) | |
tree | fc2e7d5f464935c16a249a03990f5182936a28e1 /Makefile | |
parent | i18n: clean.c: match string with git-add--interactive.perl (diff) | |
download | tgif-c4a85c3b8eef8c3b37f5103870e82894d9e5e7d0.tar.xz |
i18n: add--interactive: mark plural strings
Mark plural strings for translation. Unfold each action case in one
entire sentence.
Pass new keyword for xgettext to extract.
Update test to include new subroutine __n() for plural strings handling.
Update documentation to include a description of the new __n()
subroutine.
Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt>
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
@@ -2109,7 +2109,8 @@ XGETTEXT_FLAGS_C = $(XGETTEXT_FLAGS) --language=C \ --keyword=_ --keyword=N_ --keyword="Q_:1,2" XGETTEXT_FLAGS_SH = $(XGETTEXT_FLAGS) --language=Shell \ --keyword=gettextln --keyword=eval_gettextln -XGETTEXT_FLAGS_PERL = $(XGETTEXT_FLAGS) --keyword=__ --language=Perl +XGETTEXT_FLAGS_PERL = $(XGETTEXT_FLAGS) --language=Perl \ + --keyword=__ --keyword="__n:1,2" LOCALIZED_C = $(C_OBJ:o=c) $(LIB_H) $(GENERATED_H) LOCALIZED_SH = $(SCRIPT_SH) LOCALIZED_SH += git-parse-remote.sh |