From 6ee0c61edca0b741c56b0f59ae1b1576f44e53e4 Mon Sep 17 00:00:00 2001 From: Daniel Dudzic Date: Tue, 14 May 2024 12:33:21 +0200 Subject: [PATCH] Update Advanced PayPal Wallet strings --- modules/ppcp-wc-gateway/services.php | 2 +- modules/ppcp-wc-gateway/src/Assets/SettingsPageAssets.php | 2 +- .../src/Settings/Fields/connection-tab-fields.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/ppcp-wc-gateway/services.php b/modules/ppcp-wc-gateway/services.php index dcbc43333..f2991d9ef 100644 --- a/modules/ppcp-wc-gateway/services.php +++ b/modules/ppcp-wc-gateway/services.php @@ -1461,7 +1461,7 @@ return array( $button_text = $enabled ? esc_html__( 'Settings', 'woocommerce-paypal-payments' ) - : esc_html__( 'Enable Advanced PayPal Wallet', 'woocommerce-paypal-payments' ); + : esc_html__( 'Enable saving PayPal & Venmo', 'woocommerce-paypal-payments' ); $enable_url = $environment->current_environment_is( Environment::PRODUCTION ) ? $container->get( 'wcgateway.enable-reference-transactions-url-live' ) diff --git a/modules/ppcp-wc-gateway/src/Assets/SettingsPageAssets.php b/modules/ppcp-wc-gateway/src/Assets/SettingsPageAssets.php index 0abe5d0c8..50f453d9e 100644 --- a/modules/ppcp-wc-gateway/src/Assets/SettingsPageAssets.php +++ b/modules/ppcp-wc-gateway/src/Assets/SettingsPageAssets.php @@ -263,7 +263,7 @@ class SettingsPageAssets { 'reference_transaction_enabled' => $this->billing_agreements_endpoint->reference_transaction_enabled(), 'vaulting_must_enable_advanced_wallet_message' => sprintf( // translators: %1$s and %2$s are the opening and closing of HTML tag. - esc_html__( 'Your PayPal account must be enabled for the %1$sAdvanced PayPal Wallet%2$s to use PayPal Vaulting.', 'woocommerce-paypal-payments' ), + esc_html__( 'Your PayPal account must be eligible to %1$ssave PayPal and Venmo payment methods%2$s to enable PayPal Vaulting.', 'woocommerce-paypal-payments' ), '', '' ), diff --git a/modules/ppcp-wc-gateway/src/Settings/Fields/connection-tab-fields.php b/modules/ppcp-wc-gateway/src/Settings/Fields/connection-tab-fields.php index 73a17081b..7d29dd08b 100644 --- a/modules/ppcp-wc-gateway/src/Settings/Fields/connection-tab-fields.php +++ b/modules/ppcp-wc-gateway/src/Settings/Fields/connection-tab-fields.php @@ -411,7 +411,7 @@ return function ( ContainerInterface $container, array $fields ): array { 'gateway' => Settings::CONNECTION_TAB_ID, ), 'ppcp_reference_transactions_status' => array( - 'title' => __( 'Advanced PayPal Wallet', 'woocommerce-paypal-payments' ), + 'title' => __( 'Save PayPal & Venmo payment methods', 'woocommerce-paypal-payments' ), 'type' => 'ppcp-text', 'text' => $container->get( 'wcgateway.settings.connection.reference-transactions-status-text' ), 'screens' => array(