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 1e31839c82abbe9f6c770dadceb874de78b2b699..a3851548420e5c1c7322c69d0daec284c884fdd0 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 |
| @@ -732,6 +732,26 @@ void AddEasyUnlockStrings(content::WebUIDataSource* html_source) { |
| chrome::kEasyUnlockLearnMoreUrl); |
| } |
| +void AddImportDataStrings(content::WebUIDataSource* html_source) { |
| + LocalizedString localized_strings[] = { |
|
tommycli
2016/11/03 17:53:07
taken directly from https://cs.chromium.org/chromi
|
| + {"importFromLabel", IDS_SETTINGS_IMPORT_FROM_LABEL}, |
| + {"importDescription", IDS_SETTINGS_IMPORT_ITEMS_LABEL}, |
| + {"importLoading", IDS_SETTINGS_IMPORT_LOADING_PROFILES}, |
| + {"importHistory", IDS_SETTINGS_IMPORT_HISTORY_CHECKBOX}, |
| + {"importFavorites", IDS_SETTINGS_IMPORT_FAVORITES_CHECKBOX}, |
| + {"importPasswords", IDS_SETTINGS_IMPORT_PASSWORDS_CHECKBOX}, |
| + {"importSearch", IDS_SETTINGS_IMPORT_SEARCH_ENGINES_CHECKBOX}, |
| + {"importAutofillFormData", IDS_SETTINGS_IMPORT_AUTOFILL_FORM_DATA_CHECKBOX}, |
| + {"importSucceeded", IDS_SETTINGS_IMPORT_SUCCEEDED}, |
| + {"importChooseFile", IDS_SETTINGS_IMPORT_CHOOSE_FILE}, |
| + {"importCommit", IDS_SETTINGS_IMPORT_COMMIT}, |
| + {"noProfileFound", IDS_SETTINGS_IMPORT_NO_PROFILE_FOUND}, |
| + {"findYourImportedBookmarks", IDS_SETTINGS_IMPORT_FIND_YOUR_BOOKMARKS}, |
| + }; |
| + AddLocalizedStringsBulk(html_source, localized_strings, |
| + arraysize(localized_strings)); |
| +} |
| + |
| void AddInternetStrings(content::WebUIDataSource* html_source) { |
| LocalizedString localized_strings[] = { |
| {"internetAddConnection", IDS_SETTINGS_INTERNET_ADD_CONNECTION}, |
| @@ -1743,6 +1763,7 @@ void AddLocalizedStrings(content::WebUIDataSource* html_source, |
| #if defined(OS_CHROMEOS) |
| AddEasyUnlockStrings(html_source); |
| + AddImportDataStrings(html_source); |
| AddInternetStrings(html_source); |
| AddCrNetworkStrings(html_source); |
| #endif |