Wrap default payment gateway strings in __() function call (#33987)
* Wrap default payment gateway strings in __() function call * Add changelog
This commit is contained in:
parent
2e735ed5f7
commit
9bc4e88b1a
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: fix
|
||||
|
||||
Wrap default payment gateway strings in __() function call
|
|
@ -178,7 +178,7 @@ class DefaultPaymentGateways {
|
|||
'image' => WC_ADMIN_IMAGES_FOLDER_URL . '/onboarding/wcpay.svg',
|
||||
'image_72x72' => WC_ADMIN_IMAGES_FOLDER_URL . '/onboarding/wcpay.svg',
|
||||
'plugins' => array( 'woocommerce-payments' ),
|
||||
'description' => 'With WooCommerce Payments, you can securely accept major cards, Apple Pay, and payments in over 100 currencies. Track cash flow and manage recurring revenue directly from your store’s dashboard - with no setup costs or monthly fees.',
|
||||
'description' => __( 'With WooCommerce Payments, you can securely accept major cards, Apple Pay, and payments in over 100 currencies. Track cash flow and manage recurring revenue directly from your store’s dashboard - with no setup costs or monthly fees.', 'woocommerce' ),
|
||||
'is_visible' => array(
|
||||
self::get_rules_for_cbd( false ),
|
||||
self::get_rules_for_countries( self::get_wcpay_countries() ),
|
||||
|
@ -221,7 +221,7 @@ class DefaultPaymentGateways {
|
|||
'image' => WC_ADMIN_IMAGES_FOLDER_URL . '/onboarding/wcpay.svg',
|
||||
'image_72x72' => WC_ADMIN_IMAGES_FOLDER_URL . '/onboarding/wcpay.svg',
|
||||
'plugins' => array( 'woocommerce-payments' ),
|
||||
'description' => 'With WooCommerce Payments, you can securely accept major cards, Apple Pay, and payments in over 100 currencies. Track cash flow and manage recurring revenue directly from your store’s dashboard - with no setup costs or monthly fees.',
|
||||
'description' => __( 'With WooCommerce Payments, you can securely accept major cards, Apple Pay, and payments in over 100 currencies. Track cash flow and manage recurring revenue directly from your store’s dashboard - with no setup costs or monthly fees.', 'woocommerce' ),
|
||||
'is_visible' => array(
|
||||
self::get_rules_for_cbd( false ),
|
||||
self::get_rules_for_countries( array_diff( self::get_wcpay_countries(), array( 'US', 'CA' ) ) ),
|
||||
|
@ -257,7 +257,7 @@ class DefaultPaymentGateways {
|
|||
'image' => WC_ADMIN_IMAGES_FOLDER_URL . '/onboarding/wcpay.svg',
|
||||
'image_72x72' => WC_ADMIN_IMAGES_FOLDER_URL . '/onboarding/wcpay.svg',
|
||||
'plugins' => array( 'woocommerce-payments' ),
|
||||
'description' => 'With WooCommerce Payments, you can securely accept major cards, Apple Pay, and payments in over 100 currencies – with no setup costs or monthly fees – and you can now accept in-person payments with the Woo mobile app.',
|
||||
'description' => __( 'With WooCommerce Payments, you can securely accept major cards, Apple Pay, and payments in over 100 currencies – with no setup costs or monthly fees – and you can now accept in-person payments with the Woo mobile app.', 'woocommerce' ),
|
||||
'is_visible' => array(
|
||||
self::get_rules_for_cbd( false ),
|
||||
self::get_rules_for_countries( array( 'US', 'CA' ) ),
|
||||
|
|
Loading…
Reference in New Issue