Merge pull request #3378 from kevinchristianson/active-products-translation-fix

Add missing 'active products' translation on dashboard
This commit is contained in:
Pau Pérez Fabregat
2019-02-12 14:15:53 +01:00
committed by GitHub
2 changed files with 7 additions and 3 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(".active_products", count: @product_count )
%span.one.column.omega
%span.icon-ok-sign
%a.seven.columns.alpha.button.bottom.blue{ href: "#{admin_products_path}" }
@@ -21,7 +21,7 @@
- else
%div.seven.columns.alpha.list-item.red
%span.six.columns.alpha
= t "spree_admin_enterprises_any_active_products_text"
= t(".active_products", count: @product_count )
%span.one.column.omega
%span.icon-remove-sign
%a.seven.columns.alpha.button.bottom.red{ href: "#{new_admin_product_path}" }

View File

@@ -2170,7 +2170,6 @@ See the %{link} to find out more about %{sitename}'s features and to start using
spree_admin_enterprises_none_text: "You don't have any enterprises yet"
spree_admin_enterprises_tabs_hubs: "HUBS"
spree_admin_enterprises_producers_manage_products: "MANAGE PRODUCTS"
spree_admin_enterprises_any_active_products_text: "You don't have any active products."
spree_admin_enterprises_create_new_product: "CREATE A NEW PRODUCT"
spree_admin_single_enterprise_alert_mail_confirmation: "Please confirm the email address for"
spree_admin_single_enterprise_alert_mail_sent: "We've sent an email to"
@@ -2775,6 +2774,11 @@ See the %{link} to find out more about %{sitename}'s features and to start using
distributor: "Distributor:"
order_cycle: "Order cycle:"
overview:
products:
active_products:
zero: "You don't have any active products."
one: "You have one active product"
other: "You have %{count} active products"
order_cycles:
order_cycles: "Order Cycles"
order_cycles_tip: "Order cycles determine when and where your products are available to customers."