Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Arif-tekdi-technologies committed Jan 28, 2025
1 parent f9871c8 commit 265a175
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 17 deletions.
3 changes: 1 addition & 2 deletions public/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -723,8 +723,7 @@
"PHONE_NUMBER": "Phone Number",
"MENTOR_ID": "Mentor ID",
"GENDER": "Gender",
"AGE": "Age",
"N/A": "-"
"AGE": "Age"
},
"YOUTHNET_CAMP_DETAILS": {
"SUBMISSION": "Submission",
Expand Down
3 changes: 1 addition & 2 deletions public/locales/hi/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -699,8 +699,7 @@
"PHONE_NUMBER": "फोन नंबर",
"MENTOR_ID": "मेंटोर आईडी",
"GENDER": "लिंग",
"AGE": "आयु",
"N/A": "-"
"AGE": "आयु"
},

"YOUTHNET_CAMP_DETAILS": {
Expand Down
3 changes: 1 addition & 2 deletions public/locales/mr/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -693,8 +693,7 @@
"PHONE_NUMBER": "फोन नंबर",
"MENTOR_ID": "मेंटर आयडी",
"GENDER": "लिंग",
"AGE": "वय",
"N/A": "-"
"AGE": "वय"
},

"YOUTHNET_VOLUNTEERLIST": {
Expand Down
20 changes: 9 additions & 11 deletions src/components/youthNet/Profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const Profile: React.FC<ProfileDetailsProps> = ({
sx={{ fontSize: '16px', fontWeight: 400 }}
gutterBottom
>
{fullName || t('YOUTHNET_PROFILE.N/A')}
{fullName}
</Typography>

<Typography
Expand All @@ -67,7 +67,7 @@ const Profile: React.FC<ProfileDetailsProps> = ({
sx={{ fontSize: '16px', fontWeight: 400 }}
gutterBottom
>
{emailId || t('YOUTHNET_PROFILE.N/A')}
{emailId}
</Typography>

<Typography
Expand All @@ -81,9 +81,7 @@ const Profile: React.FC<ProfileDetailsProps> = ({
sx={{ fontSize: '16px', fontWeight: 400 }}
gutterBottom
>
{state || t('YOUTHNET_PROFILE.N/A')},{' '}
{district || t('YOUTHNET_PROFILE.N/A')},{' '}
{block || t('YOUTHNET_PROFILE.N/A')}
{state}, {district}, {block}
</Typography>

<Grid container spacing={2}>
Expand All @@ -98,7 +96,7 @@ const Profile: React.FC<ProfileDetailsProps> = ({
color={theme.palette.warning['A200']}
sx={{ fontSize: '16px', fontWeight: 400 }}
>
{designation || t('YOUTHNET_PROFILE.N/A')}
{designation}
</Typography>
</Grid>
<Grid item xs={6}>
Expand All @@ -112,7 +110,7 @@ const Profile: React.FC<ProfileDetailsProps> = ({
color={theme.palette.warning['A200']}
sx={{ fontSize: '16px', fontWeight: 400 }}
>
{joinedOn || t('YOUTHNET_PROFILE.N/A')}
{joinedOn}
</Typography>
</Grid>
</Grid>
Expand All @@ -129,7 +127,7 @@ const Profile: React.FC<ProfileDetailsProps> = ({
color={theme.palette.warning['A200']}
sx={{ fontSize: '16px', fontWeight: 400 }}
>
{phoneNumber || t('YOUTHNET_PROFILE.N/A')}
{phoneNumber}
</Typography>
</Grid>
<Grid item xs={6}>
Expand All @@ -143,7 +141,7 @@ const Profile: React.FC<ProfileDetailsProps> = ({
color={theme.palette.warning['A200']}
sx={{ fontSize: '16px', fontWeight: 400 }}
>
{mentorId || t('YOUTHNET_PROFILE.N/A')}
{mentorId}
</Typography>
</Grid>
</Grid>
Expand All @@ -157,7 +155,7 @@ const Profile: React.FC<ProfileDetailsProps> = ({
{t('YOUTHNET_PROFILE.GENDER')}
</Typography>
<Typography color={theme.palette.warning['A200']}>
{gender || t('YOUTHNET_PROFILE.N/A')}
{gender}
</Typography>
</Grid>
<Grid item xs={6}>
Expand All @@ -168,7 +166,7 @@ const Profile: React.FC<ProfileDetailsProps> = ({
{t('YOUTHNET_PROFILE.AGE')}
</Typography>
<Typography sx={{ fontSize: '16px', fontWeight: 400 }}>
{age || t('YOUTHNET_PROFILE.N/A')}
{age}
</Typography>
</Grid>
</Grid>
Expand Down

0 comments on commit 265a175

Please sign in to comment.