Store setup task list - purchase flow copy changes (https://github.com/woocommerce/woocommerce-admin/pull/5727)

* Changed purchase task copy

This commit changes the purchase task copy

* Changed modal copy

This commit changes the purchase modal copy and CTA button copy

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
This commit is contained in:
Fernando 2020-12-01 08:55:27 -03:00 committed by GitHub
parent 34810b2791
commit 0801b56cd5
2 changed files with 8 additions and 8 deletions

View File

@ -126,7 +126,7 @@ class CartModal extends Component {
return (
<Modal
title={ __(
'Would you like to purchase and install the following features now?',
'Would you like to add the following paid features to your store now?',
'woocommerce-admin'
) }
onRequestClose={ () => this.onClose() }
@ -155,7 +155,7 @@ class CartModal extends Component {
isBusy={ purchaseNowButtonBusy }
onClick={ () => this.onClickPurchaseNow() }
>
{ __( 'Purchase & install now', 'woocommerce-admin' ) }
{ __( 'Buy now', 'woocommerce-admin' ) }
</Button>
</div>
</Modal>

View File

@ -83,14 +83,14 @@ export function getAllTasks( {
product_types: productTypes,
} = profileItems;
let purchaseAndInstallText = __( 'Purchase & install extensions' );
let purchaseAndInstallText = __( 'Add paid extensions to my store' );
if ( uniqueItemsList.length === 1 ) {
const { name: itemName, type: itemType } = uniqueItemsList[ 0 ];
const purchaseAndInstallFormat =
itemType === 'theme'
? __( 'Purchase & install %s theme', 'woocommerce-admin' )
: __( 'Purchase & install %s extension', 'woocommerce-admin' );
const { name: itemName } = uniqueItemsList[ 0 ];
const purchaseAndInstallFormat = __(
'Add %s to my store',
'woocommerce-admin'
);
purchaseAndInstallText = sprintf( purchaseAndInstallFormat, itemName );
}