0
0
mirror of https://github.com/vim/vim.git synced 2025-11-15 23:14:06 -05:00

patch 8.2.4003: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move more error messages to errors.h.
This commit is contained in:
Bram Moolenaar
2022-01-04 19:57:55 +00:00
parent 6cac77016b
commit d88be5be80
14 changed files with 197 additions and 65 deletions

View File

@@ -4051,7 +4051,7 @@ channel_send(
if (!channel->ch_error && fun != NULL)
{
ch_error(channel, "%s(): write while not connected", fun);
semsg(_("E630: %s(): write while not connected"), fun);
semsg(_(e_str_write_while_not_connected), fun);
}
channel->ch_error = TRUE;
return FAIL;
@@ -4197,7 +4197,7 @@ channel_send(
if (!channel->ch_error && fun != NULL)
{
ch_error(channel, "%s(): write failed", fun);
semsg(_("E631: %s(): write failed"), fun);
semsg(_(e_str_write_failed), fun);
}
channel->ch_error = TRUE;
return FAIL;