0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.2.4005: 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-04 21:30:47 +00:00
parent 548911ee14
commit a6f7929e62
25 changed files with 196 additions and 78 deletions

View File

@@ -4965,7 +4965,7 @@ gui_mch_set_parent(char *title)
EnumWindows(FindWindowTitle, (LPARAM)title);
if (vim_parent_hwnd == NULL)
{
semsg(_("E671: Cannot find window title \"%s\""), title);
semsg(_(e_cannot_find_window_title_str), title);
mch_exit(2);
}
}
@@ -5303,7 +5303,7 @@ gui_mch_init(void)
#endif
if (s_hwnd == NULL)
{
emsg(_("E672: Unable to open window inside MDI application"));
emsg(_(e_unable_to_open_window_inside_mdi_application));
mch_exit(2);
}
}