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>

Ævar Arnfjörð Bjarmason committed May 21, 2011 at 18:44 UTC be508d3a63767a9c7a03368aebf2674d18cc4b74
1 file changed +16 -9
git-bisect.sh
+16 -9
@@ -261,15 +261,22 @@ bisect_next_check() {
261 : bisect without good...
262 ;;
263 *)
264 - THEN=''
265 - test -s "$GIT_DIR/BISECT_START" || {
266 - echo >&2 'You need to start by "git bisect start".'
267 - THEN='then '
268 - }
269 - echo >&2 'You '$THEN'need to give me at least one good' \
270 - 'and one bad revisions.'
271 - echo >&2 '(You can use "git bisect bad" and' \
272 - '"git bisect good" for that.)'
264 +
265 + if test -s "$GIT_DIR/BISECT_START"
266 + then
267 + (
268 + gettext "You need to give me at least one good and one bad revisions.
269 +(You can use \"git bisect bad\" and \"git bisect good\" for that.)" &&
270 + echo
271 + ) >&2
272 + else
273 + (
274 + gettext "You need to start by \"git bisect start\".
275 +You then need to give me at least one good and one bad revisions.
276 +(You can use \"git bisect bad\" and \"git bisect good\" for that.)" &&
277 + echo
278 + ) >&2
279 + fi
280 exit 1 ;;
281 esac
282 }