mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 16:04:35 +00:00
Merge "Native digits on 'mw-echo-overlay-title-text'"
This commit is contained in:
commit
dd6caea6b4
1
Echo.php
1
Echo.php
|
@ -174,6 +174,7 @@ $wgResourceModules += array(
|
|||
'dependencies' => array(
|
||||
'ext.echo.desktop',
|
||||
'mediawiki.util',
|
||||
'mediawiki.language',
|
||||
),
|
||||
'messages' => array(
|
||||
'echo-overlay-title',
|
||||
|
|
|
@ -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' );
|
||||
|
|
Loading…
Reference in a new issue