Fixed: Missing Translates

This commit is contained in:
Bakerboy448
2023-04-29 15:22:27 -05:00
committed by Bogdan
parent b8b364b48e
commit 349a19855a
19 changed files with 140 additions and 112 deletions
+2 -1
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>