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

Unified Diff: chrome/browser/resources/print_preview/settings/more_settings.js

Issue 590643002: Move Print Preview onto newer i18nTemplate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update new invitations code Created 6 years, 3 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/print_preview/settings/more_settings.js
diff --git a/chrome/browser/resources/print_preview/settings/more_settings.js b/chrome/browser/resources/print_preview/settings/more_settings.js
index 000e01a4e807823b11b6262f7c154ee4969ba013..55e23c041c96dd972b724f309ba0aa739c2f2814 100644
--- a/chrome/browser/resources/print_preview/settings/more_settings.js
+++ b/chrome/browser/resources/print_preview/settings/more_settings.js
@@ -115,7 +115,7 @@ cr.define('print_preview', function() {
var all = this.settingsToShow_ == MoreSettings.SettingsToShow.ALL;
this.getChildElement('.more-settings-label').textContent =
- localStrings.getString(all ? 'lessOptionsLabel' : 'moreOptionsLabel');
+ loadTimeData.getString(all ? 'lessOptionsLabel' : 'moreOptionsLabel');
var iconEl = this.getChildElement('.more-settings-icon');
iconEl.classList.toggle('more-settings-icon-plus', !all);
iconEl.classList.toggle('more-settings-icon-minus', all);

Powered by Google App Engine
This is Rietveld 408576698