diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-08-15 16:33:28 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-08-15 16:33:28 +0200 |
commit | 451c2e3536a3cb77d07faf3cb2b834512e174351 (patch) | |
tree | c2dbbf67dc33787ea4e1aaa64baec99b77346ea2 /src/evalvars.c | |
parent | 53b29e4845857d76ca7df1ff2fd0e03c3eeb82e1 (diff) | |
download | vim-git-451c2e3536a3cb77d07faf3cb2b834512e174351.tar.gz |
patch 8.2.1460: error messages are spread outv8.2.1460
Problem: Error messages are spread out.
Solution: Move more messages into errors.h.
Diffstat (limited to 'src/evalvars.c')
-rw-r--r-- | src/evalvars.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/evalvars.c b/src/evalvars.c index d948ddec5..0562b4ce2 100644 --- a/src/evalvars.c +++ b/src/evalvars.c @@ -2054,7 +2054,7 @@ set_vim_var_tv(int idx, typval_T *tv) { if (vimvars[idx].vv_type != tv->v_type) { - emsg(_("E1063: type mismatch for v: variable")); + emsg(_(e_type_mismatch_for_v_variable)); clear_tv(tv); return FAIL; } @@ -2442,7 +2442,7 @@ eval_variable( if (tv == NULL) { if (rettv != NULL && verbose) - semsg(_(e_undefvar), name); + semsg(_(e_undefined_variable_str), name); ret = FAIL; } else if (rettv != NULL) @@ -2945,7 +2945,7 @@ set_var_const( { if ((flags & LET_NO_COMMAND) == 0) { - semsg(_("E1041: Redefining script item %s"), name); + semsg(_(e_redefining_script_item_str), name); return; } |