aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-07-31 09:41:51 -0700
committerJunio C Hamano <gitster@pobox.com>2012-07-31 09:41:52 -0700
commit5fe1484a9b89e22f14d94d5b050c39db7ad65c81 (patch)
treedc63d0ad35083533b24e889f99e4cfe13844e043 /Makefile
parent3b2d763db07f251e424d7f940938d9df1e1d4d09 (diff)
parent55653a689e17cfa896aa0454e751a9002b519f4b (diff)
downloadgit-5fe1484a9b89e22f14d94d5b050c39db7ad65c81.tar.gz
git-5fe1484a9b89e22f14d94d5b050c39db7ad65c81.tar.xz
Merge branch 'jx/i18n-1.7.11'
Add i18n support for scripted Porcelains, and mark strings in merge(-recursive), am, and rebase for i18n. * jx/i18n-1.7.11: i18n: merge-recursive: mark strings for translation Remove dead code which contains bad gettext block i18n: am: mark more strings for translation rebase: remove obsolete and unused LONG_USAGE which breaks xgettext i18n: Rewrite gettext messages start with dash i18n: rebase: mark messages for translation i18n: New keywords for xgettext extraction from sh
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e2a4ac724..4b58b9182 100644
--- a/Makefile
+++ b/Makefile
@@ -2394,7 +2394,8 @@ XGETTEXT_FLAGS = \
--from-code=UTF-8
XGETTEXT_FLAGS_C = $(XGETTEXT_FLAGS) --language=C \
--keyword=_ --keyword=N_ --keyword="Q_:1,2"
-XGETTEXT_FLAGS_SH = $(XGETTEXT_FLAGS) --language=Shell
+XGETTEXT_FLAGS_SH = $(XGETTEXT_FLAGS) --language=Shell \
+ --keyword=gettextln --keyword=eval_gettextln
XGETTEXT_FLAGS_PERL = $(XGETTEXT_FLAGS) --keyword=__ --language=Perl
LOCALIZED_C := $(C_OBJ:o=c) $(LIB_H) $(GENERATED_H)
LOCALIZED_SH := $(SCRIPT_SH)