From e220926b657eccb87a26e928b253579c4075ed60 Mon Sep 17 00:00:00 2001 From: Jeff Stieler Date: Sat, 16 Sep 2017 18:31:13 -0700 Subject: [PATCH] Setup wizard: remove markup (where possible) from the translated Stripe service description. --- includes/admin/class-wc-admin-setup-wizard.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/includes/admin/class-wc-admin-setup-wizard.php b/includes/admin/class-wc-admin-setup-wizard.php index a35829b40a6..7d2dd343fb9 100644 --- a/includes/admin/class-wc-admin-setup-wizard.php +++ b/includes/admin/class-wc-admin-setup-wizard.php @@ -853,11 +853,17 @@ class WC_Admin_Setup_Wizard { $country = WC()->countries->get_base_country(); $user_email = $this->get_current_user_email(); + $stripe_description = '

' . sprintf( + __( 'Accept all major debit and credit cards from customers in 135+ countries on your site. Learn more about Stripe.', 'woocommerce' ), + 'https://wordpress.org/plugins/woocommerce-gateway-stripe/' + ) . '

'; + $stripe_fee_notice = '

' . __( 'Fee: 2.9%% + 30¢ per transaction', 'woocommerce' ) . '

'; + $gateways = array( 'stripe' => array( 'name' => __( 'Stripe', 'woocommerce' ), 'image' => WC()->plugin_url() . '/assets/images/stripe.png', - 'description' => sprintf( __( '

Accept all major debit and credit cards from customers in 135+ countries on your site. Learn more about Stripe.

Fee: 2.9%% + 30¢ per transaction

', 'woocommerce' ), 'https://wordpress.org/plugins/woocommerce-gateway-stripe/' ), + 'description' => $stripe_description . $stripe_fee_notice, 'repo-slug' => 'woocommerce-gateway-stripe', 'settings' => array( 'email' => array(