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

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: Remove PS dep, try 2 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
« no previous file with comments | « chrome/app/settings_strings.grdp ('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/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
(...skipping 703 matching lines...) Expand 10 before | Expand all | Expand 10 after
714 arraysize(localized_strings)); 714 arraysize(localized_strings));
715 } 715 }
716 716
717 void AddPeopleStrings(content::WebUIDataSource* html_source) { 717 void AddPeopleStrings(content::WebUIDataSource* html_source) {
718 LocalizedString localized_strings[] = { 718 LocalizedString localized_strings[] = {
719 {"peoplePageTitle", IDS_SETTINGS_PEOPLE}, 719 {"peoplePageTitle", IDS_SETTINGS_PEOPLE},
720 {"manageOtherPeople", IDS_SETTINGS_PEOPLE_MANAGE_OTHER_PEOPLE}, 720 {"manageOtherPeople", IDS_SETTINGS_PEOPLE_MANAGE_OTHER_PEOPLE},
721 {"manageSupervisedUsers", IDS_SETTINGS_PEOPLE_MANAGE_SUPERVISED_USERS}, 721 {"manageSupervisedUsers", IDS_SETTINGS_PEOPLE_MANAGE_SUPERVISED_USERS},
722 #if defined(OS_CHROMEOS) 722 #if defined(OS_CHROMEOS)
723 {"enableScreenlock", IDS_SETTINGS_PEOPLE_ENABLE_SCREENLOCK}, 723 {"enableScreenlock", IDS_SETTINGS_PEOPLE_ENABLE_SCREENLOCK},
724 {"quickUnlockTitle", IDS_SETTINGS_PEOPLE_QUICK_UNLOCK_TITLE},
725 {"quickUnlockConfirmLogin", IDS_SETTINGS_PEOPLE_QUICK_UNLOCK_CONFIRM_LOGIN},
726 {"quickUnlockPasswordLabel",
727 IDS_SETTINGS_PEOPLE_QUICK_UNLOCK_PASSWORD_LABEL},
728 {"quickUnlockInvalidPassword",
729 IDS_SETTINGS_PEOPLE_QUICK_UNLOCK_INVALID_PASSWORD},
730 {"quickUnlockChooseUnlockMethod",
731 IDS_SETTINGS_PEOPLE_QUICK_UNLOCK_CHOOSE_UNLOCK_METHOD},
732 {"quickUnlockUnlockMethodPassword",
733 IDS_SETTINGS_PEOPLE_QUICK_UNLOCK_UNLOCK_METHOD_PASSWORD},
734 {"quickUnlockUnlockMethodPinAndPassword",
735 IDS_SETTINGS_PEOPLE_QUICK_UNLOCK_UNLOCK_METHOD_PIN_AND_PASSWORD},
736 {"quickUnlockUnlockMethodNone",
737 IDS_SETTINGS_PEOPLE_QUICK_UNLOCK_UNLOCK_METHOD_NONE},
738 {"quickUnlockConfigurePinButton",
739 IDS_SETTINGS_PEOPLE_QUICK_UNLOCK_CONFIGURE_PIN_BUTTON},
740 {"quickUnlockConfigurePinChoosePinTitle",
741 IDS_SETTINGS_PEOPLE_QUICK_UNLOCK_CONFIGURE_PIN_CHOOSE_PIN_TITLE},
742 {"quickUnlockConfigurePinChoosePinWeakPinWarning",
743 IDS_SETTINGS_PEOPLE_QUICK_UNLOCK_CONFIGURE_PIN_CHOOSE_PIN_WEAK_PIN_WARNING} ,
744 {"quickUnlockConfigurePinContinueButton",
745 IDS_SETTINGS_PEOPLE_QUICK_UNLOCK_CONFIGURE_PIN_CONTINUE_BUTTON},
746 {"quickUnlockConfigurePinConfirmPinTitle",
747 IDS_SETTINGS_PEOPLE_QUICK_UNLOCK_CONFIGURE_PIN_CONFIRM_PIN_TITLE},
748 {"quickUnlockConfigurePinMismatchedPins",
749 IDS_SETTINGS_PEOPLE_QUICK_UNLOCK_CONFIGURE_PIN_MISMATCHED_PINS},
750 {"quickUnlockConfigurePinBackButton",
751 IDS_SETTINGS_PEOPLE_QUICK_UNLOCK_CONFIGURE_PIN_BACK_BUTTON},
724 {"changePictureTitle", IDS_SETTINGS_CHANGE_PICTURE_DIALOG_TITLE}, 752 {"changePictureTitle", IDS_SETTINGS_CHANGE_PICTURE_DIALOG_TITLE},
725 {"changePicturePageDescription", IDS_SETTINGS_CHANGE_PICTURE_DIALOG_TEXT}, 753 {"changePicturePageDescription", IDS_SETTINGS_CHANGE_PICTURE_DIALOG_TEXT},
726 {"takePhoto", IDS_SETTINGS_CHANGE_PICTURE_TAKE_PHOTO}, 754 {"takePhoto", IDS_SETTINGS_CHANGE_PICTURE_TAKE_PHOTO},
727 {"discardPhoto", IDS_SETTINGS_CHANGE_PICTURE_DISCARD_PHOTO}, 755 {"discardPhoto", IDS_SETTINGS_CHANGE_PICTURE_DISCARD_PHOTO},
728 {"flipPhoto", IDS_SETTINGS_CHANGE_PICTURE_FLIP_PHOTO}, 756 {"flipPhoto", IDS_SETTINGS_CHANGE_PICTURE_FLIP_PHOTO},
729 {"chooseFile", IDS_SETTINGS_CHANGE_PICTURE_CHOOSE_FILE}, 757 {"chooseFile", IDS_SETTINGS_CHANGE_PICTURE_CHOOSE_FILE},
730 {"profilePhoto", IDS_SETTINGS_CHANGE_PICTURE_PROFILE_PHOTO}, 758 {"profilePhoto", IDS_SETTINGS_CHANGE_PICTURE_PROFILE_PHOTO},
731 {"oldPhoto", IDS_SETTINGS_CHANGE_PICTURE_OLD_PHOTO}, 759 {"oldPhoto", IDS_SETTINGS_CHANGE_PICTURE_OLD_PHOTO},
732 {"profilePhotoLoading", IDS_SETTINGS_CHANGE_PICTURE_PROFILE_LOADING_PHOTO}, 760 {"profilePhotoLoading", IDS_SETTINGS_CHANGE_PICTURE_PROFILE_LOADING_PHOTO},
733 {"previewAltText", IDS_SETTINGS_CHANGE_PICTURE_PREVIEW_ALT}, 761 {"previewAltText", IDS_SETTINGS_CHANGE_PICTURE_PREVIEW_ALT},
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
1148 #endif 1176 #endif
1149 AddUsersStrings(html_source); 1177 AddUsersStrings(html_source);
1150 AddWebContentStrings(html_source); 1178 AddWebContentStrings(html_source);
1151 1179
1152 policy_indicator::AddLocalizedStrings(html_source); 1180 policy_indicator::AddLocalizedStrings(html_source);
1153 1181
1154 html_source->SetJsonPath(kLocalizedStringsFile); 1182 html_source->SetJsonPath(kLocalizedStringsFile);
1155 } 1183 }
1156 1184
1157 } // namespace settings 1185 } // namespace settings
OLDNEW
« no previous file with comments | « chrome/app/settings_strings.grdp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698