From 108010aa4720ef023a8ac59004fc0f2bc11125af Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 27 Jun 2021 22:03:33 +0200 Subject: patch 8.2.3069: error messages are spread out Problem: Error messages are spread out. Solution: Move some error messages to errors.h. Use clearer names. --- src/channel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/channel.c') 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 { -- cgit v1.2.1