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
Localize the "Apply" button in the coupon code form
Gabriel Z. Lovisonfcc5458a565c
diff --git a/storefront/app/views/spree/checkout/_coupon_code.html.erb b/storefront/app/views/spree/checkout/_coupon_code.html.erbindex b22f9a0115..7c62acc7d7 100644--- a/storefront/app/views/spree/checkout/_coupon_code.html.erb+++ b/storefront/app/views/spree/checkout/_coupon_code.html.erb@@ -8,7 +8,7 @@aria: { label: Spree.t('cart_page.add_promo_code') },data: { 'enable-button-target': 'input' },required: true %>- <%= button_tag 'Apply', class: 'min-h-full ml-3 btn-primary !px-4 !py-3', data: { 'enable-button-target': 'button' }, disabled: true %>+ <%= button_tag Spree.t(:apply), class: 'min-h-full ml-3 btn-primary !px-4 !py-3', data: { 'enable-button-target': 'button' }, disabled: true %></div><% end %><% elsif promotion.present? %>