feat: introduce user profile page with options to edit personal details and change password.
This commit is contained in:
parent
78a26fc2e1
commit
92ff037150
3 changed files with 75 additions and 48 deletions
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -100,7 +100,16 @@
|
|||
"security": "ความปลอดภัย",
|
||||
"currentPassword": "รหัสผ่านปัจจุบัน",
|
||||
"newPassword": "รหัสผ่านใหม่",
|
||||
"confirmNewPassword": "ยืนยันรหัสผ่านใหม่"
|
||||
"confirmNewPassword": "ยืนยันรหัสผ่านใหม่",
|
||||
"securityDesc": "เปลี่ยนรหัสผ่านเพื่อความปลอดภัยของบัญชี กรุณาตั้งรหัสผ่านที่คาดเดายาก",
|
||||
"newPasswordHint": "อย่างน้อย 6 ตัวอักษร",
|
||||
"confirmPasswordHint": "ยืนยันรหัสผ่านอีกครั้ง",
|
||||
"changePasswordBtn": "เปลี่ยนรหัสผ่าน",
|
||||
"emailHint": "ติดต่อผู้ดูแลระบบเพื่อเปลี่ยนอีเมล",
|
||||
"updateSuccess": "บันทึกข้อมูลส่วนตัวเรียบร้อยแล้ว",
|
||||
"updateError": "เกิดข้อผิดพลาดในการบันทึกข้อมูลส่วนตัว",
|
||||
"passwordSuccess": "เปลี่ยนรหัสผ่านเรียบร้อยแล้ว",
|
||||
"passwordError": "เปลี่ยนรหัสผ่านไม่สำเร็จ"
|
||||
},
|
||||
"userMenu": {
|
||||
"home": "หน้าหลัก",
|
||||
|
|
@ -128,6 +137,11 @@
|
|||
"newBadge": "ใหม่",
|
||||
"popularBadge": "ยอดนิยม",
|
||||
"save": "บันทึก",
|
||||
"cancel": "ยกเลิก"
|
||||
"cancel": "ยกเลิก",
|
||||
"required": "กรุณากรอกข้อมูล",
|
||||
"invalidEmail": "อีเมลไม่ถูกต้อง",
|
||||
"invalidPhone": "เบอร์โทรศัพท์ไม่ถูกต้อง",
|
||||
"passwordTooShort": "รหัสผ่านต้องมีอย่างน้อย 6 ตัวอักษร",
|
||||
"passwordsDoNotMatch": "รหัสผ่านใหม่ไม่ตรงกัน"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue