Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4409)

Unified Diff: chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc

Issue 2480473002: MD Settings: Add Import Bookmarks Dialog Strings (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« chrome/app/settings_strings.grdp ('K') | « chrome/app/settings_strings.grdp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« chrome/app/settings_strings.grdp ('K') | « chrome/app/settings_strings.grdp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698