From: Ævar Arnfjörð Bjarmason Date: Tue, 7 Sep 2010 14:57:02 +0000 (+0000) Subject: gettextize: git-am printf(1) message to eval_gettext X-Git-Tag: ko-pu~10^2~54 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c233937773e676aed8074d8460c1f60d5e90b50f;p=git.git gettextize: 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 --- diff --git a/git-am.sh b/git-am.sh index ba8c24e61..5f3d1c5e5 100755 --- a/git-am.sh +++ b/git-am.sh @@ -778,7 +778,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