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/dict.c | |
parent | b37a65e4bf08c4eec4fa5b81a5efc3945fca44de (diff) | |
download | vim-git-460ae5dfca31fa627531c263184849976755cf6b.tar.gz |
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/dict.c')
-rw-r--r-- | src/dict.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dict.c b/src/dict.c index 6773c757d..0c9cea38b 100644 --- a/src/dict.c +++ b/src/dict.c @@ -1414,7 +1414,7 @@ dict_remove(typval_T *argvars, typval_T *rettv, char_u *arg_errmsg) di = dict_find(d, key, -1); if (di == NULL) { - semsg(_(e_dictkey), key); + semsg(_(e_key_not_present_in_dictionary), key); return; } @@ -1449,7 +1449,7 @@ dict_list(typval_T *argvars, typval_T *rettv, int what) if (argvars[0].v_type != VAR_DICT) { - emsg(_(e_dictreq)); + emsg(_(e_dictionary_required)); return; } @@ -1572,7 +1572,7 @@ f_has_key(typval_T *argvars, typval_T *rettv) if (argvars[0].v_type != VAR_DICT) { - emsg(_(e_dictreq)); + emsg(_(e_dictionary_required)); return; } if (argvars[0].vval.v_dict == NULL) |