From 1c9a3d21cc3479d299181d98fb895614e0aaf649 Mon Sep 17 00:00:00 2001
From: rohan09-raj <rajrohan1914@gmail.com>
Date: Tue, 16 Aug 2022 12:15:55 +0530
Subject: random bullshit

---
 client/src/pages/Enrollment/IrisScan/IrisScan.jsx | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

(limited to 'client/src/pages/Enrollment/IrisScan/IrisScan.jsx')

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>
-- 
cgit 

