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

Unified Diff: chrome/browser/resources/settings/advanced_page/advanced_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
« no previous file with comments | « no previous file | chrome/browser/resources/settings/basic_page/basic_page.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/advanced_page/advanced_page.html
diff --git a/chrome/browser/resources/settings/advanced_page/advanced_page.html b/chrome/browser/resources/settings/advanced_page/advanced_page.html
index 749d79fb16f93bf50bd4ff547da646f14e33f4cf..446716206e368636f329453a4c657589fcee11a7 100644
--- a/chrome/browser/resources/settings/advanced_page/advanced_page.html
+++ b/chrome/browser/resources/settings/advanced_page/advanced_page.html
@@ -28,7 +28,7 @@
<style include="main-page-styles"></style>
<if expr="chromeos">
<template is="dom-if" if="[[showPage(pageVisibility.dateTime)]]" restamp>
- <settings-section page-title="[[i18n('dateTimePageTitle')]]"
+ <settings-section page-title="$i18n{dateTimePageTitle}"
current-route="[[currentRoute]]" section="dateTime">
<settings-date-time-page prefs="{{prefs}}">
</settings-date-time-page>
@@ -36,7 +36,7 @@
</template>
</if>
<template is="dom-if" if="[[showPage(pageVisibility.privacy)]]" restamp>
- <settings-section page-title="[[i18n('privacyPageTitle')]]"
+ <settings-section page-title="$i18n{privacyPageTitle}"
current-route="[[currentRoute]]" section="privacy">
<settings-privacy-page prefs="{{prefs}}"
current-route="{{currentRoute}}">
@@ -45,7 +45,7 @@
</template>
<if expr="chromeos">
<template is="dom-if" if="[[showPage(pageVisibility.bluetooth)]]" restamp>
- <settings-section page-title="[[i18n('bluetoothPageTitle')]]"
+ <settings-section page-title="$i18n{bluetoothPageTitle}"
current-route="[[currentRoute]]" section="bluetooth">
<settings-bluetooth-page current-route="{{currentRoute}}">
</settings-bluetooth-page>
@@ -55,7 +55,7 @@
<template is="dom-if" if="[[showPage(pageVisibility.passwordsAndForms)]]"
restamp>
<settings-section
- page-title="[[i18n('passwordsAndAutofillPageTitle')]]"
+ page-title="$i18n{passwordsAndAutofillPageTitle}"
current-route="[[currentRoute]]" section="passwordsAndForms">
<settings-passwords-and-forms-page prefs="{{prefs}}"
current-route="{{currentRoute}}">
@@ -63,7 +63,7 @@
</settings-section>
</template>
<template is="dom-if" if="[[showPage(pageVisibility.languages)]]" restamp>
- <settings-section page-title="[[i18n('languagesPageTitle')]]"
+ <settings-section page-title="$i18n{languagesPageTitle}"
current-route="[[currentRoute]]" section="languages">
<settings-languages-page prefs="{{prefs}}"
current-route="{{currentRoute}}">
@@ -71,7 +71,7 @@
</settings-section>
</template>
<template is="dom-if" if="[[showPage(pageVisibility.downloads)]]" restamp>
- <settings-section page-title="[[i18n('downloadsPageTitle')]]"
+ <settings-section page-title="$i18n{downloadsPageTitle}"
current-route="[[currentRoute]]" section="downloads">
<settings-downloads-page prefs="{{prefs}}">
</settings-downloads-page>
@@ -81,21 +81,21 @@
<!-- TODO(dschuyler): Add Google Cloud Print section here. -->
<template is="dom-if" if="[[showPage(pageVisibility.a11y)]]" restamp>
- <settings-section page-title="[[i18n('a11yPageTitle')]]"
+ <settings-section page-title="$i18n{a11yPageTitle}"
current-route="[[currentRoute]]" section="a11y">
<settings-a11y-page prefs="{{prefs}}"></settings-a11y-page>
</settings-section>
</template>
<if expr="not chromeos">
<template is="dom-if" if="[[showPage(pageVisibility.system)]]" restamp>
- <settings-section page-title="[[i18n('systemPageTitle')]]"
+ <settings-section page-title="$i18n{systemPageTitle}"
current-route="[[currentRoute]]" section="system">
<settings-system-page prefs="{{prefs}}"></settings-system-page>
</settings-section>
</template>
</if>
<template is="dom-if" if="[[showPage(pageVisibility.reset)]]" restamp>
- <settings-section page-title="[[i18n('resetPageTitle')]]"
+ <settings-section page-title="$i18n{resetPageTitle}"
current-route="[[currentRoute]]" section="reset">
<settings-reset-page></settings-reset-page>
</settings-section>
« no previous file with comments | « no previous file | chrome/browser/resources/settings/basic_page/basic_page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698