feat: introduce user profile page with options to edit personal details and change password.

This commit is contained in:
supalerk-ar66 2026-01-26 16:29:37 +07:00
parent 78a26fc2e1
commit 92ff037150
3 changed files with 75 additions and 48 deletions

View file

@ -100,7 +100,16 @@
"security": "Security",
"currentPassword": "Current Password",
"newPassword": "New Password",
"confirmNewPassword": "Confirm New Password"
"confirmNewPassword": "Confirm New Password",
"securityDesc": "Update your password for better account security. Please choose a strong password.",
"newPasswordHint": "At least 6 characters",
"confirmPasswordHint": "Confirm your password again",
"changePasswordBtn": "Change Password",
"emailHint": "Contact admin to change email",
"updateSuccess": "Profile updated successfully",
"updateError": "Failed to update profile",
"passwordSuccess": "Password changed successfully",
"passwordError": "Failed to change password"
},
"userMenu": {
"home": "Home",
@ -128,6 +137,11 @@
"newBadge": "New",
"popularBadge": "Popular",
"save": "Save",
"cancel": "Cancel"
"cancel": "Cancel",
"required": "This field is required",
"invalidEmail": "Invalid email address",
"invalidPhone": "Invalid phone number",
"passwordTooShort": "At least 6 characters",
"passwordsDoNotMatch": "Passwords do not match"
}
}