File tree Expand file tree Collapse file tree 6 files changed +9
-9
lines changed
Reports/view/adminhtml/layout
Sales/Block/Adminhtml/Order
Controller/Adminhtml/Order/Shipment
Test/Unit/Controller/Adminhtml/Order/Shipment Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 46
46
<block class =" Magento\Backend\Block\Widget\Grid\ColumnSet" as =" grid.columnSet" name =" adminhtml.report.grid.columnSet" >
47
47
<arguments >
48
48
<argument name =" filter_visibility" xsi : type =" string" >0</argument >
49
- <argument name =" empty_text" xsi : type =" string" translate =" true" >We can\ 't find records for this period.</argument >
50
- <argument name =" empty_cell_label" xsi : type =" string" translate =" true" >We can\ 't find records for this period.</argument >
49
+ <argument name =" empty_text" xsi : type =" string" translate =" true" >We can't find records for this period.</argument >
50
+ <argument name =" empty_cell_label" xsi : type =" string" translate =" true" >We can't find records for this period.</argument >
51
51
</arguments >
52
52
<block class =" Magento\Backend\Block\Widget\Grid\Column" as =" period" >
53
53
<arguments >
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ public function getHeaderText()
132
132
if ($ this ->getCreditmemo ()->getEmailSent ()) {
133
133
$ emailSent = __ ('The credit memo email was sent. ' );
134
134
} else {
135
- $ emailSent = __ ('The credit memo email was not sent. ' );
135
+ $ emailSent = __ ('The credit memo email wasn \' t sent. ' );
136
136
}
137
137
return __ (
138
138
'Credit Memo #%1 | %3 | %2 (%4) ' ,
Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ public function getHeaderText()
191
191
if ($ this ->getInvoice ()->getEmailSent ()) {
192
192
$ emailSent = __ ('The invoice email was sent. ' );
193
193
} else {
194
- $ emailSent = __ ('The invoice email was not sent. ' );
194
+ $ emailSent = __ ('The invoice email wasn \' t sent. ' );
195
195
}
196
196
return __ (
197
197
'Invoice #%1 | %2 | %4 (%3) ' ,
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ public function execute()
76
76
} else {
77
77
$ response = [
78
78
'error ' => true ,
79
- 'message ' => __ ('Cannot initialize shipment for adding tracking number. ' ),
79
+ 'message ' => __ ('We can \' t initialize shipment for adding tracking number. ' ),
80
80
];
81
81
}
82
82
} catch (\Magento \Framework \Exception \LocalizedException $ e ) {
Original file line number Diff line number Diff line change @@ -61,11 +61,11 @@ public function execute()
61
61
} else {
62
62
$ response = [
63
63
'error ' => true ,
64
- 'message ' => __ ('Cannot initialize shipment for delete tracking number. ' ),
64
+ 'message ' => __ ('We can \' t initialize shipment for delete tracking number. ' ),
65
65
];
66
66
}
67
67
} catch (\Exception $ e ) {
68
- $ response = ['error ' => true , 'message ' => __ ('Cannot delete tracking number. ' )];
68
+ $ response = ['error ' => true , 'message ' => __ ('We can \' t delete tracking number. ' )];
69
69
}
70
70
} else {
71
71
$ response = [
Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ public function testExecuteShipmentLoadFail()
285
285
{
286
286
$ errors = [
287
287
'error ' => true ,
288
- 'message ' => 'Cannot initialize shipment for delete tracking number. ' ,
288
+ 'message ' => 'We can \' t initialize shipment for delete tracking number. ' ,
289
289
];
290
290
$ this ->shipmentLoad ();
291
291
@@ -302,7 +302,7 @@ public function testExecuteShipmentLoadFail()
302
302
*/
303
303
public function testExecuteDeleteFail ()
304
304
{
305
- $ errors = ['error ' => true , 'message ' => 'Cannot delete tracking number. ' ];
305
+ $ errors = ['error ' => true , 'message ' => 'We can \' t delete tracking number. ' ];
306
306
$ this ->shipmentLoad ();
307
307
308
308
$ this ->shipmentLoaderMock ->expects ($ this ->once ())
You can’t perform that action at this time.
0 commit comments