diff --git a/app/views/spree/admin/overview/_products.html.haml b/app/views/spree/admin/overview/_products.html.haml index 37de2f11d4..459aa3483c 100644 --- a/app/views/spree/admin/overview/_products.html.haml +++ b/app/views/spree/admin/overview/_products.html.haml @@ -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}" } diff --git a/config/locales/en.yml b/config/locales/en.yml index 0bde4fb005..7557acbb84 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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."