forked from aniani/vim
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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user