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

Unified Diff: chrome/browser/resources/settings/passwords_and_forms_page/passwords_and_forms_page.html

Issue 1976003002: [MD settings] change i18n() use in html to $i18n (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: line wrapping Created 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/passwords_and_forms_page/passwords_and_forms_page.html
diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_and_forms_page.html b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_and_forms_page.html
index ab905898dc9e4d12b0fed69bd3ff5ac8075ecfc3..64613273f35e5ff444cd5e22f25fc8b34e32b261 100644
--- a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_and_forms_page.html
+++ b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_and_forms_page.html
@@ -19,8 +19,8 @@
<neon-animatable id="main">
<div class="settings-box first two-line" on-tap="onAutofillTap_">
<div class="start">
- <div>[[i18n('autofill')]]</div>
- <div class="secondary">[[i18n('autofillDetail')]]</div>
+ <div>$i18n{autofill}</div>
+ <div class="secondary">$i18n{autofillDetail}</div>
</div>
<paper-toggle-button id="autofillToggle"
checked="{{prefs.autofill.enabled.value}}">
@@ -28,8 +28,8 @@
</div>
<div class="settings-box two-line" on-tap="onPasswordsTap_">
<div class="start">
- <div>[[i18n('passwords')]]</div>
- <div class="secondary">[[i18n('passwordsDetail')]]</div>
+ <div>$i18n{passwords}</div>
+ <div class="secondary">$i18n{passwordsDetail}</div>
</div>
<paper-toggle-button id="passwordToggle"
checked="{{prefs.profile.password_manager_enabled.value}}">
@@ -37,13 +37,13 @@
</div>
</neon-animatable>
<template is="dom-if" name="manage-autofill">
- <settings-subpage page-title="[[i18n('autofill')]]">
+ <settings-subpage page-title="$i18n{autofill}">
<settings-autofill-section id="autofillSection">
</settings-autofill-section>
</settings-subpage>
</template>
<template is="dom-if" name="manage-passwords">
- <settings-subpage page-title="[[i18n('passwords')]]">
+ <settings-subpage page-title="$i18n{passwords}">
<passwords-section saved-passwords="[[savedPasswords]]"
id="passwordSection" password-exceptions="[[passwordExceptions]]">
</passwords-section>

Powered by Google App Engine
This is Rietveld 408576698