Skip to content

Commit

Permalink
fix: barcode translation
Browse files Browse the repository at this point in the history
  • Loading branch information
vermorag committed May 28, 2024
1 parent 6f6d68a commit 9a79af6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Actions/GenerateBarcodeAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function __invoke(string $cdekUuid): array
if (!isset($order['entity'])) {
return [
'success' => false,
'message' => esc_html__("Failed to create waybill.\nTry re-creating the order.\nYou may need to cancel existing one (if that button exists)",
'message' => esc_html__("Failed to create barcode.\nTry re-creating the order.\nYou may need to cancel existing one (if that button exists)",
'cdekdelivery'),
];
}
Expand Down Expand Up @@ -61,7 +61,7 @@ public function __invoke(string $cdekUuid): array
if (!isset($barcode['entity'])) {
return [
'success' => false,
'message' => esc_html__("Failed to create waybill.\nTry re-creating the order.\nYou may need to cancel existing one (if that button exists)",
'message' => esc_html__("Failed to create barcode.\nTry re-creating the order.\nYou may need to cancel existing one (if that button exists)",
'cdekdelivery'),
];
}
Expand Down

0 comments on commit 9a79af6

Please sign in to comment.