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

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

Issue 2841313002: md settings: Update lock screen to match new mocks. (Closed)
Patch Set: Created 3 years, 7 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/i18n/number_formatting.h" 10 #include "base/i18n/number_formatting.h"
(...skipping 1211 matching lines...) Expand 10 before | Expand all | Expand 10 after
1222 {"configurePinWeakPin", IDS_SETTINGS_PEOPLE_CONFIGURE_PIN_WEAK_PIN}, 1222 {"configurePinWeakPin", IDS_SETTINGS_PEOPLE_CONFIGURE_PIN_WEAK_PIN},
1223 {"enableScreenlock", IDS_SETTINGS_PEOPLE_ENABLE_SCREENLOCK}, 1223 {"enableScreenlock", IDS_SETTINGS_PEOPLE_ENABLE_SCREENLOCK},
1224 {"lockScreenAddFingerprint", 1224 {"lockScreenAddFingerprint",
1225 IDS_SETTINGS_PEOPLE_LOCK_SCREEN_ADD_FINGERPRINT_BUTTON}, 1225 IDS_SETTINGS_PEOPLE_LOCK_SCREEN_ADD_FINGERPRINT_BUTTON},
1226 {"lockScreenChangePinButton", 1226 {"lockScreenChangePinButton",
1227 IDS_SETTINGS_PEOPLE_LOCK_SCREEN_CHANGE_PIN_BUTTON}, 1227 IDS_SETTINGS_PEOPLE_LOCK_SCREEN_CHANGE_PIN_BUTTON},
1228 {"lockScreenEditFingerprints", 1228 {"lockScreenEditFingerprints",
1229 IDS_SETTINGS_PEOPLE_LOCK_SCREEN_EDIT_FINGERPRINTS}, 1229 IDS_SETTINGS_PEOPLE_LOCK_SCREEN_EDIT_FINGERPRINTS},
1230 {"lockScreenEditFingerprintsDescription", 1230 {"lockScreenEditFingerprintsDescription",
1231 IDS_SETTINGS_PEOPLE_LOCK_SCREEN_EDIT_FINGERPRINTS_DESCRIPTION}, 1231 IDS_SETTINGS_PEOPLE_LOCK_SCREEN_EDIT_FINGERPRINTS_DESCRIPTION},
1232 {"lockScreenSetupFingerprintButton",
1233 IDS_SETTINGS_PEOPLE_LOCK_SCREEN_FINGERPRINT_SETUP_BUTTON},
1232 {"lockScreenNumberFingerprints", 1234 {"lockScreenNumberFingerprints",
1233 IDS_SETTINGS_PEOPLE_LOCK_SCREEN_NUM_FINGERPRINTS}, 1235 IDS_SETTINGS_PEOPLE_LOCK_SCREEN_NUM_FINGERPRINTS},
1234 {"lockScreenNone", IDS_SETTINGS_PEOPLE_LOCK_SCREEN_NONE}, 1236 {"lockScreenNone", IDS_SETTINGS_PEOPLE_LOCK_SCREEN_NONE},
1235 {"lockScreenFingerprintEnable", 1237 {"lockScreenFingerprintEnable",
1236 IDS_SETTINGS_PEOPLE_LOCK_SCREEN_ENABLE_FINGERPRINT_CHECKBOX_LABEL}, 1238 IDS_SETTINGS_PEOPLE_LOCK_SCREEN_ENABLE_FINGERPRINT_CHECKBOX_LABEL},
1237 {"lockScreenFingerprintNewName", 1239 {"lockScreenFingerprintNewName",
1238 IDS_SETTINGS_PEOPLE_LOCK_SCREEN_NEW_FINGERPRINT_DEFAULT_NAME}, 1240 IDS_SETTINGS_PEOPLE_LOCK_SCREEN_NEW_FINGERPRINT_DEFAULT_NAME},
1239 {"lockScreenFingerprintTitle", 1241 {"lockScreenFingerprintTitle",
1240 IDS_SETTINGS_PEOPLE_LOCK_SCREEN_FINGERPRINT_SUBPAGE_TITLE}, 1242 IDS_SETTINGS_PEOPLE_LOCK_SCREEN_FINGERPRINT_SUBPAGE_TITLE},
1241 {"lockScreenFingerprintWarning", 1243 {"lockScreenFingerprintWarning",
1242 IDS_SETTINGS_PEOPLE_LOCK_SCREEN_FINGERPRINT_LESS_SECURE}, 1244 IDS_SETTINGS_PEOPLE_LOCK_SCREEN_FINGERPRINT_LESS_SECURE},
1243 {"lockScreenHighSecurity", IDS_SETTINGS_PEOPLE_LOCK_SCREEN_HIGH_SECURITY}, 1245 {"lockScreenHighSecurity", IDS_SETTINGS_PEOPLE_LOCK_SCREEN_HIGH_SECURITY},
1244 {"lockScreenMediumSecurity", 1246 {"lockScreenMediumSecurity",
1245 IDS_SETTINGS_PEOPLE_LOCK_SCREEN_MEDIUM_SECURITY}, 1247 IDS_SETTINGS_PEOPLE_LOCK_SCREEN_MEDIUM_SECURITY},
1248 {"lockScreenOptions", IDS_SETTINGS_PEOPLE_LOCK_SCREEN_OPTIONS},
1246 {"lockScreenPasswordOnly", IDS_SETTINGS_PEOPLE_LOCK_SCREEN_PASSWORD_ONLY}, 1249 {"lockScreenPasswordOnly", IDS_SETTINGS_PEOPLE_LOCK_SCREEN_PASSWORD_ONLY},
1247 {"lockScreenPinOrPassword", 1250 {"lockScreenPinOrPassword",
1248 IDS_SETTINGS_PEOPLE_LOCK_SCREEN_PIN_OR_PASSWORD}, 1251 IDS_SETTINGS_PEOPLE_LOCK_SCREEN_PIN_OR_PASSWORD},
1249 {"lockScreenRegisteredFingerprints", 1252 {"lockScreenRegisteredFingerprints",
1250 IDS_SETTINGS_PEOPLE_LOCK_SCREEN_REGISTERED_FINGERPRINTS_LABEL}, 1253 IDS_SETTINGS_PEOPLE_LOCK_SCREEN_REGISTERED_FINGERPRINTS_LABEL},
1251 {"lockScreenSetupPinButton", 1254 {"lockScreenSetupPinButton",
1252 IDS_SETTINGS_PEOPLE_LOCK_SCREEN_SETUP_PIN_BUTTON}, 1255 IDS_SETTINGS_PEOPLE_LOCK_SCREEN_SETUP_PIN_BUTTON},
1253 {"lockScreenTitle", IDS_SETTINGS_PEOPLE_LOCK_SCREEN_TITLE}, 1256 {"lockScreenTitle", IDS_SETTINGS_PEOPLE_LOCK_SCREEN_TITLE},
1254 {"passwordPromptEnterPassword", 1257 {"passwordPromptEnterPassword",
1255 IDS_SETTINGS_PEOPLE_PASSWORD_PROMPT_ENTER_PASSWORD}, 1258 IDS_SETTINGS_PEOPLE_PASSWORD_PROMPT_ENTER_PASSWORD},
(...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after
2044 2047
2045 #if defined(OS_CHROMEOS) 2048 #if defined(OS_CHROMEOS)
2046 chromeos::network_element::AddLocalizedStrings(html_source); 2049 chromeos::network_element::AddLocalizedStrings(html_source);
2047 #endif 2050 #endif
2048 policy_indicator::AddLocalizedStrings(html_source); 2051 policy_indicator::AddLocalizedStrings(html_source);
2049 2052
2050 html_source->SetJsonPath(kLocalizedStringsFile); 2053 html_source->SetJsonPath(kLocalizedStringsFile);
2051 } 2054 }
2052 2055
2053 } // namespace settings 2056 } // namespace settings
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698