comparison src/syntax.c @ 27553:0ea5147a95f7 v8.2.4303

patch 8.2.4303: a few messages should not be translated Commit: https://github.com/vim/vim/commit/cd53eed2c55f2256008962965b1de1d1df76d535 Author: Dominique Pelle <dominique.pelle@gmail.com> Date: Sat Feb 5 18:53:06 2022 +0000 patch 8.2.4303: a few messages should not be translated Problem: A few messages should not be translated. Solution: Remove _(). (Dominique Pell?, closes https://github.com/vim/vim/issues/9702)
author Bram Moolenaar <Bram@vim.org>
date Sat, 05 Feb 2022 20:00:05 +0100
parents c9474ae175f4
children c796016c6204
comparison
equal deleted inserted replaced
27552:60f12889d36b 27553:0ea5147a95f7
3386 3386
3387 if (*arg == NUL) 3387 if (*arg == NUL)
3388 { 3388 {
3389 switch (curwin->w_s->b_syn_foldlevel) 3389 switch (curwin->w_s->b_syn_foldlevel)
3390 { 3390 {
3391 case SYNFLD_START: msg(_("syntax foldlevel start")); break; 3391 case SYNFLD_START: msg("syntax foldlevel start"); break;
3392 case SYNFLD_MINIMUM: msg(_("syntax foldlevel minimum")); break; 3392 case SYNFLD_MINIMUM: msg("syntax foldlevel minimum"); break;
3393 default: break; 3393 default: break;
3394 } 3394 }
3395 return; 3395 return;
3396 } 3396 }
3397 3397
3428 3428
3429 next = skiptowhite(arg); 3429 next = skiptowhite(arg);
3430 if (*arg == NUL) 3430 if (*arg == NUL)
3431 { 3431 {
3432 if (curwin->w_s->b_syn_spell == SYNSPL_TOP) 3432 if (curwin->w_s->b_syn_spell == SYNSPL_TOP)
3433 msg(_("syntax spell toplevel")); 3433 msg("syntax spell toplevel");
3434 else if (curwin->w_s->b_syn_spell == SYNSPL_NOTOP) 3434 else if (curwin->w_s->b_syn_spell == SYNSPL_NOTOP)
3435 msg(_("syntax spell notoplevel")); 3435 msg("syntax spell notoplevel");
3436 else 3436 else
3437 msg(_("syntax spell default")); 3437 msg("syntax spell default");
3438 } 3438 }
3439 else if (STRNICMP(arg, "toplevel", 8) == 0 && next - arg == 8) 3439 else if (STRNICMP(arg, "toplevel", 8) == 0 && next - arg == 8)
3440 curwin->w_s->b_syn_spell = SYNSPL_TOP; 3440 curwin->w_s->b_syn_spell = SYNSPL_TOP;
3441 else if (STRNICMP(arg, "notoplevel", 10) == 0 && next - arg == 10) 3441 else if (STRNICMP(arg, "notoplevel", 10) == 0 && next - arg == 10)
3442 curwin->w_s->b_syn_spell = SYNSPL_NOTOP; 3442 curwin->w_s->b_syn_spell = SYNSPL_NOTOP;