From 09d3cea83097e5d9102b12cb1054fa72fdf9da4f Mon Sep 17 00:00:00 2001 From: Isaac Haseley Date: Fri, 1 Feb 2019 09:22:26 -0600 Subject: [PATCH] Lazy-load one more translation --- app/views/spree/admin/overview/_products.html.haml | 2 +- config/locales/en.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/spree/admin/overview/_products.html.haml b/app/views/spree/admin/overview/_products.html.haml index effc671162..539eecd943 100644 --- a/app/views/spree/admin/overview/_products.html.haml +++ b/app/views/spree/admin/overview/_products.html.haml @@ -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}" } diff --git a/config/locales/en.yml b/config/locales/en.yml index 59b519de8f..4c76f68854 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2149,7 +2149,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" @@ -2718,6 +2717,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using 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: