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

Unified Diff: chrome/browser/resources/pdf/elements/viewer-password-screen/viewer-password-screen.html

Issue 2123983003: PDF: Replace usage of i18nTemplate with Polymer data binding (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweak comment Created 4 years, 5 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/pdf/elements/viewer-password-screen/viewer-password-screen.html
diff --git a/chrome/browser/resources/pdf/elements/viewer-password-screen/viewer-password-screen.html b/chrome/browser/resources/pdf/elements/viewer-password-screen/viewer-password-screen.html
index 02f628e58e2d605e0ada0883e1fa37221a1df0a7..343f579f437ed862e1711b9d57cc71b751ab6402 100644
--- a/chrome/browser/resources/pdf/elements/viewer-password-screen/viewer-password-screen.html
+++ b/chrome/browser/resources/pdf/elements/viewer-password-screen/viewer-password-screen.html
@@ -11,17 +11,18 @@
<style include="iron-flex iron-flex-alignment"></style>
<paper-dialog id="dialog" modal no-cancel-on-esc-key
entry-animation="fade-in-animation" exit-animation="fade-out-animation">
- <div id="message" i18n-content="passwordPrompt"></div>
+ <div id="message">{{strings.passwordPrompt}}</div>
<div class="horizontal layout start">
<paper-input-container id="password-container" class="flex"
no-label-float invalid="[[invalid]]">
<input is="iron-input" id="password" type="password" size="20"
on-keypress="handleKey" autofocus>
</input>
- <paper-input-error i18n-content="passwordInvalid"></paper-input-error>
+ <paper-input-error>{{strings.passwordInvalid}}</paper-input-error>
</paper-input-container>
- <paper-button id="submit" on-click="submit"
- i18n-content="passwordSubmit"></paper-button>
+ <paper-button id="submit" on-click="submit">
+ {{strings.passwordSubmit}}
+ </paper-button>
</div>
</paper-dialog>
</template>

Powered by Google App Engine
This is Rietveld 408576698