Skip to content

Commit c558a4d

Browse files
authored
Merge pull request #988 from sahitya-chandra/next-session-card
feat: completed the next-session card on dashboard
2 parents 4065011 + 1d73cec commit c558a4d

File tree

7 files changed

+235
-172
lines changed

7 files changed

+235
-172
lines changed

src/app/plugins/locales/en.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,15 @@
7070
},
7171
"profile": {
7272
"title": "Profile",
73+
"username": "Username",
74+
"email": "Email",
7375
"editProfile": "Edit Profile",
7476
"account": "Account",
7577
"admin": "Admin",
7678
"security": "Security",
7779
"personalInfo": "Personal Info",
7880
"changePassword": "Change Password",
81+
"contact": "Contact No",
7982
"passwordRequirements": "Ensure these requirements",
8083
"passwordMinimumRequirements": "Minimum 8 characters, uppercase, and symbol",
8184
"newPassword": "New Password",

src/app/plugins/locales/es.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,9 @@
631631
"editProfile": "Editar perfil",
632632
"account": "Cuenta",
633633
"admin": "Administrador",
634+
"email": "Correo electrónico",
635+
"username": "Nombre de usuario",
636+
"contact": "Número de contacto",
634637
"changePassword": "Cambiar contraseña",
635638
"passwordRequirements": "Asegúrese de cumplir estos requisitos",
636639
"passwordMinimumRequirements": "Mínimo 8 caracteres, mayúscula y símbolo",

src/features/auth/views/ProfileView.vue

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
>
143143
<v-text-field
144144
v-model="userprofile.username"
145-
:label="$t('SIGNIN.username')"
145+
:label="$t('profile.username')"
146146
variant="outlined"
147147
density="compact"
148148
prepend-inner-icon="mdi-account"
@@ -156,7 +156,7 @@
156156
>
157157
<v-text-field
158158
v-model="user.email"
159-
:label="$t('SIGNIN.email')"
159+
:label="$t('profile.email')"
160160
variant="outlined"
161161
density="compact"
162162
prepend-inner-icon="mdi-email"
@@ -170,7 +170,7 @@
170170
>
171171
<v-text-field
172172
v-model="userprofile.contactNo"
173-
:label="$t('SIGNIN.contact')"
173+
:label="$t('profile.contact')"
174174
variant="outlined"
175175
density="compact"
176176
prepend-inner-icon="mdi-phone"
@@ -419,7 +419,7 @@
419419
>
420420
<v-text-field
421421
v-model="editProfileData.username"
422-
:label="$t('SIGNIN.username')"
422+
:label="$t('profile.username')"
423423
variant="outlined"
424424
density="compact"
425425
prepend-inner-icon="mdi-account"
@@ -428,7 +428,7 @@
428428
/>
429429
<v-text-field
430430
v-model="editProfileData.contactNo"
431-
:label="$t('SIGNIN.contact')"
431+
:label="$t('profile.contact')"
432432
variant="outlined"
433433
density="compact"
434434
prepend-inner-icon="mdi-phone"
@@ -708,17 +708,17 @@ const specialCharIcon = computed(() =>
708708
);
709709
const profileItems = computed(() => [
710710
{
711-
label: t('SIGNIN.username'),
711+
label: t('profile.username'),
712712
value: userprofile.value.username,
713713
icon: 'mdi-account',
714714
},
715715
{
716-
label: t('SIGNIN.email'),
716+
label: t('profile.email'),
717717
value: user.value.email,
718718
icon: 'mdi-email',
719719
},
720720
{
721-
label: t('SIGNIN.contact'),
721+
label: t('profile.contact'),
722722
value: userprofile.value.contactNo,
723723
icon: 'mdi-phone',
724724
},

0 commit comments

Comments
 (0)