diff --git a/src/locales/en.json b/src/locales/en.json index 4d245de4..23f0f3e2 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -289,7 +289,7 @@ "Update time zone": "Update time zone", "Upload": "Upload", "Upload inventory count": "Upload inventory count", - "units": "units", + "units": "{count} units", "Username": "Username", "Variance": "Variance", "variance": "variance", diff --git a/src/views/ProductItemList.vue b/src/views/ProductItemList.vue index 467b533f..149f03cb 100644 --- a/src/views/ProductItemList.vue +++ b/src/views/ProductItemList.vue @@ -9,13 +9,13 @@

{{ getProductIdentificationValue(productStoreSettings["productIdentificationPref"].secondaryId, getProduct(item.productId)) }}

- {{ item.quantity === 0 ? 0 : item.quantity }} {{ translate("units") }} + {{ (!item.quantity && item.quantity !== 0) ? translate("not counted") : translate("units", { count: item.quantity }) }} {{ translate("accepted") }} - {{ item.quantity }} {{ translate("units") }} + {{ translate("units", { count: item.quantity }) }} {{ translate("pending") }}