1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-29 19:06:10 +02:00

Merge branch 'jk/sideband-error-l10n'

Mark error message for i18n.

* jk/sideband-error-l10n:
  sideband: mark "remote error:" prefix for translation
This commit is contained in:
Junio C Hamano 2020-08-17 17:02:45 -07:00
commit 789279e7f8

View File

@ -147,7 +147,7 @@ int demultiplex_sideband(const char *me, char *buf, int len,
switch (band) {
case 3:
if (die_on_error)
die("remote error: %s", buf + 1);
die(_("remote error: %s"), buf + 1);
strbuf_addf(scratch, "%s%s", scratch->len ? "\n" : "",
DISPLAY_PREFIX);
maybe_colorize_sideband(scratch, buf + 1, len);