From 256ca019d14e753bcacc94266d4509f642b6985f Mon Sep 17 00:00:00 2001 From: Alex P Date: Mon, 8 Jan 2024 11:37:06 +0200 Subject: [PATCH] Rename locations in style settings --- .../src/Settings/Fields/pay-later-tab-fields.php | 4 ++-- .../Fields/paypal-smart-button-fields.php | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/modules/ppcp-wc-gateway/src/Settings/Fields/pay-later-tab-fields.php b/modules/ppcp-wc-gateway/src/Settings/Fields/pay-later-tab-fields.php index 4fc6635f7..094e12026 100644 --- a/modules/ppcp-wc-gateway/src/Settings/Fields/pay-later-tab-fields.php +++ b/modules/ppcp-wc-gateway/src/Settings/Fields/pay-later-tab-fields.php @@ -378,7 +378,7 @@ return function ( ContainerInterface $container, array $fields ): array { // Cart. 'pay_later_cart_messaging_heading' => array( - 'heading' => __( 'Pay Later Messaging on Cart', 'woocommerce-paypal-payments' ), + 'heading' => __( 'Pay Later Messaging on Classic Cart', 'woocommerce-paypal-payments' ), 'type' => 'ppcp-heading', 'screens' => array( State::STATE_ONBOARDED ), 'requirements' => array(), @@ -502,7 +502,7 @@ return function ( ContainerInterface $container, array $fields ): array { // Checkout. 'pay_later_checkout_messaging_heading' => array( - 'heading' => __( 'Pay Later Messaging on Checkout', 'woocommerce-paypal-payments' ), + 'heading' => __( 'Pay Later Messaging on Classic Checkout', 'woocommerce-paypal-payments' ), 'type' => 'ppcp-heading', 'screens' => array( State::STATE_ONBOARDED ), 'requirements' => array(), diff --git a/modules/ppcp-wc-gateway/src/Settings/Fields/paypal-smart-button-fields.php b/modules/ppcp-wc-gateway/src/Settings/Fields/paypal-smart-button-fields.php index aad87730f..93c0ac8e7 100644 --- a/modules/ppcp-wc-gateway/src/Settings/Fields/paypal-smart-button-fields.php +++ b/modules/ppcp-wc-gateway/src/Settings/Fields/paypal-smart-button-fields.php @@ -222,11 +222,11 @@ return function ( ContainerInterface $container, array $fields ): array { // Checkout page. 'button_checkout_heading' => array( - 'heading' => __( 'Checkout Buttons', 'woocommerce-paypal-payments' ), + 'heading' => __( 'Classic Checkout Buttons', 'woocommerce-paypal-payments' ), 'description' => sprintf( // translators: %1$s and %2$s are the opening and closing of HTML tag. __( - 'Customize the appearance of the PayPal smart buttons on the %1$sCheckout page%2$s. + 'Customize the appearance of the PayPal smart buttons on the %1$sClassic Checkout page%2$s. %3$sCheckout Buttons must be enabled to display the PayPal gateway on the Checkout page. ', 'woocommerce-paypal-payments' @@ -508,11 +508,11 @@ return function ( ContainerInterface $container, array $fields ): array { // Cart settings. 'button_cart_heading' => array( - 'heading' => __( 'Cart Buttons', 'woocommerce-paypal-payments' ), + 'heading' => __( 'Classic Cart Buttons', 'woocommerce-paypal-payments' ), 'description' => sprintf( // translators: %1$s and %2$s are the opening and closing of HTML tag. __( - 'Customize the appearance of the PayPal smart buttons on the %1$sCart page%2$s.', + 'Customize the appearance of the PayPal smart buttons on the %1$sClassic Cart page%2$s.', 'woocommerce-paypal-payments' ), '', @@ -805,11 +805,11 @@ return function ( ContainerInterface $container, array $fields ): array { // Block express checkout settings. 'button_checkout-block-express_heading' => array( - 'heading' => __( 'Block Express Checkout Buttons', 'woocommerce-paypal-payments' ), + 'heading' => __( 'Express Checkout Buttons', 'woocommerce-paypal-payments' ), 'description' => sprintf( // translators: %1$s and %2$s are the opening and closing of HTML tag. __( - 'Customize the appearance of the PayPal smart buttons on the %1$sBlock Express Checkout%2$s.', + 'Customize the appearance of the PayPal smart buttons on the %1$sExpress Checkout%2$s.', 'woocommerce-paypal-payments' ), '', @@ -923,11 +923,11 @@ return function ( ContainerInterface $container, array $fields ): array { // Block cart settings. 'button_cart-block_heading' => array( - 'heading' => __( 'Block Cart Buttons', 'woocommerce-paypal-payments' ), + 'heading' => __( 'Cart Buttons', 'woocommerce-paypal-payments' ), 'description' => sprintf( // translators: %1$s and %2$s are the opening and closing of HTML tag. __( - 'Customize the appearance of the PayPal smart buttons on the %1$sBlock Cart%2$s.', + 'Customize the appearance of the PayPal smart buttons on the %1$sCart%2$s.', 'woocommerce-paypal-payments' ), '',