Merge "Native digits on 'mw-echo-overlay-title-text'"

This commit is contained in:
jenkins-bot 2013-10-13 20:06:09 +00:00 committed by Gerrit Code Review
commit dd6caea6b4
2 changed files with 6 additions and 1 deletions

View file

@ -174,6 +174,7 @@ $wgResourceModules += array(
'dependencies' => array(
'ext.echo.desktop',
'mediawiki.util',
'mediawiki.language',
),
'messages' => array(
'echo-overlay-title',

View file

@ -123,7 +123,11 @@
if ( notifications.index.length > 0 ) {
if ( unreadRawTotalCount > unread.length ) {
titleText = mw.msg( 'echo-overlay-title-overflow', unread.length, unreadTotalCount );
titleText = mw.msg(
'echo-overlay-title-overflow',
mw.language.convertNumber( unread.length ),
mw.language.convertNumber( unreadTotalCount )
);
overflow = true;
} else {
titleText = mw.msg( 'echo-overlay-title' );