From: Vasco Almeida Date: Fri, 17 Jun 2016 20:20:58 +0000 (+0000) Subject: i18n: rebase: fix marked string to use eval_gettext variant X-Git-Tag: v2.10.0-rc0~45^2~6 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/24a6df489a47dab63f24caa5cc4dcbf6740049cc i18n: rebase: fix marked string to use eval_gettext variant The string message marked for translation should use eval_gettext variant instead of the gettext one, since we want to dollar-substitute $head_name in the result. Signed-off-by: Vasco Almeida Signed-off-by: Junio C Hamano --- diff --git a/git-rebase.sh b/git-rebase.sh index 44ede367ae..1fadc04164 100755 --- a/git-rebase.sh +++ b/git-rebase.sh @@ -154,7 +154,7 @@ move_to_original_branch () { git symbolic-ref \ -m "rebase finished: returning to $head_name" \ HEAD $head_name || - die "$(gettext "Could not move back to $head_name")" + die "$(eval_gettext "Could not move back to \$head_name")" ;; esac }