From a4d2048755890d98eed47f81908fd1b4b5afa0a8 Mon Sep 17 00:00:00 2001 From: Claudio Sanches Date: Fri, 24 Feb 2017 16:41:56 -0300 Subject: [PATCH 1/2] Fixed confuse translatable URLs --- includes/admin/class-wc-admin-setup-wizard.php | 18 +++++++++--------- includes/admin/class-wc-admin.php | 3 ++- .../views/html-admin-page-status-report.php | 2 +- .../admin/views/html-notice-theme-support.php | 2 +- 4 files changed, 13 insertions(+), 12 deletions(-) diff --git a/includes/admin/class-wc-admin-setup-wizard.php b/includes/admin/class-wc-admin-setup-wizard.php index 98cc0b2e06e..626ff34fbf2 100644 --- a/includes/admin/class-wc-admin-setup-wizard.php +++ b/includes/admin/class-wc-admin-setup-wizard.php @@ -217,7 +217,7 @@ class WC_Admin_Setup_Wizard { ?>

-

', '' ); ?>

+

pages. The following will be created automatically (if they do not already exist):', 'woocommerce' ), esc_url( admin_url( 'edit.php?post_type=page' ) ) ); ?>

@@ -249,7 +249,7 @@ class WC_Admin_Setup_Wizard {
-

Menus%4$s.', 'woocommerce' ), '', '', '', '' ); ?>

+

Pages screen. You can control which pages are shown on your website via Appearance > Menus.', 'woocommerce' ), esc_url( admin_url( 'edit.php?post_type=page' ) ), esc_url( admin_url( 'nav-menus.php' ) ) ); ?>

@@ -311,7 +311,7 @@ class WC_Admin_Setup_Wizard { } ?> - ', '' ); ?> + add it later.', 'woocommerce' ), 'https://docs.woocommerce.com/document/add-a-custom-currency-symbol/' ); ?> @@ -454,7 +454,7 @@ class WC_Admin_Setup_Wizard { ?> -

', '' ); ?>

+

our documentation.', 'woocommerce' ), 'https://docs.woocommerce.com/document/setting-up-taxes-in-woocommerce/' ); ?>

@@ -481,7 +481,7 @@ class WC_Admin_Setup_Wizard {
-

', '' ); ?>

+

tax settings screen. If in doubt, speak to an accountant.', 'woocommerce' ), esc_url( admin_url( 'admin.php?page=wc-settings&tab=tax' ) ) ); ?>

array( 'name' => __( 'PayPal by Braintree', 'woocommerce' ), 'image' => WC()->plugin_url() . '/assets/images/paypal-braintree.png', - 'description' => sprintf( __( 'Safe and secure payments using credit cards or your customer\'s PayPal account. %1$sLearn more about PayPal%2$s.', 'woocommerce' ), '', '' ), + 'description' => sprintf( __( 'Safe and secure payments using credit cards or your customer\'s PayPal account. Learn more about PayPal.', 'woocommerce' ), 'https://wordpress.org/plugins/woocommerce-gateway-paypal-powered-by-braintree/' ), 'class' => 'featured featured-row-last', 'repo-slug' => 'woocommerce-gateway-paypal-powered-by-braintree', ), 'paypal-ec' => array( 'name' => __( 'PayPal Express Checkout', 'woocommerce' ), 'image' => WC()->plugin_url() . '/assets/images/paypal.png', - 'description' => sprintf( __( 'Safe and secure payments using credit cards or your customer\'s PayPal account. %1$sLearn more about PayPal%2$s.', 'woocommerce' ), '', '' ), + 'description' => sprintf( __( 'Safe and secure payments using credit cards or your customer\'s PayPal account. Learn more about PayPal.', 'woocommerce' ), 'https://wordpress.org/plugins/woocommerce-gateway-paypal-express-checkout/' ), 'class' => 'featured featured-row-last', 'repo-slug' => 'woocommerce-gateway-paypal-express-checkout', ), 'stripe' => array( 'name' => __( 'Stripe', 'woocommerce' ), 'image' => WC()->plugin_url() . '/assets/images/stripe.png', - 'description' => sprintf( __( 'A modern and robust way to accept credit card payments on your store. %1$sLearn more about Stripe%2$s.', 'woocommerce' ), '', '' ), + 'description' => sprintf( __( 'A modern and robust way to accept credit card payments on your store. Learn more about Stripe.', 'woocommerce' ), 'https://wordpress.org/plugins/woocommerce-gateway-stripe/' ), 'class' => 'featured featured-row-first', 'repo-slug' => 'woocommerce-gateway-stripe', ), @@ -641,7 +641,7 @@ class WC_Admin_Setup_Wizard { ?>

-

', '', '' ); ?>

+

Additional payment methods can be installed later and managed from the checkout settings screen.', 'woocommerce' ), esc_url( admin_url( 'admin.php?page=wc-addons&view=payment-gateways' ) ), esc_url( admin_url( 'admin.php?page=wc-settings&tab=checkout' ) ) ); ?>