feat: perf ui & complete i18n

This commit is contained in:
Junyan Qin
2025-08-17 14:09:28 +08:00
parent dd30d08c68
commit 7bbaa4fcad
6 changed files with 32 additions and 6 deletions

View File

@@ -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',

View File

@@ -45,6 +45,20 @@ const jaJP = {
forgotPassword: 'パスワードを忘れた?',
loading: '読み込み中...',
theme: 'テーマ',
changePassword: 'パスワードを変更',
currentPassword: '現在のパスワード',
newPassword: '新しいパスワード',
confirmNewPassword: '新しいパスワードを確認',
enterCurrentPassword: '現在のパスワードを入力',
enterNewPassword: '新しいパスワードを入力',
enterConfirmPassword: '新しいパスワードを確認',
currentPasswordRequired: '現在のパスワードは必須です',
newPasswordRequired: '新しいパスワードは必須です',
confirmPasswordRequired: '新しいパスワードを確認してください',
passwordsDoNotMatch: '新しいパスワードが一致しません',
changePasswordSuccess: 'パスワードの変更に成功しました',
changePasswordFailed:
'パスワードの変更に失敗しました。現在のパスワードを確認してください',
},
notFound: {
title: 'ページが見つかりません',

View File

@@ -56,8 +56,7 @@ const zhHans = {
confirmPasswordRequired: '确认密码不能为空',
passwordsDoNotMatch: '两次输入的密码不一致',
changePasswordSuccess: '密码修改成功',
changePasswordFailed: '密码修改失败',
currentPasswordIncorrect: '当前密码不正确',
changePasswordFailed: '密码修改失败,请检查当前密码是否正确',
},
notFound: {
title: '页面不存在',

View File

@@ -44,6 +44,19 @@ const zhHant = {
forgotPassword: '忘記密碼?',
loading: '載入中...',
theme: '主題',
changePassword: '修改密碼',
currentPassword: '當前密碼',
newPassword: '新密碼',
confirmNewPassword: '確認新密碼',
enterCurrentPassword: '輸入當前密碼',
enterNewPassword: '輸入新密碼',
enterConfirmPassword: '確認新密碼',
currentPasswordRequired: '當前密碼不能為空',
newPasswordRequired: '新密碼不能為空',
confirmPasswordRequired: '確認密碼不能為空',
passwordsDoNotMatch: '兩次輸入的密碼不一致',
changePasswordSuccess: '密碼修改成功',
changePasswordFailed: '密碼修改失敗,請檢查當前密碼是否正確',
},
notFound: {
title: '頁面不存在',