| Index: chrome/browser/resources/settings/search_engines_page/search_engine_dialog.js
|
| diff --git a/chrome/browser/resources/settings/search_engines_page/search_engine_dialog.js b/chrome/browser/resources/settings/search_engines_page/search_engine_dialog.js
|
| index 71797005c8bd5353de2f5327d75fd5ce8f31db9f..e6d77494fdf658c20e908bb5044765ca321ab514 100644
|
| --- a/chrome/browser/resources/settings/search_engines_page/search_engine_dialog.js
|
| +++ b/chrome/browser/resources/settings/search_engines_page/search_engine_dialog.js
|
| @@ -50,18 +50,18 @@ Polymer({
|
| /** @override */
|
| ready: function() {
|
| if (this.model) {
|
| - // TODO(dpapad): Localize strings.
|
| - this.dialogTitle_ = 'Edit search engine';
|
| - this.actionButtonText_ = 'Edit';
|
| + this.dialogTitle_ =
|
| + loadTimeData.getString('searchEnginesEditSearchEngine');
|
| + this.actionButtonText_ = loadTimeData.getString('save');
|
|
|
| // If editing an existing search engine, pre-populate the input fields.
|
| this.searchEngine_ = this.model.displayName;
|
| this.keyword_ = this.model.keyword;
|
| this.queryUrl_ = this.model.url;
|
| } else {
|
| - // TODO(dpapad): Localize string.
|
| - this.dialogTitle_ = 'Add search engine';
|
| - this.actionButtonText_ = loadTimeData.getString('searchEnginesAdd');
|
| + this.dialogTitle_ =
|
| + loadTimeData.getString('searchEnginesAddSearchEngine');
|
| + this.actionButtonText_ = loadTimeData.getString('add');
|
| }
|
| },
|
|
|
|
|