From 74ac38b04929003efd57283592e9584cb7ab23e4 Mon Sep 17 00:00:00 2001 From: AlexV Date: Wed, 27 Nov 2024 19:01:22 +0700 Subject: [PATCH] fix: translation dots --- src/Actions/OrderDeleteAction.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Actions/OrderDeleteAction.php b/src/Actions/OrderDeleteAction.php index fe47818..9f46cd1 100644 --- a/src/Actions/OrderDeleteAction.php +++ b/src/Actions/OrderDeleteAction.php @@ -57,7 +57,7 @@ public function __invoke(int $orderId): ValidationResult return new ValidationResult( false, sprintf( esc_html__(/* translators: %s: Order number */ - 'An error occurred while deleting the order. Order number %s was not found.', + 'An error occurred while deleting the order. Order number %s was not found', 'cdekdelivery', ), $orderNumber, @@ -83,7 +83,7 @@ public function __invoke(int $orderId): ValidationResult return new ValidationResult( false, sprintf( esc_html__(/* translators: %s: Order number */ - 'An error occurred while deleting the order. Order number %s was not deleted.', + 'An error occurred while deleting the order. Order number %s was not deleted', 'cdekdelivery', ), $orderNumber, @@ -93,7 +93,7 @@ public function __invoke(int $orderId): ValidationResult IntakeDeleteAction::new()($orderId); - return new ValidationResult(true, esc_html__('Waybill has been deleted.', 'cdekdelivery')); + return new ValidationResult(true, esc_html__('Waybill has been deleted', 'cdekdelivery')); } } }