Ebrahim has uploaded a new change for review. https://gerrit.wikimedia.org/r/88045
Change subject: Native digits on 'mw-echo-overlay-title-text' ...................................................................... Native digits on 'mw-echo-overlay-title-text' Change-Id: Icdd52ea0267ffbaa0e103070655735eff8423ca1 --- M Echo.php M modules/overlay/ext.echo.overlay.js 2 files changed, 2 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo refs/changes/45/88045/1 diff --git a/Echo.php b/Echo.php index d4777f5..223c9f7 100644 --- a/Echo.php +++ b/Echo.php @@ -174,6 +174,7 @@ 'dependencies' => array( 'ext.echo.desktop', 'mediawiki.util', + 'mediawiki.language', ), 'messages' => array( 'echo-overlay-title', diff --git a/modules/overlay/ext.echo.overlay.js b/modules/overlay/ext.echo.overlay.js index 55ddda8..db781ea 100644 --- a/modules/overlay/ext.echo.overlay.js +++ b/modules/overlay/ext.echo.overlay.js @@ -123,7 +123,7 @@ 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 ), unreadTotalCount ); overflow = true; } else { titleText = mw.msg( 'echo-overlay-title' ); -- To view, visit https://gerrit.wikimedia.org/r/88045 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Icdd52ea0267ffbaa0e103070655735eff8423ca1 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Echo Gerrit-Branch: master Gerrit-Owner: Ebrahim <ebra...@byagowi.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits