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

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

Issue 2677413002: MD Settings: Make Protected Content toggle change label text on toggle (Closed)
Patch Set: Created 3 years, 10 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/privacy_page/privacy_page.html
diff --git a/chrome/browser/resources/settings/privacy_page/privacy_page.html b/chrome/browser/resources/settings/privacy_page/privacy_page.html
index 3bb8aeee8b9260893538907b88be04ec25ea5ff5..28996b797ee38e9b03c74bd060f568ed104c02b2 100644
--- a/chrome/browser/resources/settings/privacy_page/privacy_page.html
+++ b/chrome/browser/resources/settings/privacy_page/privacy_page.html
@@ -444,7 +444,10 @@
<div class="settings-box first">
<settings-toggle-button class="start"
pref="{{prefs.settings.privacy.drm_enabled}}"
- label="$i18n{siteSettingsProtectedContentEnable}">
+ label="[[getStringTernary_(
+ prefs.settings.privacy.drm_enabled.value,
+ '$i18n{siteSettingsProtectedContentEnable}',
+ '$i18n{siteSettingsBlocked}')]]">
dschuyler 2017/02/07 21:46:31 I'll want to change these to $i18nStr{} after this
tommycli 2017/02/07 22:00:07 Done.
</settings-toggle-button>
</div>
</settings-subpage>

Powered by Google App Engine
This is Rietveld 408576698