Skip to content

Commit 0ffb660

Browse files
ENGCOM-6161: magento/magento2#: Add better explanation for the “Images File Directory” option #25248
2 parents fc7d6d9 + a70bad5 commit 0ffb660

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

app/code/Magento/ImportExport/Block/Adminhtml/Import/Edit/Form.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,9 +242,13 @@ protected function _prepareForm()
242242
'class' => 'input-text',
243243
'note' => __(
244244
$this->escapeHtml(
245-
'For Type "Local Server" use relative path to <Magento installation>/'
245+
'For Type "Local Server" use relative path to &lt;Magento root directory&gt;/'
246246
.$this->imagesDirectoryProvider->getDirectoryRelativePath()
247-
.', e.g. product_images, import_images/batch1'
247+
.', e.g. <i>product_images</i>, <i>import_images/batch1</i>.<br><br>'
248+
.'For example, in case <i>product_images</i>, files should be placed into '
249+
.'<i>&lt;Magento root directory&gt;/'
250+
.$this->imagesDirectoryProvider->getDirectoryRelativePath() . '/product_images</i> folder.',
251+
['i', 'br']
248252
)
249253
),
250254
]

app/code/Magento/ImportExport/i18n/en_US.csv

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ Import,Import
2929
"File to Import","File to Import"
3030
"Select File to Import","Select File to Import"
3131
"Images File Directory","Images File Directory"
32-
"For Type ""Local Server"" use relative path to Magento installation,
33-
e.g. var/export, var/import, var/export/some/dir","For Type ""Local Server"" use relative path to Magento installation,
34-
e.g. var/export, var/import, var/export/some/dir"
32+
"For Type ""Local Server"" use relative path to &lt;Magento root directory&gt;/var/import/images, e.g. <i>product_images</i>, <i>import_images/batch1</i>.<br><br>For example, in case <i>product_images</i>, files should be placed into <i>&lt;Magento root directory&gt;/var/import/images/product_images</i> folder.","For Type ""Local Server"" use relative path to &lt;Magento root directory&gt;/var/import/images, e.g. <i>product_images</i>, <i>import_images/batch1</i>.<br><br>For example, in case <i>product_images</i>, files should be placed into <i>&lt;Magento root directory&gt;/var/import/images/product_images</i> folder."
3533
"Download Sample File","Download Sample File"
3634
"Please correct the data sent value.","Please correct the data sent value."
3735
Import/Export,Import/Export

0 commit comments

Comments
 (0)