From: Nguyễn Thái Ngọc Duy Date: Wed, 22 Aug 2012 14:48:03 +0000 (+0700) Subject: am: quote string for translation before passing to eval_gettextln X-Git-Tag: v1.8.0-rc0~96^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a312a271b92fe74f5954adbb824987b040926c4c;p=thirdparty%2Fgit.git am: quote string for translation before passing to eval_gettextln If it's not quoted, the string is expanded before it gets looked up in gettext database and obviously nothing is returned. Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano --- diff --git a/git-am.sh b/git-am.sh index f1ae932fa7..c1b7391080 100755 --- a/git-am.sh +++ b/git-am.sh @@ -836,8 +836,8 @@ did you forget to use 'git add'?" eval_gettextln 'Patch failed at $msgnum $FIRSTLINE' if test "$(git config --bool advice.amworkdir)" != false then - eval_gettextln "The copy of the patch that failed is found in: - $dotest/patch" + eval_gettextln 'The copy of the patch that failed is found in: + $dotest/patch' fi stop_here_user_resolve $this fi