Sort message keys (and enforce sorting)

Change-Id: I72236c23323dc3292bf8a060c4270685c6decb9a
This commit is contained in:
Ed Sanders 2021-02-23 14:56:52 +00:00
parent 0856617636
commit 6c023da581
5 changed files with 63 additions and 57 deletions

View file

@ -8,5 +8,11 @@
"globals": {
"ve": "readonly",
"RangeFix": "readonly"
}
},
"overrides": [ {
"files": [ "i18n/**/*.json" ],
"rules": {
"sort-keys": "error"
}
} ]
}

View file

@ -3,14 +3,14 @@
"authors": []
},
"apierror-discussiontools-commentid-notfound": "Comment ID not found: $1",
"apihelp-discussiontools-summary": "Returns metadata required to initialize the discussion tools.",
"apihelp-discussiontools-paramvalue-paction-transcludedfrom": "Return titles of pages from which each comment on the given page is transcluded.",
"apihelp-discussiontools-param-oldid": "The revision number to use (defaults to latest revision).",
"apihelp-discussiontoolsedit-summary": "Post a message on a discussion page.",
"apihelp-discussiontools-paramvalue-paction-transcludedfrom": "Return titles of pages from which each comment on the given page is transcluded.",
"apihelp-discussiontools-summary": "Returns metadata required to initialize the discussion tools.",
"apihelp-discussiontoolsedit-param-commentid": "Comment ID to reply to. Only used when <var>paction</var> is <var>addcomment</var>.",
"apihelp-discussiontoolsedit-param-html": "Content to post, as HTML. Cannot be used together with <var>wikitext</var>.",
"apihelp-discussiontoolsedit-param-sectiontitle": "{{int:apihelp-edit-param-sectiontitle}} Only used when <var>paction</var> is <var>addtopic</var>.",
"apihelp-discussiontoolsedit-param-wikitext": "Content to post, as wikitext. Cannot be used together with <var>html</var>.",
"apihelp-discussiontoolsedit-paramvalue-paction-addcomment": "Add a new comment as a reply to an existing comment.",
"apihelp-discussiontoolsedit-paramvalue-paction-addtopic": "Add a new discussion section and the first comment in it.",
"apihelp-discussiontoolsedit-param-commentid": "Comment ID to reply to. Only used when <var>paction</var> is <var>addcomment</var>.",
"apihelp-discussiontoolsedit-param-sectiontitle": "{{int:apihelp-edit-param-sectiontitle}} Only used when <var>paction</var> is <var>addtopic</var>.",
"apihelp-discussiontoolsedit-param-html": "Content to post, as HTML. Cannot be used together with <var>wikitext</var>.",
"apihelp-discussiontoolsedit-param-wikitext": "Content to post, as wikitext. Cannot be used together with <var>html</var>."
"apihelp-discussiontoolsedit-summary": "Post a message on a discussion page."
}

View file

@ -5,14 +5,14 @@
]
},
"apierror-discussiontools-commentid-notfound": "{{doc-apierror}}\n\nParameters:\n* $1 - Comment ID",
"apihelp-discussiontools-summary": "{{doc-apihelp-summary|discussiontools}}",
"apihelp-discussiontools-paramvalue-paction-transcludedfrom": "{{doc-apihelp-paramvalue|discussiontools|paction|transcludedfrom}}",
"apihelp-discussiontools-param-oldid": "{{doc-apihelp-param|discussiontools|oldid}}",
"apihelp-discussiontoolsedit-summary": "{{doc-apihelp-summary|discussiontoolsedit}}",
"apihelp-discussiontools-paramvalue-paction-transcludedfrom": "{{doc-apihelp-paramvalue|discussiontools|paction|transcludedfrom}}",
"apihelp-discussiontools-summary": "{{doc-apihelp-summary|discussiontools}}",
"apihelp-discussiontoolsedit-param-commentid": "{{doc-apihelp-param|discussiontoolsedit|commentid}}",
"apihelp-discussiontoolsedit-param-html": "{{optional}}\n{{doc-apihelp-param|discussiontoolsedit|html}}",
"apihelp-discussiontoolsedit-param-sectiontitle": "{{doc-apihelp-param|discussiontoolsedit|sectiontitle}}",
"apihelp-discussiontoolsedit-param-wikitext": "{{doc-apihelp-param|discussiontoolsedit|wikitext}}",
"apihelp-discussiontoolsedit-paramvalue-paction-addcomment": "{{doc-apihelp-paramvalue|discussiontoolsedit|paction|addcomment}}",
"apihelp-discussiontoolsedit-paramvalue-paction-addtopic": "{{doc-apihelp-paramvalue|discussiontoolsedit|paction|addtopic}}",
"apihelp-discussiontoolsedit-param-commentid": "{{doc-apihelp-param|discussiontoolsedit|commentid}}",
"apihelp-discussiontoolsedit-param-sectiontitle": "{{doc-apihelp-param|discussiontoolsedit|sectiontitle}}",
"apihelp-discussiontoolsedit-param-html": "{{optional}}\n{{doc-apihelp-param|discussiontoolsedit|html}}",
"apihelp-discussiontoolsedit-param-wikitext": "{{doc-apihelp-param|discussiontoolsedit|wikitext}}"
"apihelp-discussiontoolsedit-summary": "{{doc-apihelp-summary|discussiontoolsedit}}"
}

