1
0
forked from aniani/vim

patch 8.2.4303: a few messages should not be translated

Problem:    A few messages should not be translated.
Solution:   Remove _(). (Dominique Pellé, closes #9702)
This commit is contained in:
Dominique Pelle 2022-02-05 18:53:06 +00:00 committed by Bram Moolenaar
parent 82e46e5d31
commit cd53eed2c5
2 changed files with 7 additions and 5 deletions

View File

@ -3388,8 +3388,8 @@ syn_cmd_foldlevel(exarg_T *eap, int syncing UNUSED)
{
switch (curwin->w_s->b_syn_foldlevel)
{
case SYNFLD_START: msg(_("syntax foldlevel start")); break;
case SYNFLD_MINIMUM: msg(_("syntax foldlevel minimum")); break;
case SYNFLD_START: msg("syntax foldlevel start"); break;
case SYNFLD_MINIMUM: msg("syntax foldlevel minimum"); break;
default: break;
}
return;
@ -3430,11 +3430,11 @@ syn_cmd_spell(exarg_T *eap, int syncing UNUSED)
if (*arg == NUL)
{
if (curwin->w_s->b_syn_spell == SYNSPL_TOP)
msg(_("syntax spell toplevel"));
msg("syntax spell toplevel");
else if (curwin->w_s->b_syn_spell == SYNSPL_NOTOP)
msg(_("syntax spell notoplevel"));
msg("syntax spell notoplevel");
else
msg(_("syntax spell default"));
msg("syntax spell default");
}
else if (STRNICMP(arg, "toplevel", 8) == 0 && next - arg == 8)
curwin->w_s->b_syn_spell = SYNSPL_TOP;

View File

@ -746,6 +746,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4303,
/**/
4302,
/**/