Fixed: Missing Translates

This commit is contained in:
Bakerboy448 2023-04-29 16:02:00 -05:00 committed by Bogdan
parent f8d0d4a2a0
commit 89972b8b66
30 changed files with 183 additions and 133 deletions

View file

@ -6,6 +6,7 @@ import ModalBody from 'Components/Modal/ModalBody';
import ModalContent from 'Components/Modal/ModalContent';
import ModalFooter from 'Components/Modal/ModalFooter';
import ModalHeader from 'Components/Modal/ModalHeader';
import translate from 'Utilities/String/translate';
import styles from './ModalError.css';
function ModalError(props) {
@ -25,7 +26,7 @@ function ModalError(props) {
messageClassName={styles.message}
detailsClassName={styles.details}
{...otherProps}
message='There was an error loading this item'
message={translate('ThereWasAnErrorLoadingThisItem')}
/>
</ModalBody>