mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 07:54:13 +00:00
Merge "NotificationBadgeWidget: Don't double-convert numbers"
This commit is contained in:
commit
1c3cb04618
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue