diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-01 14:19:49 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-01 14:19:49 +0000 |
commit | 460ae5dfca31fa627531c263184849976755cf6b (patch) | |
tree | d94de6a24285bc10fd62ad4ae9aecb53f9a7e913 /src/search.c | |
parent | b37a65e4bf08c4eec4fa5b81a5efc3945fca44de (diff) |
patch 8.2.3967: error messages are spread outv8.2.3967
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
Diffstat (limited to 'src/search.c')
-rw-r--r-- | src/search.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/search.c b/src/search.c index abe71a1ab5..35a4a3a1e7 100644 --- a/src/search.c +++ b/src/search.c @@ -1124,7 +1124,7 @@ searchit( else if ((options & SEARCH_MSG) == SEARCH_MSG) { if (p_ws) - semsg(_(e_patnotf2), mr_pattern); + semsg(_(e_pattern_not_found_str), mr_pattern); else if (lnum == 0) semsg(_("E384: search hit TOP without match for: %s"), mr_pattern); @@ -4121,7 +4121,7 @@ f_searchcount(typval_T *argvars, typval_T *rettv) if (argvars[0].v_type != VAR_DICT || argvars[0].vval.v_dict == NULL) { - emsg(_(e_dictreq)); + emsg(_(e_dictionary_required)); return; } dict = argvars[0].vval.v_dict; @@ -4824,7 +4824,7 @@ do_fuzzymatch(typval_T *argvars, typval_T *rettv, int retmatchpos) if (argvars[2].v_type != VAR_DICT || argvars[2].vval.v_dict == NULL) { - emsg(_(e_dictreq)); + emsg(_(e_dictionary_required)); return; } |