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

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

Issue 2893433004: Settings: Manage other users -> Manage other people (Closed)
Patch Set: Rebase Created 3 years, 7 months 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
« no previous file with comments | « chrome/browser/resources/settings/people_page/people_page.html ('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 6923b8aa9b9f7dc99b28d676e0b5ba2af97ce069..39f8cd44503a878e82fa30c1f549b0c5fd58c73c 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
@@ -1882,10 +1882,9 @@ void AddSiteSettingsStrings(content::WebUIDataSource* html_source,
}
}
+#if defined(OS_CHROMEOS)
void AddUsersStrings(content::WebUIDataSource* html_source) {
LocalizedString localized_strings[] = {
- {"usersPageTitle", IDS_SETTINGS_USERS},
-#if defined(OS_CHROMEOS)
{"usersModifiedByOwnerLabel", IDS_SETTINGS_USERS_MODIFIED_BY_OWNER_LABEL},
{"guestBrowsingLabel", IDS_SETTINGS_USERS_GUEST_BROWSING_LABEL},
{"settingsManagedLabel", IDS_SETTINGS_USERS_MANAGED_LABEL},
@@ -1895,11 +1894,11 @@ void AddUsersStrings(content::WebUIDataSource* html_source) {
{"deviceOwnerLabel", IDS_SETTINGS_USERS_DEVICE_OWNER_LABEL},
{"addUsers", IDS_SETTINGS_USERS_ADD_USERS},
{"addUsersEmail", IDS_SETTINGS_USERS_ADD_USERS_EMAIL},
-#endif
};
AddLocalizedStringsBulk(html_source, localized_strings,
arraysize(localized_strings));
}
+#endif
#if !defined(OS_CHROMEOS)
void AddSystemStrings(content::WebUIDataSource* html_source) {
@@ -2064,7 +2063,6 @@ void AddLocalizedStrings(content::WebUIDataSource* html_source,
AddSearchInSettingsStrings(html_source);
AddSearchStrings(html_source);
AddSiteSettingsStrings(html_source, profile);
- AddUsersStrings(html_source);
AddWebContentStrings(html_source);
#if defined(OS_CHROMEOS)
@@ -2077,6 +2075,7 @@ void AddLocalizedStrings(content::WebUIDataSource* html_source,
AddEasyUnlockStrings(html_source);
AddInternetStrings(html_source);
AddOncStrings(html_source);
+ AddUsersStrings(html_source);
#else
AddDefaultBrowserStrings(html_source);
AddImportDataStrings(html_source);
« no previous file with comments | « chrome/browser/resources/settings/people_page/people_page.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698