Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1648)

Unified Diff: chrome/browser/resources/history/history.js

Issue 2002783002: Use plural formats and native digits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: plural: use "=1" instead of "one" for pop-up block infobar Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/history/history.js
diff --git a/chrome/browser/resources/history/history.js b/chrome/browser/resources/history/history.js
index 64458dbeeffcd49eb197ab8f3a36be5c72c75ff1..4741d8bf5678568ec876501b9d52d1c01ee653d0 100644
--- a/chrome/browser/resources/history/history.js
+++ b/chrome/browser/resources/history/history.js
@@ -1391,8 +1391,9 @@ HistoryView.prototype.getGroupedVisitsDOM_ = function(
var numberOfVisits = createElementWithClassName('span', 'number-visits');
var domainElement = document.createElement('span');
- numberOfVisits.textContent = loadTimeData.getStringF('numberVisits',
- domainVisits.length);
+ numberOfVisits.textContent =
+ loadTimeData.getStringF('numberVisits',
+ domainVisits.length.toLocaleString());
siteDomain.appendChild(numberOfVisits);
domainVisits[0].loadFavicon_(siteFavicon);
« no previous file with comments | « chrome/browser/profiles/profile_attributes_storage.cc ('k') | chrome/browser/resources/history/other_devices.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698