0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 8.2.3977: 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-01 21:59:18 +00:00
parent b34689010a
commit 9a846fbaa5
20 changed files with 147 additions and 43 deletions

View File

@@ -3268,7 +3268,7 @@ user_func_error(int error, char_u *name, funcexe_T *funcexe)
break;
case FCERR_NOTMETHOD:
emsg_funcname(
N_("E276: Cannot use function as a method: %s"), name);
N_(e_cannot_use_function_as_method_str), name);
break;
case FCERR_DELETED:
emsg_funcname(e_function_was_deleted_str, name);