]> granicus.if.org Git - vim/commitdiff
patch 8.2.4303: a few messages should not be translated v8.2.4303
authorDominique Pelle <dominique.pelle@gmail.com>
Sat, 5 Feb 2022 18:53:06 +0000 (18:53 +0000)
committerBram Moolenaar <Bram@vim.org>
Sat, 5 Feb 2022 18:53:06 +0000 (18:53 +0000)
Problem:    A few messages should not be translated.
Solution:   Remove _(). (Dominique PellĂ©, closes #9702)

src/syntax.c
src/version.c

index d2e15a36c7b78cab23574843078c87d8d2d6c03f..f1c844f9d37318dac5cd00dac3ee3c2784b25e48 100644 (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;
index 89a22a04f727163e7e5361b78fa18e84b4ddb51a..f86aa8926f035325e0630091b8f6cf3c3f62bc81 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4303,
 /**/
     4302,
 /**/