i18n: unmark die messages for translation
These messages are relevant for the programmer only, not for the end user. Thus, they can be unmarked for translation, saving translator some work. Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
c87302bfe4
commit
f813fb41fc
@ -274,7 +274,7 @@ bisect_state() {
|
|||||||
check_and_set_terms $state
|
check_and_set_terms $state
|
||||||
case "$#,$state" in
|
case "$#,$state" in
|
||||||
0,*)
|
0,*)
|
||||||
die "$(gettext "Please call 'bisect_state' with at least one argument.")" ;;
|
die "Please call 'bisect_state' with at least one argument." ;;
|
||||||
1,"$TERM_BAD"|1,"$TERM_GOOD"|1,skip)
|
1,"$TERM_BAD"|1,"$TERM_GOOD"|1,skip)
|
||||||
bisected_head=$(bisect_head)
|
bisected_head=$(bisect_head)
|
||||||
rev=$(git rev-parse --verify "$bisected_head") ||
|
rev=$(git rev-parse --verify "$bisected_head") ||
|
||||||
|
@ -263,7 +263,7 @@ static const char *wt_status_unmerged_status_string(int stagemask)
|
|||||||
case 7:
|
case 7:
|
||||||
return _("both modified:");
|
return _("both modified:");
|
||||||
default:
|
default:
|
||||||
die(_("bug: unhandled unmerged status %x"), stagemask);
|
die("bug: unhandled unmerged status %x", stagemask);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -388,7 +388,7 @@ static void wt_status_print_change_data(struct wt_status *s,
|
|||||||
status_printf(s, color(WT_STATUS_HEADER, s), "\t");
|
status_printf(s, color(WT_STATUS_HEADER, s), "\t");
|
||||||
what = wt_status_diff_status_string(status);
|
what = wt_status_diff_status_string(status);
|
||||||
if (!what)
|
if (!what)
|
||||||
die(_("bug: unhandled diff status %c"), status);
|
die("bug: unhandled diff status %c", status);
|
||||||
len = label_width - utf8_strwidth(what);
|
len = label_width - utf8_strwidth(what);
|
||||||
assert(len >= 0);
|
assert(len >= 0);
|
||||||
if (status == DIFF_STATUS_COPIED || status == DIFF_STATUS_RENAMED)
|
if (status == DIFF_STATUS_COPIED || status == DIFF_STATUS_RENAMED)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user