| 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 42d344ec57f968231fb98c6d6787d91f3d98e0cd..10e4e29fe21f9751c80ca9edf0f5f4f0f8675ce9 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
|
| @@ -55,18 +55,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');
|
| }
|
| },
|
|
|
|
|