[PATCH v2 12/48] i18n: git-am printf(1) message to eval_gettext
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- May 21, 2011, 18:43 UTC
- Message-ID
- <1306003469-22939-13-git-send-email-avarab@gmail.com>
- In-Reply-To
- <1306003469-22939-1-git-send-email-avarab@gmail.com>
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> --- git-am.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/git-am.sh b/git-am.sh index 99032ca..df918bb 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
-- 1.7.5.1