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.

Fixed missing translation in page builder fonts tab

Damian Legawiec06ddf4269443
diff --git a/admin/app/views/spree/admin/page_builder/_sidebar_fonts.html.erb b/admin/app/views/spree/admin/page_builder/_sidebar_fonts.html.erb
index c6b6a553eb..949f4c173f 100644
--- a/admin/app/views/spree/admin/page_builder/_sidebar_fonts.html.erb
+++ b/admin/app/views/spree/admin/page_builder/_sidebar_fonts.html.erb
@@ -60,7 +60,7 @@
<div class="alert alert-warning">
Using custom fonts can slow down your store.
</div>
- <%= f.spree_text_area :preferred_custom_font_code, style: 'min-height: 6em' %>
+ <%= f.spree_text_area :preferred_custom_font_code, style: 'min-height: 6em', label: Spree.t(:custom_font_code) %>
</div>
<%= f.submit Spree.t('actions.update'), class: 'btn btn-primary' %>