1
0
forked from aniani/vim

patch 8.2.3986: 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-02 20:20:45 +00:00
parent ac78dd4a35
commit b09feaa86e
18 changed files with 141 additions and 69 deletions

View File

@@ -1893,7 +1893,7 @@ popup_create(typval_T *argvars, typval_T *rettv, create_type_T type)
&& !(argvars[0].v_type == VAR_LIST
&& argvars[0].vval.v_list != NULL))
{
emsg(_("E450: buffer number, text or a list required"));
emsg(_(e_buffer_number_text_or_list_required));
return NULL;
}
if (argvars[1].v_type != VAR_DICT || argvars[1].vval.v_dict == NULL)