diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-02-06 21:13:03 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-02-06 21:13:03 +0800 |
commit | 8f0b3cadbebef3e0209a11fd362918a0e97a08ea (patch) | |
tree | 0739f76dd2fced3b9ded9ea8146cba12e7245d09 | |
parent | daf7c17cdb237639db35c30bcf05e10b3edb3d68 (diff) | |
download | rneovim-8f0b3cadbebef3e0209a11fd362918a0e97a08ea.tar.gz rneovim-8f0b3cadbebef3e0209a11fd362918a0e97a08ea.tar.bz2 rneovim-8f0b3cadbebef3e0209a11fd362918a0e97a08ea.zip |
vim-patch:8.2.4307: a few more messages should not be translated
Problem: A few more messages should not be translated.
Solution: Remove _().
https://github.com/vim/vim/commit/0c1550d9e94046d3fc9a8ad70b895eaa1e53fca5
-rw-r--r-- | src/nvim/syntax.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c index 746a5b83a0..119f6e811f 100644 --- a/src/nvim/syntax.c +++ b/src/nvim/syntax.c @@ -3112,9 +3112,9 @@ static void syn_cmd_conceal(exarg_T *eap, int syncing) next = skiptowhite(arg); if (*arg == NUL) { if (curwin->w_s->b_syn_conceal) { - msg(_("syntax conceal on")); + msg("syntax conceal on"); } else { - msg(_("syntax conceal off")); + msg("syntax conceal off"); } } else if (STRNICMP(arg, "on", 2) == 0 && next - arg == 2) { curwin->w_s->b_syn_conceal = true; @@ -3141,9 +3141,9 @@ static void syn_cmd_case(exarg_T *eap, int syncing) next = skiptowhite(arg); if (*arg == NUL) { if (curwin->w_s->b_syn_ic) { - msg(_("syntax case ignore")); + msg("syntax case ignore"); } else { - msg(_("syntax case match")); + msg("syntax case match"); } } else if (STRNICMP(arg, "match", 5) == 0 && next - arg == 5) { curwin->w_s->b_syn_ic = false; @@ -3245,7 +3245,7 @@ static void syn_cmd_iskeyword(exarg_T *eap, int syncing) if (*arg == NUL) { msg_puts("\n"); if (curwin->w_s->b_syn_isk != empty_option) { - msg_puts(_("syntax iskeyword ")); + msg_puts("syntax iskeyword "); msg_outtrans(curwin->w_s->b_syn_isk); } else { msg_outtrans((char_u *)_("syntax iskeyword not set")); |