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:
@ -147,7 +147,7 @@ int demultiplex_sideband(const char *me, char *buf, int len,
|
|||||||
switch (band) {
|
switch (band) {
|
||||||
case 3:
|
case 3:
|
||||||
if (die_on_error)
|
if (die_on_error)
|
||||||
die("remote error: %s", buf + 1);
|
die(_("remote error: %s"), buf + 1);
|
||||||
strbuf_addf(scratch, "%s%s", scratch->len ? "\n" : "",
|
strbuf_addf(scratch, "%s%s", scratch->len ? "\n" : "",
|
||||||
DISPLAY_PREFIX);
|
DISPLAY_PREFIX);
|
||||||
maybe_colorize_sideband(scratch, buf + 1, len);
|
maybe_colorize_sideband(scratch, buf + 1, len);
|
||||||
|
Reference in New Issue
Block a user