Merge "NotificationBadgeWidget: Don't double-convert numbers"

This commit is contained in:
jenkins-bot 2019-06-25 21:24:14 +00:00 committed by Gerrit Code Review
commit 1c3cb04618

View file

@ -240,7 +240,6 @@
unreadCount = this.manager.getUnreadCounter().getCount();
cappedUnreadCount = this.manager.getUnreadCounter().getCappedNotificationCount( unreadCount );
cappedUnreadCount = mw.language.convertNumber( cappedUnreadCount );
badgeLabel = mw.message( 'echo-badge-count', mw.language.convertNumber( cappedUnreadCount ) ).text();
this.badgeButton.setLabel( badgeLabel );