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.

Admin: fixed translation collision

Damian Legawiec6a4a3dea7e58
diff --git a/admin/app/views/spree/admin/shared/sidebar/_storefront_nav.html.erb b/admin/app/views/spree/admin/shared/sidebar/_storefront_nav.html.erb
index 389b33cd7e..bae288eaad 100644
--- a/admin/app/views/spree/admin/shared/sidebar/_storefront_nav.html.erb
+++ b/admin/app/views/spree/admin/shared/sidebar/_storefront_nav.html.erb
@@ -1,6 +1,6 @@
<li class="nav-item">
<% storefront_active = %w[themes posts pages storefront].include?(controller_name) %>
- <%= active_link_to_with_icon('building-store', Spree.t(:storefront), spree.admin_themes_path, class: 'nav-link', active: storefront_active) %>
+ <%= active_link_to_with_icon('building-store', Spree.t('admin.storefront'), spree.admin_themes_path, class: 'nav-link', active: storefront_active) %>
<% if storefront_active %>
<ul class="ml-4 pl-1 mb-2 nav-submenu flex-column mt-1">
diff --git a/admin/config/locales/en.yml b/admin/config/locales/en.yml
index b0339f6702..5c3acbf162 100644
--- a/admin/config/locales/en.yml
+++ b/admin/config/locales/en.yml
@@ -67,6 +67,7 @@ en:
digital_asset_link_expire_time:
download_link_expire_time: Download Link Expire Time
link_expire_time: Set the expire time of each download link. (seconds).
+ storefront: Storefront
store_setup_tasks:
add_billing_address: Add billing address
setup_taxes_collection: Setup taxes collection