Commit 73b8ac66 authored by Sean Harrison's avatar Sean Harrison Committed by Commit Bot

Add new string for the network prediction toggle

Bug: 1032584
Change-Id: Ic18e3947f11d756f8e6d28b53d380f7cde59d7c1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2133970
Commit-Queue: Sean Harrison <harrisonsean@chromium.org>
Reviewed-by: default avatarMartin Šrámek <msramek@chromium.org>
Reviewed-by: default avatardpapad <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#756985}
parent c61264e0
...@@ -1732,6 +1732,9 @@ ...@@ -1732,6 +1732,9 @@
<message name="IDS_SETTINGS_NETWORK_PREDICTION_ENABLED_DESC" desc="In the advanced options tab, the secondary text next to the checkbox that enables prediction of network actions."> <message name="IDS_SETTINGS_NETWORK_PREDICTION_ENABLED_DESC" desc="In the advanced options tab, the secondary text next to the checkbox that enables prediction of network actions.">
Uses cookies to remember your preferences, even if you don’t visit those pages Uses cookies to remember your preferences, even if you don’t visit those pages
</message> </message>
<message name="IDS_SETTINGS_NETWORK_PREDICTION_ENABLED_DESC_COOKIES_PAGE" desc="On the cookies page, the secondary text next to the checkbox that enables prediction of network actions.">
Pre-fetches information from pages, including pages you have not yet visited. Information fetched may include cookies, if you allow cookies.
</message>
<message name="IDS_SETTINGS_SAFEBROWSING_ENABLEPROTECTION" desc="The section title of 'Protects you and your device from dangerous sites'"> <message name="IDS_SETTINGS_SAFEBROWSING_ENABLEPROTECTION" desc="The section title of 'Protects you and your device from dangerous sites'">
Safe Browsing (protects you and your device from dangerous sites) Safe Browsing (protects you and your device from dangerous sites)
</message> </message>
......
...@@ -164,9 +164,9 @@ ...@@ -164,9 +164,9 @@
</settings-do-not-track-toggle> </settings-do-not-track-toggle>
<settings-toggle-button id="networkPrediction" <settings-toggle-button id="networkPrediction"
hidden="[[!pageVisibility.networkPrediction]]" hidden="[[!pageVisibility.networkPrediction]]"
pref="{{prefs.net.network_prediction_options}}"
label="$i18n{networkPredictionEnabled}" label="$i18n{networkPredictionEnabled}"
sub-label="$i18n{networkPredictionEnabledDesc}" sub-label="$i18n{networkPredictionEnabledDescCookiesPage}"
pref="{{prefs.net.network_prediction_options}}"
numeric-unchecked-value="[[networkPredictionUncheckedValue_]]" numeric-unchecked-value="[[networkPredictionUncheckedValue_]]"
on-settings-boolean-control-change="onNetworkPredictionChange_"> on-settings-boolean-control-change="onNetworkPredictionChange_">
</settings-toggle-button> </settings-toggle-button>
......
...@@ -1217,6 +1217,8 @@ void AddPrivacyStrings(content::WebUIDataSource* html_source, ...@@ -1217,6 +1217,8 @@ void AddPrivacyStrings(content::WebUIDataSource* html_source,
IDS_SETTINGS_NETWORK_PREDICTION_ENABLED_LABEL}, IDS_SETTINGS_NETWORK_PREDICTION_ENABLED_LABEL},
{"networkPredictionEnabledDesc", {"networkPredictionEnabledDesc",
IDS_SETTINGS_NETWORK_PREDICTION_ENABLED_DESC}, IDS_SETTINGS_NETWORK_PREDICTION_ENABLED_DESC},
{"networkPredictionEnabledDescCookiesPage",
IDS_SETTINGS_NETWORK_PREDICTION_ENABLED_DESC_COOKIES_PAGE},
{"safetyCheckSectionTitle", IDS_SETTINGS_SAFETY_CHECK_SECTION_TITLE}, {"safetyCheckSectionTitle", IDS_SETTINGS_SAFETY_CHECK_SECTION_TITLE},
{"safetyCheckParentPrimaryLabelBefore", {"safetyCheckParentPrimaryLabelBefore",
IDS_SETTINGS_SAFETY_CHECK_PARENT_PRIMARY_LABEL_BEFORE}, IDS_SETTINGS_SAFETY_CHECK_PARENT_PRIMARY_LABEL_BEFORE},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment