| 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..5b3460d6a63997430e7358aba4610a0db52c2bea 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"
|
| @@ -745,6 +747,10 @@ void AddPeopleStrings(content::WebUIDataSource* html_source) {
|
| {"manageSupervisedUsers", IDS_SETTINGS_PEOPLE_MANAGE_SUPERVISED_USERS},
|
| #if defined(OS_CHROMEOS)
|
| {"enableScreenlock", IDS_SETTINGS_PEOPLE_ENABLE_SCREENLOCK},
|
| + {"pinKeyboardPlaceholderPin", IDS_PIN_KEYBOARD_HINT_TEXT_PIN},
|
| + {"pinKeyboardPlaceholderPinPassword",
|
| + IDS_PIN_KEYBOARD_HINT_TEXT_PIN_PASSWORD},
|
| + {"pinKeyboardClear", IDS_PIN_KEYBOARD_CLEAR},
|
| {"quickUnlockTitle", IDS_SETTINGS_PEOPLE_QUICK_UNLOCK_TITLE},
|
| {"quickUnlockConfirmLogin", IDS_SETTINGS_PEOPLE_QUICK_UNLOCK_CONFIRM_LOGIN},
|
| {"quickUnlockPasswordLabel",
|
| @@ -847,6 +853,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);
|
|
|