From 1c9a3d21cc3479d299181d98fb895614e0aaf649 Mon Sep 17 00:00:00 2001 From: rohan09-raj Date: Tue, 16 Aug 2022 12:15:55 +0530 Subject: random bullshit --- client/src/pages/Enrollment/PhotoCapture/PhotoCapture.jsx | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'client/src/pages/Enrollment/PhotoCapture') diff --git a/client/src/pages/Enrollment/PhotoCapture/PhotoCapture.jsx b/client/src/pages/Enrollment/PhotoCapture/PhotoCapture.jsx index 509030b..a54085f 100644 --- a/client/src/pages/Enrollment/PhotoCapture/PhotoCapture.jsx +++ b/client/src/pages/Enrollment/PhotoCapture/PhotoCapture.jsx @@ -6,6 +6,7 @@ import Header from '../../../components/Header/Header' import SubmitButton from '../../../components/SubmitButton/SubmitButton' import styles from './PhotoCapture.module.css' import { Button, Grid, Typography } from '@mui/material' +import { t } from 'i18next' const PhotoCapture = ({ formData, setFormData }) => { const navigate = useNavigate() @@ -19,7 +20,7 @@ const PhotoCapture = ({ formData, setFormData }) => { return ( <> -
+
{formData.photo === '' ? ( { capture() }} > - Capture + {t('CAPTURE')} @@ -64,7 +65,7 @@ const PhotoCapture = ({ formData, setFormData }) => { setFormData({ ...formData, photo: '' }) }} > - Reset + {t('RESET')} @@ -72,9 +73,11 @@ const PhotoCapture = ({ formData, setFormData }) => {
- Please look into the camera

- Click Capture to Capture the photo

- Click Reset the remove the captured photo + {t('PLEASE_LOOK_INTO_THE_CAMERA')} +

+ {t('CLICK_CAPTURE_TO_CAPTURE_THE_PHOTO')} +

+ {t('CLICK_RESET_TO_REMOVE_THE_CAPTURED_PHOTO')}
-- cgit