Mercurial > vim
diff src/channel.c @ 25064:8f2262c72178 v8.2.3069
patch 8.2.3069: error messages are spread out
Commit: https://github.com/vim/vim/commit/108010aa4720ef023a8ac59004fc0f2bc11125af
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 27 22:03:33 2021 +0200
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 27 Jun 2021 22:15:04 +0200 |
parents | 8fdf839af1f4 |
children | 5f6a70167daa |
line wrap: on
line diff
--- a/src/channel.c +++ b/src/channel.c @@ -1232,7 +1232,7 @@ channel_set_options(channel_T *channel, 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, !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 {