From: Ævar Arnfjörð Bjarmason Date: Sat, 21 May 2011 18:43:43 +0000 (+0000) Subject: i18n: git-am one-line gettext $msg; echo X-Git-Tag: v1.7.7-rc0~116^2~46 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=81dd2fe542f68d1f4c286806ce1560b269c79275;p=git.git i18n: git-am one-line gettext $msg; echo One-line `gettext $msg; echo' messages are the simplest use case for gettext(1). Signed-off-by: Ævar Arnfjörð Bjarmason Signed-off-by: Junio C Hamano --- diff --git a/git-am.sh b/git-am.sh index 79c5ea2a5..f54f13d98 100755 --- a/git-am.sh +++ b/git-am.sh @@ -115,7 +115,7 @@ go_next () { cannot_fallback () { echo "$1" - echo "Cannot fall back to three-way merge." + gettext "Cannot fall back to three-way merge."; echo exit 1 } @@ -645,7 +645,7 @@ do if test -z "$GIT_AUTHOR_EMAIL" then - echo "Patch does not have a valid e-mail address." + gettext "Patch does not have a valid e-mail address."; echo stop_here $this fi @@ -696,7 +696,7 @@ do action=again while test "$action" = again do - echo "Commit Body is:" + gettext "Commit Body is:"; echo echo "--------------------------" cat "$dotest/final-commit" echo "--------------------------"