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/Enrollment/FormTwo/FormTwo.jsx | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

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

diff --git a/client/src/pages/Enrollment/FormTwo/FormTwo.jsx b/client/src/pages/Enrollment/FormTwo/FormTwo.jsx
index b4a53ed..e7c8ae1 100644
--- a/client/src/pages/Enrollment/FormTwo/FormTwo.jsx
+++ b/client/src/pages/Enrollment/FormTwo/FormTwo.jsx
@@ -10,22 +10,17 @@ import PopUpModal from '../../../components/Modal/Modal'
 const FormTwo = () => {
   const { t } = useTranslation()
   const { userData, setUserData } = userContext()
+  const description = ['ENTER_YOUR_10_DIGIT_MOBILE_NUMBER_WITHOUT_ANY_PREFIX_OR_COUNTRY_ID', 'ENTER_YOUR_EMAIL_ID']
   return (
     <>
       <Header subheading={t('ENROLLMENT')} />
       <PopUpModal
-        title="Fill your information"
+        title="FILL_YOUR_INFORMATION"
         image={`${process.env.PUBLIC_URL}/assets/images/communication.svg`}
         description={
           <>
             <ul>
-              <li className="list__item">
-                Enter your 10 digit mobile number without any prefix or country
-                code
-              </li>
-              <li className="list__item">
-                Enter your email address in proper format
-              </li>
+              {description.map((item) => (<li className="list__item" key='id'>{t(item)}</li>))}
             </ul>
           </>
         }
-- 
cgit 

