Skip to content

Commit f3141c5

Browse files
author
Natalia Momotenko
committed
MAGETWO-36132: Update Content in Magento 2 by Modules - part 4
1 parent 6aeb125 commit f3141c5

File tree

167 files changed

+449
-430
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+449
-430
lines changed

app/code/Magento/Backend/Controller/Adminhtml/Index/GlobalSearch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function execute()
4848
$items[] = [
4949
'id' => 'error',
5050
'type' => __('Error'),
51-
'name' => __('Access Denied'),
51+
'name' => __('Access Denied.'),
5252
'description' => __('You need more permissions to do this.'),
5353
];
5454
} else {

app/code/Magento/Backend/view/adminhtml/templates/admin/access_denied.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@
1919
<?php echo __('If you continue to receive this message, please contact the store owner.') ?>
2020
</p>
2121
<?php else: ?>
22-
<p><?php echo __('Access denied.') ?></p>
22+
<p><?php echo __('You need more permissions to access this.') ?></p>
2323
<?php endif?>

app/code/Magento/Backend/view/adminhtml/templates/media/uploader.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ require([
7373
$('#' + data.fileId)
7474
.delay(2000)
7575
.hide('highlight');
76-
alert($.mage.__('File extension not known or unsupported type.'));
76+
alert($.mage.__('We don\'t recognize or support this file extension type.'));
7777
}
7878
$('#' + data.fileId).remove();
7979
},

app/code/Magento/Bundle/Model/Product/Type.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1319,7 +1319,7 @@ protected function checkIsResult($_result)
13191319

13201320
if (!isset($_result[0])) {
13211321
throw new \Magento\Framework\Exception\LocalizedException(
1322-
__('We cannot add this item to your shopping cart.')
1322+
__('We can\'t add this item to your cart right now.')
13231323
);
13241324
}
13251325
}

app/code/Magento/Bundle/Test/Unit/Model/Product/TypeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ function ($key) use ($optionCollection, $selectionCollection) {
695695
->willReturn(3.14);
696696

697697
$result = $this->model->prepareForCartAdvanced($buyRequest, $product);
698-
$this->assertEquals('We cannot add this item to your shopping cart.', $result);
698+
$this->assertEquals('We can\'t add this item to your cart right now.', $result);
699699
}
700700

701701
/**

app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Advanced.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ protected function _prepareForm()
8585
'label' => __('Attribute Code'),
8686
'title' => __('Attribute Code'),
8787
'note' => __(
88-
'For internal use. Must be unique with no spaces. Maximum length of attribute code must be less than %1 symbols',
88+
'This is used internally. Make sure you don\'t use spaces or more than %1 symbols.',
8989
\Magento\Eav\Model\Entity\Attribute::ATTRIBUTE_CODE_MAX_LENGTH
9090
),
9191
'class' => $validateClass

app/code/Magento/Catalog/Controller/Adminhtml/Product/Set/Delete.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function execute()
3939
$this->messageManager->addSuccess(__('The attribute set has been removed.'));
4040
$resultRedirect->setPath('catalog/*/');
4141
} catch (\Exception $e) {
42-
$this->messageManager->addError(__('An error occurred while deleting this set.'));
42+
$this->messageManager->addError(__('We can\'t delete this set right now.'));
4343
$resultRedirect->setUrl($this->_redirect->getRedirectUrl($this->getUrl('*')));
4444
}
4545
return $resultRedirect;

app/code/Magento/Catalog/Model/Attribute/Backend/Startdate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function validate($object)
9696
$maxValue = $date->timestamp($maxDate);
9797

9898
if ($value > $maxValue) {
99-
$message = __('The From Date value should be less than or equal to the To Date value.');
99+
$message = __('Make sure the To Date is later than or the same as the From Date.');
100100
$eavExc = new \Magento\Eav\Model\Entity\Attribute\Exception($message);
101101
$eavExc->setAttributeCode($attr->getName());
102102
throw $eavExc;

app/code/Magento/Catalog/view/adminhtml/web/catalog/base-image-uploader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ define([
124124
if (!data.result.error) {
125125
$galleryContainer.trigger('addItem', data.result);
126126
} else {
127-
alert($.mage.__('File extension not known or unsupported type.'));
127+
alert($.mage.__('We don\'t recognize or support this file extension type.'));
128128
}
129129
},
130130
add: function (event, data) {

app/code/Magento/Catalog/view/frontend/templates/product/compare/list.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
<?php if ($this->helper('Magento\Wishlist\Helper\Data')->isAllow()) : ?>
8181
<div class="secondary-addto-links actions-secondary" data-role="add-to-links">
8282
<a href="#" data-post='<?php echo $block->getAddToWishlistParams($_item); ?>' class="action towishlist" data-action="add-to-wishlist">
83-
<span><?php echo __('Add to Wishlist') ?></span>
83+
<span><?php echo __('Add to Wish List') ?></span>
8484
</a>
8585
</div>
8686
<?php endif; ?>

0 commit comments

Comments
 (0)