View file

@ -5,10 +5,25 @@
"discussiontools": "Discussion tools",
"discussiontools-defaultsummary-reply": "Reply",
"discussiontools-desc": "Tools to enhance discussion pages.",
"discussiontools-preference-label": "Discussion tools",
"discussiontools-error-comment-conflict": "Your comment could not be saved, because someone else commented at the same time as you. Please try again, or reload the page to view the latest comments.",
"discussiontools-error-comment-disappeared": "Could not find the comment you're replying to on the page. It might have been deleted or moved to another page. Please reload the page and try again.",
"discussiontools-error-comment-is-transcluded": "The \"{{int:discussiontools-replylink}}\" link cannot be used to reply to this comment. To reply, please use the full page editor by clicking \"$1\".",
"discussiontools-error-comment-is-transcluded-title": "The \"{{int:discussiontools-replylink}}\" link cannot be used to reply to this comment because it is loaded from another page. To reply, please go here: [[$1]].",
"discussiontools-error-comment-not-saved": "Your comment could not be published to the most recent version of the page. To see the latest changes, copy your drafted comment and then use your browser to reload the page.",
"discussiontools-error-lint": "Comments on this page can't be replied to because of an error in the wikitext. You can learn about this error by [$1 reading the documentation], ask for help by [$2 posting here] or fix the error by [$3 opening the full page editor].",
"discussiontools-error-noswitchtove": "Sorry, switching to visual mode is disabled because <b>$1</b> was detected in the comment you have written. [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:DiscussionTools/Reply_tool_visual_mode_limitations Learn more].",
"discussiontools-error-noswitchtove-extension": "extension or reference syntax",
"discussiontools-error-noswitchtove-table": "table syntax",
"discussiontools-error-noswitchtove-template": "template syntax",
"discussiontools-error-noswitchtove-title": "Visual mode disabled",
"discussiontools-newtopic-missing-title": "Please provide a title for your discussion topic. If you click \"{{int:discussiontools-replywidget-newtopic}}\", your topic will be added without a title.",
"discussiontools-newtopic-placeholder-title": "Title",
"discussiontools-postedit-confirmation-published": "Your comment was published.",
"discussiontools-postedit-confirmation-topicadded": "Your topic was added.",
"discussiontools-preference-description": "Enables experimental talk page features:\n* [https://www.mediawiki.org/wiki/Talk_pages_project/Replying Reply] to talk page comments in one click.\n* [https://www.mediawiki.org/wiki/Talk_pages_project/New_discussion Add new topics] using an inline form.\n\nYou can customize these features in your [[Special:Preferences#mw-prefsection-editing-discussion|preferences]].\n\nUpdates will be posted on the [https://www.mediawiki.org/wiki/Talk_pages_project/Updates talk pages project's updates page].\n\nPlease note:\n* Over time, new experimental features will be added.\n* Some of the features above may not be available at your wiki yet.",
"discussiontools-preference-info-link": "https://www.mediawiki.org/wiki/Special:MyLanguage/Talk_pages_project/Feature_summary",
"discussiontools-preference-discussion-link": "https://www.mediawiki.org/wiki/Talk:Talk_pages_project",
"discussiontools-preference-info-link": "https://www.mediawiki.org/wiki/Special:MyLanguage/Talk_pages_project/Feature_summary",
"discussiontools-preference-label": "Discussion tools",
"discussiontools-preference-newtopictool": "Enable quick topic adding",
"discussiontools-preference-newtopictool-help": "This will show you an inline form for adding new topics. You can learn more about this feature by reading the [https://www.mediawiki.org/wiki/Special:MyLanguage/Talk_pages_project/Feature_summary feature summary].",
"discussiontools-preference-replytool": "Enable quick replying",
@ -31,34 +46,19 @@
"discussiontools-replywidget-mention-tool-title": "Mention a user",
"discussiontools-replywidget-mode-source": "Source",
"discussiontools-replywidget-mode-visual": "Visual",
"discussiontools-replywidget-newtopic": "Add topic",
"discussiontools-replywidget-newtopic-link": "https://www.mediawiki.org/wiki/Special:MyLanguage/Talk_pages_project/New_discussion",
"discussiontools-replywidget-placeholder-newtopic": "Description",
"discussiontools-replywidget-placeholder-reply": "Reply to {{BIDI:$1}}",
"discussiontools-replywidget-preview": "Preview",
"discussiontools-replywidget-reply": "Reply",
"discussiontools-replywidget-reply-link": "https://www.mediawiki.org/wiki/Special:MyLanguage/Talk_pages_project/Replying",
"discussiontools-replywidget-newtopic-link": "https://www.mediawiki.org/wiki/Special:MyLanguage/Talk_pages_project/New_discussion",
"discussiontools-replywidget-signature-title": "Signature markup detected",
"discussiontools-replywidget-signature-body": "$1 has been transformed into your signature. To undo this, type $2. Note that you don't need to sign comments with this tool. Your signature will be added automatically.",
"discussiontools-replywidget-signature-title": "Signature markup detected",
"discussiontools-replywidget-summary": "Summary",
"discussiontools-replywidget-terms-click": "By clicking \"$1\", you agree to the terms of use for this wiki.",
"discussiontools-replywidget-transcluded": "Your comment will be saved at [[$1]].",
"discussiontools-newtopic-placeholder-title": "Title",
"discussiontools-newtopic-missing-title": "Please provide a title for your discussion topic. If you click \"{{int:discussiontools-replywidget-newtopic}}\", your topic will be added without a title.",
"discussiontools-replywidget-placeholder-newtopic": "Description",
"discussiontools-replywidget-newtopic": "Add topic",
"discussiontools-signature-prefix": "&#32;",
"discussiontools-error-comment-conflict": "Your comment could not be saved, because someone else commented at the same time as you. Please try again, or reload the page to view the latest comments.",
"discussiontools-error-comment-disappeared": "Could not find the comment you're replying to on the page. It might have been deleted or moved to another page. Please reload the page and try again.",
"discussiontools-error-comment-not-saved": "Your comment could not be published to the most recent version of the page. To see the latest changes, copy your drafted comment and then use your browser to reload the page.",
"discussiontools-error-comment-is-transcluded": "The \"{{int:discussiontools-replylink}}\" link cannot be used to reply to this comment. To reply, please use the full page editor by clicking \"$1\".",
"discussiontools-error-comment-is-transcluded-title": "The \"{{int:discussiontools-replylink}}\" link cannot be used to reply to this comment because it is loaded from another page. To reply, please go here: [[$1]].",
"discussiontools-error-lint": "Comments on this page can't be replied to because of an error in the wikitext. You can learn about this error by [$1 reading the documentation], ask for help by [$2 posting here] or fix the error by [$3 opening the full page editor].",
"discussiontools-error-noswitchtove": "Sorry, switching to visual mode is disabled because <b>$1</b> was detected in the comment you have written. [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:DiscussionTools/Reply_tool_visual_mode_limitations Learn more].",
"discussiontools-error-noswitchtove-extension": "extension or reference syntax",
"discussiontools-error-noswitchtove-table": "table syntax",
"discussiontools-error-noswitchtove-template": "template syntax",
"discussiontools-error-noswitchtove-title": "Visual mode disabled",
"discussiontools-postedit-confirmation-published": "Your comment was published.",
"discussiontools-postedit-confirmation-topicadded": "Your topic was added.",
"tag-discussiontools": "-",
"tag-discussiontools-description": "Edit made using DiscussionTools",
"tag-discussiontools-edit": "Edit comment",

