Skip to content

Commit 080173d

Browse files
author
Yaroslav Onischenko
committed
MAGETWO-52831: [Github] Export / Import #4315
1 parent fddcdbb commit 080173d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

app/code/Magento/ImportExport/Controller/Adminhtml/Import/Validate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function execute()
5555
$errorAggregator = $import->getErrorAggregator();
5656
if (!$validationResult) {
5757
$resultBlock->addError(
58-
__('Data validation failed. Please fix the following errors upload the file again.')
58+
__('Data validation failed. Please fix the following errors and upload the file again.')
5959
);
6060
$this->addErrorMessages($resultBlock, $errorAggregator);
6161
} else {

app/code/Magento/ImportExport/Model/Import.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ public function getOperationResultMessages(ProcessingErrorAggregatorInterface $v
280280
$messages = [];
281281
if ($this->getProcessedRowsCount()) {
282282
if ($validationResult->getErrorsCount()) {
283-
$messages[] = __('Data validation failed. Please fix the following errors upload the file again.');
283+
$messages[] = __('Data validation failed. Please fix the following errors and upload the file again.');
284284

285285
// errors info
286286
foreach ($validationResult->getRowsGroupedByErrorCode() as $errorMessage => $rows) {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Status,Status
3737
"Maximum error count has been reached or system error is occurred!","Maximum error count has been reached or system error is occurred!"
3838
"Import successfully done","Import successfully done"
3939
"This file is empty. Please try another one.","This file is empty. Please try another one."
40-
"Data validation failed. Please fix the following errors upload the file again.","Data validation failed. Please fix the following errors upload the file again."
40+
"Data validation failed. Please fix the following errors and upload the file again.","Data validation failed. Please fix the following errors and upload the file again."
4141
"File is valid! To start import process press ""Import"" button","File is valid! To start import process press ""Import"" button"
4242
"The file is valid, but we can\'t import it for some reason.","The file is valid, but we can\'t import it for some reason."
4343
"Checked rows: %1, checked entities: %2, invalid rows: %3, total errors: %4","Checked rows: %1, checked entities: %2, invalid rows: %3, total errors: %4"
@@ -72,7 +72,7 @@ Status,Status
7272
"The destination directory is not writable.","The destination directory is not writable."
7373
"Destination file is not writable","Destination file is not writable"
7474
"The header column names are already set.","The header column names are already set."
75-
"Data validation failed. Please fix the following errors upload the file again.","Data validation failed. Please fix the following errors upload the file again."
75+
"Data validation failed. Please fix the following errors and upload the file again.","Data validation failed. Please fix the following errors and upload the file again."
7676
"in row(s)","in row(s)"
7777
"The validation is complete.","The validation is complete."
7878
"This file does not contain any data.","This file does not contain any data."

0 commit comments

Comments
 (0)