Commit b5ff781f authored by Thomas Tangl's avatar Thomas Tangl Committed by Commit Bot

[Dice] Change sync complete title in user menu

When sync is complete, the title in the
user menu is now "Syncing to".

Bug: 828551
Change-Id: I51697fd752c0f8eb28c86be0ad56d6e5001585c4
Reviewed-on: https://chromium-review.googlesource.com/1000734Reviewed-by: default avatarElly Fong-Jones <ellyjones@chromium.org>
Commit-Queue: Thomas Tangl <tangltom@chromium.org>
Cr-Commit-Position: refs/heads/master@{#549174}
parent 4af21b94
......@@ -7382,8 +7382,8 @@ I don't think this site should be blocked!
<message name="IDS_PROFILES_SETTINGS_LINK" desc="The link text to the Chrome settings page in the account removal view.">
settings
</message>
<message name="IDS_PROFILES_SYNCED_TO_TITLE" desc="Title of the profile card when sync is complete.">
Synced to
<message name="IDS_PROFILES_SYNC_COMPLETE_TITLE" desc="Title of the profile card when sync is complete.">
Syncing to
</message>
<message name="IDS_PROFILES_SYNC_SETTINGS_LINK" desc="The link text to the Chrome sync settings page in the avatar menu tutorial card.">
Settings
......
......@@ -987,7 +987,7 @@ views::View* ProfileChooserView::CreateCurrentProfileView(
!is_guest && avatar_item.signed_in && !account_consistency_enabled;
const base::string16 hover_button_title =
dice_enabled_ && browser_->profile()->IsSyncAllowed()
? l10n_util::GetStringUTF16(IDS_PROFILES_SYNCED_TO_TITLE)
? l10n_util::GetStringUTF16(IDS_PROFILES_SYNC_COMPLETE_TITLE)
: profile_name;
HoverButton* profile_card = new HoverButton(
this, std::move(current_profile_photo), hover_button_title,
......
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