mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 07:54:13 +00:00
Add i18n for API module help
MediaWiki core change I04b1a384 added support for i18n of API module help. This takes advantage of that while still maintaining backwards compatibility with earlier versions of MediaWiki. Once support for MediaWiki before 1.25 is dropped, the methods marked deprecated in this patch may be removed. Change-Id: I67395aff48185f3e09da31b51a08aa2541fe6a17
This commit is contained in:
parent
9780f3b608
commit
09c881e1a0
|
@ -69,6 +69,9 @@ class ApiEchoMarkRead extends ApiBase {
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated since MediaWiki core 1.25
|
||||
*/
|
||||
public function getParamDescription() {
|
||||
return array(
|
||||
'list' => 'A list of notification IDs to mark as read',
|
||||
|
@ -95,10 +98,16 @@ class ApiEchoMarkRead extends ApiBase {
|
|||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated since MediaWiki core 1.25
|
||||
*/
|
||||
public function getDescription() {
|
||||
return 'Mark notifications as read for the current user';
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated since MediaWiki core 1.25
|
||||
*/
|
||||
public function getExamples() {
|
||||
return array(
|
||||
'api.php?action=echomarkread&list=8',
|
||||
|
@ -106,6 +115,18 @@ class ApiEchoMarkRead extends ApiBase {
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @see ApiBase::getExamplesMessages()
|
||||
*/
|
||||
protected function getExamplesMessages() {
|
||||
return array(
|
||||
'action=echomarkread&list=8'
|
||||
=> 'apihelp-echomarkread-example-1',
|
||||
'action=echomarkread&all=true'
|
||||
=> 'apihelp-echomarkread-example-2',
|
||||
);
|
||||
}
|
||||
|
||||
public function getHelpUrls() {
|
||||
return 'https://www.mediawiki.org/wiki/Echo_(Notifications)/API';
|
||||
}
|
||||
|
|
|
@ -246,7 +246,10 @@ class ApiEchoNotifications extends ApiQueryBase {
|
|||
ApiBase::PARAM_MAX2 => ApiBase::LIMIT_SML2,
|
||||
),
|
||||
'index' => false,
|
||||
'continue' => null,
|
||||
'continue' => array(
|
||||
/** @todo Once support for MediaWiki < 1.25 is dropped, just use ApiBase::PARAM_HELP_MSG directly */
|
||||
constant( 'ApiBase::PARAM_HELP_MSG' ) ?: '' => 'api-help-param-continue',
|
||||
),
|
||||
'uselang' => null
|
||||
);
|
||||
foreach ( $sections as $section ) {
|
||||
|
@ -259,6 +262,9 @@ class ApiEchoNotifications extends ApiQueryBase {
|
|||
return $params;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated since MediaWiki core 1.25
|
||||
*/
|
||||
public function getParamDescription() {
|
||||
return array(
|
||||
'prop' => 'Details to request.',
|
||||
|
@ -276,10 +282,16 @@ class ApiEchoNotifications extends ApiQueryBase {
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated since MediaWiki core 1.25
|
||||
*/
|
||||
public function getDescription() {
|
||||
return 'Get notifications waiting for the current user';
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated since MediaWiki core 1.25
|
||||
*/
|
||||
public function getExamples() {
|
||||
return array(
|
||||
'api.php?action=query&meta=notifications',
|
||||
|
@ -287,6 +299,18 @@ class ApiEchoNotifications extends ApiQueryBase {
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @see ApiBase::getExamplesMessages()
|
||||
*/
|
||||
protected function getExamplesMessages() {
|
||||
return array(
|
||||
'action=query&meta=notifications'
|
||||
=> 'apihelp-query+notifications-example-1',
|
||||
'action=query&meta=notifications¬prop=count¬sections=alert|message¬groupbysection=1'
|
||||
=> 'apihelp-query+notifications-example-2',
|
||||
);
|
||||
}
|
||||
|
||||
public function getHelpUrls() {
|
||||
return 'https://www.mediawiki.org/wiki/Echo_(Notifications)/API';
|
||||
}
|
||||
|
|
257
i18n/en.json
257
i18n/en.json
|
@ -1,120 +1,141 @@
|
|||
{
|
||||
"@metadata": {
|
||||
"authors": [
|
||||
"Andrew Garrett"
|
||||
]
|
||||
},
|
||||
"echo-desc": "Notifications system",
|
||||
"prefs-echo": "Notifications",
|
||||
"prefs-emailsettings": "Email options",
|
||||
"prefs-displaynotifications": "Display options",
|
||||
"prefs-echosubscriptions": "Notify me about these events",
|
||||
"prefs-newmessageindicator": "New message indicator",
|
||||
"echo-pref-send-me": "Send me:",
|
||||
"echo-pref-send-to": "Send to:",
|
||||
"echo-pref-email-format": "Email format:",
|
||||
"echo-pref-web": "Web",
|
||||
"echo-pref-email": "Email",
|
||||
"echo-pref-email-frequency-never": "Do not send me any email notifications",
|
||||
"echo-pref-email-frequency-immediately": "Individual notifications as they come in",
|
||||
"echo-pref-email-frequency-daily": "A daily summary of notifications",
|
||||
"echo-pref-email-frequency-weekly": "A weekly summary of notifications",
|
||||
"echo-pref-email-format-html": "HTML",
|
||||
"echo-pref-email-format-plain-text": "Plain text",
|
||||
"echo-pref-notify-show-link": "Show notifications in my toolbar",
|
||||
"echo-pref-new-message-indicator": "Show talk page message indicator in my toolbar",
|
||||
"echo-learn-more": "Learn more",
|
||||
"echo-new-messages": "You have new messages",
|
||||
"echo-category-title-edit-user-talk": "Talk page {{PLURAL:$1|message|messages}}",
|
||||
"echo-category-title-article-linked": "Page {{PLURAL:$1|link|links}}",
|
||||
"echo-category-title-reverted": "Edit {{PLURAL:$1|revert|reverts}}",
|
||||
"echo-category-title-mention": "{{PLURAL:$1|Mention|Mentions}}",
|
||||
"echo-category-title-other": "{{PLURAL:$1|Other}}",
|
||||
"echo-category-title-system": "{{PLURAL:$1|System}}",
|
||||
"echo-category-title-user-rights": "{{PLURAL:$1|User rights change|User rights changes}}",
|
||||
"echo-pref-tooltip-edit-user-talk": "Notify me when someone posts a message or replies on my talk page.",
|
||||
"echo-pref-tooltip-article-linked": "Notify me when someone links to a page I created from an article page.",
|
||||
"echo-pref-tooltip-reverted": "Notify me when someone reverts an edit I made, by using the undo or rollback tool.",
|
||||
"echo-pref-tooltip-mention": "Notify me when someone links to my user page.",
|
||||
"echo-pref-tooltip-user-rights": "Notify me when someone changes my user rights.",
|
||||
"echo-no-agent": "[Nobody]",
|
||||
"echo-no-title": "[No page]",
|
||||
"echo-error-no-formatter": "No formatting defined for notification.",
|
||||
"echo-error-preference": "Error: Could not set user preference.",
|
||||
"echo-error-token": "Error: Could not retrieve user token.",
|
||||
"notifications": "Notifications",
|
||||
"tooltip-pt-notifications": "Your notifications",
|
||||
"echo-specialpage": "Notifications",
|
||||
"echo-anon": "To receive notifications, [$1 create an account] or [$2 log in].",
|
||||
"echo-none": "You have no notifications.",
|
||||
"echo-more-info": "More info",
|
||||
"echo-feedback": "Feedback",
|
||||
"echo-quotation-marks": "\"$1\"",
|
||||
"notification-link-text-view-message": "View message",
|
||||
"notification-link-text-view-mention": "View mention",
|
||||
"notification-link-text-view-changes": "View changes",
|
||||
"notification-link-text-view-page": "View page",
|
||||
"notification-link-text-view-edit": "View edit",
|
||||
"notification-edit-talk-page2": "[[User:$1|$1]] {{GENDER:$1|left}} a message on your [[User talk:$2#$3|talk page]].",
|
||||
"notification-edit-talk-page-with-section": "[[User:$1|$1]] {{GENDER:$1|left}} a message on your talk page in \"[[User talk:$2#$3|$4]]\".",
|
||||
"notification-edit-talk-page-flyout2": "$1 {{GENDER:$1|left}} a message on your [[User talk:$2#$3|talk page]].",
|
||||
"notification-edit-talk-page-flyout-with-section": "$1 {{GENDER:$1|left}} a message on your talk page in \"[[User talk:$2#$3|$4]]\".",
|
||||
"notification-page-linked": "[[:$2]] was {{GENDER:$1|linked}} from [[:$3]]. [[Special:WhatLinksHere/$2|See all links to this page]].",
|
||||
"notification-page-linked-flyout": "$2 was {{GENDER:$1|linked}} from [[:$3]].",
|
||||
"notification-add-comment2": "[[User:$1|$1]] {{GENDER:$1|commented}} on \"[[$3|$2]]\" on the \"$4\" talk page.",
|
||||
"notification-add-talkpage-topic2": "[[User:$1|$1]] {{GENDER:$1|posted}} a new topic \"$2\" on [[$3]].",
|
||||
"notification-add-talkpage-topic-yours2": "[[User:$1|$1]] {{GENDER:$1|sent}} you a message: \"[[$3#$2|$2]]\".",
|
||||
"notification-add-comment-yours2": "[[User:$1|$1]] {{GENDER:$1|commented}} on \"[[$3#$2|$2]]\" on your talk page.",
|
||||
"notification-mention": "[[User:$1|$1]] {{GENDER:$1|mentioned}} you on the $5 talk page in \"[[:$3#$2|$4]]\".",
|
||||
"notification-mention-flyout": "$1 {{GENDER:$1|mentioned}} you on the $5 talk page in \"[[:$3#$2|$4]]\".",
|
||||
"notification-mention-nosection": "[[User:$1|$1]] {{GENDER:$1|mentioned}} you on the [[:$3|$2 talk page]].",
|
||||
"notification-mention-nosection-flyout": "$1 {{GENDER:$1|mentioned}} you on the [[:$3|$2 talk page]].",
|
||||
"notification-user-rights": "Your user rights [[Special:Log/rights/$1|were {{GENDER:$1|changed}}]] by [[User:$1|$1]]. $2. [[Special:ListGroupRights|Learn more]]",
|
||||
"notification-user-rights-flyout": "Your user rights were {{GENDER:$1|changed}} by $1. $2. [[Special:ListGroupRights|Learn more]]",
|
||||
"notification-user-rights-add": "You are now a member of {{PLURAL:$2|this group|these groups}}: $1",
|
||||
"notification-user-rights-remove": "You are no longer a member of {{PLURAL:$2|this group|these groups}}: $1",
|
||||
"notification-new-user": "Welcome to {{SITENAME}}, $1! We're glad you're here.",
|
||||
"notification-reverted2": "Your {{PLURAL:$4|edit on [[:$2]] has|edits on [[:$2]] have}} been {{GENDER:$1|reverted}} by [[User:$1|$1]]. $3",
|
||||
"notification-reverted-flyout2": "Your {{PLURAL:$4|edit on $2 has|edits on $2 have}} been {{GENDER:$1|reverted}} by $1. $3",
|
||||
"notification-edit-talk-page-email-subject2": "$1 {{GENDER:$1|left}} you a message on {{SITENAME}}",
|
||||
"notification-edit-talk-page-email-batch-body2": "$1 {{GENDER:$1|left}} a message on your talk page:",
|
||||
"notification-edit-talk-page-email-batch-body-with-section": "$1 {{GENDER:$1|left}} a message on your talk page in \"$2\".",
|
||||
"notification-page-linked-email-subject": "Your page was linked on {{SITENAME}}",
|
||||
"notification-page-linked-email-batch-body": "$2 was {{GENDER:$1|linked}} from $3.",
|
||||
"notification-reverted-email-subject2": "Your {{PLURAL:$3|edit was|edits were}} {{GENDER:$1|reverted}} on {{SITENAME}}",
|
||||
"notification-reverted-email-batch-body2": "Your {{PLURAL:$3|edit on $2 has been|edits on $2 have been}} {{GENDER:$1|reverted}} by $1.",
|
||||
"notification-mention-email-subject": "$1 {{GENDER:$1|mentioned}} you on {{SITENAME}}",
|
||||
"notification-mention-email-batch-body": "$1 {{GENDER:$1|mentioned}} you on the $4 talk page in \"$3\".",
|
||||
"notification-mention-nosection-email-batch-body": "$1 {{GENDER:$1|mentioned}} you on the $2 talk page.",
|
||||
"notification-user-rights-email-subject": "Your user rights have changed on {{SITENAME}}",
|
||||
"notification-user-rights-email-batch-body": "Your user rights were {{GENDER:$1|changed}} by $1. $2.",
|
||||
"echo-notification-count": "$1+",
|
||||
"echo-email-subject-default": "New notification at {{SITENAME}}",
|
||||
"echo-email-body-default": "You have a new notification at {{SITENAME}}:\n\n$1",
|
||||
"echo-email-batch-body-default": "You have a new notification.",
|
||||
"echo-email-footer-default": "$2\n\nTo control which emails we send you, check your preferences:\n{{canonicalurl:{{#special:Preferences}}#mw-prefsection-echo}}\n\n$1",
|
||||
"echo-email-footer-default-html": "To control which emails we send you, <a href=\"$2\" style=\"text-decoration:none; color: #3868B0;\">check your preferences</a>.<br />\n$1",
|
||||
"echo-notification-alert": "{{PLURAL:$1|Alert ($1)|Alerts ($1)|100=Alerts (99+)}}",
|
||||
"echo-notification-message": "{{PLURAL:$1|Message ($1)|Messages ($1)|100=Messages (99+)}}",
|
||||
"echo-notification-alert-text-only": "Alerts",
|
||||
"echo-notification-message-text-only": "Messages",
|
||||
"echo-overlay-link": "All notifications",
|
||||
"echo-overlay-title": "<b>Notifications</b>",
|
||||
"echo-overlay-title-overflow": "<b>{{PLURAL:$1|Notification|Notifications}}</b> (showing $1 of $2 unread)",
|
||||
"echo-mark-all-as-read": "Mark all as read",
|
||||
"echo-date-today": "Today",
|
||||
"echo-date-yesterday": "Yesterday",
|
||||
"echo-load-more-error": "An error occurred while fetching more results.",
|
||||
"notification-edit-talk-page-bundle": "$1 and $3 {{PLURAL:$4|other|others}} {{GENDER:$1|left}} a message on your [[User talk:$2|talk page]].",
|
||||
"notification-page-linked-bundle": "$2 was {{GENDER:$1|linked}} from $3 and $4 other {{PLURAL:$5|page|pages}}. [[Special:WhatLinksHere/$2|See all links to this page]]",
|
||||
"notification-edit-user-talk-email-batch-bundle-body": "$1 and $2 {{PLURAL:$3|other|others}} {{GENDER:$1|left}} a message on your talk page.",
|
||||
"notification-page-linked-email-batch-bundle-body": "$2 was {{GENDER:$1|linked}} from $3 and $4 other {{PLURAL:$5|page|pages}}.",
|
||||
"echo-email-batch-separator": "--",
|
||||
"echo-email-batch-bullet": "•",
|
||||
"echo-email-batch-subject-daily": "You have {{PLURAL:$2|a new notification|new notifications}} at {{SITENAME}}",
|
||||
"echo-email-batch-subject-weekly": "You have {{PLURAL:$2|a new notification|new notifications}} at {{SITENAME}} this week",
|
||||
"echo-email-batch-body-intro-daily": "Hi $1,\nHere's a summary of today's activity on {{SITENAME}} for you.",
|
||||
"echo-email-batch-body-intro-weekly": "Hi $1,\nHere's a summary of this week's activity on {{SITENAME}} for you.",
|
||||
"echo-email-batch-link-text-view-all-notifications": "View all notifications",
|
||||
"echo-rev-deleted-text-view": "This page revision has been suppressed."
|
||||
"@metadata": {
|
||||
"authors": [
|
||||
"Andrew Garrett"
|
||||
]
|
||||
},
|
||||
"echo-desc": "Notifications system",
|
||||
"prefs-echo": "Notifications",
|
||||
"prefs-emailsettings": "Email options",
|
||||
"prefs-displaynotifications": "Display options",
|
||||
"prefs-echosubscriptions": "Notify me about these events",
|
||||
"prefs-newmessageindicator": "New message indicator",
|
||||
"echo-pref-send-me": "Send me:",
|
||||
"echo-pref-send-to": "Send to:",
|
||||
"echo-pref-email-format": "Email format:",
|
||||
"echo-pref-web": "Web",
|
||||
"echo-pref-email": "Email",
|
||||
"echo-pref-email-frequency-never": "Do not send me any email notifications",
|
||||
"echo-pref-email-frequency-immediately": "Individual notifications as they come in",
|
||||
"echo-pref-email-frequency-daily": "A daily summary of notifications",
|
||||
"echo-pref-email-frequency-weekly": "A weekly summary of notifications",
|
||||
"echo-pref-email-format-html": "HTML",
|
||||
"echo-pref-email-format-plain-text": "Plain text",
|
||||
"echo-pref-notify-show-link": "Show notifications in my toolbar",
|
||||
"echo-pref-new-message-indicator": "Show talk page message indicator in my toolbar",
|
||||
"echo-learn-more": "Learn more",
|
||||
"echo-new-messages": "You have new messages",
|
||||
"echo-category-title-edit-user-talk": "Talk page {{PLURAL:$1|message|messages}}",
|
||||
"echo-category-title-article-linked": "Page {{PLURAL:$1|link|links}}",
|
||||
"echo-category-title-reverted": "Edit {{PLURAL:$1|revert|reverts}}",
|
||||
"echo-category-title-mention": "{{PLURAL:$1|Mention|Mentions}}",
|
||||
"echo-category-title-other": "{{PLURAL:$1|Other}}",
|
||||
"echo-category-title-system": "{{PLURAL:$1|System}}",
|
||||
"echo-category-title-user-rights": "{{PLURAL:$1|User rights change|User rights changes}}",
|
||||
"echo-pref-tooltip-edit-user-talk": "Notify me when someone posts a message or replies on my talk page.",
|
||||
"echo-pref-tooltip-article-linked": "Notify me when someone links to a page I created from an article page.",
|
||||
"echo-pref-tooltip-reverted": "Notify me when someone reverts an edit I made, by using the undo or rollback tool.",
|
||||
"echo-pref-tooltip-mention": "Notify me when someone links to my user page.",
|
||||
"echo-pref-tooltip-user-rights": "Notify me when someone changes my user rights.",
|
||||
"echo-no-agent": "[Nobody]",
|
||||
"echo-no-title": "[No page]",
|
||||
"echo-error-no-formatter": "No formatting defined for notification.",
|
||||
"echo-error-preference": "Error: Could not set user preference.",
|
||||
"echo-error-token": "Error: Could not retrieve user token.",
|
||||
"notifications": "Notifications",
|
||||
"tooltip-pt-notifications": "Your notifications",
|
||||
"echo-specialpage": "Notifications",
|
||||
"echo-anon": "To receive notifications, [$1 create an account] or [$2 log in].",
|
||||
"echo-none": "You have no notifications.",
|
||||
"echo-more-info": "More info",
|
||||
"echo-feedback": "Feedback",
|
||||
"echo-quotation-marks": "\"$1\"",
|
||||
"notification-link-text-view-message": "View message",
|
||||
"notification-link-text-view-mention": "View mention",
|
||||
"notification-link-text-view-changes": "View changes",
|
||||
"notification-link-text-view-page": "View page",
|
||||
"notification-link-text-view-edit": "View edit",
|
||||
"notification-edit-talk-page2": "[[User:$1|$1]] {{GENDER:$1|left}} a message on your [[User talk:$2#$3|talk page]].",
|
||||
"notification-edit-talk-page-with-section": "[[User:$1|$1]] {{GENDER:$1|left}} a message on your talk page in \"[[User talk:$2#$3|$4]]\".",
|
||||
"notification-edit-talk-page-flyout2": "$1 {{GENDER:$1|left}} a message on your [[User talk:$2#$3|talk page]].",
|
||||
"notification-edit-talk-page-flyout-with-section": "$1 {{GENDER:$1|left}} a message on your talk page in \"[[User talk:$2#$3|$4]]\".",
|
||||
"notification-page-linked": "[[:$2]] was {{GENDER:$1|linked}} from [[:$3]]. [[Special:WhatLinksHere/$2|See all links to this page]].",
|
||||
"notification-page-linked-flyout": "$2 was {{GENDER:$1|linked}} from [[:$3]].",
|
||||
"notification-add-comment2": "[[User:$1|$1]] {{GENDER:$1|commented}} on \"[[$3|$2]]\" on the \"$4\" talk page.",
|
||||
"notification-add-talkpage-topic2": "[[User:$1|$1]] {{GENDER:$1|posted}} a new topic \"$2\" on [[$3]].",
|
||||
"notification-add-talkpage-topic-yours2": "[[User:$1|$1]] {{GENDER:$1|sent}} you a message: \"[[$3#$2|$2]]\".",
|
||||
"notification-add-comment-yours2": "[[User:$1|$1]] {{GENDER:$1|commented}} on \"[[$3#$2|$2]]\" on your talk page.",
|
||||
"notification-mention": "[[User:$1|$1]] {{GENDER:$1|mentioned}} you on the $5 talk page in \"[[:$3#$2|$4]]\".",
|
||||
"notification-mention-flyout": "$1 {{GENDER:$1|mentioned}} you on the $5 talk page in \"[[:$3#$2|$4]]\".",
|
||||
"notification-mention-nosection": "[[User:$1|$1]] {{GENDER:$1|mentioned}} you on the [[:$3|$2 talk page]].",
|
||||
"notification-mention-nosection-flyout": "$1 {{GENDER:$1|mentioned}} you on the [[:$3|$2 talk page]].",
|
||||
"notification-user-rights": "Your user rights [[Special:Log/rights/$1|were {{GENDER:$1|changed}}]] by [[User:$1|$1]]. $2. [[Special:ListGroupRights|Learn more]]",
|
||||
"notification-user-rights-flyout": "Your user rights were {{GENDER:$1|changed}} by $1. $2. [[Special:ListGroupRights|Learn more]]",
|
||||
"notification-user-rights-add": "You are now a member of {{PLURAL:$2|this group|these groups}}: $1",
|
||||
"notification-user-rights-remove": "You are no longer a member of {{PLURAL:$2|this group|these groups}}: $1",
|
||||
"notification-new-user": "Welcome to {{SITENAME}}, $1! We're glad you're here.",
|
||||
"notification-reverted2": "Your {{PLURAL:$4|edit on [[:$2]] has|edits on [[:$2]] have}} been {{GENDER:$1|reverted}} by [[User:$1|$1]]. $3",
|
||||
"notification-reverted-flyout2": "Your {{PLURAL:$4|edit on $2 has|edits on $2 have}} been {{GENDER:$1|reverted}} by $1. $3",
|
||||
"notification-edit-talk-page-email-subject2": "$1 {{GENDER:$1|left}} you a message on {{SITENAME}}",
|
||||
"notification-edit-talk-page-email-batch-body2": "$1 {{GENDER:$1|left}} a message on your talk page:",
|
||||
"notification-edit-talk-page-email-batch-body-with-section": "$1 {{GENDER:$1|left}} a message on your talk page in \"$2\".",
|
||||
"notification-page-linked-email-subject": "Your page was linked on {{SITENAME}}",
|
||||
"notification-page-linked-email-batch-body": "$2 was {{GENDER:$1|linked}} from $3.",
|
||||
"notification-reverted-email-subject2": "Your {{PLURAL:$3|edit was|edits were}} {{GENDER:$1|reverted}} on {{SITENAME}}",
|
||||
"notification-reverted-email-batch-body2": "Your {{PLURAL:$3|edit on $2 has been|edits on $2 have been}} {{GENDER:$1|reverted}} by $1.",
|
||||
"notification-mention-email-subject": "$1 {{GENDER:$1|mentioned}} you on {{SITENAME}}",
|
||||
"notification-mention-email-batch-body": "$1 {{GENDER:$1|mentioned}} you on the $4 talk page in \"$3\".",
|
||||
"notification-mention-nosection-email-batch-body": "$1 {{GENDER:$1|mentioned}} you on the $2 talk page.",
|
||||
"notification-user-rights-email-subject": "Your user rights have changed on {{SITENAME}}",
|
||||
"notification-user-rights-email-batch-body": "Your user rights were {{GENDER:$1|changed}} by $1. $2.",
|
||||
"echo-notification-count": "$1+",
|
||||
"echo-email-subject-default": "New notification at {{SITENAME}}",
|
||||
"echo-email-body-default": "You have a new notification at {{SITENAME}}:\n\n$1",
|
||||
"echo-email-batch-body-default": "You have a new notification.",
|
||||
"echo-email-footer-default": "$2\n\nTo control which emails we send you, check your preferences:\n{{canonicalurl:{{#special:Preferences}}#mw-prefsection-echo}}\n\n$1",
|
||||
"echo-email-footer-default-html": "To control which emails we send you, <a href=\"$2\" style=\"text-decoration:none; color: #3868B0;\">check your preferences</a>.<br />\n$1",
|
||||
"echo-notification-alert": "{{PLURAL:$1|Alert ($1)|Alerts ($1)|100=Alerts (99+)}}",
|
||||
"echo-notification-message": "{{PLURAL:$1|Message ($1)|Messages ($1)|100=Messages (99+)}}",
|
||||
"echo-notification-alert-text-only": "Alerts",
|
||||
"echo-notification-message-text-only": "Messages",
|
||||
"echo-overlay-link": "All notifications",
|
||||
"echo-overlay-title": "<b>Notifications</b>",
|
||||
"echo-overlay-title-overflow": "<b>{{PLURAL:$1|Notification|Notifications}}</b> (showing $1 of $2 unread)",
|
||||
"echo-mark-all-as-read": "Mark all as read",
|
||||
"echo-date-today": "Today",
|
||||
"echo-date-yesterday": "Yesterday",
|
||||
"echo-load-more-error": "An error occurred while fetching more results.",
|
||||
"notification-edit-talk-page-bundle": "$1 and $3 {{PLURAL:$4|other|others}} {{GENDER:$1|left}} a message on your [[User talk:$2|talk page]].",
|
||||
"notification-page-linked-bundle": "$2 was {{GENDER:$1|linked}} from $3 and $4 other {{PLURAL:$5|page|pages}}. [[Special:WhatLinksHere/$2|See all links to this page]]",
|
||||
"notification-edit-user-talk-email-batch-bundle-body": "$1 and $2 {{PLURAL:$3|other|others}} {{GENDER:$1|left}} a message on your talk page.",
|
||||
"notification-page-linked-email-batch-bundle-body": "$2 was {{GENDER:$1|linked}} from $3 and $4 other {{PLURAL:$5|page|pages}}.",
|
||||
"echo-email-batch-separator": "--",
|
||||
"echo-email-batch-bullet": "•",
|
||||
"echo-email-batch-subject-daily": "You have {{PLURAL:$2|a new notification|new notifications}} at {{SITENAME}}",
|
||||
"echo-email-batch-subject-weekly": "You have {{PLURAL:$2|a new notification|new notifications}} at {{SITENAME}} this week",
|
||||
"echo-email-batch-body-intro-daily": "Hi $1,\nHere's a summary of today's activity on {{SITENAME}} for you.",
|
||||
"echo-email-batch-body-intro-weekly": "Hi $1,\nHere's a summary of this week's activity on {{SITENAME}} for you.",
|
||||
"echo-email-batch-link-text-view-all-notifications": "View all notifications",
|
||||
"echo-rev-deleted-text-view": "This page revision has been suppressed.",
|
||||
"apihelp-echomarkread-description": "Mark notifications as read for the current user.",
|
||||
"apihelp-echomarkread-param-list": "A list of notification IDs to mark as read.",
|
||||
"apihelp-echomarkread-param-all": "If set, marks all of a user's notifications as read.",
|
||||
"apihelp-echomarkread-param-sections": "A list of sections to mark as read.",
|
||||
"apihelp-echomarkread-param-uselang": "The desired language to format the output.",
|
||||
"apihelp-echomarkread-example-1": "Mark notification 8 as read",
|
||||
"apihelp-echomarkread-example-2": "Mark all notifications as read",
|
||||
"apihelp-query+notifications-description": "Get notifications waiting for the current user.",
|
||||
"apihelp-query+notifications-param-prop": "Details to request.",
|
||||
"apihelp-query+notifications-param-sections": "The notification sections to query.",
|
||||
"apihelp-query+notifications-param-groupbysection": "Whether to group the result by section. Each section is fetched separately if set.",
|
||||
"apihelp-query+notifications-param-format": "If specified, notifications will be returned formatted this way.",
|
||||
"apihelp-query+notifications-param-limit": "The maximum number of notifications to return.",
|
||||
"apihelp-query+notifications-param-index": "If specified, a list of notification IDs, in order, will be returned.",
|
||||
"apihelp-query+notifications-param-uselang": "The desired language to format the output.",
|
||||
"apihelp-query+notifications-param-alertcontinue": "When more alert results are available, use this to continue.",
|
||||
"apihelp-query+notifications-param-alertunreadfirst": "Whether to show unread message notifications first.",
|
||||
"apihelp-query+notifications-param-messagecontinue": "When more message results are available, use this to continue.",
|
||||
"apihelp-query+notifications-param-messageunreadfirst": "Whether to show unread alert notifications first.",
|
||||
"apihelp-query+notifications-example-1": "List notifications",
|
||||
"apihelp-query+notifications-example-2": "List notifications, grouped by section, with counts"
|
||||
}
|
||||
|
|
|
@ -135,5 +135,26 @@
|
|||
"echo-email-batch-body-intro-daily": "Introduction text for daily email digest. Parameters:\n* $1 - a username\nSee also:\n* {{msg-mw|Echo-email-batch-body-intro-weekly}}",
|
||||
"echo-email-batch-body-intro-weekly": "Introduction text for weekly email digest. Parameters:\n* $1 - a username\nSee also:\n* {{msg-mw|Echo-email-batch-body-intro-daily}}",
|
||||
"echo-email-batch-link-text-view-all-notifications": "The link text for the primary action in daily and weekly email digest",
|
||||
"echo-rev-deleted-text-view": "Short message displayed instead of edit content when revision text is suppressed."
|
||||
"echo-rev-deleted-text-view": "Short message displayed instead of edit content when revision text is suppressed.",
|
||||
"apihelp-echomarkread-description": "{{doc-apihelp-description|echomarkread}}",
|
||||
"apihelp-echomarkread-param-list": "{{doc-apihelp-param|echomarkread|list}}",
|
||||
"apihelp-echomarkread-param-all": "{{doc-apihelp-param|echomarkread|all}}",
|
||||
"apihelp-echomarkread-param-sections": "{{doc-apihelp-param|echomarkread|sections}}",
|
||||
"apihelp-echomarkread-param-uselang": "{{doc-apihelp-param|echomarkread|uselang}}",
|
||||
"apihelp-echomarkread-example-1": "{{doc-apihelp-example|echomarkread}}",
|
||||
"apihelp-echomarkread-example-2": "{{doc-apihelp-example|echomarkread}}",
|
||||
"apihelp-query+notifications-description": "{{doc-apihelp-description|query+notifications}}",
|
||||
"apihelp-query+notifications-param-prop": "{{doc-apihelp-param|query+notifications|prop}}",
|
||||
"apihelp-query+notifications-param-sections": "{{doc-apihelp-param|query+notifications|sections}}",
|
||||
"apihelp-query+notifications-param-groupbysection": "{{doc-apihelp-param|query+notifications|groupbysection}}",
|
||||
"apihelp-query+notifications-param-format": "{{doc-apihelp-param|query+notifications|format}}",
|
||||
"apihelp-query+notifications-param-limit": "{{doc-apihelp-param|query+notifications|limit}}",
|
||||
"apihelp-query+notifications-param-index": "{{doc-apihelp-param|query+notifications|index}}",
|
||||
"apihelp-query+notifications-param-uselang": "{{doc-apihelp-param|query+notifications|uselang}}",
|
||||
"apihelp-query+notifications-param-alertcontinue": "{{doc-apihelp-param|query+notifications|alertcontinue}}",
|
||||
"apihelp-query+notifications-param-alertunreadfirst": "{{doc-apihelp-param|query+notifications|alertunreadfirst}}",
|
||||
"apihelp-query+notifications-param-messagecontinue": "{{doc-apihelp-param|query+notifications|messagecontinue}}",
|
||||
"apihelp-query+notifications-param-messageunreadfirst": "{{doc-apihelp-param|query+notifications|messageunreadfirst}}",
|
||||
"apihelp-query+notifications-example-1": "{{doc-apihelp-example|query+notifications}}",
|
||||
"apihelp-query+notifications-example-2": "{{doc-apihelp-example|query+notifications}}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue