0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.2.4010: 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-05 17:49:15 +00:00
parent d3a117814d
commit 9d00e4a814
31 changed files with 200 additions and 87 deletions

View File

@@ -2501,7 +2501,7 @@ win_close(win_T *win, int free_buf)
}
if ((firstwin == aucmd_win || lastwin == aucmd_win) && one_window())
{
emsg(_("E814: Cannot close window, only autocmd window would remain"));
emsg(_(e_cannot_close_window_only_autocmd_window_would_remain));
return FAIL;
}