mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-18 04:39:14 +00:00
Move translation into the right place
The dashboard couldn't find a translation, because it is in the spree namespace. Also simplified the translation using the `count` feature.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
- if @order_cycle_count > 0
|
||||
%div.seven.columns.alpha.list-item
|
||||
%span.six.columns.alpha
|
||||
= t('.you_have_active', num: @order_cycle_count, order_cycles: t('.order_cycle', count: @order_cycle_count))
|
||||
= t('.you_have_active', count: @order_cycle_count)
|
||||
%span.one.column.omega
|
||||
%span.icon-ok-sign
|
||||
%a.seven.columns.alpha.button.bottom.blue{ href: "#{main_app.admin_order_cycles_path}" }
|
||||
|
||||
@@ -647,11 +647,6 @@ en:
|
||||
has_no_enterprise_fees: "%{enterprise} has no enterprise fees"
|
||||
order_cycles:
|
||||
manage_order_cycles: MANAGE ORDER CYCLES
|
||||
you_have_active: "You have %{num} active %{order_cycles}."
|
||||
order_cycle:
|
||||
zero: order cycle
|
||||
one: order cycle
|
||||
other: order cycles
|
||||
enterprise_issues:
|
||||
create_new: Create New
|
||||
resend_email: Resend Email
|
||||
@@ -2052,6 +2047,12 @@ Please follow the instructions there to make your enterprise visible on the Open
|
||||
form:
|
||||
distribution_fields:
|
||||
title: Distribution
|
||||
overview:
|
||||
order_cycles:
|
||||
you_have_active:
|
||||
zero: "You have no active order cycles."
|
||||
one: "You have one active order cycle."
|
||||
other: "You have %{count} active order cycles."
|
||||
products:
|
||||
bulk_edit:
|
||||
header:
|
||||
|
||||
Reference in New Issue
Block a user