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

Unified Diff: components/crash/core/browser/resources/crashes.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: components/crash/core/browser/resources/crashes.js
diff --git a/components/crash/core/browser/resources/crashes.js b/components/crash/core/browser/resources/crashes.js
index 5f31a114f80baf9b978aa8ea31b33d03ea51d41e..9bd33c9f30b344e20e24575ca7f2ebb1d59e1031 100644
--- a/components/crash/core/browser/resources/crashes.js
+++ b/components/crash/core/browser/resources/crashes.js
@@ -21,8 +21,9 @@ function requestCrashes() {
* @param {string} os The OS name and version.
*/
function updateCrashList(enabled, dynamicBackend, crashes, version, os) {
- $('countBanner').textContent = loadTimeData.getStringF('crashCountFormat',
- crashes.length);
+ $('countBanner').textContent =
+ loadTimeData.getStringF('crashCountFormat',
+ crashes.length.toLocaleString());
var crashSection = $('crashList');
« no previous file with comments | « chrome/browser/ui/bookmarks/bookmark_utils_desktop.cc ('k') | ios/chrome/app/resources/history/other_devices.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698