]> git.ipfire.org Git - thirdparty/git.git/commitdiff
am: quote string for translation before passing to eval_gettextln
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Wed, 22 Aug 2012 14:48:03 +0000 (21:48 +0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Aug 2012 16:59:52 +0000 (09:59 -0700)
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 <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-am.sh

index f1ae932fa753c7c08769b96420d04fed8ed58804..c1b7391080c721d3fbfef2533b0a775903552c83 100755 (executable)
--- 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