Skip to content

armgit / spree

Public Imported from GitHub
0

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.

Localize store credit label in checkout summary

Gabriel Z. Lovisone28591f46328
diff --git a/storefront/app/views/spree/checkout/_summary.html.erb b/storefront/app/views/spree/checkout/_summary.html.erb
index eb11c8d903..e34cc27821 100644
--- a/storefront/app/views/spree/checkout/_summary.html.erb
+++ b/storefront/app/views/spree/checkout/_summary.html.erb
@@ -91,7 +91,7 @@
</div>
<% elsif order.using_store_credit? %>
<div class="flex justify-between items-center mb-2">
- <span>Store credit:</span>
+ <span><%= Spree.t(:store_credit_name) %>:</span>
<span><%= order.display_total_applied_store_credit %></span>
</div>
<% end %>