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'), ]; }