spree-contrib / spree_multi_vendor

Spree marketplace extension. Create your own marketplace on top of Spree Commerce
https://spreecommerce.org/marketplace-ecommerce/
BSD 3-Clause "New" or "Revised" License
142 stars 135 forks source link

Fix: remove redundant `Spree.t` #211

Closed hoshinotsuyoshi closed 2 years ago

hoshinotsuyoshi commented 2 years ago

fix https://github.com/spree-contrib/spree_multi_vendor/issues/210

#plural_resource_name returns translated string.

Therefore, Spree.t is not needed for these lines.

This change avoids I18n.MissingTranslationData exception.

hoshinotsuyoshi commented 2 years ago

Thank you!☺️