diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Product.php b/app/code/Magento/CatalogImportExport/Model/Import/Product.php index 285b0bdf5c9e7..5195850e026c2 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product.php @@ -2378,7 +2378,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 2c9b6d68b0bbf..024244d2b22e5 100644 --- a/app/code/Magento/Eav/Model/Entity/Attribute/OptionManagement.php +++ b/app/code/Magento/Eav/Model/Entity/Attribute/OptionManagement.php @@ -68,7 +68,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() ) ); @@ -110,7 +110,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 dc3648f68b10c..50220a6976cde 100644 --- a/dev/tests/api-functional/testsuite/Magento/Catalog/Api/ProductAttributeOptionUpdateInterfaceTest.php +++ b/dev/tests/api-functional/testsuite/Magento/Catalog/Api/ProductAttributeOptionUpdateInterfaceTest.php @@ -76,7 +76,7 @@ public function testUpdate() */ 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 e8084c7d58011..a69412a82c487 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