diff --git a/i18n/en.json b/i18n/en.json index d74a4ae5c..ef1f5f910 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -105,7 +105,7 @@ "echo-popup-footer-beta-invitation": "Get notifications from other wikis here. [$2 $1]", "echo-popup-footer-beta-invitation-link": "Try the \"{{int:echo-pref-beta-feature-cross-wiki-message}}\" beta feature.", "echo-quotation-marks": "\"$1\"", - "echo-api-failure": "Failed to fetch notifications. (Error: $1)", + "echo-api-failure": "Failed to fetch notifications.", "echo-api-failure-cross-wiki": "Access to the remote domain was denied.", "echo-notification-placeholder": "There are no notifications.", "echo-notification-loginrequired": "You must login to see your notifications.", diff --git a/i18n/qqq.json b/i18n/qqq.json index 51c540e3e..41e1b6e03 100644 --- a/i18n/qqq.json +++ b/i18n/qqq.json @@ -96,7 +96,7 @@ "echo-popup-footer-beta-invitation": "Text inviting the user to enable the cross-wiki notifications beta feature, displayed at the bottom of the notifications popup.\n\nParameters:\n* $1 - Text of the link ({{msg-mw|echo-popup-footer-beta-invitation-link}}).\n* $2 - URL of the link (beta features section of Special:Preferences).", "echo-popup-footer-beta-invitation-link": "Text for the link in {{msg-mw|echo-popup-footer-beta-invitation}}.", "echo-quotation-marks": "Unused at this time.\n\n{{optional}}\nPuts the edit summary in quotation marks. Only translate if different than English.\n\nParameters:\n* $1 - ...", - "echo-api-failure": "Label for the text that notes an error in retrieving notifications for the Echo popup.\n$1 - The api error code.", + "echo-api-failure": "Label for the text that notes an error in retrieving notifications for the Echo popup.", "echo-api-failure-cross-wiki": "Label for the api failure text for a failure to fetch cross-wiki notifications, but the remote server is not granted access.", "echo-notification-placeholder": "Label for the text that appears if there are no notifications in the Echo popup.", "echo-notification-loginrequired": "Message that displays when an anonymous user attempts to view notifications and gets redirect to the login page.", diff --git a/modules/ui/mw.echo.ui.CrossWikiNotificationItemWidget.js b/modules/ui/mw.echo.ui.CrossWikiNotificationItemWidget.js index 6513b890f..df6eb2125 100644 --- a/modules/ui/mw.echo.ui.CrossWikiNotificationItemWidget.js +++ b/modules/ui/mw.echo.ui.CrossWikiNotificationItemWidget.js @@ -277,7 +277,7 @@ ); } else { // General error - widget.showErrorMessage( mw.msg( 'echo-api-failure', result.errInfo ) ); + widget.showErrorMessage( mw.msg( 'echo-api-failure' ) ); } } )