mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-12-12 14:25:06 +00:00
b464df36ab
Invalid regular expressions would error out on SearchQuery's getCursor() method. This is arguably an upstream bug, but we want to inform the user of invalid input anyway. We now show "Invalid regular expression" where the "$1 of $2" codemirror-find-results message is normally shown, and we add the error class to the Codex input. This is to be consistent with how the 2017 editor behaves. Also disable autocompletion which is more often distracting that helpful for a search field. Bump codemirror/search to include a fix where the selection isn't updated after a regex replacement. See https://discuss.codemirror.net/t/8832 Bug: T371436 Change-Id: I68722da98ef4925439caa64e8f3366031d56cf8e
72 lines
3.7 KiB
JSON
72 lines
3.7 KiB
JSON
{
|
|
"@metadata": {
|
|
"authors": [
|
|
"pastakhov",
|
|
"MusikAnimal"
|
|
]
|
|
},
|
|
"codemirror-desc": "Provides syntax highlighting in wikitext editor",
|
|
"codemirror-toggle-label": "Syntax highlighting",
|
|
"codemirror-toggle-label-short": "Syntax",
|
|
"codemirror-prefs-summary": "You can learn more about this feature by reading the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Extension:CodeMirror help page].",
|
|
"codemirror-prefs-enable": "Enable syntax highlighting for wikitext",
|
|
"codemirror-prefs-title": "Syntax highlighting preferences",
|
|
"codemirror-prefs-templatefolding": "Enable folding of template parameters",
|
|
"codemirror-prefs-autocomplete": "Enable autocompletion",
|
|
"codemirror-prefs-bidiisolation": "Isolate bidirectional text",
|
|
"codemirror-prefs-bracketmatching": "Enable bracket matching",
|
|
"codemirror-prefs-linenumbering": "Show line numbers",
|
|
"codemirror-prefs-linewrapping": "Wrap lines",
|
|
"codemirror-prefs-activeline": "Highlight the active line",
|
|
"codemirror-prefs-specialchars": "Show special characters",
|
|
"codemirror-v6-prefs-colorblind": "Use colorblind-friendly scheme",
|
|
"codemirror-prefs-colorblind": "Enable colorblind-friendly scheme for syntax highlighting when editing wikitext",
|
|
"codemirror-prefs-colorblind-help": "If you use a gadget for syntax highlighting, this preference will not work.",
|
|
"codemirror-close": "Close",
|
|
"codemirror-find": "Find",
|
|
"codemirror-next": "Find next",
|
|
"codemirror-previous": "Find previous",
|
|
"codemirror-all": "All",
|
|
"codemirror-all-tooltip": "Select all matches",
|
|
"codemirror-match-case": "Match case",
|
|
"codemirror-regexp": "Regular expression",
|
|
"codemirror-regexp-invalid": "Invalid regular expression",
|
|
"codemirror-by-word": "By word",
|
|
"codemirror-replace": "Replace",
|
|
"codemirror-replace-placeholder": "Replace",
|
|
"codemirror-replace-all": "Replace all",
|
|
"codemirror-done": "Done",
|
|
"codemirror-find-results": "$1 of $2",
|
|
"codemirror-goto-line": "Go to line",
|
|
"codemirror-goto-line-go": "Go",
|
|
"codemirror-control-character": "Control character $1",
|
|
"codemirror-special-char-null": "Null character",
|
|
"codemirror-special-char-bell": "Bell character",
|
|
"codemirror-special-char-backspace": "Backspace",
|
|
"codemirror-special-char-newline": "Newline",
|
|
"codemirror-special-char-vertical-tab": "Vertical tab",
|
|
"codemirror-special-char-carriage-return": "Carriage return",
|
|
"codemirror-special-char-escape": "Escape character",
|
|
"codemirror-special-char-nbsp": "Non-breaking space",
|
|
"codemirror-special-char-zero-width-space": "Zero-width space",
|
|
"codemirror-special-char-zero-width-non-joiner": "Zero-width non-joiner",
|
|
"codemirror-special-char-zero-width-joiner": "Zero-width joiner",
|
|
"codemirror-special-char-left-to-right-mark": "Left-to-right mark",
|
|
"codemirror-special-char-right-to-left-mark": "Right-to-left mark",
|
|
"codemirror-special-char-line-separator": "Line separator",
|
|
"codemirror-special-char-left-to-right-override": "Left-to-right override",
|
|
"codemirror-special-char-right-to-left-override": "Right-to-left override",
|
|
"codemirror-special-char-narrow-nbsp": "Narrow non-breaking space",
|
|
"codemirror-special-char-left-to-right-isolate": "Left-to-right isolate",
|
|
"codemirror-special-char-right-to-left-isolate": "Right-to-left isolate",
|
|
"codemirror-special-char-pop-directional-isolate": "Pop directional isolate",
|
|
"codemirror-special-char-paragraph-separator": "Paragraph separator",
|
|
"codemirror-special-char-zero-width-no-break-space": "Word joiner",
|
|
"codemirror-special-char-object-replacement": "Object replacement character",
|
|
"codemirror-fold-template": "Fold template parameters",
|
|
"codemirror-unfold": "unfold",
|
|
"codemirror-folded-code": "folded code",
|
|
"prefs-accessibility": "Accessibility",
|
|
"prefs-syntax-highlighting": "Syntax highlighting"
|
|
}
|