0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.2.4003: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move more error messages to errors.h.
This commit is contained in:
Bram Moolenaar
2022-01-04 19:57:55 +00:00
parent 6cac77016b
commit d88be5be80
14 changed files with 197 additions and 65 deletions

View File

@@ -221,7 +221,7 @@ tv_get_bool_or_number_chk(typval_T *varp, int *denote, int want_bool)
if (varp->v_type == VAR_BOOL)
emsg(_(e_using_bool_as_number));
else
emsg(_("E611: Using a Special as a Number"));
emsg(_(e_using_special_as_number));
break;
}
return varp->vval.v_number == VVAL_TRUE ? 1 : 0;