| Index: chrome/browser/resources/ntp4/most_visited_page.js
|
| diff --git a/chrome/browser/resources/ntp4/most_visited_page.js b/chrome/browser/resources/ntp4/most_visited_page.js
|
| index 008e490c346772032778bc55f26553255b7f6783..328354929840445835bc46e3abc5c64f3e9af2d6 100644
|
| --- a/chrome/browser/resources/ntp4/most_visited_page.js
|
| +++ b/chrome/browser/resources/ntp4/most_visited_page.js
|
| @@ -63,7 +63,7 @@ cr.define('ntp', function() {
|
| '<span class="title"></span>';
|
|
|
| this.querySelector('.close-button').title =
|
| - templateData.removethumbnailtooltip;
|
| + loadTimeData.getString('removethumbnailtooltip');
|
|
|
| this.tabIndex = -1;
|
| this.data_ = null;
|
| @@ -175,18 +175,19 @@ cr.define('ntp', function() {
|
|
|
| var undo = {
|
| action: doUndo,
|
| - text: templateData.undothumbnailremove,
|
| + text: loadTimeData.getString('undothumbnailremove'),
|
| };
|
|
|
| var undoAll = {
|
| action: function() {
|
| chrome.send('clearMostVisitedURLsBlacklist');
|
| },
|
| - text: templateData.restoreThumbnailsShort,
|
| + text: loadTimeData.getString('restoreThumbnailsShort'),
|
| };
|
|
|
| - ntp.showNotification(templateData.thumbnailremovednotification,
|
| - [undo, undoAll]);
|
| + ntp.showNotification(
|
| + loadTimeData.getString('thumbnailremovednotification'),
|
| + [undo, undoAll]);
|
| },
|
|
|
| /**
|
|
|