Merge pull request #11929 from drummer83/Dashboard_translation

Fix missing translation of tooltip in dashboard
This commit is contained in:
David Cook
2023-12-12 13:47:53 +11:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -6,7 +6,7 @@
%a.six.columns.omega.icon-plus.button.blue{ href: "#{new_admin_product_path}" }
= t "spree_admin_enterprises_create_new"
- else
%a{ "ofn-with-tip" => "The products that you sell through the Open Food Network." }
%a{ "ofn-with-tip" => t(".products_tip") }
= t "admin.whats_this"
%div.sixteen.columns.alpha.list
- if @product_count > 0

View File

@@ -4188,6 +4188,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using
has_no_payment_methods: "has no payment methods"
has_no_shipping_methods: "has no shipping methods"
products:
products_tip: "The products that you sell through the Open Food Network."
active_products:
zero: "You don't have any active products."
one: "You have one active product"