aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-02-06 21:13:03 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-02-06 21:13:03 +0800
commitdaf7c17cdb237639db35c30bcf05e10b3edb3d68 (patch)
tree1e3ad50f096f01e4cfd0f40d3a6f2d28cc5965f5
parent8215c05945054755b2c3cadae198894372dbfe0f (diff)
downloadrneovim-daf7c17cdb237639db35c30bcf05e10b3edb3d68.tar.gz
rneovim-daf7c17cdb237639db35c30bcf05e10b3edb3d68.tar.bz2
rneovim-daf7c17cdb237639db35c30bcf05e10b3edb3d68.zip
vim-patch:8.2.4303: a few messages should not be translated
Problem: A few messages should not be translated. Solution: Remove _(). (Dominique Pellé, closes vim/vim#9702) https://github.com/vim/vim/commit/cd53eed2c55f2256008962965b1de1d1df76d535
-rw-r--r--src/nvim/syntax.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c
index 3aef654a8e..746a5b83a0 100644
--- a/src/nvim/syntax.c
+++ b/src/nvim/syntax.c
@@ -3168,9 +3168,9 @@ static void syn_cmd_foldlevel(exarg_T *eap, int syncing)
if (*arg == NUL) {
switch (curwin->w_s->b_syn_foldlevel) {
case SYNFLD_START:
- msg(_("syntax foldlevel start")); break;
+ msg("syntax foldlevel start"); break;
case SYNFLD_MINIMUM:
- msg(_("syntax foldlevel minimum")); break;
+ msg("syntax foldlevel minimum"); break;
default:
break;
}
@@ -3209,11 +3209,11 @@ static void syn_cmd_spell(exarg_T *eap, int syncing)
next = skiptowhite(arg);
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;