[PATCH v3 09/39] i18n: rebase: fix marked string to use eval_gettext variant
- From
Vasco Almeida <vascomalmeida@sapo.pt>
- Date
- Jun 1, 2016, 16:40 UTC
- Message-ID
- <1464799289-7639-10-git-send-email-vascomalmeida@sapo.pt>
- In-Reply-To
- <1464799289-7639-1-git-send-email-vascomalmeida@sapo.pt>
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 <vascomalmeida@sapo.pt> --- git-rebase.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/git-rebase.sh b/git-rebase.sh index 44ede36..1fadc04 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 }
-- 2.7.3