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

Side by Side Diff: chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc

Issue 2510953003: MD Settings: drop confusing "Enable guest browsing" secondary text (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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/webui/settings/md_settings_localized_strings_provide r.h" 5 #include "chrome/browser/ui/webui/settings/md_settings_localized_strings_provide r.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/i18n/number_formatting.h" 10 #include "base/i18n/number_formatting.h"
(...skipping 1013 matching lines...) Expand 10 before | Expand all | Expand 10 after
1024 autofill::payments::GetManageInstrumentsUrl(0).spec()); 1024 autofill::payments::GetManageInstrumentsUrl(0).spec());
1025 1025
1026 AddLocalizedStringsBulk(html_source, localized_strings, 1026 AddLocalizedStringsBulk(html_source, localized_strings,
1027 arraysize(localized_strings)); 1027 arraysize(localized_strings));
1028 } 1028 }
1029 1029
1030 void AddPeopleStrings(content::WebUIDataSource* html_source) { 1030 void AddPeopleStrings(content::WebUIDataSource* html_source) {
1031 LocalizedString localized_strings[] = { 1031 LocalizedString localized_strings[] = {
1032 {"peoplePageTitle", IDS_SETTINGS_PEOPLE}, 1032 {"peoplePageTitle", IDS_SETTINGS_PEOPLE},
1033 {"manageOtherPeople", IDS_SETTINGS_PEOPLE_MANAGE_OTHER_PEOPLE}, 1033 {"manageOtherPeople", IDS_SETTINGS_PEOPLE_MANAGE_OTHER_PEOPLE},
1034 {"manageOtherPeopleDescription",
1035 IDS_SETTINGS_PEOPLE_MANAGE_OTHER_PEOPLE_DESCRIPTION},
1036 {"manageSupervisedUsers", IDS_SETTINGS_PEOPLE_MANAGE_SUPERVISED_USERS}, 1034 {"manageSupervisedUsers", IDS_SETTINGS_PEOPLE_MANAGE_SUPERVISED_USERS},
1037 {"manageSupervisedUsersDescription", 1035 {"manageSupervisedUsersDescription",
1038 IDS_SETTINGS_PEOPLE_MANAGE_SUPERVISED_USERS_DESCRIPTION}, 1036 IDS_SETTINGS_PEOPLE_MANAGE_SUPERVISED_USERS_DESCRIPTION},
1039 #if defined(OS_CHROMEOS) 1037 #if defined(OS_CHROMEOS)
1040 {"configurePinChoosePinTitle", 1038 {"configurePinChoosePinTitle",
1041 IDS_SETTINGS_PEOPLE_CONFIGURE_PIN_CHOOSE_PIN_TITLE}, 1039 IDS_SETTINGS_PEOPLE_CONFIGURE_PIN_CHOOSE_PIN_TITLE},
1042 {"configurePinConfirmPinTitle", 1040 {"configurePinConfirmPinTitle",
1043 IDS_SETTINGS_PEOPLE_CONFIGURE_PIN_CONFIRM_PIN_TITLE}, 1041 IDS_SETTINGS_PEOPLE_CONFIGURE_PIN_CONFIRM_PIN_TITLE},
1044 {"configurePinContinueButton", 1042 {"configurePinContinueButton",
1045 IDS_SETTINGS_PEOPLE_CONFIGURE_PIN_CONTINUE_BUTTON}, 1043 IDS_SETTINGS_PEOPLE_CONFIGURE_PIN_CONTINUE_BUTTON},
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after
1817 #if defined(USE_NSS_CERTS) 1815 #if defined(USE_NSS_CERTS)
1818 AddCertificateManagerStrings(html_source); 1816 AddCertificateManagerStrings(html_source);
1819 #endif 1817 #endif
1820 1818
1821 policy_indicator::AddLocalizedStrings(html_source); 1819 policy_indicator::AddLocalizedStrings(html_source);
1822 1820
1823 html_source->SetJsonPath(kLocalizedStringsFile); 1821 html_source->SetJsonPath(kLocalizedStringsFile);
1824 } 1822 }
1825 1823
1826 } // namespace settings 1824 } // namespace settings
OLDNEW
« 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