mirror of
https://github.com/grocy/grocy.git
synced 2025-08-18 11:27:03 +00:00
Properly pluralize quantity unit in success message on purchase/consume/inventory page
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
);
|
||||
}
|
||||
|
||||
toastr.success(L('Stock amount of #1 is now #2 #3', productDetails.product.name, jsonForm.new_amount, productDetails.quantity_unit_stock.name));
|
||||
toastr.success(L('Stock amount of #1 is now #2 #3', productDetails.product.name, jsonForm.new_amount, Pluralize(jsonForm.new_amount, productDetails.quantity_unit_stock.name, productDetails.quantity_unit_stock.name_plural)));
|
||||
|
||||
if (addBarcode !== undefined)
|
||||
{
|
||||
|
Reference in New Issue
Block a user