mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-03 08:37:53 +08:00
Add tracking docs url
This commit is contained in:
parent
abc39d4dbd
commit
333b48e4ec
1 changed files with 6 additions and 1 deletions
|
@ -1158,7 +1158,12 @@ return array(
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
'wcgateway.settings.tracking-label' => static function ( ContainerInterface $container ): string {
|
'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 <a> tag.
|
||||||
|
__( 'Enable %1$sshipment tracking information%2$s to be sent to PayPal for seller protection features.', 'woocommerce-paypal-payments' ),
|
||||||
|
'<a href="https://woocommerce.com/document/woocommerce-paypal-payments/#shipment-tracking" target="_blank">',
|
||||||
|
'</a>'
|
||||||
|
);
|
||||||
|
|
||||||
if ( 'DE' === $container->get( 'api.shop.country' ) ) {
|
if ( 'DE' === $container->get( 'api.shop.country' ) ) {
|
||||||
$tracking_label .= '<br/>' . sprintf(
|
$tracking_label .= '<br/>' . sprintf(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue