Merge branch 'dev' into hugo

This commit is contained in:
hugo committed 2026-06-16 09:45:31 +08:00
commit 29a7704d46
55 files changed
+2852 -546

No files matched your search

+45 -2
View File
@@ -238,8 +238,50 @@
}
},
"wecom": {
"title": "企业微信绑定管理",
"subtitle": "手动绑定/解绑企业微信账号,并查看登录审计记录",
"title": "企业微信",
"subtitle": "配置企微集成、同步 userid、管理绑定与登录审计",
"nav": {
"settings": "系统配置",
"bindings": "绑定管理",
"audits": "登录审计"
},
"overview": {
"bound": "已绑定 userid",
"unbound": "未绑定",
"boundRate": "绑定率",
"hint": "找回密码",
"hintDesc": "未绑定 wecom_userid 的用户无法接收企微重置链接"
},
"sync": {
"title": "通讯录同步",
"desc": "从企业微信通讯录按工号回填 users.wecom_userid,用于找回密码与通知触达。",
"permissionNote": "需在企微后台为自建应用开通「通讯录读」与「发送应用消息」权限。",
"employeeIdSource": "当前工号来源",
"departmentId": "根部门 ID(可选)",
"departmentIdPlaceholder": "留空表示全部部门",
"preview": "预览同步",
"apply": "确认写入",
"previewDone": "预览完成,请确认结果后再写入",
"previewFailed": "预览同步失败",
"previewFirst": "请先预览同步结果",
"conflictsBlockApply": "存在冲突,请先人工处理后再写入",
"nothingToUpdate": "没有需要更新的绑定",
"applyConfirm": "确认将 {count} 条 userid 绑定写入数据库?",
"applyDone": "已成功更新 {count} 条绑定",
"applyFailed": "写入同步结果失败",
"invalidDepartmentId": "部门 ID 必须为正整数",
"previewTruncated": "仅展示前 20 条,共 {total} 条待更新",
"conflictsTitle": "冲突明细",
"occupiedBy": "userid 已被用户 {user} 占用",
"stats": {
"wecomUsers": "企微成员",
"localMatched": "本地匹配",
"wouldUpdate": "待更新",
"conflicts": "冲突"
}
},
"bindingsHint": "未绑定 wecom_userid 的用户无法使用企微找回密码;可先运行通讯录同步或手动绑定。",
"searchBindings": "搜索用户名、姓名、工号或 wecom_userid",
"systemSettings": "企业微信系统配置",
"integrationCopyTitle": "企微后台复制助手",
"integrationCopyDesc": "以下字段可直接复制到企业微信管理后台对应配置项。",
@@ -324,6 +366,7 @@
},
"headers": {
"user": "用户",
"employeeId": "工号",
"roleStatus": "角色/状态",
"wecomUserId": "WeCom UserId",
"unionId": "UnionId",
+23 -3
View File
@@ -30,11 +30,14 @@
"dbConnectionFailed": "数据库连接失败,请检查数据库服务是否运行。",
"internalError": "服务器内部错误,请稍后重试。",
"rememberMe": "30天内免登录",
"forgotPasswordDesc": "输入您的邮箱以重置密码",
"forgotPasswordDesc": "输入工号和用户名,重置链接将发送到您的企业微信",
"findPassword": "找回密码",
"announcements": "公告",
"passwordResetEmailSent": "如果账号存在,重置链接已发送到您的邮箱。",
"employeeIdRequired": "请输入工号",
"passwordResetWecomSent": "若账号存在且已绑定企业微信,重置链接已发送到您的企业微信。",
"passwordResetEmailSent": "若账号存在,重置链接已发送到您的邮箱。",
"passwordResetRequestFailed": "请求密码重置失败",
"passwordResetRateLimited": "操作过于频繁,请 {minutes} 分钟后再试",
"announcements": "公告",
"casdoorLogin": "Casdoor 登录",
"casdoorErrors": {
"invalidCredentials": "用户名或密码错误",
@@ -160,5 +163,22 @@
"employeeId": "工号",
"phone": "手机号"
}
},
"resetPassword": {
"title": "重置密码",
"desc": "请在下方输入新密码",
"newPassword": "新密码",
"confirmPassword": "确认密码",
"newPasswordPlaceholder": "请输入新密码",
"confirmPasswordPlaceholder": "请再次输入新密码",
"submit": "重置密码",
"submitting": "正在重置...",
"backToLogin": "返回登录",
"fillAllFields": "请填写所有字段",
"passwordMismatch": "两次输入的密码不一致",
"successRedirect": "密码重置成功,即将跳转到登录页...",
"failed": "密码重置失败",
"invalidLink": "重置链接无效或缺少 token,请重新申请找回密码",
"tokenInvalid": "链接已失效或已过期(可能已使用过或重新申请过),请回到登录页重新发起找回密码"
}
}
+7
View File
@@ -17,5 +17,12 @@
"info": "提示",
"warning": "警告",
"error": "错误"
},
"pagination": {
"summary": "共 {total} 条,当前第 {page} / {pages} 页",
"perPage": "每页",
"itemsUnit": "条",
"prevPage": "上一页",
"nextPage": "下一页"
}
}
+6 -1
View File
@@ -18,6 +18,11 @@
"USER_PHONE_EXISTS": "手机号已存在。",
"USER_UNIQUENESS_CONFLICT": "数据唯一性冲突。",
"SYSTEM_INTERNAL_ERROR": "服务器内部错误,请稍后重试。",
"SYSTEM_HTTP_ERROR": "请求失败。"
"SYSTEM_HTTP_ERROR": "请求失败。",
"WECOM_RESET_NOT_CONFIGURED": "企微找回密码未配置,请在管理端「企业微信 → 系统配置」开启企微并填写 Corp ID、Agent ID、Secret。",
"WECOM_NOTIFY_DISABLED": "企微通知已关闭,请在管理端「企业微信 → 通知设置」开启。",
"WECOM_RESET_URL_NOT_CONFIGURED": "未配置公网访问地址,请在系统配置中填写公网基地址(WECOM_PUBLIC_BASE_URL)。",
"AUTH_PASSWORD_RESET_RATE_LIMITED": "操作过于频繁,请稍后再试。",
"AUTH_RESET_TOKEN_INVALID": "重置链接已失效或已过期,请重新申请找回密码"
}
}