From fcc4c3374d85b33755f852bcc559db0a8eb5115a Mon Sep 17 00:00:00 2001
From: Blaster4385 <venkateshchaturvedi12@gmail.com>
Date: Thu, 25 Aug 2022 11:44:08 +0530
Subject: Misc changes and add more translation

---
 client/src/pages/Update/BiometricSelect/BiometricSelect.jsx | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

(limited to 'client/src/pages/Update/BiometricSelect/BiometricSelect.jsx')

diff --git a/client/src/pages/Update/BiometricSelect/BiometricSelect.jsx b/client/src/pages/Update/BiometricSelect/BiometricSelect.jsx
index a942aef..89d2bfb 100644
--- a/client/src/pages/Update/BiometricSelect/BiometricSelect.jsx
+++ b/client/src/pages/Update/BiometricSelect/BiometricSelect.jsx
@@ -8,21 +8,17 @@ import { useTranslation } from 'react-i18next'
 
 const BiometricSelect = ({ page, setPage }) => {
   const { t } = useTranslation()
+  const description = ['CLICK_ON_THE_EDIT_BUTTON_TO_UPDATE_THE_REQUIRED_BIOMETRICS', 'YOU_CAN_EDIT_YOUR_PHOTOGRAPH_/_FINGERPRINTS_/_IRIS_SCANS']
   return (
     <>
       <Header subheading={t('UPDATE')} />
       <PopUpModal
-        title="Select the option to be edited"
+        title="SELECT_THE_OPTION_TO_BE_EDITED"
         image={`${process.env.PUBLIC_URL}/assets/images/biometrics.svg`}
         description={
           <>
             <ul>
-              <li className="list__item">
-                Click on the edit button to update the required biometrics
-              </li>
-              <li className="list__item">
-                You can edit your Photograph/Fingerprints/Iris Scans
-              </li>
+              {description.map((item) => (<li className="list__item" key='id'>{t(item)}</li>))}
             </ul>
           </>
         }
-- 
cgit 

