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

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

Issue 1966093005: [MD settings] i18n-content to $i18n switch in People settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/people_page/sync_page.html
diff --git a/chrome/browser/resources/settings/people_page/sync_page.html b/chrome/browser/resources/settings/people_page/sync_page.html
index 1b29adc39581c40e311f5aacca9031d9325f79e2..870dadb92397edbd0a6fc2db1965d81382971a40 100644
--- a/chrome/browser/resources/settings/people_page/sync_page.html
+++ b/chrome/browser/resources/settings/people_page/sync_page.html
@@ -25,13 +25,13 @@
}
</style>
<iron-pages id="pages" selected="loading" attr-for-selected="id">
- <div id="loading" i18n-content="syncLoading"></div>
- <div id="timeout" i18n-content="syncTimeout"></div>
+ <div id="loading">$i18n{syncLoading}</div>
+ <div id="timeout">$i18n{syncTimeout}</div>
<div id="main">
<div class="settings-box first block">
<paper-checkbox checked="{{syncPrefs.syncAllDataTypes}}"
on-change="onSyncAllDataTypesChanged_">
- <span i18n-content="syncEverythingCheckboxLabel">
+ $i18n{syncEverythingCheckboxLabel}
</paper-checkbox>
<div class="list-frame">
@@ -39,55 +39,55 @@
on-change="onSingleSyncDataTypeChanged_" class="list-item"
hidden="[[!syncPrefs.appsRegistered]]"
disabled="[[shouldSyncCheckboxBeDisabled_(syncPrefs.syncAllDataTypes, syncPrefs.appsEnforced)]]">
- <span i18n-content="appCheckboxLabel"></span>
+ $i18n{appCheckboxLabel}
</paper-checkbox>
<paper-checkbox checked="{{syncPrefs.autofillSynced}}"
on-change="onSingleSyncDataTypeChanged_" class="list-item"
hidden="[[!syncPrefs.autofillRegistered]]"
disabled="[[shouldSyncCheckboxBeDisabled_(syncPrefs.syncAllDataTypes, syncPrefs.autofillEnforced)]]">
- <span i18n-content="autofillCheckboxLabel"></span>
+ $i18n{autofillCheckboxLabel}
</paper-checkbox>
<paper-checkbox checked="{{syncPrefs.bookmarksSynced}}"
on-change="onSingleSyncDataTypeChanged_" class="list-item"
hidden="[[!syncPrefs.bookmarksRegistered]]"
disabled="[[shouldSyncCheckboxBeDisabled_(syncPrefs.syncAllDataTypes, syncPrefs.bookmarksEnforced)]]">
- <span i18n-content="bookmarksCheckboxLabel"></span>
+ $i18n{bookmarksCheckboxLabel}
</paper-checkbox>
<paper-checkbox checked="{{syncPrefs.extensionsSynced}}"
on-change="onSingleSyncDataTypeChanged_" class="list-item"
hidden="[[!syncPrefs.extensionsRegistered]]"
disabled="[[shouldSyncCheckboxBeDisabled_(syncPrefs.syncAllDataTypes, syncPrefs.extensionsEnforced)]]">
- <span i18n-content="extensionsCheckboxLabel"></span>
+ $i18n{extensionsCheckboxLabel}
</paper-checkbox>
<paper-checkbox checked="{{syncPrefs.typedUrlsSynced}}"
on-change="onSingleSyncDataTypeChanged_" class="list-item"
hidden="[[!syncPrefs.typedUrlsRegistered]]"
disabled="[[shouldSyncCheckboxBeDisabled_(syncPrefs.syncAllDataTypes, syncPrefs.typedUrlsEnforced)]]">
- <span i18n-content="historyCheckboxLabel"></span>
+ $i18n{historyCheckboxLabel}
</paper-checkbox>
<paper-checkbox checked="{{syncPrefs.passwordsSynced}}"
on-change="onSingleSyncDataTypeChanged_" class="list-item"
hidden="[[!syncPrefs.passwordsRegistered]]"
disabled="[[shouldSyncCheckboxBeDisabled_(syncPrefs.syncAllDataTypes, syncPrefs.passwordsEnforced)]]">
- <span i18n-content="passwordsCheckboxLabel"></span>
+ $i18n{passwordsCheckboxLabel}
</paper-checkbox>
<paper-checkbox checked="{{syncPrefs.preferencesSynced}}"
on-change="onSingleSyncDataTypeChanged_" class="list-item"
hidden="[[!syncPrefs.preferencesRegistered]]"
disabled="[[shouldSyncCheckboxBeDisabled_(syncPrefs.syncAllDataTypes, syncPrefs.preferencesEnforced)]]">
- <span i18n-content="settingsCheckboxLabel"></span>
+ $i18n{settingsCheckboxLabel}
</paper-checkbox>
<paper-checkbox checked="{{syncPrefs.themesSynced}}"
on-change="onSingleSyncDataTypeChanged_" class="list-item"
hidden="[[!syncPrefs.themesRegistered]]"
disabled="[[shouldSyncCheckboxBeDisabled_(syncPrefs.syncAllDataTypes, syncPrefs.themesEnforced)]]">
- <span i18n-content="themesAndWallpapersCheckboxLabel"></span>
+ $i18n{themesAndWallpapersCheckboxLabel}
</paper-checkbox>
<paper-checkbox checked="{{syncPrefs.tabsSynced}}"
on-change="onSingleSyncDataTypeChanged_" class="list-item"
hidden="[[!syncPrefs.tabsRegistered]]"
disabled="[[shouldSyncCheckboxBeDisabled_(syncPrefs.syncAllDataTypes, syncPrefs.tabsEnforced)]]">
- <span i18n-content="openTabsCheckboxLabel"></span>
+ $i18n{openTabsCheckboxLabel}
</paper-checkbox>
</div>
</div>

Powered by Google App Engine
This is Rietveld 408576698