diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Product.php b/app/code/Magento/CatalogImportExport/Model/Import/Product.php index 3c063cd78a667..af3b707bca79f 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product.php @@ -2427,7 +2427,7 @@ public function getUploader() /** * Uploading files into the "catalog/product" media folder. * - * Return a new file name if the same file is already exists. + * Return a new file name if the same file already exists. * * @param string $fileName * @param bool $renameFileOff [optional] boolean to pass. diff --git a/app/code/Magento/DownloadableImportExport/Model/Import/Product/Type/Downloadable.php b/app/code/Magento/DownloadableImportExport/Model/Import/Product/Type/Downloadable.php index b9d2e39323ab3..122e70fba7e4d 100644 --- a/app/code/Magento/DownloadableImportExport/Model/Import/Product/Type/Downloadable.php +++ b/app/code/Magento/DownloadableImportExport/Model/Import/Product/Type/Downloadable.php @@ -1036,7 +1036,7 @@ private function parseStructuredSampleOption(array $sampleOption): array /** * Uploading files into the "downloadable/files" media folder. * - * Return a new file name if the same file is already exists. + * Return a new file name if the same file already exists. * * @param string $fileName * @param string $type diff --git a/app/code/Magento/Eav/Model/Entity/Attribute/OptionManagement.php b/app/code/Magento/Eav/Model/Entity/Attribute/OptionManagement.php index 83d1bf18392e2..e995b4d31b683 100644 --- a/app/code/Magento/Eav/Model/Entity/Attribute/OptionManagement.php +++ b/app/code/Magento/Eav/Model/Entity/Attribute/OptionManagement.php @@ -78,7 +78,7 @@ public function add($entityType, $attributeCode, $option) if ($attribute->getSource()->getOptionId($label) !== null) { throw new InputException( __( - 'Admin store attribute option label "%1" is already exists.', + 'Admin store attribute option label "%1" already exists.', $option->getLabel() ) ); @@ -120,7 +120,7 @@ public function update( if (!empty($optionIdByLabel) && (int)$optionIdByLabel !== (int)$optionId) { throw new InputException( __( - 'Admin store attribute option label \'%1\' is already exists.', + 'Admin store attribute option label \'%1\' already exists.', $option->getLabel() ) ); diff --git a/app/code/Magento/Eav/i18n/en_US.csv b/app/code/Magento/Eav/i18n/en_US.csv index fa4b026501d1b..d09e710b7c98d 100644 --- a/app/code/Magento/Eav/i18n/en_US.csv +++ b/app/code/Magento/Eav/i18n/en_US.csv @@ -143,4 +143,4 @@ hello,hello "The value of attribute not valid","The value of attribute not valid" "EAV types and attributes","EAV types and attributes" "Entity types declaration cache","Entity types declaration cache" -"Admin store attribute option label ""%1"" is already exists.","Admin store attribute option label ""%1"" is already exists." +"Admin store attribute option label ""%1"" already exists.","Admin store attribute option label ""%1"" already exists." diff --git a/dev/tests/api-functional/testsuite/Magento/Catalog/Api/ProductAttributeOptionUpdateInterfaceTest.php b/dev/tests/api-functional/testsuite/Magento/Catalog/Api/ProductAttributeOptionUpdateInterfaceTest.php index 6fdbc67648f45..4761ecfd24c4e 100644 --- a/dev/tests/api-functional/testsuite/Magento/Catalog/Api/ProductAttributeOptionUpdateInterfaceTest.php +++ b/dev/tests/api-functional/testsuite/Magento/Catalog/Api/ProductAttributeOptionUpdateInterfaceTest.php @@ -210,7 +210,7 @@ public function testUpdateMultistorePreservingOtherStoreLabel() */ public function testUpdateWithAlreadyExistsException() { - $this->expectExceptionMessage("Admin store attribute option label '%1' is already exists."); + $this->expectExceptionMessage("Admin store attribute option label '%1' already exists."); $testAttributeCode = 'select_attribute'; $newOptionData = [ diff --git a/lib/internal/Magento/Framework/File/Uploader.php b/lib/internal/Magento/Framework/File/Uploader.php index fc9bea18d4a95..5cd0245bac825 100644 --- a/lib/internal/Magento/Framework/File/Uploader.php +++ b/lib/internal/Magento/Framework/File/Uploader.php @@ -806,7 +806,7 @@ private function createDestinationFolder(string $destinationFolder) } /** - * Get new file name if the same is already exists + * Get new file name if the same already exists * * @param string $destinationFile * @return string