From af2abe84a5c760fdf65f2684f38ef4d806233a6c Mon Sep 17 00:00:00 2001 From: S Page Date: Thu, 14 Aug 2014 19:01:45 -0700 Subject: [PATCH] "put a comment nearby with the resulting keys" Per https://www.mediawiki.org/wiki/I18n#Using_messages Comment-only change. Change-Id: I468a79bee19fc5486b564b1a0ec7eb66c9dfa852 --- modules/overlay/ext.echo.overlay.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/overlay/ext.echo.overlay.js b/modules/overlay/ext.echo.overlay.js index e27d3c9df..d880e1c97 100644 --- a/modules/overlay/ext.echo.overlay.js +++ b/modules/overlay/ext.echo.overlay.js @@ -297,6 +297,9 @@ $.each( this.tabs, function( i, echoTab ) { var tabName = echoTab.name, + // Messages that can be used here: + // * echo-notification-alert + // * echo-notification-message // @todo: Unread value is inaccurate. If a user has more than mw.echo.overlay.notificationLimit // API change needed label = mw.msg( 'echo-notification-' + tabName, echoTab.getNumberUnread() );