summaryrefslogtreecommitdiff
path: root/git-am.sh
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2011-05-21 18:43:53 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-05-21 11:57:15 -0700
commit39dc30dc1b4335083e322495567093d3886bc09b (patch)
tree3a8c94c0d209989129fbff12dc13bc23f3252093 /git-am.sh
parenti18n: git-am core say messages (diff)
downloadtgif-39dc30dc1b4335083e322495567093d3886bc09b.tar.xz
i18n: git-am printf(1) message to eval_gettext
Convert a message that used printf(1) format to use eval_gettext. It's easier for translators to handle the latter, since the eval format automatically gives them context via variable names. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-am.sh')
-rwxr-xr-xgit-am.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-am.sh b/git-am.sh
index 72d4c03b62..463c741dfc 100755
--- a/git-am.sh
+++ b/git-am.sh
@@ -797,7 +797,7 @@ did you forget to use 'git add'?"; echo
fi
if test $apply_status != 0
then
- printf 'Patch failed at %s %s\n' "$msgnum" "$FIRSTLINE"
+ eval_gettext 'Patch failed at $msgnum $FIRSTLINE'; echo
stop_here_user_resolve $this
fi