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

Unified Diff: chrome/browser/resources/history/other_devices.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/other_devices.js
diff --git a/chrome/browser/resources/history/other_devices.js b/chrome/browser/resources/history/other_devices.js
index 6dca06be86f4d3f6ac8a8e45da522f9a82b45ed7..2f5b77d30f2aeaef8afb6483f513071bf5ecbd8f 100644
--- a/chrome/browser/resources/history/other_devices.js
+++ b/chrome/browser/resources/history/other_devices.js
@@ -297,7 +297,9 @@ Device.prototype.createSessionContents_ = function(maxNumTabs) {
moreLink.classList.add('device-show-more-tabs');
moreLink.addEventListener('click', this.view_.increaseRowHeight.bind(
this.view_, this.row_, numTabsHidden));
- moreLink.textContent = loadTimeData.getStringF('xMore', numTabsHidden);
+ // TODO(jshin): Use plural message formatter when available in JS.
+ moreLink.textContent = loadTimeData.getStringF('xMore',
+ numTabsHidden.toLocaleString());
var moreWrapper = createElementWithClassName('div', 'more-wrapper');
moreWrapper.appendChild(moreLink);
contents.appendChild(moreWrapper);
« no previous file with comments | « chrome/browser/resources/history/history.js ('k') | chrome/browser/resources/print_preview/settings/dpi_settings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698