diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-01 16:21:00 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-01 16:21:00 +0000 |
commit | 3a846e6bca25bd3d0addcd9ed3bdd9a6774adbe5 (patch) | |
tree | e345b4f42d545e735e2df2292589211ba52ff678 /src/menu.c | |
parent | 0699b040e6794d27ffdca241a4358d7c31876385 (diff) | |
download | vim-git-3a846e6bca25bd3d0addcd9ed3bdd9a6774adbe5.tar.gz |
patch 8.2.3972: error messages are spread outv8.2.3972
Problem: Error messages are spread out.
Solution: Move the last errors from globals.h to errors.h.
Diffstat (limited to 'src/menu.c')
-rw-r--r-- | src/menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/menu.c b/src/menu.c index 9ecba448e..0583c10fa 100644 --- a/src/menu.c +++ b/src/menu.c @@ -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; } |