Commit 8d92faa2 authored by Thomas Tangl's avatar Thomas Tangl Committed by Commit Bot

[unified-consent] Update settings strings

The following strings are updated as part of the
transition to Unity:
 - the title of the sync setup and personalization page
 - sync section title and description
 - personalization title
 - unity master toggle title
 - Sign-in prompt title

Mocks:
https://gallery.googleplex.com/projects/MCHbtQVoQ2HCZWnUS9sdsb0Q/files/MCHtA7U1iMGr68-mD5nfi-3ML6EZ2WWTC08

TBR=dpapad@chromium.org

Bug: 853187
Cq-Include-Trybots: luci.chromium.try:closure_compilation
Change-Id: I3184c5e9c8614a1d7bdd900f346b19769e2c985d
Reviewed-on: https://chromium-review.googlesource.com/1102501
Commit-Queue: Thomas Tangl <tangltom@chromium.org>
Reviewed-by: default avatarScott Chen <scottchen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#571432}
parent 884a46c1
...@@ -3186,10 +3186,7 @@ ...@@ -3186,10 +3186,7 @@
Google Profile photo Google Profile photo
</message> </message>
<message name="IDS_SETTINGS_PEOPLE_SYNC_UNIFIED_CONSENT_TOGGLE_TITLE" desc="The title of the toggle to opt into unified consent and enable all its services."> <message name="IDS_SETTINGS_PEOPLE_SYNC_UNIFIED_CONSENT_TOGGLE_TITLE" desc="The title of the toggle to opt into unified consent and enable all its services.">
Sync and personalize Chrome across you devices Use sync and all services
</message>
<message name="IDS_SETTINGS_PEOPLE_SYNC_UNIFIED_CONSENT_TOGGLE_SUBTITLE" desc="The subtitle of the toggle to opt into unified consent and enable all its services.">
Uses content on sites you visit and browser activity and interations.
</message> </message>
<message name="IDS_SETTINGS_PEOPLE_SIGN_OUT" desc="The label of the button that lets user sign-out of Chrome."> <message name="IDS_SETTINGS_PEOPLE_SIGN_OUT" desc="The label of the button that lets user sign-out of Chrome.">
Sign out Sign out
...@@ -3392,7 +3389,7 @@ ...@@ -3392,7 +3389,7 @@
Sign in Sign in
</message> </message>
<message name="IDS_SETTINGS_PEOPLE_SIGN_IN_PROMPT" desc="The text displayed to prompt users to sign in to chrome."> <message name="IDS_SETTINGS_PEOPLE_SIGN_IN_PROMPT" desc="The text displayed to prompt users to sign in to chrome.">
Web browsing with Google smarts Get Google smarts in Chrome
</message> </message>
<message name="IDS_SETTINGS_PEOPLE_SYNC_ANOTHER_ACCOUNT" desc="The label for the button that lets the user choose another account to sync with."> <message name="IDS_SETTINGS_PEOPLE_SYNC_ANOTHER_ACCOUNT" desc="The label for the button that lets the user choose another account to sync with.">
Use another account Use another account
...@@ -3457,23 +3454,29 @@ ...@@ -3457,23 +3454,29 @@
<message name="IDS_SETTINGS_SYNC" desc="Name of the sync service."> <message name="IDS_SETTINGS_SYNC" desc="Name of the sync service.">
Sync Sync
</message> </message>
<message name="IDS_SETTINGS_SYNC_UNIFIED_CONSENT" desc="Name of the sync service when unified consent is enabled.">
Sync and personalization
</message>
<message name="IDS_SETTINGS_SYNC_DESCRIPTION" desc="Text explaining what the sync system does."> <message name="IDS_SETTINGS_SYNC_DESCRIPTION" desc="Text explaining what the sync system does.">
Passwords, bookmarks, history, and more are synced to your account Passwords, bookmarks, history, and more are synced to your account
</message> </message>
<message name="IDS_SETTINGS_SYNC_DESCRIPTION_UNIFIED_CONSENT" desc="Text explaining what the sync system does, when unified consent is enabled.">
Your browsing data and activity, synced to your Google account.
</message>
<message name="IDS_SETTINGS_SYNC_SECTION_ACCESSIBILITY_LABEL" desc="Label for the button that toggles showing the sync settings. Only visible by screen reader software."> <message name="IDS_SETTINGS_SYNC_SECTION_ACCESSIBILITY_LABEL" desc="Label for the button that toggles showing the sync settings. Only visible by screen reader software.">
Show sync settings Show sync settings
</message> </message>
<message name="IDS_SETTINGS_PERSONALIZATION_SECTION_LABEL" desc="Title for a section that shows options for various Google services"> <message name="IDS_SETTINGS_NON_PERSONALIZED_SERVICES_SECTION_LABEL" desc="Title for a section that shows options for various Google services">
Other Google services Non-personalized services
</message> </message>
<message name="IDS_SETTINGS_PERSONALIZATION_SECTION_DESC" desc="Brief explanation of the capability of Google services."> <message name="IDS_SETTINGS_NON_PERSONALIZED_SERVICES_SECTION_DESC" desc="Brief explanation of the capability of Google services.">
Communicate with Google to improve browsing and Chrome Communicate with Google to improve browsing and Chrome
</message> </message>
<message name="IDS_SETTINGS_PERSONALIZATION_SECTION_ACCESSIBILITY_LABEL" desc="Label for the button that toggles showing the google services settings. Only visible by screen reader software."> <message name="IDS_SETTINGS_NON_PERSONALIZED_SERVICES_SECTION_ACCESSIBILITY_LABEL" desc="Label for the button that toggles showing the google services settings. Only visible by screen reader software.">
Show Google services settings Show Google services settings
</message> </message>
<message name="IDS_SETTINGS_SYNC_SYNC_AND_PERSONALIZATION" desc="The name of the settings page and the label of the button that takes the user to manage their sync and personalization settings."> <message name="IDS_SETTINGS_SYNC_SYNC_AND_NON_PERSONALIZED_SERVICES" desc="The name of the settings page and the label of the button that takes the user to manage their sync and non-personalized services settings.">
Sync and personalization Sync and Google services
</message> </message>
<message name="IDS_SETTINGS_SYNC_PAGE_TITLE" desc="Name of the settings page which manages syncing data between multiple browser instances with the same Google profile."> <message name="IDS_SETTINGS_SYNC_PAGE_TITLE" desc="Name of the settings page which manages syncing data between multiple browser instances with the same Google profile.">
Advanced sync settings Advanced sync settings
...@@ -3488,9 +3491,6 @@ ...@@ -3488,9 +3491,6 @@
<message name="IDS_SETTINGS_SYNC_SETTINGS_CANCEL_SYNC" desc="The label of button that allows user to cancel sync."> <message name="IDS_SETTINGS_SYNC_SETTINGS_CANCEL_SYNC" desc="The label of button that allows user to cancel sync.">
Cancel sync Cancel sync
</message> </message>
<message name="IDS_SETTINGS_SYNC_SIGN_IN_PROMPT_SECONDARY" desc="The secondary text displayed to prompt users to sign in to chrome.">
Turns on the features listed here. Uses your browser activity, content on some sites you visit, and other browser interactions for personalization.
</message>
</if> </if>
<message name="IDS_SETTINGS_SYNC_TIMEOUT" desc="Text explaining what to do if sync times out."> <message name="IDS_SETTINGS_SYNC_TIMEOUT" desc="Text explaining what to do if sync times out.">
Check your internet connection. If the problem continues, try signing out and signing in again. Check your internet connection. If the problem continues, try signing out and signing in again.
......
...@@ -269,7 +269,7 @@ ...@@ -269,7 +269,7 @@
<template is="dom-if" if="[[unifiedConsentEnabled_]]"> <template is="dom-if" if="[[unifiedConsentEnabled_]]">
<div class="settings-box" id="sync-setup" on-click="onSyncTap_" <div class="settings-box" id="sync-setup" on-click="onSyncTap_"
actionable> actionable>
<div class="start">$i18n{syncAndPersonalization}</div> <div class="start">$i18n{syncAndNonPersonalizedServices}</div>
<paper-icon-button-light class="subpage-arrow"> <paper-icon-button-light class="subpage-arrow">
<button aria-label="$i18n{sync}"></button> <button aria-label="$i18n{sync}"></button>
</paper-icon-button-light> </paper-icon-button-light>
......
...@@ -82,11 +82,12 @@ ...@@ -82,11 +82,12 @@
syncStatus.signinAllowed)]]"> syncStatus.signinAllowed)]]">
<settings-sync-account-control always-show-promo <settings-sync-account-control always-show-promo
sync-status="[[syncStatus]]" sync-status="[[syncStatus]]"
promo-label-with-account="$i18n{syncSignInPromptWithAccount}" promo-label-with-account="$i18n{peopleSignInPrompt}"
promo-label-with-no-account="$i18n{syncSignInPromptWithNoAccount}" promo-label-with-no-account="$i18n{peopleSignInPrompt}"
promo-secondary-label-with-account="$i18n{syncSignInPromptSecondary}" promo-secondary-label-with-account=
"$i18n{peopleSignInPromptSecondaryWithAccount}"
promo-secondary-label-with-no-account= promo-secondary-label-with-no-account=
"$i18n{syncSignInPromptSecondary}"> "$i18n{peopleSignInPromptSecondaryWithNoAccount}">
</settings-sync-account-control> </settings-sync-account-control>
</template> </template>
</if> </if>
...@@ -403,8 +404,10 @@ ...@@ -403,8 +404,10 @@
<div class="settings-box two-line" id="personalize-section-toggle" <div class="settings-box two-line" id="personalize-section-toggle"
actionable on-click="toggleExpandButton_"> actionable on-click="toggleExpandButton_">
<div class="start"> <div class="start">
<div>$i18n{personalizationSectionLabel}</div> <div>$i18n{nonPersonalizedServicesSectionLabel}</div>
<div class="secondary">$i18n{personalizationSectionDesc}</div> <div class="secondary">
$i18n{nonPersonalizedServicesSectionDesc}
</div>
</div> </div>
<cr-expand-button expanded="{{personalizeSectionOpened_}}" <cr-expand-button expanded="{{personalizeSectionOpened_}}"
alt="$i18n{syncExpandA11yLabel}"> alt="$i18n{syncExpandA11yLabel}">
......
...@@ -1620,7 +1620,6 @@ void AddPeopleStrings(content::WebUIDataSource* html_source, Profile* profile) { ...@@ -1620,7 +1620,6 @@ void AddPeopleStrings(content::WebUIDataSource* html_source, Profile* profile) {
IDS_SETTINGS_SYNC_SIGN_IN_PROMPT_WITH_ACCOUNT}, IDS_SETTINGS_SYNC_SIGN_IN_PROMPT_WITH_ACCOUNT},
{"syncSignInPromptWithNoAccount", {"syncSignInPromptWithNoAccount",
IDS_SETTINGS_SYNC_SIGN_IN_PROMPT_WITH_NO_ACCOUNT}, IDS_SETTINGS_SYNC_SIGN_IN_PROMPT_WITH_NO_ACCOUNT},
{"syncSignInPromptSecondary", IDS_SETTINGS_SYNC_SIGN_IN_PROMPT_SECONDARY},
#endif #endif
{"syncUnifiedConsentToggleTitle", {"syncUnifiedConsentToggleTitle",
IDS_SETTINGS_PEOPLE_SYNC_UNIFIED_CONSENT_TOGGLE_TITLE}, IDS_SETTINGS_PEOPLE_SYNC_UNIFIED_CONSENT_TOGGLE_TITLE},
...@@ -1641,16 +1640,23 @@ void AddPeopleStrings(content::WebUIDataSource* html_source, Profile* profile) { ...@@ -1641,16 +1640,23 @@ void AddPeopleStrings(content::WebUIDataSource* html_source, Profile* profile) {
{"deleteProfileWarningWithoutCounts", {"deleteProfileWarningWithoutCounts",
IDS_SETTINGS_SYNC_DISCONNECT_DELETE_PROFILE_WARNING_WITHOUT_COUNTS}, IDS_SETTINGS_SYNC_DISCONNECT_DELETE_PROFILE_WARNING_WITHOUT_COUNTS},
{"syncDisconnectConfirm", IDS_SETTINGS_SYNC_DISCONNECT_CONFIRM}, {"syncDisconnectConfirm", IDS_SETTINGS_SYNC_DISCONNECT_CONFIRM},
{"sync", IDS_SETTINGS_SYNC}, {"sync", IsUnifiedConsentEnabled(profile)
{"syncDescription", IDS_SETTINGS_SYNC_DESCRIPTION}, ? IDS_SETTINGS_SYNC_UNIFIED_CONSENT
{"personalizationSectionLabel", IDS_SETTINGS_PERSONALIZATION_SECTION_LABEL}, : IDS_SETTINGS_SYNC},
{"personalizationSectionDesc", IDS_SETTINGS_PERSONALIZATION_SECTION_DESC}, {"syncDescription", IsUnifiedConsentEnabled(profile)
{"personalizationExpandA11yLabel", ? IDS_SETTINGS_SYNC_DESCRIPTION_UNIFIED_CONSENT
IDS_SETTINGS_PERSONALIZATION_SECTION_ACCESSIBILITY_LABEL}, : IDS_SETTINGS_SYNC_DESCRIPTION},
{"nonPersonalizedServicesSectionLabel",
IDS_SETTINGS_NON_PERSONALIZED_SERVICES_SECTION_LABEL},
{"nonPersonalizedServicesSectionDesc",
IDS_SETTINGS_NON_PERSONALIZED_SERVICES_SECTION_DESC},
{"nonPersonalizedServicesExpandA11yLabel",
IDS_SETTINGS_NON_PERSONALIZED_SERVICES_SECTION_ACCESSIBILITY_LABEL},
{"syncExpandA11yLabel", IDS_SETTINGS_SYNC_SECTION_ACCESSIBILITY_LABEL}, {"syncExpandA11yLabel", IDS_SETTINGS_SYNC_SECTION_ACCESSIBILITY_LABEL},
{"syncAndPersonalization", IDS_SETTINGS_SYNC_SYNC_AND_PERSONALIZATION}, {"syncAndNonPersonalizedServices",
IDS_SETTINGS_SYNC_SYNC_AND_NON_PERSONALIZED_SERVICES},
{"syncPageTitle", IsUnifiedConsentEnabled(profile) {"syncPageTitle", IsUnifiedConsentEnabled(profile)
? IDS_SETTINGS_SYNC_SYNC_AND_PERSONALIZATION ? IDS_SETTINGS_SYNC_SYNC_AND_NON_PERSONALIZED_SERVICES
: IDS_SETTINGS_SYNC_PAGE_TITLE}, : IDS_SETTINGS_SYNC_PAGE_TITLE},
{"syncLoading", IDS_SETTINGS_SYNC_LOADING}, {"syncLoading", IDS_SETTINGS_SYNC_LOADING},
{"syncTimeout", IDS_SETTINGS_SYNC_TIMEOUT}, {"syncTimeout", IDS_SETTINGS_SYNC_TIMEOUT},
......
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