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

patch 8.2.3972: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move the last errors from globals.h to errors.h.
This commit is contained in:
Bram Moolenaar
2022-01-01 16:21:00 +00:00
parent 0699b040e6
commit 3a846e6bca
15 changed files with 61 additions and 49 deletions

View File

@@ -959,7 +959,7 @@ remove_menu(
else if (*name != NUL)
{
if (!silent)
emsg(_(e_menuothermode));
emsg(_(e_menu_only_exists_in_another_mode));
return FAIL;
}
@@ -1133,7 +1133,7 @@ show_menus(char_u *path_name, int modes)
}
else if ((menu->modes & modes) == 0x0)
{
emsg(_(e_menuothermode));
emsg(_(e_menu_only_exists_in_another_mode));
vim_free(path_name);
return FAIL;
}