patch 8.2.3750: error messages are everywhere
Problem: Error messages are everywhere.
Solution: Move more error messages to errors.h and adjust the names.
diff --git a/src/userfunc.c b/src/userfunc.c
index 18af66c..7fc764e 100644
--- a/src/userfunc.c
+++ b/src/userfunc.c
@@ -3763,7 +3763,7 @@
// It's script-local, "s:" or "<SID>"
if (current_sctx.sc_sid <= 0)
{
- emsg(_(e_usingsid));
+ emsg(_(e_using_sid_not_in_script_context));
goto theend;
}
sprintf((char *)sid_buf, "%ld_", (long)current_sctx.sc_sid);