From 9a79af69826cfa36224c174b2b9938a67a59512d Mon Sep 17 00:00:00 2001 From: AlexV Date: Tue, 28 May 2024 19:18:31 +0700 Subject: [PATCH] fix: barcode translation --- src/Actions/GenerateBarcodeAction.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Actions/GenerateBarcodeAction.php b/src/Actions/GenerateBarcodeAction.php index 3440b29..d4d66d8 100644 --- a/src/Actions/GenerateBarcodeAction.php +++ b/src/Actions/GenerateBarcodeAction.php @@ -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'), ]; } @@ -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'), ]; }