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

Unified Diff: chrome/browser/resources/print_preview/search/cloud_destination_list.js

Issue 590643002: Move Print Preview onto newer i18nTemplate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix open-preview-app-throbber 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/search/cloud_destination_list.js
diff --git a/chrome/browser/resources/print_preview/search/cloud_destination_list.js b/chrome/browser/resources/print_preview/search/cloud_destination_list.js
index 10931a9d69d7241d419680c6ba9dcfd4be46077d..e8c671009c9493c16e5dea9af173f5b7f4be79dc 100644
--- a/chrome/browser/resources/print_preview/search/cloud_destination_list.js
+++ b/chrome/browser/resources/print_preview/search/cloud_destination_list.js
@@ -16,8 +16,8 @@ cr.define('print_preview', function() {
print_preview.DestinationList.call(
this,
eventTarget,
- localStrings.getString('cloudDestinationsTitle'),
- localStrings.getString('manage'));
+ loadTimeData.getString('cloudDestinationsTitle'),
+ loadTimeData.getString('manage'));
};
CloudDestinationList.prototype = {
@@ -34,9 +34,9 @@ cr.define('print_preview', function() {
((destinations[0].id == docsId && destinations[1].id == fedexId) ||
(destinations[0].id == fedexId && destinations[1].id == docsId)))) {
this.setActionLinkTextInternal(
- localStrings.getString('setupCloudPrinters'));
+ loadTimeData.getString('setupCloudPrinters'));
} else {
- this.setActionLinkTextInternal(localStrings.getString('manage'));
+ this.setActionLinkTextInternal(loadTimeData.getString('manage'));
}
print_preview.DestinationList.prototype.updateDestinations.call(
this, destinations);

Powered by Google App Engine
This is Rietveld 408576698