More Frontend Translation

This commit is contained in:
Qstick
2020-07-20 20:18:10 -04:00
parent 71492d4c6f
commit 82b546999a
83 changed files with 326 additions and 215 deletions

View File

@@ -7,6 +7,7 @@ import ModalContent from 'Components/Modal/ModalContent';
import ModalFooter from 'Components/Modal/ModalFooter';
import ModalHeader from 'Components/Modal/ModalHeader';
import { kinds } from 'Helpers/Props';
import translate from 'Utilities/String/translate';
import styles from './ConnectionLostModal.css';
function ConnectionLostModal(props) {
@@ -22,16 +23,16 @@ function ConnectionLostModal(props) {
>
<ModalContent onModalClose={onModalClose}>
<ModalHeader>
Connnection Lost
{translate('ConnectionLost')}
</ModalHeader>
<ModalBody>
<div>
Radarr has lost it's connection to the backend and will need to be reloaded to restore functionality.
{translate('ConnectionLostMessage')}
</div>
<div className={styles.automatic}>
Radarr will try to connect automatically, or you can click reload below.
{translate('ConnectionLostAutomaticMessage')}
</div>
</ModalBody>
<ModalFooter>
@@ -39,7 +40,7 @@ function ConnectionLostModal(props) {
kind={kinds.PRIMARY}
onPress={onModalClose}
>
Reload
{translate('Reload')}
</Button>
</ModalFooter>
</ModalContent>