summaryrefslogtreecommitdiff
path: root/src/channel.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-06-27 22:03:33 +0200
committerBram Moolenaar <Bram@vim.org>2021-06-27 22:03:33 +0200
commit108010aa4720ef023a8ac59004fc0f2bc11125af (patch)
tree831741a42644a86ee0d74679361f74cc27861eaa /src/channel.c
parentd887297ad0164516dd52cdab0308c3626337d124 (diff)
downloadvim-git-108010aa4720ef023a8ac59004fc0f2bc11125af.tar.gz
patch 8.2.3069: error messages are spread outv8.2.3069
Problem: Error messages are spread out. Solution: Move some error messages to errors.h. Use clearer names.
Diffstat (limited to 'src/channel.c')
-rw-r--r--src/channel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/channel.c b/src/channel.c
index 2a93e2578..5818dc399 100644
--- a/src/channel.c
+++ b/src/channel.c
@@ -1232,7 +1232,7 @@ channel_set_options(channel_T *channel, jobopt_T *opt)
if (!buf->b_p_ma && !channel->ch_part[PART_OUT].ch_nomodifiable)
{
- emsg(_(e_modifiable));
+ emsg(_(e_cannot_make_changes_modifiable_is_off));
}
else
{
@@ -1278,7 +1278,7 @@ channel_set_options(channel_T *channel, jobopt_T *opt)
!opt->jo_modifiable[PART_ERR];
if (!buf->b_p_ma && !channel->ch_part[PART_ERR].ch_nomodifiable)
{
- emsg(_(e_modifiable));
+ emsg(_(e_cannot_make_changes_modifiable_is_off));
}
else
{