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>
Ævar Arnfjörð Bjarmason committed
May 21, 2011 at 18:43 UTC
39dc30dc1b4335083e322495567093d3886bc09b
1 file changed
+1
-1
git-am.sh
+1
-1
@@ -797,7 +797,7 @@ did you forget to use 'git add'?"; echo
797
fi
798
if test $apply_status != 0
799
then
800
- printf 'Patch failed at %s %s\n' "$msgnum" "$FIRSTLINE"
800
+ eval_gettext 'Patch failed at $msgnum $FIRSTLINE'; echo
801
stop_here_user_resolve $this
802
fi
803