Skip to content

Commit f813fb4

Browse files
vascoolgitster
authored andcommitted
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>
1 parent c87302b commit f813fb4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

git-bisect.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ bisect_state() {
274274
check_and_set_terms $state
275275
case "$#,$state" in
276276
0,*)
277-
die "$(gettext "Please call 'bisect_state' with at least one argument.")" ;;
277+
die "Please call 'bisect_state' with at least one argument." ;;
278278
1,"$TERM_BAD"|1,"$TERM_GOOD"|1,skip)
279279
bisected_head=$(bisect_head)
280280
rev=$(git rev-parse --verify "$bisected_head") ||

wt-status.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ static const char *wt_status_unmerged_status_string(int stagemask)
263263
case 7:
264264
return _("both modified:");
265265
default:
266-
die(_("bug: unhandled unmerged status %x"), stagemask);
266+
die("bug: unhandled unmerged status %x", stagemask);
267267
}
268268
}
269269

@@ -388,7 +388,7 @@ static void wt_status_print_change_data(struct wt_status *s,
388388
status_printf(s, color(WT_STATUS_HEADER, s), "\t");
389389
what = wt_status_diff_status_string(status);
390390
if (!what)
391-
die(_("bug: unhandled diff status %c"), status);
391+
die("bug: unhandled diff status %c", status);
392392
len = label_width - utf8_strwidth(what);
393393
assert(len >= 0);
394394
if (status == DIFF_STATUS_COPIED || status == DIFF_STATUS_RENAMED)

0 commit comments

Comments
 (0)