mediawiki-extensions-CodeMi.../i18n/en.json

74 lines
3.9 KiB
JSON
Raw Normal View History

{
"@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",
CodeMirrorPreferences: add panel to tweak prefs with the editor open This is toggled by pressing Mod-Shift-, (or Command-Shift-, on MacOS), which then puts focus on the preferences panel. It can be closed with the Escape key, just like other CM panels. The CodeMirror class comes with these extension which can be toggled in preferences: * Bracket matching * Line numbering * Line wrapping * Highlight the active line * Show special characters Only bracket matching, line numbering, and line wrapping are available in the 2017 editor. The bidi isolation and template folding extensions are registered in CodeMirrorModeMediaWiki as they are MW-specific. CodeMirrorPreferences' new registerExtension() method allows any consumer of CodeMirror to add any arbitrary extensions to the preferences panel. This is expected to be called *after* CodeMirror has finished initializing. The 'ext.CodeMirror.ready' hook now passes the CodeMirror instance to accommodate this. The preferences are stored as a single user option in the database, called 'codemirror-preferences'. The defaults can be configured with the $wgCodeMirrorDefaultPreferences configuration setting. The sysadmin-facing values are the familiar boolean, but since CodeMirror is widely used, we make extra efforts to reduce the storage footprint (see T54777). This includes only storing preferences that differ from the defaults, and using binary representation instead of boolean values, since the user option is stored as a string. For now, all preferences are ignored in the 2017 editor. In a future patch, we may add some as toggleable Tools in the VE toolbar. Other changes: * Refactor CSS to use a .darkmode() mixin * Add a method to create a CSS-only fieldset in CodeMirrorPanel * Fix Jest tests now that there are more calls to mw.user.options.get() * Adjust Selenium tests to always use CM6 * Adjust Selenium tests to delete test pages (useful for local dev) * Remove unused code Bug: T359498 Change-Id: I70dcf2f49418cea632c452c1266440effad634f3
2024-08-16 01:52:13 +00:00
"codemirror-prefs-title": "Syntax highlighting preferences",
"codemirror-prefs-templatefolding": "Enable folding of template parameters",
"codemirror-prefs-autocomplete": "Enable autocompletion",
CodeMirrorPreferences: add panel to tweak prefs with the editor open This is toggled by pressing Mod-Shift-, (or Command-Shift-, on MacOS), which then puts focus on the preferences panel. It can be closed with the Escape key, just like other CM panels. The CodeMirror class comes with these extension which can be toggled in preferences: * Bracket matching * Line numbering * Line wrapping * Highlight the active line * Show special characters Only bracket matching, line numbering, and line wrapping are available in the 2017 editor. The bidi isolation and template folding extensions are registered in CodeMirrorModeMediaWiki as they are MW-specific. CodeMirrorPreferences' new registerExtension() method allows any consumer of CodeMirror to add any arbitrary extensions to the preferences panel. This is expected to be called *after* CodeMirror has finished initializing. The 'ext.CodeMirror.ready' hook now passes the CodeMirror instance to accommodate this. The preferences are stored as a single user option in the database, called 'codemirror-preferences'. The defaults can be configured with the $wgCodeMirrorDefaultPreferences configuration setting. The sysadmin-facing values are the familiar boolean, but since CodeMirror is widely used, we make extra efforts to reduce the storage footprint (see T54777). This includes only storing preferences that differ from the defaults, and using binary representation instead of boolean values, since the user option is stored as a string. For now, all preferences are ignored in the 2017 editor. In a future patch, we may add some as toggleable Tools in the VE toolbar. Other changes: * Refactor CSS to use a .darkmode() mixin * Add a method to create a CSS-only fieldset in CodeMirrorPanel * Fix Jest tests now that there are more calls to mw.user.options.get() * Adjust Selenium tests to always use CM6 * Adjust Selenium tests to delete test pages (useful for local dev) * Remove unused code Bug: T359498 Change-Id: I70dcf2f49418cea632c452c1266440effad634f3
2024-08-16 01:52:13 +00:00
"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.",
CodeMirrorPreferences: add panel to tweak prefs with the editor open This is toggled by pressing Mod-Shift-, (or Command-Shift-, on MacOS), which then puts focus on the preferences panel. It can be closed with the Escape key, just like other CM panels. The CodeMirror class comes with these extension which can be toggled in preferences: * Bracket matching * Line numbering * Line wrapping * Highlight the active line * Show special characters Only bracket matching, line numbering, and line wrapping are available in the 2017 editor. The bidi isolation and template folding extensions are registered in CodeMirrorModeMediaWiki as they are MW-specific. CodeMirrorPreferences' new registerExtension() method allows any consumer of CodeMirror to add any arbitrary extensions to the preferences panel. This is expected to be called *after* CodeMirror has finished initializing. The 'ext.CodeMirror.ready' hook now passes the CodeMirror instance to accommodate this. The preferences are stored as a single user option in the database, called 'codemirror-preferences'. The defaults can be configured with the $wgCodeMirrorDefaultPreferences configuration setting. The sysadmin-facing values are the familiar boolean, but since CodeMirror is widely used, we make extra efforts to reduce the storage footprint (see T54777). This includes only storing preferences that differ from the defaults, and using binary representation instead of boolean values, since the user option is stored as a string. For now, all preferences are ignored in the 2017 editor. In a future patch, we may add some as toggleable Tools in the VE toolbar. Other changes: * Refactor CSS to use a .darkmode() mixin * Add a method to create a CSS-only fieldset in CodeMirrorPanel * Fix Jest tests now that there are more calls to mw.user.options.get() * Adjust Selenium tests to always use CM6 * Adjust Selenium tests to delete test pages (useful for local dev) * Remove unused code Bug: T359498 Change-Id: I70dcf2f49418cea632c452c1266440effad634f3
2024-08-16 01:52:13 +00:00
"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",
"codemirror-beta-feature-title": "Improved Syntax Highlighting",
"codemirror-beta-feature-description": "Get early access to new syntax highlighting and editing features such as template folding and autocompletion."
}