- Add username/password login as additional auth mechanism alongside existing token - First login must use token; password can be configured in Settings > Account - Password login returns the existing static token (no auth middleware changes) - Add account settings: setup, change password, change username, remove password - Add logout button to sidebar footer - Add version changelog popup (click version number in sidebar) - Support all 8 locales (en, zh, de, es, fr, ja, ko, pt) - Bump version to 0.4.3 Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -8,6 +8,32 @@ export default {
|
||||
tokenRequired: '请输入访问令牌',
|
||||
invalidToken: '令牌无效',
|
||||
connectionFailed: '无法连接到服务器',
|
||||
passwordLogin: '密码登录',
|
||||
tokenLogin: '令牌登录',
|
||||
usernamePlaceholder: '用户名',
|
||||
passwordPlaceholder: '密码',
|
||||
credentialsRequired: '请输入用户名和密码',
|
||||
invalidCredentials: '用户名或密码错误',
|
||||
passwordMismatch: '两次密码不一致',
|
||||
passwordTooShort: '密码长度至少 6 个字符',
|
||||
setupSuccess: '密码登录配置成功',
|
||||
passwordChanged: '密码修改成功',
|
||||
passwordRemoved: '密码登录已移除',
|
||||
setupPassword: '设置密码登录',
|
||||
changePassword: '修改密码',
|
||||
changeUsername: '修改用户名',
|
||||
removePasswordLogin: '移除',
|
||||
username: '用户名',
|
||||
currentPassword: '当前密码',
|
||||
newPassword: '新密码',
|
||||
confirmPassword: '确认密码',
|
||||
newUsername: '新用户名',
|
||||
usernameChanged: '用户名修改成功',
|
||||
usernameTooShort: '用户名至少 2 个字符',
|
||||
setupDescription: '设置用户名和密码以便快速登录。访问令牌仍可继续使用。',
|
||||
removeConfirm: '确定要移除密码登录吗?移除后需要使用访问令牌登录。',
|
||||
passwordLoginNotConfigured: '密码登录未配置',
|
||||
passwordLoginConfigured: '密码登录已启用({username})',
|
||||
},
|
||||
|
||||
// 通用
|
||||
@@ -69,6 +95,9 @@ export default {
|
||||
updating: '正在更新...',
|
||||
updateSuccess: '更新完成,请重启服务',
|
||||
updateFailed: '更新失败',
|
||||
logout: '退出登录',
|
||||
changelog: '更新日志',
|
||||
noChangelog: '暂无更新日志',
|
||||
},
|
||||
|
||||
// 对话
|
||||
@@ -316,6 +345,7 @@ export default {
|
||||
saveFailed: '保存失败',
|
||||
tabs: {
|
||||
display: '显示',
|
||||
account: '账户',
|
||||
agent: '代理',
|
||||
memory: '记忆',
|
||||
session: '会话',
|
||||
@@ -513,4 +543,18 @@ export default {
|
||||
cost: '费用',
|
||||
noData: '暂无用量数据',
|
||||
},
|
||||
|
||||
// 更新日志
|
||||
changelog: {
|
||||
new_0_4_3_1: '新增用户名/密码登录,支持与令牌认证并存',
|
||||
new_0_4_3_2: '新增账户设置:配置密码、修改密码、修改用户名',
|
||||
new_0_4_3_3: '侧边栏新增退出登录按钮',
|
||||
new_0_4_3_4: '点击版本号查看更新日志弹窗',
|
||||
new_0_4_2_1: '新增 Token 用量追踪、上下文显示和动态上下文长度',
|
||||
new_0_4_2_2: '新增会话搜索弹窗',
|
||||
new_0_4_2_3: '恢复群聊系统(Socket.IO + SQLite 持久化)',
|
||||
new_0_4_2_4: 'Chat 页面新增固定会话和实时监控',
|
||||
new_0_4_2_5: '修复内置 Provider 检测和模型匹配问题',
|
||||
new_0_4_1_1: '修复认证绕过、SPA 静态文件服务和 Provider 改进',
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user