From 333b48e4ecd67d3b5886367664336819b2e0786c Mon Sep 17 00:00:00 2001 From: Alex P Date: Tue, 7 Feb 2023 15:52:58 +0200 Subject: [PATCH] Add tracking docs url --- modules/ppcp-wc-gateway/services.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/ppcp-wc-gateway/services.php b/modules/ppcp-wc-gateway/services.php index 630ee757c..5a3a2e6d7 100644 --- a/modules/ppcp-wc-gateway/services.php +++ b/modules/ppcp-wc-gateway/services.php @@ -1158,7 +1158,12 @@ return array( return false; }, 'wcgateway.settings.tracking-label' => static function ( ContainerInterface $container ): string { - $tracking_label = __( 'Enable shipment tracking information to be sent to PayPal for seller protection features.', 'woocommerce-paypal-payments' ); + $tracking_label = sprintf( + // translators: %1$s and %2$s are the opening and closing of HTML tag. + __( 'Enable %1$sshipment tracking information%2$s to be sent to PayPal for seller protection features.', 'woocommerce-paypal-payments' ), + '', + '' + ); if ( 'DE' === $container->get( 'api.shop.country' ) ) { $tracking_label .= '
' . sprintf(