From 2bced3e9b608990fc4cd3106f43dd1f2ca027742 Mon Sep 17 00:00:00 2001 From: JiPai Date: Fri, 7 Mar 2025 23:32:07 +0800 Subject: [PATCH] feat(i18n): update password labels in profile form for better clarity --- .../components/dashboard/settings/profile/profile-form.tsx | 6 ++++-- apps/dokploy/public/locales/en/settings.json | 2 ++ apps/dokploy/public/locales/zh-Hans/settings.json | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/apps/dokploy/components/dashboard/settings/profile/profile-form.tsx b/apps/dokploy/components/dashboard/settings/profile/profile-form.tsx index 32179378..2a5bed95 100644 --- a/apps/dokploy/components/dashboard/settings/profile/profile-form.tsx +++ b/apps/dokploy/components/dashboard/settings/profile/profile-form.tsx @@ -170,7 +170,9 @@ export const ProfileForm = () => { name="currentPassword" render={({ field }) => ( - Current Password + + {t("settings.profile.oldPassword")} + { render={({ field }) => ( - {t("settings.profile.password")} + {t("settings.profile.newPassword")}