feat: 重设计个人中心并精简文案,顶部导航改滚动毛玻璃

This commit is contained in:
2026-08-09 05:13:19 +08:00
parent 56f56d127d
commit defd931c6b
4 changed files with 127 additions and 394 deletions
+4 -54
View File
@@ -359,71 +359,21 @@
"profile": "Profile",
"favorites": "Favorites",
"comments": "My Comments",
"adminTitle": "Admin",
"username": "Username",
"nickname": "Nickname",
"avatarHint": "Your avatar is synced to the unified identity provider. Supported: png/jpg/gif/webp/svg/avif, up to 8MB",
"email": "Email",
"phone": "Phone",
"joinedAt": "Joined",
"role": "Role",
"roleAdmin": "Admin",
"roleUser": "User",
"save": "Save Changes",
"saving": "Saving...",
"saved": "Saved",
"saveFailed": "Failed to save. Please try again.",
"ssoAccount": "Unified SSO Account",
"ssoAccountHint": "Changes to your nickname, avatar and email here are synced back to the unified identity provider (Casdoor) and stay consistent across all sites using it.",
"emptyFavorites": "No favorites yet. Go to the Work page to explore.",
"emptyComments": "No comments posted yet",
"admin": {
"contacts": "Contact Messages",
"subscribers": "Newsletter Subscribers",
"emptyContacts": "No contact messages",
"emptySubscribers": "No subscribers yet",
"name": "Name",
"email": "Email",
"subject": "Subject",
"message": "Message",
"date": "Date",
"delivered": "Delivered to inbox",
"notDelivered": "Not delivered (SMTP not configured)"
},
"adminEntry": "Admin Panel",
"changePassword": {
"title": "Change Password",
"currentPassword": "Current Password",
"newPassword": "New Password",
"confirmPassword": "Confirm New Password",
"submit": "Update Password",
"saving": "Updating...",
"success": "Password updated",
"failed": "Failed to update password",
"wrongPassword": "Current password is incorrect",
"tooShort": "New password must be at least 8 characters",
"mismatch": "Passwords do not match"
},
"deleteAccount": {
"title": "Delete Account",
"hint": "This cannot be undone. Your comments and favorites will be removed.",
"passwordPlaceholder": "Enter your password to confirm",
"confirmButton": "Delete",
"cancelButton": "Cancel",
"success": "Account deleted",
"wrongPassword": "Incorrect password",
"confirmText": "Delete your account permanently? This cannot be undone."
},
"statFavorites": "Favorites",
"statComments": "Comments",
"statJoined": "Joined",
"avatar": {
"change": "Change Avatar",
"uploading": "Uploading...",
"remove": "Remove Avatar",
"error": "Failed to update avatar",
"success": "Avatar updated"
}
},
"emptyFavorites": "No favorites yet. Go to the Work page to explore.",
"emptyComments": "No comments posted yet"
},
"comments": {
"title": "Comments",
@@ -479,4 +429,4 @@
"invalid": "The unsubscribe link is invalid or has expired.",
"backHome": "Back to Home"
}
}
}
+5 -55
View File
@@ -359,71 +359,21 @@
"profile": "个人资料",
"favorites": "我的收藏",
"comments": "我的评论",
"adminTitle": "管理面板",
"username": "用户名",
"nickname": "昵称",
"avatarHint": "头像会同步到统一认证中心,支持 png/jpg/gif/webp/svg/avif,大小不超过 8MB",
"email": "邮箱",
"phone": "手机号",
"joinedAt": "注册时间",
"role": "角色",
"roleAdmin": "管理员",
"roleUser": "普通用户",
"joinedAt": "加入时间",
"save": "保存修改",
"saving": "保存中...",
"saved": "已保存",
"saveFailed": "保存失败,请重试",
"ssoAccount": "统一身份认证账号",
"ssoAccountHint": "昵称、头像与邮箱在此修改后会同步回统一身份认证中心(Casimir),在其他接入统一认证的站点也会保持一致。",
"emptyFavorites": "还没有收藏任何作品,去「作品」页看看吧",
"emptyComments": "还没有发表过评论",
"admin": {
"contacts": "联系消息",
"subscribers": "邮箱订阅",
"emptyContacts": "暂无联系消息",
"emptySubscribers": "暂无订阅用户",
"name": "姓名",
"email": "邮箱",
"subject": "主题",
"message": "留言内容",
"date": "时间",
"delivered": "已送达邮箱",
"notDelivered": "未送达(SMTP 未配置)"
},
"adminEntry": "进入后台管理",
"changePassword": {
"title": "修改密码",
"currentPassword": "当前密码",
"newPassword": "新密码",
"confirmPassword": "确认新密码",
"submit": "确认修改",
"saving": "提交中...",
"success": "密码已修改",
"failed": "修改失败,请重试",
"wrongPassword": "当前密码不正确",
"tooShort": "新密码至少需要 8 位",
"mismatch": "两次输入的新密码不一致"
},
"deleteAccount": {
"title": "删除账号",
"hint": "删除后无法恢复,将同时清除你的评论与收藏。",
"passwordPlaceholder": "输入当前密码确认",
"confirmButton": "确认删除",
"cancelButton": "取消",
"success": "账号已删除",
"wrongPassword": "密码不正确",
"confirmText": "确定要永久删除账号吗?此操作不可撤销。"
},
"statFavorites": "收藏",
"statComments": "评论",
"statJoined": "加入于",
"avatar": {
"change": "更换头像",
"uploading": "上传中...",
"remove": "移除头像",
"error": "头像更新失败",
"success": "头像已更新"
}
},
"emptyFavorites": "还没有收藏任何作品,去「作品」页看看吧",
"emptyComments": "还没有发表过评论"
},
"comments": {
"title": "评论",
@@ -479,4 +429,4 @@
"invalid": "退订链接无效或已失效。",
"backHome": "返回首页"
}
}
}