From 4cdc5f6618fa3f8ff61293f00948b9891a68e00f Mon Sep 17 00:00:00 2001 From: Dan Wallis Date: Fri, 4 Mar 2022 09:43:23 +0000 Subject: [PATCH] Correct grammar and spelling in error message 'then' indicates time, 'than' is used in comparisons. --- .../ValidateSourceItemsBeforeAddBundleSelectionPlugin.php | 2 +- .../ValidateSourceItemsBeforeSaveBundleSelectionPlugin.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/InventoryBundleProduct/Plugin/Bundle/Model/LinkManagement/ValidateSourceItemsBeforeAddBundleSelectionPlugin.php b/InventoryBundleProduct/Plugin/Bundle/Model/LinkManagement/ValidateSourceItemsBeforeAddBundleSelectionPlugin.php index dbe54c35ae55..37151122bfaa 100644 --- a/InventoryBundleProduct/Plugin/Bundle/Model/LinkManagement/ValidateSourceItemsBeforeAddBundleSelectionPlugin.php +++ b/InventoryBundleProduct/Plugin/Bundle/Model/LinkManagement/ValidateSourceItemsBeforeAddBundleSelectionPlugin.php @@ -73,7 +73,7 @@ public function beforeAddChild( __( 'Product "%1" cannot be added to bundle product as ' . 'bundle product has "Ship Bundle Items Together" and "%1" product assigned to multiple sources' - . ' or has different source then rest of bundle items', + . ' or has a different source than the rest of the bundle items', [$link->getSku()] ) ); diff --git a/InventoryBundleProduct/Plugin/Bundle/Model/LinkManagement/ValidateSourceItemsBeforeSaveBundleSelectionPlugin.php b/InventoryBundleProduct/Plugin/Bundle/Model/LinkManagement/ValidateSourceItemsBeforeSaveBundleSelectionPlugin.php index 9b21d5c1bbbd..026c8a6b4023 100644 --- a/InventoryBundleProduct/Plugin/Bundle/Model/LinkManagement/ValidateSourceItemsBeforeSaveBundleSelectionPlugin.php +++ b/InventoryBundleProduct/Plugin/Bundle/Model/LinkManagement/ValidateSourceItemsBeforeSaveBundleSelectionPlugin.php @@ -81,7 +81,7 @@ public function beforeSaveChild( __( 'Product "%1" cannot be added to bundle product as ' . 'bundle product has "Ship Bundle Items Together" and "%1" product assigned to multiple sources' - . ' or has different source then rest of bundle items', + . ' or has a different source than the rest of the bundle items', [$link->getSku()] ) );