Mercurial > vim
comparison src/syntax.c @ 27561:c796016c6204 v8.2.4307
patch 8.2.4307: a few more messages should not be translated
Commit: https://github.com/vim/vim/commit/0c1550d9e94046d3fc9a8ad70b895eaa1e53fca5
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 6 11:41:57 2022 +0000
patch 8.2.4307: a few more messages should not be translated
Problem: A few more messages should not be translated.
Solution: Remove _().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 06 Feb 2022 12:45:03 +0100 |
parents | 0ea5147a95f7 |
children | c1d1639b52dd |
comparison
equal
deleted
inserted
replaced
27560:aae73e44b04f | 27561:c796016c6204 |
---|---|
3327 | 3327 |
3328 next = skiptowhite(arg); | 3328 next = skiptowhite(arg); |
3329 if (*arg == NUL) | 3329 if (*arg == NUL) |
3330 { | 3330 { |
3331 if (curwin->w_s->b_syn_conceal) | 3331 if (curwin->w_s->b_syn_conceal) |
3332 msg(_("syntax conceal on")); | 3332 msg("syntax conceal on"); |
3333 else | 3333 else |
3334 msg(_("syntax conceal off")); | 3334 msg("syntax conceal off"); |
3335 } | 3335 } |
3336 else if (STRNICMP(arg, "on", 2) == 0 && next - arg == 2) | 3336 else if (STRNICMP(arg, "on", 2) == 0 && next - arg == 2) |
3337 curwin->w_s->b_syn_conceal = TRUE; | 3337 curwin->w_s->b_syn_conceal = TRUE; |
3338 else if (STRNICMP(arg, "off", 3) == 0 && next - arg == 3) | 3338 else if (STRNICMP(arg, "off", 3) == 0 && next - arg == 3) |
3339 curwin->w_s->b_syn_conceal = FALSE; | 3339 curwin->w_s->b_syn_conceal = FALSE; |
3357 | 3357 |
3358 next = skiptowhite(arg); | 3358 next = skiptowhite(arg); |
3359 if (*arg == NUL) | 3359 if (*arg == NUL) |
3360 { | 3360 { |
3361 if (curwin->w_s->b_syn_ic) | 3361 if (curwin->w_s->b_syn_ic) |
3362 msg(_("syntax case ignore")); | 3362 msg("syntax case ignore"); |
3363 else | 3363 else |
3364 msg(_("syntax case match")); | 3364 msg("syntax case match"); |
3365 } | 3365 } |
3366 else if (STRNICMP(arg, "match", 5) == 0 && next - arg == 5) | 3366 else if (STRNICMP(arg, "match", 5) == 0 && next - arg == 5) |
3367 curwin->w_s->b_syn_ic = FALSE; | 3367 curwin->w_s->b_syn_ic = FALSE; |
3368 else if (STRNICMP(arg, "ignore", 6) == 0 && next - arg == 6) | 3368 else if (STRNICMP(arg, "ignore", 6) == 0 && next - arg == 6) |
3369 curwin->w_s->b_syn_ic = TRUE; | 3369 curwin->w_s->b_syn_ic = TRUE; |
3469 if (*arg == NUL) | 3469 if (*arg == NUL) |
3470 { | 3470 { |
3471 msg_puts("\n"); | 3471 msg_puts("\n"); |
3472 if (curwin->w_s->b_syn_isk != empty_option) | 3472 if (curwin->w_s->b_syn_isk != empty_option) |
3473 { | 3473 { |
3474 msg_puts(_("syntax iskeyword ")); | 3474 msg_puts("syntax iskeyword "); |
3475 msg_outtrans(curwin->w_s->b_syn_isk); | 3475 msg_outtrans(curwin->w_s->b_syn_isk); |
3476 } | 3476 } |
3477 else | 3477 else |
3478 msg_outtrans((char_u *)_("syntax iskeyword not set")); | 3478 msg_outtrans((char_u *)_("syntax iskeyword not set")); |
3479 } | 3479 } |