diff options
author | rohan09-raj <[email protected]> | 2022-08-16 12:15:55 +0530 |
---|---|---|
committer | rohan09-raj <[email protected]> | 2022-08-16 12:15:55 +0530 |
commit | 1c9a3d21cc3479d299181d98fb895614e0aaf649 (patch) | |
tree | d871c9821cab708ed7f12169db6d59a8128c76ce /client/src/pages/Enrollment/IrisScan | |
parent | 5be7add30a629474c9269355b875ab310a82ba4c (diff) |
random bullshit
Diffstat (limited to 'client/src/pages/Enrollment/IrisScan')
-rw-r--r-- | client/src/pages/Enrollment/IrisScan/IrisScan.jsx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/client/src/pages/Enrollment/IrisScan/IrisScan.jsx b/client/src/pages/Enrollment/IrisScan/IrisScan.jsx index c07e9b8..c1e24d7 100644 --- a/client/src/pages/Enrollment/IrisScan/IrisScan.jsx +++ b/client/src/pages/Enrollment/IrisScan/IrisScan.jsx @@ -4,11 +4,13 @@ import CardBiometrics from '../../../components/Card/CardBiometrics' import styles from './IrisScan.module.css' import { Button, Grid, Typography } from '@mui/material' import SubmitButton from '../../../components/SubmitButton/SubmitButton' +import { useTranslation } from 'react-i18next' const IrisScan = () => { + const { t } = useTranslation() return ( <> - <Header subheading="Enrollment" /> + <Header subheading={t('ENROLLMENT')} /> <div className={styles.card__container}> <CardBiometrics image={`${process.env.PUBLIC_URL}/assets/images/iris.svg`} @@ -25,7 +27,7 @@ const IrisScan = () => { type="submit" variant="contained" > - Scan + {t('SCAN')} </Button> </Grid> <Grid item> @@ -35,7 +37,7 @@ const IrisScan = () => { type="submit" variant="contained" > - Reset + {t('RESET')} </Button> </Grid> </Grid> @@ -43,9 +45,9 @@ const IrisScan = () => { <div> <Grid container justifyContent="center"> <Typography align="center"> - Please put your eyes inside the iris scanner. + {t('PLEASE_PUT_YOUR_EYES_INSIDE_THE_IRIS_SCANNER')} <br /> - Wait for prompt and beep sound to remove your eyes + {t('WAIT_FOR_PROMPT_AND_BEEP_SOUND_TO_REMOVE_YOUR_EYES')} </Typography> </Grid> </div> |