From 09fdd98369c8a764e2929df2e39b2f17dc543843 Mon Sep 17 00:00:00 2001 From: dinamiko Date: Thu, 21 Jan 2021 11:11:23 +0100 Subject: [PATCH] Replace `PayPal Credit` to `Pay Later` in payment settings page --- modules/ppcp-wc-gateway/services.php | 10 +++++----- .../src/Gateway/class-paypalgateway.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/ppcp-wc-gateway/services.php b/modules/ppcp-wc-gateway/services.php index 1aba3f682..a8230744a 100644 --- a/modules/ppcp-wc-gateway/services.php +++ b/modules/ppcp-wc-gateway/services.php @@ -541,7 +541,7 @@ return array( 'default' => false, 'desc_tip' => true, 'description' => __( - 'If you enable this setting, PayPal will be instructed not to allow the buyer to use funding sources that take additional time to complete (for example, eChecks). Instead, the buyer will be required to use an instant funding source, such as an instant transfer, a credit/debit card, or PayPal Credit.', + 'If you enable this setting, PayPal will be instructed not to allow the buyer to use funding sources that take additional time to complete (for example, eChecks). Instead, the buyer will be required to use an instant funding source, such as an instant transfer, a credit/debit card, or Pay Later.', 'woocommerce-paypal-payments' ), 'label' => __( 'Require Instant Payment', 'woocommerce-paypal-payments' ), @@ -603,7 +603,7 @@ return array( ), 'options' => array( 'card' => _x( 'Credit or debit cards', 'Name of payment method', 'woocommerce-paypal-payments' ), - 'credit' => _x( 'PayPal Credit', 'Name of payment method', 'woocommerce-paypal-payments' ), + 'credit' => _x( 'Pay Later', 'Name of payment method', 'woocommerce-paypal-payments' ), 'sepa' => _x( 'SEPA-Lastschrift', 'Name of payment method', 'woocommerce-paypal-payments' ), 'bancontact' => _x( 'Bancontact', 'Name of payment method', 'woocommerce-paypal-payments' ), 'eps' => _x( 'eps', 'Name of payment method', 'woocommerce-paypal-payments' ), @@ -804,7 +804,7 @@ return array( ), 'requirements' => array( 'messages' ), 'gateway' => 'paypal', - 'description' => str_replace( '', '', __( 'Customize the appearance of PayPal Credit messages on checkout to promote special financing offers, which help increase sales.', 'woocommerce-paypal-payments' ) ), + 'description' => str_replace( '', '', __( 'Customize the appearance of Pay Later messages on checkout to promote special financing offers, which help increase sales.', 'woocommerce-paypal-payments' ) ), 'class' => array( 'ppcp-subheading' ), ), 'message_enabled' => array( @@ -1107,7 +1107,7 @@ return array( ), 'requirements' => array( 'messages' ), 'gateway' => 'paypal', - 'description' => str_replace( '', '', __( 'Customize the appearance of PayPal Credit messages on product pages to promote special financing offers, which help increase sales.', 'woocommerce-paypal-payments' ) ), + 'description' => str_replace( '', '', __( 'Customize the appearance of Pay Later messages on product pages to promote special financing offers, which help increase sales.', 'woocommerce-paypal-payments' ) ), 'class' => array( 'ppcp-subheading' ), ), 'message_product_enabled' => array( @@ -1410,7 +1410,7 @@ return array( ), 'requirements' => array( 'messages' ), 'gateway' => 'paypal', - 'description' => str_replace( '', '', __( 'Customize the appearance of PayPal Credit messages on your cart page to promote special financing offers, which help increase sales.', 'woocommerce-paypal-payments' ) ), + 'description' => str_replace( '', '', __( 'Customize the appearance of Pay Later messages on your cart page to promote special financing offers, which help increase sales.', 'woocommerce-paypal-payments' ) ), 'class' => array( 'ppcp-subheading' ), ), 'message_cart_enabled' => array( diff --git a/modules/ppcp-wc-gateway/src/Gateway/class-paypalgateway.php b/modules/ppcp-wc-gateway/src/Gateway/class-paypalgateway.php index b7bc31a66..e9c9ccace 100644 --- a/modules/ppcp-wc-gateway/src/Gateway/class-paypalgateway.php +++ b/modules/ppcp-wc-gateway/src/Gateway/class-paypalgateway.php @@ -290,7 +290,7 @@ class PayPalGateway extends \WC_Payment_Gateway { } return __( - 'Accept PayPal, PayPal Credit and alternative payment types.', + 'Accept PayPal, Pay Later and alternative payment types.', 'woocommerce-paypal-payments' ); }