mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Make quantity labels translatable
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
.row
|
||||
.columns.small-6
|
||||
.variant-bulk-buy-quantity-label
|
||||
Min quantity
|
||||
{{ "js.bulk_buy_modal.min_quantity" | t }}
|
||||
%div
|
||||
%button.bulk-buy-add.variant-quantity{type: "button", ng: {click: "add(-1)", disabled: "!canAdd(-1)"}}>
|
||||
{{ "js.shop_variant_no_group_buy.decrement" | t }}
|
||||
@@ -21,7 +21,7 @@
|
||||
{{ "js.shop_variant_no_group_buy.increment" | t }}
|
||||
.columns.small-6
|
||||
.variant-bulk-buy-quantity-label
|
||||
Max quantity
|
||||
{{ "js.bulk_buy_modal.max_quantity" | t }}
|
||||
%div
|
||||
%button.bulk-buy-add.variant-quantity{type: "button", ng: {click: "addMax(-1)", disabled: "!canAddMax(-1)"}}>
|
||||
{{ "js.shop_variant_no_group_buy.decrement" | t }}
|
||||
|
||||
@@ -2731,6 +2731,9 @@ See the %{link} to find out more about %{sitename}'s features and to start using
|
||||
increment: "+" # U+FF0B Fullwidth Plus Sign
|
||||
decrement: "-" # U+FF0D Fullwidth Hyphen-Minus
|
||||
in_cart: "%{quantity} in cart"
|
||||
bulk_buy_modal:
|
||||
min_quantity: "Min quantity"
|
||||
max_quantity: "Max quantity"
|
||||
variants:
|
||||
on_demand:
|
||||
"yes": "On demand"
|
||||
|
||||
Reference in New Issue
Block a user