From: Ævar Arnfjörð Bjarmason Date: Tue, 14 Sep 2010 12:23:56 +0000 (+0000) Subject: gettextize: git-bisect echo + gettext messages X-Git-Tag: ko-pu~10^2~10 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1499cd397d2bb0bc51c54c305f43f659d6959d5e;p=git.git gettextize: git-bisect echo + gettext messages Signed-off-by: Ævar Arnfjörð Bjarmason --- diff --git a/git-bisect.sh b/git-bisect.sh index 1274f112e..49208781f 100755 --- a/git-bisect.sh +++ b/git-bisect.sh @@ -36,7 +36,7 @@ _x40="$_x40$_x40$_x40$_x40$_x40$_x40$_x40$_x40" bisect_autostart() { test -s "$GIT_DIR/BISECT_START" || { - echo >&2 'You need to start by "git bisect start"' + echo >&2 "$(gettext "You need to start by \"git bisect start\"")" if test -t 0 then echo >&2 -n 'Do you want me to do it for you [Y/n]? ' @@ -239,7 +239,7 @@ bisect_next_check() { t,,good) # have bad but not good. we could bisect although # this is less optimum. - echo >&2 'Warning: bisecting only with a bad commit.' + echo >&2 "$(gettext "Warning: bisecting only with a bad commit.")" if test -t 0 then printf >&2 'Are you sure [Y/n]? ' @@ -395,7 +395,7 @@ bisect_run () { if sane_grep "first bad commit could be any of" "$GIT_DIR/BISECT_RUN" \ > /dev/null; then - echo >&2 "bisect run cannot continue any more" + echo >&2 "$(gettext "bisect run cannot continue any more")" exit $res fi