Merge pull request #3785 from kkoomin/3687-missing-translation-on-demand

changed string into translation key & add 'infinity' key
This commit is contained in:
Pau Pérez Fabregat
2019-05-04 19:01:39 +02:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -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'));
}
}

View File

@@ -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"