0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

patch 8.2.3986: 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-02 20:20:45 +00:00
parent ac78dd4a35
commit b09feaa86e
18 changed files with 141 additions and 69 deletions

View File

@@ -2515,7 +2515,7 @@ netbeans_open(char *params, int doabort)
if (NETBEANS_OPEN)
{
emsg(_("E511: netbeans already connected"));
emsg(_(e_netbeans_already_connected));
return;
}
@@ -3481,7 +3481,7 @@ print_save_msg(nbbuf_T *buf, off_T nchars)
char msgbuf[IOSIZE];
vim_snprintf(msgbuf, IOSIZE,
_("E505: %s is read-only (add ! to override)"), IObuff);
_(e_is_read_only_add_bang_to_override), IObuff);
nbdebug((" %s\n", msgbuf));
emsg(msgbuf);
}