[PATCH v2 10/22] i18n: rebase: mark placeholder for translation
- From
Vasco Almeida <vascomalmeida@sapo.pt>
- Date
- May 23, 2016, 19:27 UTC
- Message-ID
- <1464031661-18988-11-git-send-email-vascomalmeida@sapo.pt>
- In-Reply-To
- <1464031661-18988-1-git-send-email-vascomalmeida@sapo.pt>
Mark placeholder "<branch>" in git-rebase.sh for translation. The string containing the named placeholder is passed to shell function error_on_missing_default_upstream in git-parse-remote.sh which uses it to display a command hint for the user.
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 1fadc04..9ba21ab 100755 --- a/git-rebase.sh +++ b/git-rebase.sh @@ -449,7 +449,7 @@ then then . git-parse-remote error_on_missing_default_upstream "rebase" "rebase" \ - "against" "git rebase <branch>" + "against" "git rebase $(gettext '<branch>')" fi test "$fork_point" = auto && fork_point=t
-- 2.7.3