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 account existence message in checkout
Gabriel Z. Lovison148147b4b1eb
diff --git a/storefront/app/views/spree/checkout/_address.html.erb b/storefront/app/views/spree/checkout/_address.html.erbindex f84a71b8e7..1f416e7bd9 100644--- a/storefront/app/views/spree/checkout/_address.html.erb+++ b/storefront/app/views/spree/checkout/_address.html.erb@@ -49,7 +49,7 @@<% end %></div></label>- </label>+ </div></li></ul></div>@@ -118,8 +118,7 @@<% unless try_spree_current_user %><% if already_have_an_account? %><div class="py-2 text-sm">- It seems you already have an account with us. Please- <%= link_to Spree.t(:login), spree_login_path, class: 'text-primary font-semibold' %> to continue.+ <%= Spree.t("storefront.checkout.it_seems_you_already_have_an_account_html", link: link_to(Spree.t(:login), spree_login_path, class: 'text-primary font-semibold')) %></div><% end %><% end %>diff --git a/storefront/config/locales/en.yml b/storefront/config/locales/en.ymlindex 63f97dc0c5..606e97b2a5 100644--- a/storefront/config/locales/en.yml+++ b/storefront/config/locales/en.yml@@ -30,6 +30,7 @@ en:one: This item will be removed from your cart because there are no delivery methods available for your address.other: These %{count} items will be removed from your cart because there are no delivery methods available for your address.gift_card_amount_applied: Gift card %{code} applied %{amount} to your order.+ it_seems_you_already_have_an_account_html: It seems you already have an account with us. Please %{link} to continue.or_continue_below: or continue beloworder_already_paid: You don't need to pay anything, just click Place now button to confirm the order.order_success: Your order is confirmed!