Commit 2b7c80e6 authored by Monica Basta's avatar Monica Basta Committed by Commit Bot

[SyncSetup]: Update Advanced sync page title.

As part of friendly settings, the title of the Advanced sync page is
changed.

Bug: 1043122
Change-Id: Ifd98b613907916f7547e310c1d6c2b8788dfe537
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2093478Reviewed-by: default avatarEsmael Elmoslimany <aee@chromium.org>
Commit-Queue: Monica Basta <msalama@chromium.org>
Cr-Commit-Position: refs/heads/master@{#748258}
parent 94c75928
...@@ -144,6 +144,9 @@ ...@@ -144,6 +144,9 @@
<message name="IDS_SETTINGS_SYNC_ADVANCED_PAGE_TITLE" desc="Name of the settings page which manages data used by sync."> <message name="IDS_SETTINGS_SYNC_ADVANCED_PAGE_TITLE" desc="Name of the settings page which manages data used by sync.">
Manage sync Manage sync
</message> </message>
<message name="IDS_SETTINGS_NEW_SYNC_ADVANCED_PAGE_TITLE" desc="Name of the settings page which manages data used by sync.">
Manage what you sync
</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
</message> </message>
......
...@@ -139,9 +139,16 @@ void AddSyncAccountControlStrings(content::WebUIDataSource* html_source) { ...@@ -139,9 +139,16 @@ void AddSyncAccountControlStrings(content::WebUIDataSource* html_source) {
IDS_SETTINGS_PEOPLE_SYNC_PASSWORDS_NOT_WORKING}, IDS_SETTINGS_PEOPLE_SYNC_PASSWORDS_NOT_WORKING},
{"peopleSignOut", IDS_SETTINGS_PEOPLE_SIGN_OUT}, {"peopleSignOut", IDS_SETTINGS_PEOPLE_SIGN_OUT},
{"useAnotherAccount", IDS_SETTINGS_PEOPLE_SYNC_ANOTHER_ACCOUNT}, {"useAnotherAccount", IDS_SETTINGS_PEOPLE_SYNC_ANOTHER_ACCOUNT},
{"syncAdvancedPageTitle", IDS_SETTINGS_SYNC_ADVANCED_PAGE_TITLE},
}; };
AddLocalizedStringsBulk(html_source, kLocalizedStrings); AddLocalizedStringsBulk(html_source, kLocalizedStrings);
if (base::FeatureList::IsEnabled(features::kSyncSetupFriendlySettings)) {
html_source->AddLocalizedString("syncAdvancedPageTitle",
IDS_SETTINGS_NEW_SYNC_ADVANCED_PAGE_TITLE);
} else {
html_source->AddLocalizedString("syncAdvancedPageTitle",
IDS_SETTINGS_SYNC_ADVANCED_PAGE_TITLE);
}
} }
#if defined(OS_CHROMEOS) #if defined(OS_CHROMEOS)
......
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