mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
feat(i18n): update password labels in profile form for better clarity
This commit is contained in:
parent
911a7730f9
commit
2bced3e9b6
@ -170,7 +170,9 @@ export const ProfileForm = () => {
|
|||||||
name="currentPassword"
|
name="currentPassword"
|
||||||
render={({ field }) => (
|
render={({ field }) => (
|
||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>Current Password</FormLabel>
|
<FormLabel>
|
||||||
|
{t("settings.profile.oldPassword")}
|
||||||
|
</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Input
|
<Input
|
||||||
type="password"
|
type="password"
|
||||||
@ -189,7 +191,7 @@ export const ProfileForm = () => {
|
|||||||
render={({ field }) => (
|
render={({ field }) => (
|
||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>
|
<FormLabel>
|
||||||
{t("settings.profile.password")}
|
{t("settings.profile.newPassword")}
|
||||||
</FormLabel>
|
</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Input
|
<Input
|
||||||
|
@ -38,6 +38,8 @@
|
|||||||
"settings.profile.title": "Account",
|
"settings.profile.title": "Account",
|
||||||
"settings.profile.description": "Change the details of your profile here.",
|
"settings.profile.description": "Change the details of your profile here.",
|
||||||
"settings.profile.email": "Email",
|
"settings.profile.email": "Email",
|
||||||
|
"settings.profile.oldPassword": "Current Password",
|
||||||
|
"settings.profile.newPassword": "New Password",
|
||||||
"settings.profile.password": "Password",
|
"settings.profile.password": "Password",
|
||||||
"settings.profile.avatar": "Avatar",
|
"settings.profile.avatar": "Avatar",
|
||||||
|
|
||||||
|
@ -38,6 +38,8 @@
|
|||||||
"settings.profile.title": "账户",
|
"settings.profile.title": "账户",
|
||||||
"settings.profile.description": "更改您的个人资料",
|
"settings.profile.description": "更改您的个人资料",
|
||||||
"settings.profile.email": "邮箱",
|
"settings.profile.email": "邮箱",
|
||||||
|
"settings.profile.oldPassword": "旧密码",
|
||||||
|
"settings.profile.newPassword": "新密码",
|
||||||
"settings.profile.password": "密码",
|
"settings.profile.password": "密码",
|
||||||
"settings.profile.avatar": "头像",
|
"settings.profile.avatar": "头像",
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user