diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-12-16 20:56:57 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-16 20:56:57 +0000 |
commit | e124204c4f8ea8b4fe5357b7613092a7acb5feb8 (patch) | |
tree | 8a049a292b17314710048a1b17625416c2bfc8d6 /src/dict.c | |
parent | 94c785d235dccacf6cdf38c5903115b61ca8a981 (diff) | |
download | vim-git-e124204c4f8ea8b4fe5357b7613092a7acb5feb8.tar.gz |
patch 8.2.3830: error messages are spread outv8.2.3830
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/dict.c')
-rw-r--r-- | src/dict.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dict.c b/src/dict.c index 98be26310..ea43d0be1 100644 --- a/src/dict.c +++ b/src/dict.c @@ -1349,7 +1349,7 @@ dict_remove(typval_T *argvars, typval_T *rettv, char_u *arg_errmsg) dictitem_T *di; if (argvars[2].v_type != VAR_UNKNOWN) - semsg(_(e_toomanyarg), "remove()"); + semsg(_(e_too_many_arguments_for_function_str), "remove()"); else if ((d = argvars[0].vval.v_dict) != NULL && !value_check_lock(d->dv_lock, arg_errmsg, TRUE)) { |