mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-12 01:10:07 +00:00
4b7520af90
If an error has occurred while fetching from the API, the placeholder item should display the API error information. If the error is specifically a login issue, a specific error message is displayed. Also, adjusted the mw.echo.ui.PlaceholderItemWidget to accept a clickable link; when valid (currently only with login error) the link is applied so the user can click the notification and be taken to the login page. For general notices (like API error or a general 'no notifications found' message) the link does nothing. Bug: T121923 Change-Id: I89a43c7c0eb2cf8e63d03704536e0938ab57dd4d
161 lines
13 KiB
JSON
161 lines
13 KiB
JSON
{
|
|
"@metadata": {
|
|
"authors": [
|
|
"Andrew Garrett"
|
|
]
|
|
},
|
|
"echo-desc": "System for notifying users about events and messages",
|
|
"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-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-category-title-emailuser": "{{PLURAL:$1|Email from other user|Emails from other users}}",
|
|
"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-pref-tooltip-emailuser": "Notify me when someone sends me an email.",
|
|
"echo-no-agent": "[Nobody]",
|
|
"echo-no-title": "[No page]",
|
|
"echo-error-no-formatter": "No formatting defined for notification.",
|
|
"notifications": "Notifications",
|
|
"tooltip-pt-notifications-alert": "{{GENDER:|Your}} alerts",
|
|
"tooltip-pt-notifications-message": "{{GENDER:|Your}} messages",
|
|
"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\"",
|
|
"echo-api-failure": "Could not retrieve notifications. Please try again. (Error $1)",
|
|
"echo-notification-placeholder": "There are no notifications.",
|
|
"echo-notification-loginrequired": "You must login to see your notifications.",
|
|
"echo-notification-popup-loginrequired": "Please log in to view your notifications.",
|
|
"notification-link-text-expand-all": "Expand all",
|
|
"notification-link-text-expand-alert-count": "Expand {{PLURAL:$1|$1 alert|$1 alerts}}",
|
|
"notification-link-text-expand-message-count": "Expand {{PLURAL:$1|$1 message|$1 messages}}",
|
|
"notification-link-text-expand-all-count": "Expand {{PLURAL:$1|$1 notification|$1 notifications}}",
|
|
"notification-link-text-collapse-all": "Collapse all",
|
|
"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-header-edit-user-talk": "$1 {{GENDER:$2|left}} a message on {{GENDER:$3|your}} talk page.",
|
|
"notification-header-edit-user-talk-with-section": "$1 {{GENDER:$2|left}} a message on {{GENDER:$3|your}} talk page in \"$4\".",
|
|
"notification-body-edit-user-talk-with-section": "$1",
|
|
"notification-page-linked": "[[:$2]] was {{GENDER:$1|linked}} from [[:$3]]. [[Special:WhatLinksHere/$2|See all links to this page]].",
|
|
"notification-header-page-linked": "$3 was {{GENDER:$2|linked}} from $4.",
|
|
"notification-bundle-header-page-linked": "$3 was {{GENDER:$2|linked}} from $4 and $5 other {{PLURAL:$6|page|pages}}.",
|
|
"notification-link-text-what-links-here": "See all links to this page",
|
|
"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}} {{GENDER:$6|you}} on the $5 talk page in \"[[:$3#$2|$4]]\".",
|
|
"notification-header-mention": "$1 {{GENDER:$2|mentioned}} {{GENDER:$5|you}} on the $3 talk page in \"$4\".",
|
|
"notification-mention-nosection": "[[User:$1|$1]] {{GENDER:$1|mentioned}} {{GENDER:$4|you}} on the [[:$3|$2 talk page]].",
|
|
"notification-header-mention-nosection": "$1 {{GENDER:$2|mentioned}} {{GENDER:$5|you}} on the $3 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-header-user-rights": "Your user rights were {{GENDER:$2|changed}} by $1. $3.",
|
|
"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-header-welcome": "{{GENDER:$2|Welcome}} to {{SITENAME}}, $1! We're glad {{GENDER:$2|you're}} here.",
|
|
"notification-welcome-link": "",
|
|
"notification-welcome-linktext": "Welcome",
|
|
"notification-reverted2": "Your {{PLURAL:$4|edit on [[:$2]] has|edits on [[:$2]] have}} been {{GENDER:$1|reverted}} by [[$5|$1]]. $3",
|
|
"notification-header-reverted": "Your {{PLURAL:$4|edit on $3 has|edits on $3 have}} been {{GENDER:$2|reverted}} by $1.",
|
|
"notification-emailuser": "[[User:$1|$1]] {{GENDER:$1|sent}} you an email.",
|
|
"notification-header-emailuser": "$1 {{GENDER:$2|sent}} you an email.",
|
|
"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": "A page you created 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}} {{GENDER:$2|you}} on {{SITENAME}}",
|
|
"notification-mention-email-batch-body": "$1 {{GENDER:$1|mentioned}} {{GENDER:$5|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-bundle-header-edit-user-talk": "$1 and $4 {{PLURAL:$5|other|others}} {{GENDER:$2|left}} a message on {{GENDER:$3|your}} talk 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-example-1": "Mark notification 8 as read",
|
|
"apihelp-echomarkread-example-2": "Mark all notifications as read",
|
|
"apihelp-echomarkseen-description": "Mark notifications as seen for the current user.",
|
|
"apihelp-echomarkseen-example-1": "Mark notifications of all types as seen",
|
|
"apihelp-echomarkseen-param-type": "Type of notifications to mark as seen: 'alert', 'message' or 'all'.",
|
|
"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 (i.e. some combination of 'alert' and 'message').",
|
|
"apihelp-query+notifications-param-groupbysection": "Whether to group the result by section. Each section is fetched separately if set.",
|
|
"apihelp-query+notifications-param-filter": "Filter notifications returned.",
|
|
"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-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"
|
|
}
|