mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
Merge pull request #2226 from woocommerce/PCP-3054-update-strings
Update Advanced PayPal Wallet strings (3054)
This commit is contained in:
commit
c00b2468bb
3 changed files with 3 additions and 3 deletions
|
@ -1462,7 +1462,7 @@ return array(
|
||||||
|
|
||||||
$button_text = $enabled
|
$button_text = $enabled
|
||||||
? esc_html__( 'Settings', 'woocommerce-paypal-payments' )
|
? 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 )
|
$enable_url = $environment->current_environment_is( Environment::PRODUCTION )
|
||||||
? $container->get( 'wcgateway.enable-reference-transactions-url-live' )
|
? $container->get( 'wcgateway.enable-reference-transactions-url-live' )
|
||||||
|
|
|
@ -263,7 +263,7 @@ class SettingsPageAssets {
|
||||||
'reference_transaction_enabled' => $this->billing_agreements_endpoint->reference_transaction_enabled(),
|
'reference_transaction_enabled' => $this->billing_agreements_endpoint->reference_transaction_enabled(),
|
||||||
'vaulting_must_enable_advanced_wallet_message' => sprintf(
|
'vaulting_must_enable_advanced_wallet_message' => sprintf(
|
||||||
// translators: %1$s and %2$s are the opening and closing of HTML <a> tag.
|
// translators: %1$s and %2$s are the opening and closing of HTML <a> 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' ),
|
||||||
'<a href="/wp-admin/admin.php?page=wc-settings&tab=checkout§ion=ppcp-gateway&ppcp-tab=ppcp-connection#field-credentials_feature_onboarding_heading">',
|
'<a href="/wp-admin/admin.php?page=wc-settings&tab=checkout§ion=ppcp-gateway&ppcp-tab=ppcp-connection#field-credentials_feature_onboarding_heading">',
|
||||||
'</a>'
|
'</a>'
|
||||||
),
|
),
|
||||||
|
|
|
@ -411,7 +411,7 @@ return function ( ContainerInterface $container, array $fields ): array {
|
||||||
'gateway' => Settings::CONNECTION_TAB_ID,
|
'gateway' => Settings::CONNECTION_TAB_ID,
|
||||||
),
|
),
|
||||||
'ppcp_reference_transactions_status' => array(
|
'ppcp_reference_transactions_status' => array(
|
||||||
'title' => __( 'Advanced PayPal Wallet', 'woocommerce-paypal-payments' ),
|
'title' => __( 'Save PayPal & Venmo payment methods', 'woocommerce-paypal-payments' ),
|
||||||
'type' => 'ppcp-text',
|
'type' => 'ppcp-text',
|
||||||
'text' => $container->get( 'wcgateway.settings.connection.reference-transactions-status-text' ),
|
'text' => $container->get( 'wcgateway.settings.connection.reference-transactions-status-text' ),
|
||||||
'screens' => array(
|
'screens' => array(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue