Skip to content

Commit 629bc9c

Browse files
committed
Merge remote-tracking branch 'main/develop' into MAGETWO-33534
2 parents 43f4124 + b0fa8b7 commit 629bc9c

File tree

272 files changed

+2826
-950
lines changed

Some content is hidden

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

272 files changed

+2826
-950
lines changed

Gruntfile.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,17 @@ module.exports = function (grunt) {
6868
'less:luma',
6969
'less:backend'
7070
],
71+
7172
/**
7273
* Documentation
7374
*/
7475
documentation: [
76+
'replace:documentation',
7577
'less:documentation',
7678
'styledocco:documentation',
79+
'usebanner:documentationCss',
80+
'usebanner:documentationLess',
81+
'usebanner:documentationHtml',
7782
'clean:var',
7883
'clean:pub'
7984
],
@@ -82,12 +87,6 @@ module.exports = function (grunt) {
8287
'mage-minify:legacy'
8388
],
8489

85-
'documentation-banners': [
86-
'usebanner:documentationCss',
87-
'usebanner:documentationLess',
88-
'usebanner:documentationHtml'
89-
],
90-
9190
spec: function (theme) {
9291
var runner = require('./dev/tests/js/jasmine/spec_runner');
9392

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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
<h1 class="page-heading"><?php echo __('Access denied') ?></h1>
1616
<?php if (!$block->hasAvailableResources()): ?>
1717
<p>
18-
<?php echo __('Please try to log out and sign in again.') ?><br/>
18+
<?php echo __('Please try to sign out and sign in again.') ?><br/>
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/Backend/view/adminhtml/templates/menu.phtml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
?>
1010

11-
1211
<nav data-mage-init='{"globalNavigation": {}}' class="admin__menu" role="navigation">
1312
<?php echo $block->renderNavigation($block->getMenuModel(), 0, 12); ?>
1413
</nav>

app/code/Magento/Backend/view/adminhtml/templates/widget/grid.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ $numColumns = sizeof($block->getColumns());
3131

3232
<div class="admin__data-grid-header admin__data-grid-toolbar">
3333
<?php $massActionAvailable = $block->getChildBlock('grid.massaction') && $block->getChildBlock('grid.massaction')->isAvailable() ?>
34-
<?php if ($block->getPagerVisibility() || $block->getExportTypes() || $block->getChildBlock('grid.columnSet')->getFilterVisibility()): ?>
34+
<?php if ($block->getPagerVisibility() || $block->getExportTypes() || $block->getChildBlock('grid.columnSet')->getFilterVisibility() || $massActionAvailable): ?>
3535
<div class="admin__data-grid-header-row">
3636
<?php if ($massActionAvailable): ?>
3737
<?php echo $block->getMainButtonsHtml() ? '<div class="admin__filter-actions">' . $block->getMainButtonsHtml() . '</div>' : ''; ?>

app/code/Magento/Backend/view/adminhtml/templates/widget/grid/extended.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ $numColumns = sizeof($block->getColumns());
3030
<?php else: ?>
3131
<?php echo $block->getLayout()->getMessagesBlock()->getGroupedHtml() ?>
3232
<?php endif; ?>
33-
<?php if ($block->getPagerVisibility() || $block->getExportTypes() || $block->getFilterVisibility()): ?>
34-
<?php $massActionAvailable = $block->getMassactionBlock() && $block->getMassactionBlock()->isAvailable() ?>
33+
<?php $massActionAvailable = $block->getMassactionBlock() && $block->getMassactionBlock()->isAvailable() ?>
34+
<?php if ($block->getPagerVisibility() || $block->getExportTypes() || $block->getFilterVisibility() || $massActionAvailable): ?>
3535
<div class="admin__data-grid-header admin__data-grid-toolbar">
3636
<div class="admin__data-grid-header-row">
3737
<?php if ($massActionAvailable): ?>

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

0 commit comments

Comments
 (0)