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>
Vasco Almeida committed
Jun 17, 2016 at 21:54 UTC
f813fb41fcf90683afa5c4eb28807d3d3fca63be
2 files changed
+3
-3
git-bisect.sh
+1
-1
@@ -274,7 +274,7 @@ bisect_state() {
274
check_and_set_terms $state
275
case "$#,$state" in
276
0,*)
277
- die "$(gettext "Please call 'bisect_state' with at least one argument.")" ;;
277
+ die "Please call 'bisect_state' with at least one argument." ;;
278
1,"$TERM_BAD"|1,"$TERM_GOOD"|1,skip)
279
bisected_head=$(bisect_head)
280
rev=$(git rev-parse --verify "$bisected_head") ||
wt-status.c
+2
-2
@@ -263,7 +263,7 @@ static const char *wt_status_unmerged_status_string(int stagemask)
263
case 7:
264
return _("both modified:");
265
default:
266
- die(_("bug: unhandled unmerged status %x"), stagemask);
266
+ die("bug: unhandled unmerged status %x", stagemask);
267
}
268
}
269
@@ -388,7 +388,7 @@ static void wt_status_print_change_data(struct wt_status *s,
388
status_printf(s, color(WT_STATUS_HEADER, s), "\t");
389
what = wt_status_diff_status_string(status);
390
if (!what)
391
- die(_("bug: unhandled diff status %c"), status);
391
+ die("bug: unhandled diff status %c", status);
392
len = label_width - utf8_strwidth(what);
393
assert(len >= 0);
394
if (status == DIFF_STATUS_COPIED || status == DIFF_STATUS_RENAMED)