| Index: chrome/browser/resources/print_preview/search/destination_search.js
|
| diff --git a/chrome/browser/resources/print_preview/search/destination_search.js b/chrome/browser/resources/print_preview/search/destination_search.js
|
| index 1d54473586aed1e2c199f320bbc6520465d5a59e..dc710f20557b06d0092dd0ee118a552b7748c4e3 100644
|
| --- a/chrome/browser/resources/print_preview/search/destination_search.js
|
| +++ b/chrome/browser/resources/print_preview/search/destination_search.js
|
| @@ -55,7 +55,7 @@ cr.define('print_preview', function() {
|
| * @private
|
| */
|
| this.searchBox_ = new print_preview.SearchBox(
|
| - localStrings.getString('searchBoxPlaceholder'));
|
| + loadTimeData.getString('searchBoxPlaceholder'));
|
| this.addChild(this.searchBox_);
|
|
|
| /**
|
| @@ -73,8 +73,8 @@ cr.define('print_preview', function() {
|
| */
|
| this.localList_ = new print_preview.DestinationList(
|
| this,
|
| - localStrings.getString('localDestinationsTitle'),
|
| - cr.isChromeOS ? null : localStrings.getString('manage'));
|
| + loadTimeData.getString('localDestinationsTitle'),
|
| + cr.isChromeOS ? null : loadTimeData.getString('manage'));
|
| this.addChild(this.localList_);
|
|
|
| /**
|
| @@ -241,12 +241,12 @@ cr.define('print_preview', function() {
|
| this.recentList_.render(this.getChildElement('.recent-list'));
|
| this.localList_.render(this.getChildElement('.local-list'));
|
| this.cloudList_.render(this.getChildElement('.cloud-list'));
|
| - this.getChildElement('.promo-text').innerHTML = localStrings.getStringF(
|
| + this.getChildElement('.promo-text').innerHTML = loadTimeData.getStringF(
|
| 'cloudPrintPromotion',
|
| '<span class="sign-in link-button">',
|
| '</span>');
|
| this.getChildElement('.account-select-label').textContent =
|
| - localStrings.getString('accountSelectTitle');
|
| + loadTimeData.getString('accountSelectTitle');
|
| },
|
|
|
| /**
|
| @@ -429,7 +429,7 @@ cr.define('print_preview', function() {
|
| accountSelectEl.add(option);
|
| });
|
| var option = document.createElement('option');
|
| - option.text = localStrings.getString('addAccountTitle');
|
| + option.text = loadTimeData.getString('addAccountTitle');
|
| option.value = '';
|
| accountSelectEl.add(option);
|
|
|
|
|