Skip to content

Commit a312a27

Browse files
pcloudsgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 14bf2d5 commit a312a27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git-am.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -836,8 +836,8 @@ did you forget to use 'git add'?"
836836
eval_gettextln 'Patch failed at $msgnum $FIRSTLINE'
837837
if test "$(git config --bool advice.amworkdir)" != false
838838
then
839-
eval_gettextln "The copy of the patch that failed is found in:
840-
$dotest/patch"
839+
eval_gettextln 'The copy of the patch that failed is found in:
840+
$dotest/patch'
841841
fi
842842
stop_here_user_resolve $this
843843
fi

0 commit comments

Comments
 (0)