mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-27 17:50:44 +00:00
499c71114a
WikiEditor has a clever functionality where you can enter a message key directly by using [key]Msg syntax in the object definition. While that may have been a clever approach, it led to tons of messages in this extension having to be marked as RawHtmlMessages because they could potentially be parsed as HTML. Thus I am replacing all of these instances with using mw.message explicitly instead, with the necessary method attached. The autoMsg (and its cloned autoSafeMsg) functions have had FIXME comments attached since 2018 saying that these methods are unnecessarily complex and should be replaced with using mw.messages directly. This solves a lot of problems for translators in Translatewiki, and hopefully makes the code more straightforward and easier to understand for those reading it down the line. I would like to remove the autoMsg and autoSafeMsg functions altogether, but their functionality is still in use in a few extensions (and potentially on-wiki code), so we would have to clean up that first. Bug: T154891 Bug: T294760 Change-Id: I2835341867df85552579ea6927cd39a6f889fa6b
187 lines
12 KiB
JSON
187 lines
12 KiB
JSON
{
|
|
"@metadata": {
|
|
"authors": [
|
|
"Trevor Parscal"
|
|
]
|
|
},
|
|
"wikieditor": "Advanced wikitext editing interface",
|
|
"wikieditor-desc": "Provides an advanced, extensible wikitext editing interface",
|
|
"wikieditor-wikitext-tab": "Wikitext",
|
|
"wikieditor-toolbar": "Editing toolbar",
|
|
"wikieditor-toolbar-desc": "Edit page toolbar with enhanced usability",
|
|
"wikieditor-toolbar-preference": "Enable the editing toolbar",
|
|
"wikieditor-toolbar-preference-help": "This is sometimes called the '2010 wikitext editor'.",
|
|
"wikieditor-toolbar-tool-bold": "Bold",
|
|
"wikieditor-toolbar-tool-bold-example": "Bold text",
|
|
"wikieditor-toolbar-tool-italic": "Italic",
|
|
"wikieditor-toolbar-tool-italic-example": "Italic text",
|
|
"wikieditor-toolbar-tool-ilink": "Internal link",
|
|
"wikieditor-toolbar-tool-ilink-example": "Link title",
|
|
"wikieditor-toolbar-tool-xlink": "External link (remember http:// prefix)",
|
|
"wikieditor-toolbar-tool-xlink-example": "http://www.example.com link title",
|
|
"wikieditor-toolbar-tool-link": "Link",
|
|
"wikieditor-toolbar-tool-link-title": "Insert link",
|
|
"wikieditor-toolbar-tool-link-int": "To a wiki page",
|
|
"wikieditor-toolbar-tool-link-int-target": "Target page or URL:",
|
|
"wikieditor-toolbar-tool-link-int-target-tooltip": "Page title or URL",
|
|
"wikieditor-toolbar-tool-link-int-text": "Text to display:",
|
|
"wikieditor-toolbar-tool-link-int-text-tooltip": "Text to be displayed",
|
|
"wikieditor-toolbar-tool-link-ext": "To an external web page",
|
|
"wikieditor-toolbar-tool-link-ext-target": "Link URL:",
|
|
"wikieditor-toolbar-tool-link-ext-text": "Link text:",
|
|
"wikieditor-toolbar-tool-link-insert": "Insert link",
|
|
"wikieditor-toolbar-tool-link-cancel": "Cancel",
|
|
"wikieditor-toolbar-tool-link-int-target-status-exists": "This page exists on {{SITENAME}}",
|
|
"wikieditor-toolbar-tool-link-int-target-status-notexists": "This page does not exist on {{SITENAME}}",
|
|
"wikieditor-toolbar-tool-link-int-target-status-invalid": "The title you specified is invalid",
|
|
"wikieditor-toolbar-tool-link-int-target-status-external": "External link",
|
|
"wikieditor-toolbar-tool-link-int-target-status-disambig": "This page is not a content page, but a list of topics with similar names",
|
|
"wikieditor-toolbar-tool-link-int-invalid": "The title you specified is invalid.",
|
|
"wikieditor-toolbar-tool-link-lookslikeinternal": "The URL you specified looks like it was intended as a link to another wiki page.\nDo you want to make it an internal link?",
|
|
"wikieditor-toolbar-tool-link-lookslikeinternal-int": "Internal link",
|
|
"wikieditor-toolbar-tool-link-lookslikeinternal-ext": "External link",
|
|
"wikieditor-toolbar-tool-file": "Images and media",
|
|
"wikieditor-toolbar-tool-file-example": "Example.jpg",
|
|
"wikieditor-toolbar-tool-file-title": "Insert file",
|
|
"wikieditor-toolbar-file-target": "Filename:",
|
|
"wikieditor-toolbar-file-caption": "Caption:",
|
|
"wikieditor-toolbar-file-alt": "Alternative text:",
|
|
"wikieditor-toolbar-file-alt-help": "You can use this optional field to write a text description for people who cannot see the file.\nThe description should be enough for them to understand the purpose and information given by the media item. This is vital for blind users and other people using screen-reader software or text-only browsers.",
|
|
"wikieditor-toolbar-file-alt-help-label": "(Show help)",
|
|
"wikieditor-toolbar-file-size": "Size:",
|
|
"wikieditor-toolbar-file-float": "Align:",
|
|
"wikieditor-toolbar-file-default": "(default)",
|
|
"wikieditor-toolbar-file-format": "Format:",
|
|
"wikieditor-toolbar-file-format-none": "none",
|
|
"wikieditor-toolbar-tool-file-insert": "Insert",
|
|
"wikieditor-toolbar-tool-file-cancel": "Cancel",
|
|
"wikieditor-toolbar-tool-file-upload": "Upload",
|
|
"wikieditor-toolbar-tool-signature": "Signature and timestamp",
|
|
"wikieditor-toolbar-section-advanced": "Advanced",
|
|
"wikieditor-toolbar-tool-heading": "Heading",
|
|
"wikieditor-toolbar-tool-heading-1": "Level 1",
|
|
"wikieditor-toolbar-tool-heading-2": "Level 2",
|
|
"wikieditor-toolbar-tool-heading-3": "Level 3",
|
|
"wikieditor-toolbar-tool-heading-4": "Level 4",
|
|
"wikieditor-toolbar-tool-heading-5": "Level 5",
|
|
"wikieditor-toolbar-tool-heading-example": "Heading text",
|
|
"wikieditor-toolbar-group-format": "Format",
|
|
"wikieditor-toolbar-tool-ulist": "Bulleted list",
|
|
"wikieditor-toolbar-tool-ulist-example": "Bulleted list item",
|
|
"wikieditor-toolbar-tool-olist": "Numbered list",
|
|
"wikieditor-toolbar-tool-olist-example": "Numbered list item",
|
|
"wikieditor-toolbar-tool-nowiki": "No wiki formatting",
|
|
"wikieditor-toolbar-tool-nowiki-example": "Insert non-formatted text here",
|
|
"wikieditor-toolbar-tool-redirect": "Redirect",
|
|
"wikieditor-toolbar-tool-redirect-example": "Target page name",
|
|
"wikieditor-toolbar-tool-big": "Big",
|
|
"wikieditor-toolbar-tool-big-example": "Big text",
|
|
"wikieditor-toolbar-tool-small": "Small",
|
|
"wikieditor-toolbar-tool-small-example": "Small text",
|
|
"wikieditor-toolbar-tool-superscript": "Superscript",
|
|
"wikieditor-toolbar-tool-superscript-example": "Superscript text",
|
|
"wikieditor-toolbar-tool-subscript": "Subscript",
|
|
"wikieditor-toolbar-tool-subscript-example": "Subscript text",
|
|
"wikieditor-toolbar-group-insert": "Insert",
|
|
"wikieditor-toolbar-tool-gallery": "Picture gallery",
|
|
"wikieditor-toolbar-tool-gallery-example": "Example.jpg|Caption1\nExample.jpg|Caption2",
|
|
"wikieditor-toolbar-tool-newline": "New line",
|
|
"wikieditor-toolbar-tool-table": "Table",
|
|
"wikieditor-toolbar-tool-table-example-old": "-\n! header 1\n! header 2\n! header 3\n|-\n| row 1, cell 1\n| row 1, cell 2\n| row 1, cell 3\n|-\n| row 2, cell 1\n| row 2, cell 2\n| row 2, cell 3",
|
|
"wikieditor-toolbar-tool-table-example-cell-text": "Cell text",
|
|
"wikieditor-toolbar-tool-table-example-header": "Header text",
|
|
"wikieditor-toolbar-tool-table-example-caption": "Caption text",
|
|
"wikieditor-toolbar-tool-table-title": "Insert table",
|
|
"wikieditor-toolbar-tool-table-dimensions-rows": "Rows",
|
|
"wikieditor-toolbar-tool-table-dimensions-columns": "Columns",
|
|
"wikieditor-toolbar-tool-table-dimensions-header": "Add header row",
|
|
"wikieditor-toolbar-tool-table-wikitable": "Style with borders",
|
|
"wikieditor-toolbar-tool-table-sortable": "Make table sortable",
|
|
"wikieditor-toolbar-tool-table-example": "Example",
|
|
"wikieditor-toolbar-tool-table-preview": "Preview",
|
|
"wikieditor-toolbar-tool-table-insert": "Insert",
|
|
"wikieditor-toolbar-tool-table-cancel": "Cancel",
|
|
"wikieditor-toolbar-tool-table-example-text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut nec purus diam. Sed aliquam imperdiet nunc quis lacinia. Donec rutrum consectetur placerat. Sed volutpat neque non purus faucibus id ultricies enim euismod.",
|
|
"wikieditor-toolbar-tool-table-toomany": "Inserting a table with more than $1 {{PLURAL:$1|cell|cells}} is not possible with this dialog.",
|
|
"wikieditor-toolbar-tool-table-invalidnumber": "You have not entered a valid number of rows or columns.",
|
|
"wikieditor-toolbar-tool-table-zero": "You cannot insert a table with zero rows or columns.",
|
|
"wikieditor-toolbar-tool-replace": "Search and replace",
|
|
"wikieditor-toolbar-tool-replace-title": "Search and replace",
|
|
"wikieditor-toolbar-tool-replace-search": "Search for:",
|
|
"wikieditor-toolbar-tool-replace-replace": "Replace with:",
|
|
"wikieditor-toolbar-tool-replace-case": "Match case",
|
|
"wikieditor-toolbar-tool-replace-regex": "Treat search string as a regular expression",
|
|
"wikieditor-toolbar-tool-replace-button-findnext": "Find next",
|
|
"wikieditor-toolbar-tool-replace-button-replace": "Replace",
|
|
"wikieditor-toolbar-tool-replace-button-replaceall": "Replace all",
|
|
"wikieditor-toolbar-tool-replace-close": "Close",
|
|
"wikieditor-toolbar-tool-replace-nomatch": "Your search did not match anything.",
|
|
"wikieditor-toolbar-tool-replace-success": "$1 {{PLURAL:$1|replacement|replacements}} made.",
|
|
"wikieditor-toolbar-tool-replace-emptysearch": "You did not enter anything to search for.",
|
|
"wikieditor-toolbar-tool-replace-invalidregex": "The regular expression you entered is invalid: $1",
|
|
"wikieditor-toolbar-tool-replace-word": "Match whole word",
|
|
"wikieditor-toolbar-section-characters": "Special characters",
|
|
"wikieditor-toolbar-section-help": "Help",
|
|
"wikieditor-toolbar-help-heading-description": "Description",
|
|
"wikieditor-toolbar-help-heading-syntax": "What you type",
|
|
"wikieditor-toolbar-help-heading-result": "What you get",
|
|
"wikieditor-toolbar-help-page-format": "Formatting",
|
|
"wikieditor-toolbar-help-page-link": "Links",
|
|
"wikieditor-toolbar-help-page-heading": "Headings",
|
|
"wikieditor-toolbar-help-page-list": "Lists",
|
|
"wikieditor-toolbar-help-page-file": "Files",
|
|
"wikieditor-toolbar-help-page-discussion": "Discussion",
|
|
"wikieditor-toolbar-help-content-italic-description": "Italic",
|
|
"wikieditor-toolbar-help-content-italic-example": "Italic text",
|
|
"wikieditor-toolbar-help-content-bold-description": "Bold",
|
|
"wikieditor-toolbar-help-content-bold-example": "Bold text",
|
|
"wikieditor-toolbar-help-content-bolditalic-description": "Bold & italic",
|
|
"wikieditor-toolbar-help-content-bolditalic-example": "Bold & italic text",
|
|
"wikieditor-toolbar-help-content-ilink-description": "Internal link",
|
|
"wikieditor-toolbar-help-content-ilink-example": "[[Page title]]\n[[Page title|Link label]]",
|
|
"wikieditor-toolbar-help-content-xlink-description": "External link",
|
|
"wikieditor-toolbar-help-content-xlink-example1": "[$1 $2]\n[$1]\n$1",
|
|
"wikieditor-toolbar-help-content-xlink-example2": "[$1 $2]\n[$1 <nowiki>[</nowiki>$3<nowiki>]</nowiki>]\n[$1 $1]",
|
|
"wikieditor-toolbar-help-content-xlink-example-label": "Link label",
|
|
"wikieditor-toolbar-help-content-xlink-example-url": "https://example.org/",
|
|
"wikieditor-toolbar-help-content-heading2-description": "2nd level heading",
|
|
"wikieditor-toolbar-help-content-heading2-example": "Heading text",
|
|
"wikieditor-toolbar-help-content-heading3-description": "3rd level heading",
|
|
"wikieditor-toolbar-help-content-heading3-example": "Heading text",
|
|
"wikieditor-toolbar-help-content-heading4-description": "4th level heading",
|
|
"wikieditor-toolbar-help-content-heading4-example": "Heading text",
|
|
"wikieditor-toolbar-help-content-heading5-description": "5th level heading",
|
|
"wikieditor-toolbar-help-content-heading5-example": "Heading text",
|
|
"wikieditor-toolbar-help-content-ulist-description": "Bulleted list",
|
|
"wikieditor-toolbar-help-content-ulist-example": "List item",
|
|
"wikieditor-toolbar-help-content-olist-description": "Numbered list",
|
|
"wikieditor-toolbar-help-content-olist-example": "List item",
|
|
"wikieditor-toolbar-help-content-file-description": "Embedded file",
|
|
"wikieditor-toolbar-help-content-file-syntax": "[[$1:Example.png|$2|$3]]",
|
|
"wikieditor-toolbar-help-content-file-caption": "Caption text",
|
|
"wikieditor-toolbar-help-content-signaturetimestamp-description": "Signature with timestamp",
|
|
"wikieditor-toolbar-help-content-signaturetimestamp-syntax": "--~~~~",
|
|
"wikieditor-toolbar-help-content-signaturetimestamp-example": "--[[$1:$3|$3]] ([[$2:$3|talk]]) 15:54, 29 June 2023 (UTC)",
|
|
"wikieditor-toolbar-help-content-signature-description": "Signature",
|
|
"wikieditor-toolbar-help-content-signature-syntax": "~~~",
|
|
"wikieditor-toolbar-help-content-signature-example": "[[$1:$3|$3]] ([[$2:$3|talk]])",
|
|
"wikieditor-toolbar-help-content-signature-username": "Username",
|
|
"wikieditor-toolbar-help-content-indent-description": "Indent",
|
|
"wikieditor-toolbar-help-content-indent1": "Normal text",
|
|
"wikieditor-toolbar-help-content-indent2": "Indented text",
|
|
"wikieditor-toolbar-help-content-indent3": "Indented text",
|
|
"tag-wikieditor": "-",
|
|
"tag-wikieditor-description": "Edit made using [[mw:Special:MyLanguage/Extension:WikiEditor|WikiEditor]] (2010 wikitext editor)",
|
|
"wikieditor-realtimepreview-preview": "Preview",
|
|
"wikieditor-realtimepreview-error": "Preview not loading",
|
|
"wikieditor-realtimepreview-reload": "Reload",
|
|
"wikieditor-realtimepreview-beta-label": "Realtime Preview",
|
|
"wikieditor-realtimepreview-beta-desc": "See how wikitext changes will appear to readers inside the [[mw:Special:MyLanguage/Extension:WikiEditor|2010 editor]].",
|
|
"wikieditor-realtimepreview-reload-title": "Reload the realtime preview pane",
|
|
"accesskey-wikieditor-realtimepreview": ")",
|
|
"wikieditor-realtimepreview-manual": "Please reload now to manually preview your edits.",
|
|
"wikieditor-realtimepreview-onboarding-title": "Realtime Preview",
|
|
"wikieditor-realtimepreview-onboarding-body": "See what your edits will look like to readers by previewing them in realtime.",
|
|
"wikieditor-realtimepreview-onboarding-button": "Okay, got it"
|
|
}
|