magento / inventory

Magento Inventory Project (a.k.a MSI)
Open Software License 3.0
337 stars 247 forks source link

Correct grammar and spelling in error message #3345

Open fredden opened 2 years ago

fredden commented 2 years ago

Description

The error message does not make sense currently. Confusing 'then' for 'than' and vice-versa is a common mistake made in English. This pull request corrects both the grammar (inserting articles 'a' and 'the') and spelling (replace 'then' with 'than') in the error message so that it now makes sense.

https://www.merriam-webster.com/words-at-play/when-to-use-then-and-than

Manual testing scenarios

  1. Set up a catalogue with (at least) two inventory sources and (at least) one simple product in each (we only need two).
  2. Create a new bundle product and set this to 'ship bundle items together'
  3. Add one simple product and save the bundle product.
  4. Add another simple product (from a different inventory source) and save the bundle product.
  5. Observe text of error message. Note that we are intentionally triggering the error so that we can read the message. We do not expect the bundle product to be saved with both simple products attached.

Contribution checklist (*)