Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
added missing translation for `shipment_transfer`
Damian Legawieccee1419d634a
diff --git a/admin/app/controllers/spree/admin/shipments_controller.rb b/admin/app/controllers/spree/admin/shipments_controller.rbindex ceb0ae5675..a4c707ad27 100644--- a/admin/app/controllers/spree/admin/shipments_controller.rb+++ b/admin/app/controllers/spree/admin/shipments_controller.rb@@ -51,7 +51,7 @@ module Spreetransfer = @shipment.transfer_to_shipment(@variant, quantity, destination)end- errors << Spree.t('shipment_transfer.wrong_destination') if transfer.nil?+ errors << Spree.t('admin.shipment_transfer.wrong_destination') if transfer.nil?if errors.any?flash[:error] = errors.to_sentencediff --git a/admin/config/locales/en.yml b/admin/config/locales/en.ymlindex cce9fcdfef..b0339f6702 100644--- a/admin/config/locales/en.yml+++ b/admin/config/locales/en.yml@@ -252,6 +252,8 @@ en:return_items: Return Itemsroles: Rolesshipments: Shipments+ shipment_transfer:+ wrong_destination: Selected location is not a valid destinationshipping_categories: Shipping Categoriesshipping_methods: Shipping Methodsshipping_rates: Shipping Rates