patch 8.2.3967: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
diff --git a/src/match.c b/src/match.c
index f1c7442..e0a3017 100644
--- a/src/match.c
+++ b/src/match.c
@@ -936,7 +936,7 @@
if (tv->v_type != VAR_DICT)
{
- emsg(_(e_dictreq));
+ emsg(_(e_dictionary_required));
return FAIL;
}
@@ -1070,7 +1070,7 @@
if (argvars[0].v_type != VAR_LIST)
{
- emsg(_(e_listreq));
+ emsg(_(e_list_required));
return;
}
win = get_optional_window(argvars, 1);