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 pinch-to-zoom text in media gallery
Gabriel Z. Lovison57592bb10829
diff --git a/storefront/app/views/themes/default/spree/products/_media_gallery.html.erb b/storefront/app/views/themes/default/spree/products/_media_gallery.html.erbindex 85f360b6c7..be9487a0b8 100644--- a/storefront/app/views/themes/default/spree/products/_media_gallery.html.erb+++ b/storefront/app/views/themes/default/spree/products/_media_gallery.html.erb@@ -85,8 +85,7 @@<div id='pinch-to-zoom' class='fixed top-0 left-0 p-4 bg-background z-50 flex justify-center items-center flex-col'><div class='w-14 h-14'><%= render 'spree/shared/icons/pinch' %></div><div class='text-sm uppercase pt-4 px-5 text-center !leading-tight'>- Pinch to <br>- zoom+ <%= Spree.t("storefront.products.pinch_to_zoom_html") %></div></div><% end %>diff --git a/storefront/config/locales/en.yml b/storefront/config/locales/en.ymlindex 82a796cc64..d21a2cd426 100644--- a/storefront/config/locales/en.yml+++ b/storefront/config/locales/en.yml@@ -54,6 +54,8 @@ en:description: Take control of your settings and tailor your experience according to your preferences. Customize your notifications to suit your needs.join: Email me about new products, sales, and more. You can unsubscribe at any time.status: You are currently %{status} to the newsletters.+ products:+ pinch_to_zoom_html: Pinch to<br>zoomrefund_action_not_required_message:order_canceled:fully: This order has been canceled. No further action is required. You will receive a refund within couple business days.