Mercurial > vim
changeset 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 | 60f12889d36b |
children | 24573f3f0592 |
files | src/syntax.c src/version.c |
diffstat | 2 files changed, 7 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/syntax.c +++ b/src/syntax.c @@ -3388,8 +3388,8 @@ syn_cmd_foldlevel(exarg_T *eap, int sync { 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 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;