View file

@ -13,10 +13,25 @@
"discussiontools": "{{name}}",
"discussiontools-defaultsummary-reply": "Default edit summary for a reply.\n\n'''Note that this is a noun (''a reply''), not a verb (''to reply''). Alternatively you can use a past tense verb if that's more natural in your language.'''",
"discussiontools-desc": "{{desc\n| name = DiscussionTools\n| url = https://www.mediawiki.org/wiki/Extension:DiscussionTools\n}}",
"discussiontools-preference-label": "Used in [[Special:Preferences]].\n\nUsed as label for checkbox to enable discussion tools as Beta Feature.\n\nThe description for this checkbox is: {{msg-mw|discussiontools-preference-description}}",
"discussiontools-error-comment-conflict": "Error message of a comment conflict.\n\nSimilar messages:\n* {{msg-mw|visualeditor-editconflict}}\n* {{msg-mw|twocolconflict-split-tour-dialog-message-single-column-view}}\n* {{msg-mw|discussiontools-error-comment-disappeared}}",
"discussiontools-error-comment-disappeared": "Error message.",
"discussiontools-error-comment-is-transcluded": "Error message. Parameter: $1 text of the 'Edit'/'Edit source' tab",
"discussiontools-error-comment-is-transcluded-title": "Error message. Parameter: $1 page name",
"discussiontools-error-comment-not-saved": "Error message.",
"discussiontools-error-lint": "Error message. Parameters:\n* $1 URL to documentation on mediawiki.org\n* $2 URL to talk page on mediawiki.org\n* $3 URL to the editor (action=edit)",
"discussiontools-error-noswitchtove": "Error message shown when the switching to visual mode is disabled.\n\nParameters:\n* $1 type of syntax detected, one of:\n** {{msg-mw|discussiontools-error-noswitchtove-extension}}\n** {{msg-mw|discussiontools-error-noswitchtove-table}}\n** {{msg-mw|discussiontools-error-noswitchtove-template}}",
"discussiontools-error-noswitchtove-extension": "Type of syntax detected, used as a parameter in {{msg-mw|discussiontools-error-noswitchtove}}.",
"discussiontools-error-noswitchtove-table": "Type of syntax detected, used as a parameter in {{msg-mw|discussiontools-error-noswitchtove}}.",
"discussiontools-error-noswitchtove-template": "Type of syntax detected, used as a parameter in {{msg-mw|discussiontools-error-noswitchtove}}.",
"discussiontools-error-noswitchtove-title": "Type of syntax detected, used as a parameter in {{msg-mw|discussiontools-error-noswitchtove}}.",
"discussiontools-newtopic-missing-title": "Warning message shown when leaving the title field empty while adding a new topic to the page.",
"discussiontools-newtopic-placeholder-title": "Placeholder describing the heading field of a new topic\n{{identical|Title}}",
"discussiontools-postedit-confirmation-published": "{{gender}}\nSuccess message shown after a user publishes a comment on a page. Parameters:\n* $1 - the current user, for GENDER support\n\nSee also: {{msg-mw|postedit-confirmation-published}}",
"discussiontools-postedit-confirmation-topicadded": "{{gender}}\nSuccess message shown after a user adds a new topic on a page. Parameters:\n* $1 - the current user, for GENDER support\n\nSee also: {{msg-mw|postedit-confirmation-published}}",
"discussiontools-preference-description": "Used in [[Special:Preferences]].\n\nUsed as description for the checkbox to enable discussion tools as a Beta Feature.\n\nThe label for this checkbox is {{msg-mw|discussiontools-preference-label}}.",
"discussiontools-preference-info-link": "{{optional|Used on [[Special:Preferences]] as a link to a page where users can learn about this Beta Feature. Defaults to a page on MediaWiki.org.}}",
"discussiontools-preference-discussion-link": "{{optional|Used on [[Special:Preferences]] as a link to a page where users can discuss this Beta Feature. Defaults to a page on MediaWiki.org.}}",
"discussiontools-preference-info-link": "{{optional|Used on [[Special:Preferences]] as a link to a page where users can learn about this Beta Feature. Defaults to a page on MediaWiki.org.}}",
"discussiontools-preference-label": "Used in [[Special:Preferences]].\n\nUsed as label for checkbox to enable discussion tools as Beta Feature.\n\nThe description for this checkbox is: {{msg-mw|discussiontools-preference-description}}",
"discussiontools-preference-newtopictool": "Used in [[Special:Preferences]].\n\nUsed as label for checkbox to enable the new topic tool.\n\nThe help text for this checkbox is: {{msg-mw|discussiontools-preference-newtopictool-help}}",
"discussiontools-preference-newtopictool-help": "Used in [[Special:Preferences]].\n\nUsed as help text for the checkbox {{msg-mw|discussiontools-preference-newtopictool}}",
"discussiontools-preference-replytool": "Used in [[Special:Preferences]].\n\nUsed as label for checkbox to enable the reply tool.\n\nThe help text for this checkbox is: {{msg-mw|discussiontools-preference-replytool-help}}",
@ -39,34 +54,19 @@
"discussiontools-replywidget-mention-tool-title": "Title text for the user mention tool.",
"discussiontools-replywidget-mode-source": "Label for the widget's source mode.\n\nThis should not include the word 'edit' or 'editor', and where possible should avoid 'wikitext' which is MediaWiki-specific terminology.",
"discussiontools-replywidget-mode-visual": "Label for the widget's visual mode.\n\nThis should not include the word 'edit' or 'editor', and should not use the product name VisualEditor.",
"discussiontools-replywidget-newtopic": "Label for button to post a new topic",
"discussiontools-replywidget-newtopic-link": "{{notranslate}}\nUsed by {{msg-mw|Tag-discussiontools-newtopic}} as a link to a page where users learn about the feature. Defaults to a page on MediaWiki.org.",
"discussiontools-replywidget-placeholder-newtopic": "Placeholder summarizing the discussion.\n{{identical|Description}}",
"discussiontools-replywidget-placeholder-reply": "Placeholder describing who is being replied to.\n\nParameters:\n* $1 username of the person who wrote the previous comment",
"discussiontools-replywidget-preview": "Label for the preview area of the reply widget",
"discussiontools-replywidget-reply": "Label for the button to submit a reply in the reply widget",
"discussiontools-replywidget-reply-link": "{{notranslate}}\nUsed by {{msg-mw|Tag-discussiontools-reply}} as a link to a page where users learn about the feature. Defaults to a page on MediaWiki.org.",
"discussiontools-replywidget-newtopic-link": "{{notranslate}}\nUsed by {{msg-mw|Tag-discussiontools-newtopic}} as a link to a page where users learn about the feature. Defaults to a page on MediaWiki.org.",
"discussiontools-replywidget-signature-title": "Title of the warning about typing in your signature",
"discussiontools-replywidget-signature-body": "Body of the warning about typing in your signature.\n\nParameters:\n* $1 the signature markup, i.e. <code><nowiki>~~~~</nowiki></code>\n* $2 localised keyboard shortcut to undo, for example <kbd><kbd>Ctrl</kbd>+<kbd>Z</kbd></kbd>",
"discussiontools-replywidget-signature-title": "Title of the warning about typing in your signature",
"discussiontools-replywidget-summary": "Label for the summary field that describes your comment. This will be stored as an edit summary, but in the context of the reply tool we don't want to refer to 'edits'\n{{identical|Summary}}",
"discussiontools-replywidget-terms-click": "Terms of use for posting a reply.\n\n* $1 is the label of the button to be clicked, e.g. {{msg-mw|discussiontools-replywidget-reply}}.",
"discussiontools-replywidget-transcluded": "Message explaining that the comment will be saved on a different page than the one you're viewing right now (because it was transcluded from it). Parameter: $1 page name",
"discussiontools-newtopic-placeholder-title": "Placeholder describing the heading field of a new topic\n{{identical|Title}}",
"discussiontools-newtopic-missing-title": "Warning message shown when leaving the title field empty while adding a new topic to the page.",
"discussiontools-replywidget-placeholder-newtopic": "Placeholder summarizing the discussion.\n{{identical|Description}}",
"discussiontools-replywidget-newtopic": "Label for button to post a new topic",
"discussiontools-signature-prefix": "{{optional}}\nWikitext that prefixes the signature. The prefix and signature will be appended directly to the message, so this must include a leading space if a gap is desired.\n\nThis message intentionally doesn't use the prefix from {{msg-mw|sig-text}}, because it is not actually commonly used on many wikis, but you can include it in the translation if that is the convention in your language.\n{{Format|plain}}",
"discussiontools-error-comment-conflict": "Error message of a comment conflict.\n\nSimilar messages:\n* {{msg-mw|visualeditor-editconflict}}\n* {{msg-mw|twocolconflict-split-tour-dialog-message-single-column-view}}\n* {{msg-mw|discussiontools-error-comment-disappeared}}",
"discussiontools-error-comment-disappeared": "Error message.",
"discussiontools-error-comment-not-saved": "Error message.",
"discussiontools-error-comment-is-transcluded": "Error message. Parameter: $1 text of the 'Edit'/'Edit source' tab",
"discussiontools-error-comment-is-transcluded-title": "Error message. Parameter: $1 page name",
"discussiontools-error-lint": "Error message. Parameters:\n* $1 URL to documentation on mediawiki.org\n* $2 URL to talk page on mediawiki.org\n* $3 URL to the editor (action=edit)",
"discussiontools-error-noswitchtove": "Error message shown when the switching to visual mode is disabled.\n\nParameters:\n* $1 type of syntax detected, one of:\n** {{msg-mw|discussiontools-error-noswitchtove-extension}}\n** {{msg-mw|discussiontools-error-noswitchtove-table}}\n** {{msg-mw|discussiontools-error-noswitchtove-template}}",
"discussiontools-error-noswitchtove-extension": "Type of syntax detected, used as a parameter in {{msg-mw|discussiontools-error-noswitchtove}}.",
"discussiontools-error-noswitchtove-table": "Type of syntax detected, used as a parameter in {{msg-mw|discussiontools-error-noswitchtove}}.",
"discussiontools-error-noswitchtove-template": "Type of syntax detected, used as a parameter in {{msg-mw|discussiontools-error-noswitchtove}}.",
"discussiontools-error-noswitchtove-title": "Type of syntax detected, used as a parameter in {{msg-mw|discussiontools-error-noswitchtove}}.",
"discussiontools-postedit-confirmation-published": "{{gender}}\nSuccess message shown after a user publishes a comment on a page. Parameters:\n* $1 - the current user, for GENDER support\n\nSee also: {{msg-mw|postedit-confirmation-published}}",
"discussiontools-postedit-confirmation-topicadded": "{{gender}}\nSuccess message shown after a user adds a new topic on a page. Parameters:\n* $1 - the current user, for GENDER support\n\nSee also: {{msg-mw|postedit-confirmation-published}}",
"tag-discussiontools": "{{ignored}}Short description of the discussiontools tag.\n\nShown on lists of changes (history, recentchanges, etc.) for each edit made using DiscussionTools.\n\nSee also:\n* {{msg-mw|Tag-discussiontools-description}}\n{{Related|tag-discussiontools}}",
"tag-discussiontools-description": "Long description of the discussiontools tag ({{msg-mw|Tag-discussiontools}}).\n\nShown on [[Special:Tags]].\n\nSee also:\n* {{msg-mw|Tag-discussiontools}}\n{{Related|tag-discussiontools}}",
"tag-discussiontools-edit": "Short description of the discussiontools-edit tag.\n\nShown on lists of changes (history, recentchanges, etc.) for each edit to an existing comment made using DiscussionTools.\n\nThis message is always shown directly after {{msg-mw|tag-discussiontools}} and a comma.\n\nSee also:\n* {{msg-mw|Tag-discussiontools-edit-description}}\n{{Related|tag-discussiontools}}",