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 ( return (
<Modal <Modal
title={ __( 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' 'woocommerce-admin'
) } ) }
onRequestClose={ () => this.onClose() } onRequestClose={ () => this.onClose() }
@ -155,7 +155,7 @@ class CartModal extends Component {
isBusy={ purchaseNowButtonBusy } isBusy={ purchaseNowButtonBusy }
onClick={ () => this.onClickPurchaseNow() } onClick={ () => this.onClickPurchaseNow() }
> >
{ __( 'Purchase & install now', 'woocommerce-admin' ) } { __( 'Buy now', 'woocommerce-admin' ) }
</Button> </Button>
</div> </div>
</Modal> </Modal>

View File

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