Adopt one/other pluralization

This commit is contained in:
Isaac Haseley
2019-01-31 21:45:12 -06:00
parent a18c98191a
commit 73a58435a8
2 changed files with 4 additions and 6 deletions

View File

@@ -12,10 +12,7 @@
- if @product_count > 0
%div.seven.columns.alpha.list-item
%span.six.columns.alpha
- if @product_count == 1
= t(".active_products_count_single", product_count: @product_count )
- else
= t(".active_products_count_multiple", product_count: @product_count )
= 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}" }

View File

@@ -2717,8 +2717,9 @@ See the %{link} to find out more about %{sitename}'s features and to start using
order_cycle: "Order cycle:"
overview:
products:
active_products_count_single: "You have %{product_count} active product"
active_products_count_multiple: "You have %{product_count} active products"
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."