Open
Description
There are no translations for the "# item(s) allocated" text inside of a multi-shipping consignment list item.
File:
packages/core/src/app/shipping/ConsignmentLineItem.tsx
Line:
98
Content:
<h3>{itemsCount > 1 ? `${itemsCount} items` : `${itemsCount} item`} allocated </h3>
Potential Solution:
Refactor the <h3>
to remove hard-coded string interpolation with English words and ternary operations. Allow for <TranslatedString>
components to be used to wrap the words 'item', 'items' and 'allocated' before joining them together into the final message. Add multiple language entries to the translation .json
files.
Metadata
Metadata
Assignees
Labels
No labels