1
0
forked from aniani/vim

patch 8.2.4008: 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-05 16:09:06 +00:00
parent 8e7d9db32b
commit 677658ae49
28 changed files with 187 additions and 76 deletions

View File

@@ -6715,7 +6715,7 @@ f_islocked(typval_T *argvars, typval_T *rettv)
}
}
else if (lv.ll_range)
emsg(_("E786: Range not allowed"));
emsg(_(e_range_not_allowed));
else if (lv.ll_newkey != NULL)
semsg(_(e_key_not_present_in_dictionary), lv.ll_newkey);
else if (lv.ll_list != NULL)