diff --git a/web/src/app/home/components/home-sidebar/HomeSidebar.tsx b/web/src/app/home/components/home-sidebar/HomeSidebar.tsx
index 4ab7eaeb..25b3b58f 100644
--- a/web/src/app/home/components/home-sidebar/HomeSidebar.tsx
+++ b/web/src/app/home/components/home-sidebar/HomeSidebar.tsx
@@ -261,7 +261,7 @@ export default function HomeSidebar({
fill="currentColor"
className="w-4 h-4 mr-2"
>
-
+
{t('common.changePassword')}
diff --git a/web/src/components/ui/button.tsx b/web/src/components/ui/button.tsx
index 477fab8b..7f03b702 100644
--- a/web/src/components/ui/button.tsx
+++ b/web/src/components/ui/button.tsx
@@ -18,7 +18,7 @@ const buttonVariants = cva(
secondary:
'bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80',
ghost:
- 'hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50',
+ 'hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/100',
link: 'text-primary underline-offset-4 hover:underline',
},
size: {
diff --git a/web/src/i18n/locales/en-US.ts b/web/src/i18n/locales/en-US.ts
index 44628bc4..70635bd4 100644
--- a/web/src/i18n/locales/en-US.ts
+++ b/web/src/i18n/locales/en-US.ts
@@ -56,8 +56,8 @@ const enUS = {
confirmPasswordRequired: 'Confirm password is required',
passwordsDoNotMatch: 'Passwords do not match',
changePasswordSuccess: 'Password changed successfully',
- changePasswordFailed: 'Failed to change password',
- currentPasswordIncorrect: 'Current password is incorrect',
+ changePasswordFailed:
+ 'Failed to change password, please check your current password',
},
notFound: {
title: 'Page not found',
diff --git a/web/src/i18n/locales/ja-JP.ts b/web/src/i18n/locales/ja-JP.ts
index 58fb3063..6e286727 100644
--- a/web/src/i18n/locales/ja-JP.ts
+++ b/web/src/i18n/locales/ja-JP.ts
@@ -45,6 +45,20 @@ const jaJP = {
forgotPassword: 'パスワードを忘れた?',
loading: '読み込み中...',
theme: 'テーマ',
+ changePassword: 'パスワードを変更',
+ currentPassword: '現在のパスワード',
+ newPassword: '新しいパスワード',
+ confirmNewPassword: '新しいパスワードを確認',
+ enterCurrentPassword: '現在のパスワードを入力',
+ enterNewPassword: '新しいパスワードを入力',
+ enterConfirmPassword: '新しいパスワードを確認',
+ currentPasswordRequired: '現在のパスワードは必須です',
+ newPasswordRequired: '新しいパスワードは必須です',
+ confirmPasswordRequired: '新しいパスワードを確認してください',
+ passwordsDoNotMatch: '新しいパスワードが一致しません',
+ changePasswordSuccess: 'パスワードの変更に成功しました',
+ changePasswordFailed:
+ 'パスワードの変更に失敗しました。現在のパスワードを確認してください',
},
notFound: {
title: 'ページが見つかりません',
diff --git a/web/src/i18n/locales/zh-Hans.ts b/web/src/i18n/locales/zh-Hans.ts
index f7a6730e..256124dc 100644
--- a/web/src/i18n/locales/zh-Hans.ts
+++ b/web/src/i18n/locales/zh-Hans.ts
@@ -56,8 +56,7 @@ const zhHans = {
confirmPasswordRequired: '确认密码不能为空',
passwordsDoNotMatch: '两次输入的密码不一致',
changePasswordSuccess: '密码修改成功',
- changePasswordFailed: '密码修改失败',
- currentPasswordIncorrect: '当前密码不正确',
+ changePasswordFailed: '密码修改失败,请检查当前密码是否正确',
},
notFound: {
title: '页面不存在',
diff --git a/web/src/i18n/locales/zh-Hant.ts b/web/src/i18n/locales/zh-Hant.ts
index 637a47a2..0c90e1a3 100644
--- a/web/src/i18n/locales/zh-Hant.ts
+++ b/web/src/i18n/locales/zh-Hant.ts
@@ -44,6 +44,19 @@ const zhHant = {
forgotPassword: '忘記密碼?',
loading: '載入中...',
theme: '主題',
+ changePassword: '修改密碼',
+ currentPassword: '當前密碼',
+ newPassword: '新密碼',
+ confirmNewPassword: '確認新密碼',
+ enterCurrentPassword: '輸入當前密碼',
+ enterNewPassword: '輸入新密碼',
+ enterConfirmPassword: '確認新密碼',
+ currentPasswordRequired: '當前密碼不能為空',
+ newPasswordRequired: '新密碼不能為空',
+ confirmPasswordRequired: '確認密碼不能為空',
+ passwordsDoNotMatch: '兩次輸入的密碼不一致',
+ changePasswordSuccess: '密碼修改成功',
+ changePasswordFailed: '密碼修改失敗,請檢查當前密碼是否正確',
},
notFound: {
title: '頁面不存在',