mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-09-24 02:38:22 +00:00
75f5c9b2be
The highlightSpecialChars() should act mostly identical to CM5. An example is the soft hyphen (U+00AD). These are highlighted as a red dot because they are non-printable characters. The i18n may seem like overkill, but CM6 would otherwise actually print the same message in plain English and without a way to localize it. Per request at T181677, we also highlight non-breaking space and the narrow non-breaking space. These are shown as a faint gray dot, to match CM6's highlightWhiteSpace() extension. That extension isn't used here because it would also highlight normal spaces, which we don't want. Bug: T181677 Change-Id: Iac1a8cf78e4cd0a27abc917f4b70bdfbaf86252a
48 lines
2.3 KiB
JSON
48 lines
2.3 KiB
JSON
{
|
|
"@metadata": {
|
|
"authors": [
|
|
"pastakhov",
|
|
"MusikAnimal"
|
|
]
|
|
},
|
|
"codemirror-desc": "Provides syntax highlighting in wikitext editor",
|
|
"codemirror-toggle-label": "Syntax highlighting",
|
|
"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-find": "Find",
|
|
"codemirror-next": "next",
|
|
"codemirror-previous": "previous",
|
|
"codemirror-all": "all",
|
|
"codemirror-match-case": "match case",
|
|
"codemirror-regexp": "regexp",
|
|
"codemirror-by-word": "by word",
|
|
"codemirror-replace": "replace",
|
|
"codemirror-replace-placeholder": "Replace",
|
|
"codemirror-replace-all": "replace all",
|
|
"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",
|
|
"prefs-accessibility": "Accessibility"
|
|
}
|