diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-02 19:25:26 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-02 19:25:26 +0000 |
commit | ac78dd4a352196ca4e6640f8e4caaf126afd49e3 (patch) | |
tree | c741cbf5a8f33503e42af2294afdbd4bf15b0ae9 /src/option.c | |
parent | 3d0da09bb2d31afc611bf1c4b35796739d87ed63 (diff) | |
download | vim-git-ac78dd4a352196ca4e6640f8e4caaf126afd49e3.tar.gz |
patch 8.2.3985: error messages are spread outv8.2.3985
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/option.c')
-rw-r--r-- | src/option.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/option.c b/src/option.c index 96caa70ac..59e4862ba 100644 --- a/src/option.c +++ b/src/option.c @@ -4352,7 +4352,7 @@ set_option_value( return NULL; } - semsg(_("E355: Unknown option: %s"), name); + semsg(_(e_unknown_option_str_2), name); } else { @@ -5520,7 +5520,7 @@ get_varp(struct vimoption *p) case PV_VSTS: return (char_u *)&(curbuf->b_p_vsts); case PV_VTS: return (char_u *)&(curbuf->b_p_vts); #endif - default: iemsg(_("E356: get_varp ERROR")); + default: iemsg(_(e_get_varp_error)); } // always return a valid pointer to avoid a crash! return (char_u *)&(curbuf->b_p_wm); |