diff --git a/.eslintignore b/.eslintignore index f851f95da..7a54349e9 100644 --- a/.eslintignore +++ b/.eslintignore @@ -5,5 +5,6 @@ /vendor/ # Language files written automatically by TranslateWiki -/**/i18n/**/*.json -!/**/i18n/**/{en,qqq}.json +/i18n/**/*.json +!/i18n/**/en.json +!/i18n/**/qqq.json diff --git a/.eslintrc.json b/.eslintrc.json index 0a21765c8..8af040a0a 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -12,7 +12,7 @@ "overrides": [ { "files": [ - "i18n/**/*.json" + "i18n/**" ], "rules": { "sort-keys": "error" diff --git a/i18n/api/en.json b/i18n/api/en.json index 033e964aa..b4fb40301 100644 --- a/i18n/api/en.json +++ b/i18n/api/en.json @@ -20,8 +20,8 @@ "apihelp-discussiontoolsedit-summary": "Post a message on a discussion page.", "apihelp-discussiontoolsgetsubscriptions-param-commentname": "Names of the topics to check", "apihelp-discussiontoolsgetsubscriptions-summary": "Get the subscription statuses of given topics.", - "apihelp-discussiontoolssubscribe-param-page": "A page on which the topic appears", "apihelp-discussiontoolssubscribe-param-commentname": "Name of the topic to subscribe to (or unsubscribe from)", + "apihelp-discussiontoolssubscribe-param-page": "A page on which the topic appears", "apihelp-discussiontoolssubscribe-param-subscribe": "True to subscribe, false to unsubscribe", "apihelp-discussiontoolssubscribe-summary": "Subscribe (or unsubscribe) to receive notifications about a topic." } diff --git a/i18n/api/qqq.json b/i18n/api/qqq.json index 8651208f6..fafb9817a 100644 --- a/i18n/api/qqq.json +++ b/i18n/api/qqq.json @@ -22,8 +22,8 @@ "apihelp-discussiontoolsedit-summary": "{{doc-apihelp-summary|discussiontoolsedit}}", "apihelp-discussiontoolsgetsubscriptions-param-commentname": "{{doc-apihelp-param|discussiontoolsgetsubscriptions|commentname}}", "apihelp-discussiontoolsgetsubscriptions-summary": "{{doc-apihelp-summary|discussiontoolsgetsubscriptions}}", - "apihelp-discussiontoolssubscribe-param-page": "{{doc-apihelp-param|discussiontoolssubscribe|page}}", "apihelp-discussiontoolssubscribe-param-commentname": "{{doc-apihelp-param|discussiontoolssubscribe|commentname}}", + "apihelp-discussiontoolssubscribe-param-page": "{{doc-apihelp-param|discussiontoolssubscribe|page}}", "apihelp-discussiontoolssubscribe-param-subscribe": "{{doc-apihelp-param|discussiontoolssubscribe|subscribe}}", "apihelp-discussiontoolssubscribe-summary": "{{doc-apihelp-summary|discussiontoolssubscribe}}" } diff --git a/i18n/en.json b/i18n/en.json index ba4af6a92..83949e7ef 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -42,13 +42,13 @@ "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-summary": "You can learn more about these features by reading the [https://www.mediawiki.org/wiki/Special:MyLanguage/Talk_pages_project/Feature_summary feature summary].", "discussiontools-preference-newtopictool": "Enable quick topic adding", "discussiontools-preference-newtopictool-help": "This will show you an inline form for adding new topics.", "discussiontools-preference-replytool": "Enable quick replying", "discussiontools-preference-replytool-help": "This will show you a link to reply to talk page comments in one click.", "discussiontools-preference-sourcemodetoolbar": "Enable editing tools in source mode", "discussiontools-preference-sourcemodetoolbar-help": "This will add a toolbar to the quick replying and quick topic adding features’ source modes that includes shortcuts for pinging and adding links.", + "discussiontools-preference-summary": "You can learn more about these features by reading the [https://www.mediawiki.org/wiki/Special:MyLanguage/Talk_pages_project/Feature_summary feature summary].", "discussiontools-preference-topicsubscription": "Enable topic subscription", "discussiontools-preference-topicsubscription-help": "This will allow you to subscribe to receive notifications about comments on individual topics.", "discussiontools-replylink": "reply", @@ -85,30 +85,30 @@ "discussiontools-replywidget-transcluded": "Your comment will be saved at [[$1]].", "discussiontools-replywidget-watchthis": "Add this page to your [[Special:Watchlist|watchlist]]", "discussiontools-signature-prefix": " ", + "discussiontools-topicsubscription-action-unsubscribe-button": "Unsubscribe", + "discussiontools-topicsubscription-action-unsubscribe-prompt": "Unsubscribe from this topic?", "discussiontools-topicsubscription-button-subscribe": "subscribe", "discussiontools-topicsubscription-button-subscribe-tooltip": "Subscribe to receive notifications about new comments.", "discussiontools-topicsubscription-button-unsubscribe": "unsubscribe", "discussiontools-topicsubscription-button-unsubscribe-tooltip": "Unsubscribe to stop receiving notifications.", - "discussiontools-topicsubscription-action-unsubscribe-button": "Unsubscribe", - "discussiontools-topicsubscription-action-unsubscribe-prompt": "Unsubscribe from this topic?", "discussiontools-topicsubscription-error-not-found-body": "The subscription specified in the URL was not found.", "discussiontools-topicsubscription-error-not-found-title": "Subscription not found", "discussiontools-topicsubscription-notify-subscribed-body": "You will receive notifications about new comments in this topic.", "discussiontools-topicsubscription-notify-subscribed-title": "You have subscribed!", "discussiontools-topicsubscription-notify-unsubscribed-body": "You will no longer receive notifications about new comments in this topic.", "discussiontools-topicsubscription-notify-unsubscribed-title": "You have unsubscribed.", - "discussiontools-topicsubscription-pager-topic": "Topic", "discussiontools-topicsubscription-pager-page": "Page", + "discussiontools-topicsubscription-pager-topic": "Topic", "discussiontools-topicsubscription-pager-unsubscribe": "Unsubscribe", "discussiontools-topicsubscription-pager-unsubscribe-button": "Unsubscribe", - "discussiontools-topicsubscription-special-title": "Topic subscriptions", "discussiontools-topicsubscription-special-intro": "Subscriptions allow you to follow a topic on talk pages. When someone replies to the topic, you will receive a notification.\n\nAdjust how and where you receive these notifications in [[Special:Preferences#mw-prefsection-echo|your preferences]].", + "discussiontools-topicsubscription-special-title": "Topic subscriptions", "echo-category-title-dt-subscription": "Talk page {{PLURAL:$1|subscription|subscriptions}}", "echo-pref-tooltip-dt-subscription": "Notify me when someone posts a new comment in a topic I am subscribed to.", "tag-discussiontools": "-", - "tag-discussiontools-description": "Edit made using DiscussionTools", "tag-discussiontools-added-comment": "-", "tag-discussiontools-added-comment-description": "A talk page comment was added in this edit", + "tag-discussiontools-description": "Edit made using DiscussionTools", "tag-discussiontools-edit": "Edit comment", "tag-discussiontools-edit-description": "User edited an existing comment with DiscussionTools", "tag-discussiontools-newtopic": "[{{int:discussiontools-replywidget-newtopic-link}} New topic]", diff --git a/i18n/qqq.json b/i18n/qqq.json index 79df44083..8dcf9c7b9 100644 --- a/i18n/qqq.json +++ b/i18n/qqq.json @@ -51,13 +51,13 @@ "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-summary": "Used in [[Special:Preferences]] in the section titled {{msg-mw|prefs-discussion}}, at the top as a summary for the whole section.", "discussiontools-preference-newtopictool": "Used in [[Special:Preferences]] in the section titled {{msg-mw|prefs-discussion}}, in the same list with:\n* {{msg-mw|Discussiontools-preference-replytool}}.\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]] in the section titled {{msg-mw|prefs-discussion}}, in the same list with:\n* {{msg-mw|Discussiontools-preference-newtopictool}}.\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}}", "discussiontools-preference-replytool-help": "Used in [[Special:Preferences]].\n\nUsed as help text for the checkbox {{msg-mw|discussiontools-preference-replytool}}", "discussiontools-preference-sourcemodetoolbar": "Used in [[Special:Preferences]].\n\nUsed as label for checkbox to enable the source mode toolbar.\n\nThe help text for this checkbox is: {{msg-mw|discussiontools-preference-sourcemodetoolbar-help}}", "discussiontools-preference-sourcemodetoolbar-help": "Used in [[Special:Preferences]].\n\nUsed as help text for the checkbox {{msg-mw|discussiontools-preference-sourcemodetoolbar}}", + "discussiontools-preference-summary": "Used in [[Special:Preferences]] in the section titled {{msg-mw|prefs-discussion}}, at the top as a summary for the whole section.", "discussiontools-preference-topicsubscription": "Used in [[Special:Preferences]].\n\nUsed as label for checkbox to enable topic subscription.\n\nThe help text for this checkbox is: {{msg-mw|discussiontools-preference-topicsubscription-help}}", "discussiontools-preference-topicsubscription-help": "Used in [[Special:Preferences]].\n\nUsed as help text for the checkbox {{msg-mw|discussiontools-preference-topicsubscription}}", "discussiontools-replylink": "Label for the reply link added after each comment. Use the same casing as section edit links.\n* {{Related|editsection}}.", @@ -94,30 +94,30 @@ "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-replywidget-watchthis": "Label for a checkbox in the reply widget. It is used instead of the usual {{msg-mw|watchthis}} to distinguish the watchlist functionality from [[mw:Talk_pages_project/Feature_summary#Topic_subscriptions|topic subscriptions]].\n{{Identical|Add this page to your watchlist}}", "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-topicsubscription-action-unsubscribe-button": "Button to unsubscribe from a topic.", + "discussiontools-topicsubscription-action-unsubscribe-prompt": "Prompt shown when about to unsubscribe from a topic on an action page.", "discussiontools-topicsubscription-button-subscribe": "Label for the subscribe link added to each section. Use the same casing as section edit links.\n\nAppears next to {{msg-mw|editsection}}", "discussiontools-topicsubscription-button-subscribe-tooltip": "Tooltip for the subscribe link added to each section.", "discussiontools-topicsubscription-button-unsubscribe": "Label for the unsubscribe link added to each section. Use the same casing as section edit links.\n* {{Related|editsection}}.", "discussiontools-topicsubscription-button-unsubscribe-tooltip": "Tooltip for the unsubscribe link added to each section.", - "discussiontools-topicsubscription-action-unsubscribe-button": "Button to unsubscribe from a topic.", - "discussiontools-topicsubscription-action-unsubscribe-prompt": "Prompt shown when about to unsubscribe from a topic on an action page.", "discussiontools-topicsubscription-error-not-found-body": "Body of error page shown when subscription not found.", "discussiontools-topicsubscription-error-not-found-title": "Title of error page shown when subscription not found.", "discussiontools-topicsubscription-notify-subscribed-body": "Body of notification shown when a user subscribes to a topic.", "discussiontools-topicsubscription-notify-subscribed-title": "Title of notification shown when a user subscribes to a topic.", "discussiontools-topicsubscription-notify-unsubscribed-body": "Body of notification shown when a user unsubscribes from a topic.", "discussiontools-topicsubscription-notify-unsubscribed-title": "Title of notification shown when a user unsubscribes from a topic.", - "discussiontools-topicsubscription-pager-topic": "Used on [[mw:Special:TopicSubscriptions|Special:TopicSubscriptions]] as a table heading.", "discussiontools-topicsubscription-pager-page": "Used on [[mw:Special:TopicSubscriptions|Special:TopicSubscriptions]] as a table heading.", + "discussiontools-topicsubscription-pager-topic": "Used on [[mw:Special:TopicSubscriptions|Special:TopicSubscriptions]] as a table heading.", "discussiontools-topicsubscription-pager-unsubscribe": "Used on [[mw:Special:TopicSubscriptions|Special:TopicSubscriptions]] as a table heading.", "discussiontools-topicsubscription-pager-unsubscribe-button": "Used on [[mw:Special:TopicSubscriptions|Special:TopicSubscriptions]] in the table, as a button label.", - "discussiontools-topicsubscription-special-title": "Used on [[mw:Special:TopicSubscriptions|Special:TopicSubscriptions]] as the page title.", "discussiontools-topicsubscription-special-intro": "Used on [[mw:Special:TopicSubscriptions|Special:TopicSubscriptions]] as an introduction.", + "discussiontools-topicsubscription-special-title": "Used on [[mw:Special:TopicSubscriptions|Special:TopicSubscriptions]] as the page title.", "echo-category-title-dt-subscription": "{{doc-echo-category-title|tooltip=Echo-pref-tooltip-dt-subscription}}", "echo-pref-tooltip-dt-subscription": "{{doc-echo-pref-tooltip|title=Echo-category-title-dt-subscription}}", "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-added-comment": "{{ignored}}Short description of the discussiontools-added-comment tag.\n\nShown on lists of changes (history, recentchanges, etc.) for each edit that adds a talk page comment (or comments), even if it wasn't made using DiscussionTools.\n\nSee also:\n* {{msg-mw|Tag-discussiontools-added-comment-description}}\n{{Related|tag-discussiontools}}", "tag-discussiontools-added-comment-description": "Long description of the discussiontools-added-comment tag ({{msg-mw|Tag-discussiontools-added-comment}}).\n\nShown on [[Special:Tags]].\n\nSee also:\n* {{msg-mw|Tag-discussiontools-added-comment}}\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}}", "tag-discussiontools-edit-description": "Long description of the discussiontools-edit tag ({{msg-mw|Tag-discussiontools-edit}}).\n\nShown on [[Special:Tags]].\n\nSee also:\n* {{msg-mw|Tag-discussiontools-edit}}\n{{Related|tag-discussiontools}}", "tag-discussiontools-newtopic": "Short description of the discussiontools-newtopic tag.\n\nShown on lists of changes (history, recentchanges, etc.) for each edit made using DiscussionTools to create a new section of a talk page.\n\nThis message is always shown directly after {{msg-mw|tag-discussiontools}} and a comma.\n\nSee also:\n* {{msg-mw|Tag-discussiontools-newtopic-description}}\n{{Related|tag-discussiontools}}",