feat(i18n): update password labels in profile form for better clarity

This commit is contained in:
JiPai 2025-03-07 23:32:07 +08:00
parent 911a7730f9
commit 2bced3e9b6
3 changed files with 8 additions and 2 deletions

View File

@ -170,7 +170,9 @@ export const ProfileForm = () => {
name="currentPassword"
render={({ field }) => (
<FormItem>
<FormLabel>Current Password</FormLabel>
<FormLabel>
{t("settings.profile.oldPassword")}
</FormLabel>
<FormControl>
<Input
type="password"
@ -189,7 +191,7 @@ export const ProfileForm = () => {
render={({ field }) => (
<FormItem>
<FormLabel>
{t("settings.profile.password")}
{t("settings.profile.newPassword")}
</FormLabel>
<FormControl>
<Input

View File

@ -38,6 +38,8 @@
"settings.profile.title": "Account",
"settings.profile.description": "Change the details of your profile here.",
"settings.profile.email": "Email",
"settings.profile.oldPassword": "Current Password",
"settings.profile.newPassword": "New Password",
"settings.profile.password": "Password",
"settings.profile.avatar": "Avatar",

View File

@ -38,6 +38,8 @@
"settings.profile.title": "账户",
"settings.profile.description": "更改您的个人资料",
"settings.profile.email": "邮箱",
"settings.profile.oldPassword": "旧密码",
"settings.profile.newPassword": "新密码",
"settings.profile.password": "密码",
"settings.profile.avatar": "头像",