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

Unified Diff: chrome/browser/resources/settings/people_page/password_prompt_dialog.html

Issue 2236213002: Add quick unlock Settings in options page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporate comments from jdufault@ Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/people_page/password_prompt_dialog.html
diff --git a/chrome/browser/resources/settings/people_page/password_prompt_dialog.html b/chrome/browser/resources/settings/people_page/password_prompt_dialog.html
index 8221eff3e19efa2766bb4bb47290a6074b02c9f4..404c5b2689265dffddd7e30bfc7534e8bfcc23f7 100644
--- a/chrome/browser/resources/settings/people_page/password_prompt_dialog.html
+++ b/chrome/browser/resources/settings/people_page/password_prompt_dialog.html
@@ -1,4 +1,5 @@
<link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html">
+<link rel="import" href="chrome://resources/html/i18n_behavior.html"
<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input.html">
@@ -17,31 +18,33 @@
}
</style>
+ <!--TODO(xiaoyinh@): Revert changes to i18n text once we
+ don't need to support options. -->
<dialog is="cr-dialog" id="dialog">
- <div class="title">$i18n{passwordPromptTitle}</div>
+ <div class="title">[[i18n('passwordPromptTitle')]]</div>
<div class="body">
- <div class="settings-box first">$i18n{passwordPromptEnterPassword}</div>
+ <div class="settings-box first">[[i18n('passwordPromptEnterPassword')]]</div>
<paper-input id="passwordInput" type="password" autofocus
- label="$i18n{passwordPromptPasswordLabel}"
+ label="[[i18n('passwordPromptPasswordLabel')]]"
no-label-float
value="{{password_}}"
on-change="checkPassword_"
invalid$="[[passwordInvalid_]]"
- error-message="$i18n{passwordPromptInvalidPassword}"
+ error-message="[[i18n('passwordPromptInvalidPassword')]]"
aria-disabled="false">
</paper-input>
<div class="button-strip">
<paper-button class="cancel-button" on-tap="cancel">
- $i18n{cancel}
+ [[i18n('cancel')]]
</paper-button>
<paper-button class="action-button" on-tap="checkPassword_"
disabled$="[[!enableConfirm_(password_,
passwordInvalid_)]]">
- $i18n{confirm}
+ [[i18n('confirm')]]
</paper-button>
</div>
</div>

Powered by Google App Engine
This is Rietveld 408576698