| 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 d0ecd8610cc03faaeb444f46992a76ecfc50e7b9..d0d3162153d6f6d5cd3b39193d8d1e94ff8be79c 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
|
| @@ -7,6 +7,8 @@
|
| #include <string>
|
|
|
| #include "base/command_line.h"
|
| +#include "base/i18n/number_formatting.h"
|
| +#include "base/strings/string_number_conversions.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "build/build_config.h"
|
| #include "chrome/browser/browser_process.h"
|
| @@ -757,6 +759,9 @@ void AddPeopleStrings(content::WebUIDataSource* html_source) {
|
| IDS_SETTINGS_PEOPLE_QUICK_UNLOCK_UNLOCK_METHOD_PASSWORD},
|
| {"quickUnlockUnlockMethodPinAndPassword",
|
| IDS_SETTINGS_PEOPLE_QUICK_UNLOCK_UNLOCK_METHOD_PIN_AND_PASSWORD},
|
| + {"pinKeyboardPlaceholder",
|
| + IDS_SETTINGS_PEOPLE_QUICK_UNLOCK_ENTER_PIN_OR_PASSWORD_PLACEHOLDER},
|
| + {"pinKeyboardClear", IDS_SETTINGS_PEOPLE_QUICK_UNLOCK_PIN_KEYBOARD_CLEAR},
|
| {"quickUnlockUnlockMethodNone",
|
| IDS_SETTINGS_PEOPLE_QUICK_UNLOCK_UNLOCK_METHOD_NONE},
|
| {"quickUnlockConfigurePinButton",
|
| @@ -847,6 +852,12 @@ void AddPeopleStrings(content::WebUIDataSource* html_source) {
|
| AddLocalizedStringsBulk(html_source, localized_strings,
|
| arraysize(localized_strings));
|
|
|
| + // Format numbers to be used on the pin keyboard.
|
| + for (int j = 0; j <= 9; j++) {
|
| + html_source->AddString("pinKeyboard" + base::IntToString(j),
|
| + base::FormatNumber(int64_t{j}));
|
| + }
|
| +
|
| html_source->AddString("autofillHelpURL", autofill::kHelpURL);
|
| html_source->AddString("supervisedUsersUrl",
|
| chrome::kLegacySupervisedUserManagementURL);
|
|
|