From 22fdd11432d6177ad6f8b9e32f0c4a8101542786 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Sat, 21 May 2011 18:43:46 +0000 Subject: [PATCH] i18n: git-am gettext + gettext to stderr message Signed-off-by: Junio C Hamano --- git-am.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/git-am.sh b/git-am.sh index 7c0273c9a..d56c7e9df 100755 --- a/git-am.sh +++ b/git-am.sh @@ -89,8 +89,11 @@ safe_to_abort () { then return 0 fi - echo >&2 "You seem to have moved HEAD since the last 'am' failure." - echo >&2 "Not rewinding to ORIG_HEAD" + ( + gettext "You seem to have moved HEAD since the last 'am' failure. +Not rewinding to ORIG_HEAD" && + echo + ) >&2 return 1 } -- 2.30.2