0
0
mirror of https://github.com/vim/vim.git synced 2025-09-30 04:44:14 -04:00

patch 8.2.3975: 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 19:33:50 +00:00
parent 1f4a3457a3
commit cbadefe25a
14 changed files with 104 additions and 34 deletions

View File

@@ -4982,8 +4982,7 @@ ole_error(char *arg)
// Can't use emsg() here, we have not finished initialisation yet.
vim_snprintf(buf, IOSIZE,
_("E243: Argument not supported: \"-%s\"; Use the OLE version."),
arg);
_(e_argument_not_supported_str_use_ole_version), arg);
mch_errmsg(buf);
}
#endif
@@ -8682,7 +8681,7 @@ gui_mch_create_beval_area(
if (mesg != NULL && mesgCB != NULL)
{
iemsg(_("E232: Cannot create BalloonEval with both message and callback"));
iemsg(_(e_cannot_create_ballooneval_with_both_message_and_callback));
return NULL;
}