i18n: git-bisect bisect_next_check "You need to" message
Gettextize the "You need to start by" message in bisect_next_check. This message assembled English output by hand so it needed to be split up to make it translatable. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
parent
04de099622
commit
be508d3a63
|
@ -261,15 +261,22 @@ bisect_next_check() {
|
||||||
: bisect without good...
|
: bisect without good...
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
THEN=''
|
|
||||||
test -s "$GIT_DIR/BISECT_START" || {
|
if test -s "$GIT_DIR/BISECT_START"
|
||||||
echo >&2 'You need to start by "git bisect start".'
|
then
|
||||||
THEN='then '
|
(
|
||||||
}
|
gettext "You need to give me at least one good and one bad revisions.
|
||||||
echo >&2 'You '$THEN'need to give me at least one good' \
|
(You can use \"git bisect bad\" and \"git bisect good\" for that.)" &&
|
||||||
'and one bad revisions.'
|
echo
|
||||||
echo >&2 '(You can use "git bisect bad" and' \
|
) >&2
|
||||||
'"git bisect good" for that.)'
|
else
|
||||||
|
(
|
||||||
|
gettext "You need to start by \"git bisect start\".
|
||||||
|
You then need to give me at least one good and one bad revisions.
|
||||||
|
(You can use \"git bisect bad\" and \"git bisect good\" for that.)" &&
|
||||||
|
echo
|
||||||
|
) >&2
|
||||||
|
fi
|
||||||
exit 1 ;;
|
exit 1 ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue