Commit ba92a96f authored by Elaine Chien's avatar Elaine Chien Committed by Chromium LUCI CQ

ChromeLabs: Add/modify relevant strings

Bug: 1145666
Change-Id: I745032bf28e1e0313c0ad6c5c47a5e41e85e4d61
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2626193Reviewed-by: default avatarAllen Bauer <kylixrd@chromium.org>
Reviewed-by: default avatarKen Rockot <rockot@google.com>
Commit-Queue: Elaine Chien <elainechien@chromium.org>
Cr-Commit-Position: refs/heads/master@{#843055}
parent e3af30d5
......@@ -1229,8 +1229,8 @@ Chromium is unable to recover your settings.
</message>
</if>
<!-- ChromeBeta bubble -->
<message name="IDS_CHROMEBETA_RELAUNCH_FOOTER_MESSAGE" desc="Text that shows in the footer of the Chrome Beta bubble when relaunch is needed for changes to take effect.">
<!-- ChromeLabs bubble -->
<message name="IDS_CHROMELABS_RELAUNCH_FOOTER_MESSAGE" desc="Text that shows in the footer of the Chrome Labs bubble when relaunch is needed for changes to take effect.">
Your changes will take effect the next time you relaunch Chromium.
</message>
</messages>
......
......@@ -11134,11 +11134,15 @@ Please help our engineers fix this problem. Tell us what happened right before y
Watch
</message>
<!-- ChromeBeta bubble -->
<message name="IDS_CHROMEBETA_RELAUNCH_BUTTON_LABEL"
desc="Label on the button in the footer of the Chrome Beta bubble which will relaunch the browser.">
<!-- ChromeLabs bubble -->
<message name="IDS_CHROMELABS_RELAUNCH_BUTTON_LABEL"
desc="Label on the button in the footer of the Chrome Labs bubble which will relaunch the browser.">
Relaunch
</message>
<message name="IDS_WINDOW_TITLE_EXPERIMENTS"
desc="Window title for the Chrome Labs bubble">
Experiments
</message>
</messages>
</release>
</grit>
e7ab60edaf05b72faa865f8060e28ec2243bf1e8
\ No newline at end of file
......@@ -1245,8 +1245,8 @@ Google Chrome is unable to recover your settings.
</message>
</if>
<!-- ChromeBeta bubble -->
<message name="IDS_CHROMEBETA_RELAUNCH_FOOTER_MESSAGE" desc="Text that shows in the footer of the Chrome Beta bubble when relaunch is needed for changes to take effect.">
<!-- ChromeLabs bubble -->
<message name="IDS_CHROMELABS_RELAUNCH_FOOTER_MESSAGE" desc="Text that shows in the footer of the Chrome Labs bubble when relaunch is needed for changes to take effect.">
Your changes will take effect the next time you relaunch Google Chrome.
</message>
</messages>
......
......@@ -81,7 +81,7 @@ class ChromeLabsFooter : public views::View {
views::Builder<views::Label>()
.CopyAddressTo(&restart_label_)
.SetText(l10n_util::GetStringUTF16(
IDS_CHROMEBETA_RELAUNCH_FOOTER_MESSAGE))
IDS_CHROMELABS_RELAUNCH_FOOTER_MESSAGE))
.SetMultiLine(true)
.SetHorizontalAlignment(gfx::ALIGN_LEFT)
.SetProperty(views::kFlexBehaviorKey,
......@@ -98,7 +98,7 @@ class ChromeLabsFooter : public views::View {
.CopyAddressTo(&restart_button_)
.SetCallback(base::BindRepeating(&chrome::AttemptRestart))
.SetText(l10n_util::GetStringUTF16(
IDS_CHROMEBETA_RELAUNCH_BUTTON_LABEL))
IDS_CHROMELABS_RELAUNCH_BUTTON_LABEL))
.SetProminent(true)
.Build());
SetBackground(views::CreateThemedSolidBackground(
......@@ -152,7 +152,7 @@ ChromeLabsBubbleView::ChromeLabsBubbleView(
model_(std::move(model)) {
SetButtons(ui::DIALOG_BUTTON_NONE);
SetShowCloseButton(true);
SetTitle(base::ASCIIToUTF16("Chrome Labs"));
SetTitle(l10n_util::GetStringUTF16(IDS_WINDOW_TITLE_EXPERIMENTS));
SetLayoutManager(std::make_unique<views::FlexLayout>())
->SetOrientation(views::LayoutOrientation::kVertical);
set_fixed_width(views::LayoutProvider::Get()->GetDistanceMetric(
......
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