From da38571824c4ff1ce0bb9be998a3f4eb5e6800fc Mon Sep 17 00:00:00 2001 From: Chi-Hsuan Huang Date: Tue, 5 Jul 2022 10:10:09 +0800 Subject: [PATCH] Fix wrong link and copy in payment setting page (#33716) * Fix wrong link and copy in payment setting page * Add changelog --- .../fix-33622-wrong-link-and-some-copy-in-payment-settings | 4 ++++ .../admin/settings/class-wc-settings-payment-gateways.php | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 plugins/woocommerce/changelog/fix-33622-wrong-link-and-some-copy-in-payment-settings diff --git a/plugins/woocommerce/changelog/fix-33622-wrong-link-and-some-copy-in-payment-settings b/plugins/woocommerce/changelog/fix-33622-wrong-link-and-some-copy-in-payment-settings new file mode 100644 index 00000000000..1bcc239bead --- /dev/null +++ b/plugins/woocommerce/changelog/fix-33622-wrong-link-and-some-copy-in-payment-settings @@ -0,0 +1,4 @@ +Significance: patch +Type: fix + +Fix wrong link and copy in payment setting page diff --git a/plugins/woocommerce/includes/admin/settings/class-wc-settings-payment-gateways.php b/plugins/woocommerce/includes/admin/settings/class-wc-settings-payment-gateways.php index b9b8bf46f7a..60b1a24118e 100644 --- a/plugins/woocommerce/includes/admin/settings/class-wc-settings-payment-gateways.php +++ b/plugins/woocommerce/includes/admin/settings/class-wc-settings-payment-gateways.php @@ -198,7 +198,7 @@ class WC_Settings_Payment_Gateways extends WC_Settings_Page { $setup_url = admin_url( 'admin.php?page=wc-settings&tab=checkout§ion=' . strtolower( $gateway->id ) ); } /* Translators: %s Payment gateway name. */ - echo '' . esc_html__( 'Set up', 'woocommerce' ) . ''; + echo '' . esc_html__( 'Finish set up', 'woocommerce' ) . ''; } break; case 'status': @@ -226,12 +226,12 @@ class WC_Settings_Payment_Gateways extends WC_Settings_Page { */ if ( WooCommercePayments::is_supported() ) { $columns_count = count( $columns ); - $link_text = __( 'Other payment methods', 'woocommerce' ); + $link_text = __( 'Discover other payment providers', 'woocommerce' ); $external_link_icon = ''; echo ''; // phpcs:ignore -- ignoring the error since the value is harded. echo ""; - echo ""; + echo ""; // phpcs:ignore echo $link_text; // phpcs:ignore