diff --git a/app/overrides/spree/admin/variants/_form/on_demand_script.html.haml.deface b/app/overrides/spree/admin/variants/_form/on_demand_script.html.haml.deface index fe3448e332..b90731813b 100644 --- a/app/overrides/spree/admin/variants/_form/on_demand_script.html.haml.deface +++ b/app/overrides/spree/admin/variants/_form/on_demand_script.html.haml.deface @@ -14,7 +14,7 @@ on_hand.attr('disabled', on_demand_checked); if(on_demand_checked) { on_hand.attr('data-stock', on_hand.val()); - on_hand.val("Infinity"); + on_hand.val(t('admin.products.variants.infinity')); } } diff --git a/config/locales/en.yml b/config/locales/en.yml index c8d4e186e8..a6609f2f5a 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -467,6 +467,7 @@ en: property_name: Property Name inherited_property: Inherited Property variants: + infinity: "Infinity" to_order_tip: "Items made to order do not have a set stock level, such as loaves of bread made fresh to order." group_buy_options: "Group Buy Options" back_to_products_list: "Back to products list"