Skip to content

Commit

Permalink
UISACQCOMP-205: Add translation for Unavailable item status message (
Browse files Browse the repository at this point in the history
  • Loading branch information
alisher-epam authored Jul 23, 2024
1 parent 3922838 commit b03caa7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions lib/constants/item.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export const ITEM_STATUS = {
inTransit: 'In transit',
orderClosed: 'Order closed',
undefined: 'Undefined',
unavailable: 'Unavailable',
};

export const getItemStatusLabel = (itemStatus) => {
Expand Down
1 change: 1 addition & 0 deletions translations/stripes-acq-components/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit b03caa7

Please sign in to comment.