Merge pull request #20704 from woocommerce/update/obw-paypal-express-checkout-name-change

OBW: Change name of PayPal Express Checkout gateway to match rebranding
This commit is contained in:
Claudiu Lodromanean 2018-07-06 09:13:58 -07:00 committed by GitHub
commit 2895c1cbca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -1238,10 +1238,10 @@ class WC_Admin_Setup_Wizard {
__( 'Accept debit and credit cards in 135+ currencies, methods such as Alipay, and one-touch checkout with Apple Pay. <a href="%s" target="_blank">Learn more</a>.', 'woocommerce' ), __( 'Accept debit and credit cards in 135+ currencies, methods such as Alipay, and one-touch checkout with Apple Pay. <a href="%s" target="_blank">Learn more</a>.', 'woocommerce' ),
'https://woocommerce.com/products/stripe/' 'https://woocommerce.com/products/stripe/'
) . '</p>'; ) . '</p>';
$paypal_ec_description = '<p>' . sprintf( $paypal_checkout_description = '<p>' . sprintf(
/* translators: %s: URL */ /* translators: %s: URL */
__( 'Safe and secure payments using credit cards or your customer\'s PayPal account. <a href="%s" target="_blank">Learn more</a>.', 'woocommerce' ), __( 'Safe and secure payments using credit cards or your customer\'s PayPal account. <a href="%s" target="_blank">Learn more</a>.', 'woocommerce' ),
'https://woocommerce.com/products/woocommerce-gateway-paypal-express-checkout/' 'https://woocommerce.com/products/woocommerce-gateway-paypal-checkout/'
) . '</p>'; ) . '</p>';
$klarna_checkout_description = '<p>' . sprintf( $klarna_checkout_description = '<p>' . sprintf(
/* translators: %s: URL */ /* translators: %s: URL */
@ -1286,9 +1286,9 @@ class WC_Admin_Setup_Wizard {
), ),
), ),
'ppec_paypal' => array( 'ppec_paypal' => array(
'name' => __( 'WooCommerce PayPal Express Checkout Gateway', 'woocommerce' ), 'name' => __( 'WooCommerce PayPal Checkout Gateway', 'woocommerce' ),
'image' => WC()->plugin_url() . '/assets/images/paypal.png', 'image' => WC()->plugin_url() . '/assets/images/paypal.png',
'description' => $paypal_ec_description, 'description' => $paypal_checkout_description,
'enabled' => true, 'enabled' => true,
'class' => 'checked paypal-logo', 'class' => 'checked paypal-logo',
'repo-slug' => 'woocommerce-gateway-paypal-express-checkout', 'repo-slug' => 'woocommerce-gateway-paypal-express-checkout',