Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copyedit: change "coping" to "copying" #39307

Merged
8 changes: 4 additions & 4 deletions app/code/Magento/ImportExport/Model/Import.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/

namespace Magento\ImportExport\Model;
Expand Down Expand Up @@ -79,7 +79,7 @@ class Import extends AbstractModel
public const FIELD_NAME_ALLOWED_ERROR_COUNT = 'allowed_error_count';

/**
* Validation startegt field name
* Validation strategy field name
*/
public const FIELD_NAME_VALIDATION_STRATEGY = 'validation_strategy';

Expand Down Expand Up @@ -904,7 +904,7 @@ protected function createHistoryReport($sourceFileRelative, $entity, $extension
$this->_varDirectory->writeFile($copyFile, $content);
}
} catch (FileSystemException $e) {
throw new LocalizedException(__('Source file coping failed'));
throw new LocalizedException(__('Source file copying failed'));
}
$this->importHistoryModel->addReport($copyName);
}
Expand Down
6 changes: 3 additions & 3 deletions app/code/Magento/ImportExport/Test/Unit/Model/ImportTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2015 Adobe
* All Rights Reserved.
*/
declare(strict_types=1);

Expand Down Expand Up @@ -1011,7 +1011,7 @@ public function testCreateHistoryReportExtensionIsSet()
public function testCreateHistoryReportThrowException()
{
$this->expectException(LocalizedException::class);
$this->expectExceptionMessage('Source file coping failed');
$this->expectExceptionMessage('Source file copying failed');
$sourceFileRelative = null;
$entity = '';
$extension = '';
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/ImportExport/i18n/en_US.csv
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Status,Status
"Import data validation is complete.","Import data validation is complete."
"The behavior token for %1 is invalid.","The behavior token for %1 is invalid."
"Please enter a correct entity model","Please enter a correct entity model"
"Source file coping failed","Source file coping failed"
"Source file copying failed","Source file copying failed"
"The source is not set.","The source is not set."
"The adapter type must be a non-empty string.","The adapter type must be a non-empty string."
"'%1' file extension is not supported","'%1' file extension is not supported"
Expand Down