| 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 ecc1cf6b967c961de87a24090964ac12abe57919..405e491956d5e09c1a7bd7d8d3e307b7221dbdbb 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
|
| @@ -532,6 +532,38 @@ void AddUsersStrings(content::WebUIDataSource* html_source) {
|
| IDS_SETTINGS_USERS_ADD_USERS_LABEL);
|
| }
|
|
|
| +void AddWebContentStrings(content::WebUIDataSource* html_source) {
|
| + html_source->AddLocalizedString("webContent", IDS_SETTINGS_WEB_CONTENT);
|
| + html_source->AddLocalizedString("pageZoom", IDS_SETTINGS_PAGE_ZOOM_LABEL);
|
| + html_source->AddLocalizedString("fontSize", IDS_SETTINGS_FONT_SIZE_LABEL);
|
| + html_source->AddLocalizedString("verySmall", IDS_SETTINGS_VERY_SMALL_FONT);
|
| + html_source->AddLocalizedString("small", IDS_SETTINGS_SMALL_FONT);
|
| + html_source->AddLocalizedString("medium", IDS_SETTINGS_MEDIUM_FONT);
|
| + html_source->AddLocalizedString("large", IDS_SETTINGS_LARGE_FONT);
|
| + html_source->AddLocalizedString("veryLarge", IDS_SETTINGS_VERY_LARGE_FONT);
|
| + html_source->AddLocalizedString("custom", IDS_SETTINGS_CUSTOM);
|
| + html_source->AddLocalizedString("customizeFonts",
|
| + IDS_SETTINGS_CUSTOMIZE_FONTS);
|
| + html_source->AddLocalizedString("fontsAndEncoding",
|
| + IDS_SETTINGS_FONTS_AND_ENCODING);
|
| + html_source->AddLocalizedString("standardFont",
|
| + IDS_SETTINGS_STANDARD_FONT_LABEL);
|
| + html_source->AddLocalizedString("serifFont", IDS_SETTINGS_SERIF_FONT_LABEL);
|
| + html_source->AddLocalizedString("sansSerifFont",
|
| + IDS_SETTINGS_SANS_SERIF_FONT_LABEL);
|
| + html_source->AddLocalizedString("fixedWidthFont",
|
| + IDS_SETTINGS_FIXED_WIDTH_FONT_LABEL);
|
| + html_source->AddLocalizedString("minimumFont",
|
| + IDS_SETTINGS_MINIMUM_FONT_SIZE_LABEL);
|
| + html_source->AddLocalizedString("encoding", IDS_SETTINGS_ENCODING_LABEL);
|
| + html_source->AddLocalizedString("tiny", IDS_SETTINGS_TINY_FONT_SIZE);
|
| + html_source->AddLocalizedString("huge", IDS_SETTINGS_HUGE_FONT_SIZE);
|
| + html_source->AddLocalizedString("loremIpsum", IDS_SETTINGS_LOREM_IPSUM);
|
| + html_source->AddLocalizedString("loading", IDS_SETTINGS_LOADING);
|
| + html_source->AddLocalizedString("advancedFontSettings",
|
| + IDS_SETTINGS_ADVANCED_FONT_SETTINGS);
|
| +}
|
| +
|
| } // namespace
|
|
|
| namespace settings {
|
| @@ -566,6 +598,7 @@ void AddLocalizedStrings(content::WebUIDataSource* html_source,
|
| AddSiteSettingsStrings(html_source);
|
| AddSyncStrings(html_source);
|
| AddUsersStrings(html_source);
|
| + AddWebContentStrings(html_source);
|
|
|
| policy_indicator::AddLocalizedStrings(html_source);
|
|
|
|
|