Skip to content

Commit

Permalink
fix: translation dots
Browse files Browse the repository at this point in the history
  • Loading branch information
vermorag committed Nov 27, 2024
1 parent d5fdea8 commit 74ac38b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Actions/OrderDeleteAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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'));
}
}
}

0 comments on commit 74ac38b

Please sign in to comment.