Skip to content

Commit 525937e

Browse files
author
Dmytro Vilchynskyi
committed
MAGETWO-36131: Update Content in Magento 2 by Modules - part 3
- fixes after CR
1 parent 1a6424c commit 525937e

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

app/code/Magento/Reports/view/adminhtml/layout/reports_report_grid.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
<block class="Magento\Backend\Block\Widget\Grid\ColumnSet" as="grid.columnSet" name="adminhtml.report.grid.columnSet">
4747
<arguments>
4848
<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>
5151
</arguments>
5252
<block class="Magento\Backend\Block\Widget\Grid\Column" as="period">
5353
<arguments>

app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/View.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function getHeaderText()
132132
if ($this->getCreditmemo()->getEmailSent()) {
133133
$emailSent = __('The credit memo email was sent.');
134134
} else {
135-
$emailSent = __('The credit memo email was not sent.');
135+
$emailSent = __('The credit memo email wasn\'t sent.');
136136
}
137137
return __(
138138
'Credit Memo #%1 | %3 | %2 (%4)',

app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/View.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public function getHeaderText()
191191
if ($this->getInvoice()->getEmailSent()) {
192192
$emailSent = __('The invoice email was sent.');
193193
} else {
194-
$emailSent = __('The invoice email was not sent.');
194+
$emailSent = __('The invoice email wasn\'t sent.');
195195
}
196196
return __(
197197
'Invoice #%1 | %2 | %4 (%3)',

app/code/Magento/Shipping/Controller/Adminhtml/Order/Shipment/AddTrack.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function execute()
7676
} else {
7777
$response = [
7878
'error' => true,
79-
'message' => __('Cannot initialize shipment for adding tracking number.'),
79+
'message' => __('We can\'t initialize shipment for adding tracking number.'),
8080
];
8181
}
8282
} catch (\Magento\Framework\Exception\LocalizedException $e) {

app/code/Magento/Shipping/Controller/Adminhtml/Order/Shipment/RemoveTrack.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ public function execute()
6161
} else {
6262
$response = [
6363
'error' => true,
64-
'message' => __('Cannot initialize shipment for delete tracking number.'),
64+
'message' => __('We can\'t initialize shipment for delete tracking number.'),
6565
];
6666
}
6767
} catch (\Exception $e) {
68-
$response = ['error' => true, 'message' => __('Cannot delete tracking number.')];
68+
$response = ['error' => true, 'message' => __('We can\'t delete tracking number.')];
6969
}
7070
} else {
7171
$response = [

app/code/Magento/Shipping/Test/Unit/Controller/Adminhtml/Order/Shipment/RemoveTrackTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ public function testExecuteShipmentLoadFail()
285285
{
286286
$errors = [
287287
'error' => true,
288-
'message' => 'Cannot initialize shipment for delete tracking number.',
288+
'message' => 'We can\'t initialize shipment for delete tracking number.',
289289
];
290290
$this->shipmentLoad();
291291

@@ -302,7 +302,7 @@ public function testExecuteShipmentLoadFail()
302302
*/
303303
public function testExecuteDeleteFail()
304304
{
305-
$errors = ['error' => true, 'message' => 'Cannot delete tracking number.'];
305+
$errors = ['error' => true, 'message' => 'We can\'t delete tracking number.'];
306306
$this->shipmentLoad();
307307

308308
$this->shipmentLoaderMock->expects($this->once())

0 commit comments

Comments
 (0)