Commit e363d160 authored by Yue Zhang's avatar Yue Zhang Committed by Chromium LUCI CQ

[ChromeCart] Add strings for ChromeCart module

In this CL we add strings for:

* Module title.
* Module warm welcome message.
* Module-level action menu items.
* Cart-level action menu items.
* Module dismiss undo message.
* Cart dismiss undo message.

Right now these strings are not consumed and they will be used in
later CLs.

Bug: 1165935
Change-Id: I9e01da7eb13dac8e920795883939ca491f5ad9e9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2625948Reviewed-by: default avatarTibor Goldschwendt <tiborg@chromium.org>
Reviewed-by: default avatarWei-Yin Chen (陳威尹) <wychen@chromium.org>
Commit-Queue: Yue Zhang <yuezhanggg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#842790}
parent 6eeb415c
......@@ -5681,6 +5681,36 @@ Keep your key file in a safe place. You will need it to create new versions of y
<message name="IDS_NTP_MODULES_CART_HEADER_CHIP_NEW" desc="Text shown on the header chip of chrome cart module.">
New
</message>
<message name="IDS_NTP_MODULES_CART_TITLE" desc="Title shown in the header of the chrome cart module.">
Your carts
</message>
<message name="IDS_NTP_MODULES_CART_WARM_WELCOME" desc="Text shown in the module header when module shows for the first couple of times. This is served as welcome message and user education.">
Find what you added to shopping carts and check out when you're ready
</message>
<message name="IDS_NTP_MODULES_CART_MODULE_MENU_HIDE" desc="An option in the chrome cart module action menu to temporarily hide the module.">
Hide these carts
</message>
<message name="IDS_NTP_MODULES_CART_MODULE_MENU_HIDE_TOAST_MESSAGE" desc="Text shown in the toast confirming the cart module has been temporarily hidden.">
Carts hidden. They’ll reappear when you make changes.
</message>
<message name="IDS_NTP_MODULES_CART_MODULE_MENU_REMOVE" desc="An option in the chrome cart module action menu to permanently remove the module.">
Never show carts
</message>
<message name="IDS_NTP_MODULES_CART_MODULE_MENU_REMOVE_TOAST_MESSAGE" desc="Text shown in the toast confirming the cart module has been permanently removed.">
You won’t see your carts again on this page
</message>
<message name="IDS_NTP_MODULES_CART_CART_MENU_HIDE_MERCHANT" desc="An option in the action menu of one cart in the chrome cart module. When clicked, cart from that merchant will be temporarily hidden. Note that the MERCHANT field can be either merchant name (e.g. Amazon) or domain (e.g. amazon.com). ">
Hide <ph name="MERCHANT">$1<ex>Amazon</ex></ph>
</message>
<message name="IDS_NTP_MODULES_CART_CART_MENU_HIDE_MERCHANT_TOAST_MESSAGE" desc="Text shown in the toast confirming the cart for a specific merchant has been temporarily hidden. Note that the MERCHANT field can be either merchant name (e.g. Amazon) or domain (e.g. amazon.com).">
<ph name="MERCHANT">$1<ex>Amazon</ex> hidden. You’ll see it again when you revisit your cart.</ph>
</message>
<message name="IDS_NTP_MODULES_CART_CART_MENU_REMOVE_MERCHANT" desc="An option in the action menu of one cart in the chrome cart module. When clicked, cart from that merchant wil be permanently removed. Note that the MERCHANT field can be either merchant name (e.g. Amazon) or domain (e.g. amazon.com).">
Never show <ph name="MERCHANT">$1<ex>Amazon</ex></ph>
</message>
<message name="IDS_NTP_MODULES_CART_CART_MENU_REMOVE_MERCHANT_TOAST_MESSAGE" desc="Text shown in the toast confirming the cart for a specific merchant has been permanently removed. Note that the MERCHANT field can be either merchant name (e.g. Amazon) or domain (e.g. amazon.com).">
You won't see <ph name="MERCHANT">$1<ex>Amazon</ex></ph> again
</message>
<!-- Extensions NTP Middle Slot Promo -->
<message name="IDS_EXTENSIONS_PROMO_PERFORMANCE">
Web browsing should be fast. Take a moment to <ph name="BEGIN_LINK">&lt;a href="chrome://extensions"&gt;</ph>check your extensions<ph name="END_LINK">&lt;/a&gt;</ph> now.
......
205ecc3cdc1026ec8cc6609ae243b5b90dfc11f4
\ No newline at end of file
c119d94406ad14f56739fac99c72c7c24974f65c
\ No newline at end of file
df11d3425075ca0f6e7e9cf78d2a62109889cbc5
\ No newline at end of file
ec548a96a4238fc86061da1c371cf3e6a7cbe752
\ No newline at end of file
f04554a56498783b474bb86512ae5457820c6d7f
\ No newline at end of file
de5e8c64284ec8fc829ef48456bbc7d881101912
\ No newline at end of file
0e41d6ac7fc3bdeebfcb684017dfa72e725e9681
\ No newline at end of file
cc02912defe1e527eb9b6f9aa4e41df5fb99b3d1
\ No newline at end of file
......@@ -203,6 +203,22 @@ content::WebUIDataSource* CreateNewTabPageUiHtmlSource(Profile* profile) {
{"modulesTasksInfoTitle", IDS_NTP_MODULES_SHOPPING_TASKS_INFO_TITLE},
{"modulesTasksInfoClose", IDS_NTP_MODULES_SHOPPING_TASKS_INFO_CLOSE},
{"modulesCartHeaderNew", IDS_NTP_MODULES_CART_HEADER_CHIP_NEW},
{"modulesCartTitle", IDS_NTP_MODULES_CART_TITLE},
{"modulesCartWarmWelcome", IDS_NTP_MODULES_CART_WARM_WELCOME},
{"modulesCartModuleMenuHide", IDS_NTP_MODULES_CART_MODULE_MENU_HIDE},
{"modulesCartModuleMenuHideToastMessage",
IDS_NTP_MODULES_CART_MODULE_MENU_HIDE_TOAST_MESSAGE},
{"modulesCartModuleMenuRemove", IDS_NTP_MODULES_CART_MODULE_MENU_REMOVE},
{"modulesCartModuleMenuRemoveToastMessage",
IDS_NTP_MODULES_CART_MODULE_MENU_REMOVE_TOAST_MESSAGE},
{"modulesCartCartMenuHideMerchant",
IDS_NTP_MODULES_CART_CART_MENU_HIDE_MERCHANT},
{"modulesCartCartMenuHideMerchantToastMessage",
IDS_NTP_MODULES_CART_CART_MENU_HIDE_MERCHANT_TOAST_MESSAGE},
{"modulesCartCartMenuRemoveMerchant",
IDS_NTP_MODULES_CART_CART_MENU_REMOVE_MERCHANT},
{"modulesCartCartMenuRemoveMerchantToastMessage",
IDS_NTP_MODULES_CART_CART_MENU_REMOVE_MERCHANT_TOAST_MESSAGE},
};
AddLocalizedStringsBulk(source, kStrings);
......
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