mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
fixed failing i18n test in variant overrides
This commit is contained in:
committed by
Nicolas Blanc
parent
68db9b9926
commit
54ecdb670d
@@ -10,14 +10,22 @@
|
||||
%col.inheritance{ width: "5%", ng: { show: 'columns.inheritance.visible' } }
|
||||
%thead
|
||||
%tr{ ng: { controller: "ColumnsCtrl" } }
|
||||
%th.producer{ ng: { show: 'columns.producer.visible' } } = t(:producer)
|
||||
%th.product{ ng: { show: 'columns.product.visible' } } = t(:product)
|
||||
%th.sku{ ng: { show: 'columns.sku.visible' } } SKU
|
||||
%th.price{ ng: { show: 'columns.price.visible' } } = t(:price)
|
||||
%th.on_hand{ ng: { show: 'columns.on_hand.visible' } } = t(:on_hand)
|
||||
%th.on_demand{ ng: { show: 'columns.on_demand.visible' } } On Demand?
|
||||
%th.reset{ colspan: 2, ng: { show: 'columns.reset.visible' } } Enable Stock Level Reset?
|
||||
%th.inheritance{ ng: { show: 'columns.inheritance.visible' } } Inherit?
|
||||
%th.producer{ ng: { show: 'columns.producer.visible' } }
|
||||
= t(:producer)
|
||||
%th.product{ ng: { show: 'columns.product.visible' } }
|
||||
= t(:product)
|
||||
%th.sku{ ng: { show: 'columns.sku.visible' } }
|
||||
= t(:products_sku)
|
||||
%th.price{ ng: { show: 'columns.price.visible' } }
|
||||
= t(:price)
|
||||
%th.on_hand{ ng: { show: 'columns.on_hand.visible' } }
|
||||
= t(:on_hand)
|
||||
%th.on_demand{ ng: { show: 'columns.on_demand.visible' } }
|
||||
= t(:products_on_demand)
|
||||
%th.reset{ colspan: 2, ng: { show: 'columns.reset.visible' } }
|
||||
= t(:products_stock_level_reset)
|
||||
%th.inheritance{ ng: { show: 'columns.inheritance.visible' } }
|
||||
= t(:products_inherit)
|
||||
%tbody{bindonce: true, ng: {repeat: 'product in products | hubPermissions:hubPermissions:hub.id | attrFilter:{producer_id:producerFilter} | filter:query' } }
|
||||
= render 'admin/variant_overrides/products_product'
|
||||
= render 'admin/variant_overrides/products_variants'
|
||||
|
||||
@@ -480,11 +480,13 @@ See the %{link} to find out more about %{sitename}'s features and to start using
|
||||
products_name: "name"
|
||||
products_unit: "unit"
|
||||
products_on_hand: "on hand"
|
||||
products_on_demand: "on demand"
|
||||
products_on_demand: "On demand?"
|
||||
products_category: "Category"
|
||||
products_tax_category: "tax category"
|
||||
products_available_on: "Available On"
|
||||
products_inherit: "Inherit?"
|
||||
products_inherits_properties: "Inherits Properties?"
|
||||
products_stock_level_reset: "Enable Stock Level Reset?"
|
||||
|
||||
register_title: Register
|
||||
|
||||
|
||||
Reference in New Issue
Block a user