Commit 40123bee authored by Leonard Grey's avatar Leonard Grey Committed by Commit Bot

Update string for Move Tab(s) to New Window

Bug: 1055953
Change-Id: I6e95e0304e2587cb24e3f5e3f302f6ea43cb59aa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2083591
Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org>
Auto-Submit: Leonard Grey <lgrey@chromium.org>
Reviewed-by: default avatarElly Fong-Jones <ellyjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#746082}
parent 55f89a0d
......@@ -6451,16 +6451,16 @@ the Bookmarks menu.">
<message name="IDS_BROWSER_WINDOW_TITLE_MENU_ENTRY" desc="The format for details of the title displayed in tabs and popup windows. [ICU Syntax]">
{NUM_PAGES, plural,
=0 {<ph name="PAGE_TITLE">$1<ex>Google</ex></ph>}
=1 {<ph name="PAGE_TITLE">$1<ex>Google</ex></ph> and 1 more page}
other {<ph name="PAGE_TITLE">$1<ex>Google</ex></ph> and # more pages}}
=1 {<ph name="PAGE_TITLE">$1<ex>Google</ex></ph> and 1 other tab}
other {<ph name="PAGE_TITLE">$1<ex>Google</ex></ph> and # other tabs}}
</message>
</if>
<if expr="use_titlecase">
<message name="IDS_BROWSER_WINDOW_TITLE_MENU_ENTRY" desc="In Title Case: The format for details of the title displayed in tabs and popup windows. [ICU Syntax]">
{NUM_PAGES, plural,
=0 {<ph name="PAGE_TITLE">$1<ex>Google</ex></ph>}
=1 {<ph name="PAGE_TITLE">$1<ex>Google</ex></ph> and 1 More Page}
other {<ph name="PAGE_TITLE">$1<ex>Google</ex></ph> and # More Pages}}
=1 {<ph name="PAGE_TITLE">$1<ex>Google</ex></ph> and 1 Other Tab}
other {<ph name="PAGE_TITLE">$1<ex>Google</ex></ph> and # Other Tabs}}
</message>
</if>
......
......@@ -62,7 +62,7 @@ void ExistingWindowSubMenuModelTest::CheckBrowserTitle(
if (expected_num_tabs > 1) {
std::ostringstream oss;
oss << " and " << expected_num_tabs - 1;
oss << ((expected_num_tabs == 2) ? " more page" : " more pages");
oss << ((expected_num_tabs == 2) ? " other tab" : " other tabs");
const base::string16 expected_suffix16 = base::ASCIIToUTF16(oss.str());
// Not case sensitive, since MacOS uses title case.
......
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