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)
diff --git a/src/syntax.c b/src/syntax.c
index d2e15a3..f1c844f 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -3388,8 +3388,8 @@
{
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 @@
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;