diff --git a/app/code/Magento/Shipping/Controller/Adminhtml/Order/Shipment/Email.php b/app/code/Magento/Shipping/Controller/Adminhtml/Order/Shipment/Email.php index 1f5d6e2cb7a89..f08204fdff0d7 100644 --- a/app/code/Magento/Shipping/Controller/Adminhtml/Order/Shipment/Email.php +++ b/app/code/Magento/Shipping/Controller/Adminhtml/Order/Shipment/Email.php @@ -57,7 +57,9 @@ public function execute() $this->_objectManager->create(\Magento\Shipping\Model\ShipmentNotifier::class) ->notify($shipment); $shipment->save(); - $this->messageManager->addSuccess(__('You sent the shipment.')); + $this->messageManager->addSuccess( + __('An email confirming the order is underway has been sent to the customer.') + ); } } catch (\Magento\Framework\Exception\LocalizedException $e) { $this->messageManager->addError($e->getMessage()); diff --git a/app/code/Magento/Shipping/Test/Unit/Controller/Adminhtml/Order/Shipment/EmailTest.php b/app/code/Magento/Shipping/Test/Unit/Controller/Adminhtml/Order/Shipment/EmailTest.php index 7e4e27efe5ba7..3507b7fe2e274 100644 --- a/app/code/Magento/Shipping/Test/Unit/Controller/Adminhtml/Order/Shipment/EmailTest.php +++ b/app/code/Magento/Shipping/Test/Unit/Controller/Adminhtml/Order/Shipment/EmailTest.php @@ -207,7 +207,7 @@ public function testEmail() ->will($this->returnValue(true)); $this->messageManager->expects($this->once()) ->method('addSuccess') - ->with('You sent the shipment.'); + ->with('An email confirming the order is underway has been sent to the customer.'); $path = '*/*/view'; $arguments = ['shipment_id' => $shipmentId]; $this->prepareRedirect($path, $arguments, 0); diff --git a/app/code/Magento/Shipping/i18n/en_US.csv b/app/code/Magento/Shipping/i18n/en_US.csv index f777e64ef98c9..0bda9d2a71477 100644 --- a/app/code/Magento/Shipping/i18n/en_US.csv +++ b/app/code/Magento/Shipping/i18n/en_US.csv @@ -28,7 +28,7 @@ Shipments,Shipments "Cannot add tracking number.","Cannot add tracking number." "You created the shipping label.","You created the shipping label." "An error occurred while creating shipping label.","An error occurred while creating shipping label." -"You sent the shipment.","You sent the shipment." +"An email confirming the order is underway has been sent to the customer.","An email confirming the order is underway has been sent to the customer." "Cannot send shipment information.","Cannot send shipment information." "There are no shipping labels related to selected orders.","There are no shipping labels related to selected orders." "New Shipment","New Shipment"