| 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 7c56767f9adbc66f011e0622a31c6b99b08ea7df..1334a3ca5568fa53fb27499675a75484c5769fbf 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
|
| @@ -525,6 +525,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 {
|
| @@ -556,6 +588,7 @@ void AddLocalizedStrings(content::WebUIDataSource* html_source,
|
| AddSiteSettingsStrings(html_source);
|
| AddSyncStrings(html_source);
|
| AddUsersStrings(html_source);
|
| + AddWebContentStrings(html_source);
|
|
|
| html_source->SetJsonPath(kLocalizedStringsFile);
|
| }
|
|
|