i18n: git-am gettext + gettext to stderr message
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ævar Arnfjörð Bjarmason committed
May 21, 2011 at 18:43 UTC
22fdd11432d6177ad6f8b9e32f0c4a8101542786
1 file changed
+5
-2
git-am.sh
+5
-2
@@ -89,8 +89,11 @@ safe_to_abort () {
89
then
90
return 0
91
fi
92
- echo >&2 "You seem to have moved HEAD since the last 'am' failure."
93
- echo >&2 "Not rewinding to ORIG_HEAD"
92
+ (
93
+ gettext "You seem to have moved HEAD since the last 'am' failure.
94
+Not rewinding to ORIG_HEAD" &&
95
+ echo
96
+ ) >&2
97
return 1
98
}
99