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

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

Issue 2088913002: Add strings needed for the PIN unlock section in md-settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 4 years, 6 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 unified diff | Download patch
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/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 arraysize(localized_strings)); 711 arraysize(localized_strings));
712 } 712 }
713 713
714 void AddPeopleStrings(content::WebUIDataSource* html_source) { 714 void AddPeopleStrings(content::WebUIDataSource* html_source) {
715 LocalizedString localized_strings[] = { 715 LocalizedString localized_strings[] = {
716 {"peoplePageTitle", IDS_SETTINGS_PEOPLE}, 716 {"peoplePageTitle", IDS_SETTINGS_PEOPLE},
717 {"manageOtherPeople", IDS_SETTINGS_PEOPLE_MANAGE_OTHER_PEOPLE}, 717 {"manageOtherPeople", IDS_SETTINGS_PEOPLE_MANAGE_OTHER_PEOPLE},
718 {"manageSupervisedUsers", IDS_SETTINGS_PEOPLE_MANAGE_SUPERVISED_USERS}, 718 {"manageSupervisedUsers", IDS_SETTINGS_PEOPLE_MANAGE_SUPERVISED_USERS},
719 #if defined(OS_CHROMEOS) 719 #if defined(OS_CHROMEOS)
720 {"enableScreenlock", IDS_SETTINGS_PEOPLE_ENABLE_SCREENLOCK}, 720 {"enableScreenlock", IDS_SETTINGS_PEOPLE_ENABLE_SCREENLOCK},
721 {"quickUnlockTitle", IDS_SETTINGS_QUICK_UNLOCK_TITLE},
722 {"quickUnlockPageTitle", IDS_SETTINGS_QUICK_UNLOCK_PAGE_TITLE},
723 {"quickUnlockConfirmLogin", IDS_SETTINGS_QUICK_UNLOCK_CONFIRM_LOGIN},
724 {"quickUnlockPasswordLabel", IDS_SETTINGS_QUICK_UNLOCK_PASSWORD_LABEL},
725 {"quickUnlockInvalidPassword", IDS_SETTINGS_QUICK_UNLOCK_INVALID_PASSWORD},
726 {"quickUnlockChooseUnlockMethod",
727 IDS_SETTINGS_QUICK_UNLOCK_CHOOSE_UNLOCK_METHOD},
728 {"quickUnlockUnlockMethodPassword",
729 IDS_SETTINGS_QUICK_UNLOCK_UNLOCK_METHOD_PASSWORD},
730 {"quickUnlockUnlockMethodPinAndPassword",
731 IDS_SETTINGS_QUICK_UNLOCK_UNLOCK_METHOD_PIN_AND_PASSWORD},
732 {"quickUnlockUnlockMethodNone",
733 IDS_SETTINGS_QUICK_UNLOCK_UNLOCK_METHOD_NONE},
734 {"quickUnlockPinDisclaimer", IDS_SETTINGS_QUICK_UNLOCK_PIN_DISCLAIMER},
735 {"quickUnlockConfigurePinButton",
736 IDS_SETTINGS_QUICK_UNLOCK_CONFIGURE_PIN_BUTTON},
737 {"quickUnlockConfigurePinChoosePinTitle",
738 IDS_SETTINGS_QUICK_UNLOCK_CONFIGURE_PIN_CHOOSE_PIN_TITLE},
739 {"quickUnlockConfigurePinChoosePinWeakPinWarning",
740 IDS_SETTINGS_QUICK_UNLOCK_CONFIGURE_PIN_CHOOSE_PIN_WEAK_PIN_WARNING},
741 {"quickUnlockConfigurePinContinueButton",
742 IDS_SETTINGS_QUICK_UNLOCK_CONFIGURE_PIN_CONTINUE_BUTTON},
743 {"quickUnlockConfigurePinConfirmPinTitle",
744 IDS_SETTINGS_QUICK_UNLOCK_CONFIGURE_PIN_CONFIRM_PIN_TITLE},
745 {"quickUnlockConfigurePinMismatchedPins",
746 IDS_SETTINGS_QUICK_UNLOCK_CONFIGURE_PIN_MISMATCHED_PINS},
747 {"quickUnlockConfigurePinBackButton",
748 IDS_SETTINGS_QUICK_UNLOCK_CONFIGURE_PIN_BACK_BUTTON},
749 {"quickUnlockConfigurePinSaveButton",
750 IDS_SETTINGS_QUICK_UNLOCK_CONFIGURE_PIN_SAVE_BUTTON},
721 {"changePictureTitle", IDS_SETTINGS_CHANGE_PICTURE_DIALOG_TITLE}, 751 {"changePictureTitle", IDS_SETTINGS_CHANGE_PICTURE_DIALOG_TITLE},
722 {"changePicturePageDescription", IDS_SETTINGS_CHANGE_PICTURE_DIALOG_TEXT}, 752 {"changePicturePageDescription", IDS_SETTINGS_CHANGE_PICTURE_DIALOG_TEXT},
723 {"takePhoto", IDS_SETTINGS_CHANGE_PICTURE_TAKE_PHOTO}, 753 {"takePhoto", IDS_SETTINGS_CHANGE_PICTURE_TAKE_PHOTO},
724 {"discardPhoto", IDS_SETTINGS_CHANGE_PICTURE_DISCARD_PHOTO}, 754 {"discardPhoto", IDS_SETTINGS_CHANGE_PICTURE_DISCARD_PHOTO},
725 {"flipPhoto", IDS_SETTINGS_CHANGE_PICTURE_FLIP_PHOTO}, 755 {"flipPhoto", IDS_SETTINGS_CHANGE_PICTURE_FLIP_PHOTO},
726 {"chooseFile", IDS_SETTINGS_CHANGE_PICTURE_CHOOSE_FILE}, 756 {"chooseFile", IDS_SETTINGS_CHANGE_PICTURE_CHOOSE_FILE},
727 {"profilePhoto", IDS_SETTINGS_CHANGE_PICTURE_PROFILE_PHOTO}, 757 {"profilePhoto", IDS_SETTINGS_CHANGE_PICTURE_PROFILE_PHOTO},
728 {"oldPhoto", IDS_SETTINGS_CHANGE_PICTURE_OLD_PHOTO}, 758 {"oldPhoto", IDS_SETTINGS_CHANGE_PICTURE_OLD_PHOTO},
729 {"profilePhotoLoading", IDS_SETTINGS_CHANGE_PICTURE_PROFILE_LOADING_PHOTO}, 759 {"profilePhotoLoading", IDS_SETTINGS_CHANGE_PICTURE_PROFILE_LOADING_PHOTO},
730 {"previewAltText", IDS_SETTINGS_CHANGE_PICTURE_PREVIEW_ALT}, 760 {"previewAltText", IDS_SETTINGS_CHANGE_PICTURE_PREVIEW_ALT},
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
1145 #endif 1175 #endif
1146 AddUsersStrings(html_source); 1176 AddUsersStrings(html_source);
1147 AddWebContentStrings(html_source); 1177 AddWebContentStrings(html_source);
1148 1178
1149 policy_indicator::AddLocalizedStrings(html_source); 1179 policy_indicator::AddLocalizedStrings(html_source);
1150 1180
1151 html_source->SetJsonPath(kLocalizedStringsFile); 1181 html_source->SetJsonPath(kLocalizedStringsFile);
1152 } 1182 }
1153 1183
1154 } // namespace settings 1184 } // namespace settings
OLDNEW
« 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