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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user