From 6e8d068bfbf80e943d8e1fd01c735e2597d35d01 Mon Sep 17 00:00:00 2001 From: Niklas Gutberlet <70433191+InpsydeNiklas@users.noreply.github.com> Date: Wed, 13 Sep 2023 19:29:49 +0200 Subject: [PATCH] Update Package Tracking strings --- .../src/MetaBoxRenderer.php | 18 ++++++++++++++---- .../src/OrderTrackingModule.php | 2 +- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/modules/ppcp-order-tracking/src/MetaBoxRenderer.php b/modules/ppcp-order-tracking/src/MetaBoxRenderer.php index d9ce236f7..ccc1118be 100644 --- a/modules/ppcp-order-tracking/src/MetaBoxRenderer.php +++ b/modules/ppcp-order-tracking/src/MetaBoxRenderer.php @@ -100,7 +100,7 @@ public function render( $post_or_order_object ): void { ?>
-

+

@@ -155,18 +155,28 @@ public function render( $post_or_order_object ): void {

-

+

-

+

render( $this->allowed_statuses ); } ?> -

+ ', + '' + ); + ?> +

+
diff --git a/modules/ppcp-order-tracking/src/OrderTrackingModule.php b/modules/ppcp-order-tracking/src/OrderTrackingModule.php index 3bd82700c..94dc1ffd0 100644 --- a/modules/ppcp-order-tracking/src/OrderTrackingModule.php +++ b/modules/ppcp-order-tracking/src/OrderTrackingModule.php @@ -99,7 +99,7 @@ function() use ( $meta_box_renderer, $bearer ) { add_meta_box( 'ppcp_order-tracking', - __( 'PayPal Shipment Tracking', 'woocommerce-paypal-payments' ), + __( 'PayPal Package Tracking', 'woocommerce-paypal-payments' ), array( $meta_box_renderer, 'render' ), $screen, 'normal'