mirror of
https://github.com/git/git.git
synced 2024-11-27 12:03:55 +08: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:
commit
789279e7f8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user