diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-05-08 08:26:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-08 08:26:00 +0800 |
commit | e64db1d284f0b89672f1ccf89018a88a63865cd6 (patch) | |
tree | edd9d9422910b5a68c1a9d2995166b6a1ea6e808 /src/nvim/menu.c | |
parent | 13e7e4e67ada0cd359977ca1f56ef9d8ce8c938c (diff) | |
download | rneovim-e64db1d284f0b89672f1ccf89018a88a63865cd6.tar.gz rneovim-e64db1d284f0b89672f1ccf89018a88a63865cd6.tar.bz2 rneovim-e64db1d284f0b89672f1ccf89018a88a63865cd6.zip |
vim-patch:9.0.1523: some error messages are not marked for translation (#23529)
Problem: Some error messages are not marked for translation.
Solution: Surround the messages in _(). (closes vim/vim#12356)
https://github.com/vim/vim/commit/276410e78f0b82e3123059383994d2f4c578dfbd
Diffstat (limited to 'src/nvim/menu.c')
-rw-r--r-- | src/nvim/menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/menu.c b/src/nvim/menu.c index 16fea2ccf1..898e3ddd27 100644 --- a/src/nvim/menu.c +++ b/src/nvim/menu.c @@ -559,7 +559,7 @@ static int remove_menu(vimmenu_T **menup, char *name, int modes, bool silent) } } else if (*name != NUL) { if (!silent) { - emsg(_(e_menuothermode)); + emsg(_(e_menu_only_exists_in_another_mode)); } return FAIL; } @@ -760,7 +760,7 @@ static vimmenu_T *find_menu(vimmenu_T *menu, char *name, int modes) emsg(_(e_notsubmenu)); return NULL; } else if ((menu->modes & modes) == 0x0) { - emsg(_(e_menuothermode)); + emsg(_(e_menu_only_exists_in_another_mode)); return NULL; } else if (*p == NUL) { // found a full match return menu; |