diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-04 19:57:55 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-04 19:57:55 +0000 |
commit | d88be5be80f47826397d12ffc90150a443821f2b (patch) | |
tree | ab0149d75313cb223ece41b426fde97776bb5d39 /src/channel.c | |
parent | 6cac77016b1636e04073e8348b7cee02259ef928 (diff) | |
download | vim-git-d88be5be80f47826397d12ffc90150a443821f2b.tar.gz |
patch 8.2.4003: error messages are spread outv8.2.4003
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/channel.c')
-rw-r--r-- | src/channel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/channel.c b/src/channel.c index ec9173970..3dea7803a 100644 --- a/src/channel.c +++ b/src/channel.c @@ -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; |