Chromium Code Reviews| Index: chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc |
| diff --git a/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc b/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc |
| index c0fcd26b615862a06da0f2a38e9f9543da0ef844..d7921442037e0ba0f17feb617154ef8a8817e312 100644 |
| --- a/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc |
| +++ b/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc |
| @@ -72,6 +72,17 @@ void AddA11yStrings(content::WebUIDataSource* html_source) { |
| IDS_SETTINGS_ACCESSIBILITY_ON_SCREEN_KEYBOARD_LABEL); |
| } |
| +void AddAppearanceStrings(content::WebUIDataSource* html_source) { |
| + html_source->AddLocalizedString( |
| + "appearancePageTitle", IDS_MD_SETTINGS_APPEARANCE_PAGE_TITLE); |
| + html_source->AddLocalizedString( |
| + "appearanceShowHomeButtonLabel", |
|
Kyle Horimoto
2015/06/02 01:17:30
nit: Too far indented, and the one below is even m
James Hawkins
2015/06/02 16:42:25
Done.
|
| + IDS_MD_SETTINGS_APPEARANCE_SHOW_HOME_BUTTON_LABEL); |
| + html_source->AddLocalizedString( |
| + "appearanceShowBookmarksBarLabel", |
| + IDS_MD_SETTINGS_APPEARANCE_SHOW_BOOKMARKS_BAR_LABEL); |
| +} |
| + |
| void AddDownloadsStrings(content::WebUIDataSource* html_source) { |
| html_source->AddLocalizedString( |
| "downloadsPageTitle", IDS_MD_SETTINGS_DOWNLOADS_PAGE_TITLE); |
| @@ -153,6 +164,7 @@ namespace settings { |
| void AddLocalizedStrings(content::WebUIDataSource* html_source) { |
| AddA11yStrings(html_source); |
| + AddAppearanceStrings(html_source); |
| AddDownloadsStrings(html_source); |
| AddDateTimeStrings(html_source); |
| #if defined(OS_CHROMEOS) |