"put a comment nearby with the resulting keys"

Per https://www.mediawiki.org/wiki/I18n#Using_messages
Comment-only change.

Change-Id: I468a79bee19fc5486b564b1a0ec7eb66c9dfa852
This commit is contained in:
S Page 2014-08-14 19:01:45 -07:00
parent 178ec1b816
commit af2abe84a5

View file

@ -297,6 +297,9 @@
$.each( this.tabs, function( i, echoTab ) { $.each( this.tabs, function( i, echoTab ) {
var var
tabName = echoTab.name, 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 // @todo: Unread value is inaccurate. If a user has more than mw.echo.overlay.notificationLimit
// API change needed // API change needed
label = mw.msg( 'echo-notification-' + tabName, echoTab.getNumberUnread() ); label = mw.msg( 'echo-notification-' + tabName, echoTab.getNumberUnread() );