Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Update newtab stats to have locale-aware formatting #5888

Merged
merged 1 commit into from
Nov 29, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions js/about/newTabComponents/stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ class Stats extends ImmutableComponent {
})
return <ul className='statsContainer'>
<li className='statsBlock'>
<span className='counter trackers'>{trackedBlockersCount}</span>
<span className='counter trackers'>{trackedBlockersCount.toLocaleString()}</span>
<span className='statsText' data-l10n-id='trackersBlocked' data-l10n-args={blockedArgs} />
</li>
<li className='statsBlock'>
<span className='counter ads'>{adblockCount}</span>
<span className='counter ads'>{adblockCount.toLocaleString()}</span>
<span className='statsText' data-l10n-id='adsBlocked' data-l10n-args={blockedArgs} />
</li>
<li className='statsBlock'>
<span className='counter https'>{httpsUpgradedCount}</span>
<span className='counter https'>{httpsUpgradedCount.toLocaleString()}</span>
<span className='statsText' data-l10n-id='httpsUpgraded' data-l10n-args={blockedArgs} />
</li>
<li className='statsBlock'>
Expand Down