diff --git a/CHANGELOG.md b/CHANGELOG.md index c1a08f5c..5b30b874 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ * ECS - Replace calls to the publish coordinator with new endpoints to retrieve locations and their references. Refs UISACQCOMP-199. * Introduce a new flag `skipTrimOnChange` to control the usage of the `trim` function during search change in `useFilters`. Refs UISACQCOMP-198. * Add `locationLabelId` and `holdingLabelId` to `FieldInventory` Component. Refs UISACQCOMP-204. +* Add translation for `Unavailable` item status message. Refs UISACQCOMP-205. ## [5.1.1](https://github.com/folio-org/stripes-acq-components/tree/v5.1.1) (2024-04-22) [Full Changelog](https://github.com/folio-org/stripes-acq-components/compare/v5.1.0...v5.1.1) diff --git a/lib/constants/item.js b/lib/constants/item.js index fbd8a12a..efe69b0b 100644 --- a/lib/constants/item.js +++ b/lib/constants/item.js @@ -8,6 +8,7 @@ export const ITEM_STATUS = { inTransit: 'In transit', orderClosed: 'Order closed', undefined: 'Undefined', + unavailable: 'Unavailable', }; export const getItemStatusLabel = (itemStatus) => { diff --git a/translations/stripes-acq-components/en.json b/translations/stripes-acq-components/en.json index 569dcd6a..c642972f 100644 --- a/translations/stripes-acq-components/en.json +++ b/translations/stripes-acq-components/en.json @@ -139,6 +139,7 @@ "receiving.itemStatus.In process": "In process", "receiving.itemStatus.On order": "On order", "receiving.itemStatus.Available": "Available", + "receiving.itemStatus.Unavailable": "Unavailable", "receiving.itemStatus.In transit": "In transit", "receiving.itemStatus.Order closed": "Order closed", "receiving.itemStatus.Undefined": "Undefined",