patch 8.2.4008: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
diff --git a/src/userfunc.c b/src/userfunc.c
index 4c9c46d..fb9e97e 100644
--- a/src/userfunc.c
+++ b/src/userfunc.c
@@ -4524,7 +4524,8 @@
linenr_T save_lnum = SOURCING_LNUM;
SOURCING_LNUM = sourcing_lnum_top;
- semsg(_("E746: Function name does not match script file name: %s"), name);
+ semsg(_(e_function_name_does_not_match_script_file_name_str),
+ name);
SOURCING_LNUM = save_lnum;
goto erret;
}