Add missing 'active products' translation on dashboard

This commit is contained in:
Isaac Haseley
2019-01-23 12:23:35 -06:00
parent a9bac2c1af
commit 8543bb7cfb
2 changed files with 5 additions and 1 deletions

View File

@@ -12,7 +12,7 @@
- if @product_count > 0
%div.seven.columns.alpha.list-item
%span.six.columns.alpha
= "You have #{@product_count} active product#{@product_count > 1 ? "s" : ""}."
= t(".you_have") + " #{@product_count} #{@product_count > 1 ? t(".active_products") : t(".active_product")}."
%span.one.column.omega
%span.icon-ok-sign
%a.seven.columns.alpha.button.bottom.blue{ href: "#{admin_products_path}" }

View File

@@ -2716,6 +2716,10 @@ See the %{link} to find out more about %{sitename}'s features and to start using
distributor: "Distributor:"
order_cycle: "Order cycle:"
overview:
products:
you_have: "You have"
active_products: "active products"
active_product: "active product"
order_cycles:
order_cycles: "Order Cycles"
order_cycles_tip: "Order cycles determine when and where your products are available to customers."