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>
This commit is contained in:
Ævar Arnfjörð Bjarmason 2011-05-21 18:43:53 +00:00 committed by Junio C Hamano
parent dff1a98350
commit 39dc30dc1b

View File

@ -797,7 +797,7 @@ did you forget to use 'git add'?"; echo
fi fi
if test $apply_status != 0 if test $apply_status != 0
then then
printf 'Patch failed at %s %s\n' "$msgnum" "$FIRSTLINE" eval_gettext 'Patch failed at $msgnum $FIRSTLINE'; echo
stop_here_user_resolve $this stop_here_user_resolve $this
fi fi