mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 16:28:17 +00:00
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)
cd53eed2c5
This commit is contained in:
@@ -3168,9 +3168,9 @@ static void syn_cmd_foldlevel(exarg_T *eap, int syncing)
|
|||||||
if (*arg == NUL) {
|
if (*arg == NUL) {
|
||||||
switch (curwin->w_s->b_syn_foldlevel) {
|
switch (curwin->w_s->b_syn_foldlevel) {
|
||||||
case SYNFLD_START:
|
case SYNFLD_START:
|
||||||
msg(_("syntax foldlevel start")); break;
|
msg("syntax foldlevel start"); break;
|
||||||
case SYNFLD_MINIMUM:
|
case SYNFLD_MINIMUM:
|
||||||
msg(_("syntax foldlevel minimum")); break;
|
msg("syntax foldlevel minimum"); break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -3209,11 +3209,11 @@ static void syn_cmd_spell(exarg_T *eap, int syncing)
|
|||||||
next = skiptowhite(arg);
|
next = skiptowhite(arg);
|
||||||
if (*arg == NUL) {
|
if (*arg == NUL) {
|
||||||
if (curwin->w_s->b_syn_spell == SYNSPL_TOP) {
|
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) {
|
} else if (curwin->w_s->b_syn_spell == SYNSPL_NOTOP) {
|
||||||
msg(_("syntax spell notoplevel"));
|
msg("syntax spell notoplevel");
|
||||||
} else {
|
} else {
|
||||||
msg(_("syntax spell default"));
|
msg("syntax spell default");
|
||||||
}
|
}
|
||||||
} else if (STRNICMP(arg, "toplevel", 8) == 0 && next - arg == 8) {
|
} else if (STRNICMP(arg, "toplevel", 8) == 0 && next - arg == 8) {
|
||||||
curwin->w_s->b_syn_spell = SYNSPL_TOP;
|
curwin->w_s->b_syn_spell = SYNSPL_TOP;
|
||||||
|
Reference in New Issue
Block a user