mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-13 02:07:12 -07:00
Fixed: Missing Translates
This commit is contained in:
parent
f8d0d4a2a0
commit
89972b8b66
30 changed files with 183 additions and 133 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import React from 'react';
|
||||
import ErrorBoundaryError from 'Components/Error/ErrorBoundaryError';
|
||||
import translate from 'Utilities/String/translate';
|
||||
import PageContentBody from './PageContentBody';
|
||||
import styles from './PageContentError.css';
|
||||
|
||||
|
@ -9,7 +10,7 @@ function PageContentError(props) {
|
|||
<PageContentBody>
|
||||
<ErrorBoundaryError
|
||||
{...props}
|
||||
message='There was an error loading this page'
|
||||
message={translate('ThereWasAnErrorLoadingThisPage')}
|
||||
/>
|
||||
</PageContentBody>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue