diff src/menu.c @ 26948:51ddf6740ac6 v8.2.4003

patch 8.2.4003: error messages are spread out Commit: https://github.com/vim/vim/commit/d88be5be80f47826397d12ffc90150a443821f2b Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 4 19:57:55 2022 +0000 patch 8.2.4003: error messages are spread out Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
author Bram Moolenaar <Bram@vim.org>
date Tue, 04 Jan 2022 21:00:05 +0100
parents aa65d1808bd0
children d92e0d85923f
line wrap: on
line diff
--- a/src/menu.c
+++ b/src/menu.c
@@ -530,7 +530,7 @@ add_menu_path(
 		if (*next_name == NUL && menu->children != NULL)
 		{
 		    if (!sys_menu)
-			emsg(_(e_menu_path_must_not_loead_to_sub_menu));
+			emsg(_(e_menu_path_must_not_lead_to_sub_menu));
 		    goto erret;
 		}
 		if (*next_name != NUL && menu->children == NULL