Merge branch 'dev' into hugo
This commit is contained in:
commit
7544361c05
15 files changed
+570
-135
No files matched your search
@@ -252,20 +252,31 @@
|
||||
"hintDesc": "Users without wecom_userid cannot receive WeCom reset links"
|
||||
},
|
||||
"sync": {
|
||||
"title": "Directory Sync",
|
||||
"desc": "Pull WeCom members and backfill users.wecom_userid by employee ID for reset and notifications.",
|
||||
"title": "OA Binding Sync",
|
||||
"desc": "Backfill users.wecom_userid from OA userInfo_view by employee ID for reset and notifications.",
|
||||
"permissionNote": "Requires contact read and message send permissions on the WeCom app.",
|
||||
"oaSourceNote": "Source: OA SQL Server (ecology.userInfo_view). workcode → employee_id, id → wecom_userid. Configure OA_SQLSERVER_* env vars.",
|
||||
"oaWorkcodeField": "Employee ID field (→ employee_id)",
|
||||
"oaWecomIdField": "WeCom ID field (→ wecom_userid)",
|
||||
"employeeIdSource": "Employee ID source",
|
||||
"departmentId": "Root department ID (optional)",
|
||||
"departmentIdPlaceholder": "Leave empty for all departments",
|
||||
"preview": "Preview sync",
|
||||
"apply": "Apply changes",
|
||||
"previewDone": "Preview completed. Review results before applying.",
|
||||
"previewFailed": "Preview sync failed",
|
||||
"previewFailed": "Preview sync failed. Check OA SQL Server connection and OA_SQLSERVER_* settings.",
|
||||
"previewFirst": "Please preview sync results first",
|
||||
"previewFirstAfterFail": "Preview failed. Check OA database connection and env vars, then preview again.",
|
||||
"applyHintPreviewFirst": "Click Preview sync first; apply is available after a successful preview.",
|
||||
"applyHintPreviewFailed": "Preview did not succeed. Check OA SQL Server (OA_SQLSERVER_*) and network access.",
|
||||
"applyHintConflicts": "Conflicts detected. Resolve them before applying.",
|
||||
"applyHintNothing": "Nothing to update in the preview; apply is not needed.",
|
||||
"localMissingHint": "{count} local employee IDs were not found in OA and will be skipped",
|
||||
"conflictsBlockApply": "Conflicts detected. Resolve them before applying.",
|
||||
"nothingToUpdate": "Nothing to update",
|
||||
"applyConfirmTitle": "Confirm binding write",
|
||||
"applyConfirm": "Write {count} userid bindings to the database?",
|
||||
"applyConfirmButton": "Confirm write",
|
||||
"applyDone": "Successfully updated {count} bindings",
|
||||
"applyFailed": "Failed to apply sync results",
|
||||
"invalidDepartmentId": "Department ID must be a positive integer",
|
||||
@@ -274,6 +285,9 @@
|
||||
"occupiedBy": "userid already used by {user}",
|
||||
"stats": {
|
||||
"wecomUsers": "WeCom members",
|
||||
"oaRows": "OA rows",
|
||||
"localCandidates": "Local with employee ID",
|
||||
"oaMatched": "OA matched",
|
||||
"localMatched": "Local matched",
|
||||
"wouldUpdate": "Would update",
|
||||
"conflicts": "Conflicts"
|
||||
|
||||
@@ -252,20 +252,31 @@
|
||||
"hintDesc": "ผู้ใช้ที่ไม่มี wecom_userid จะไม่ได้รับลิงก์รีเซ็ตผ่าน WeCom"
|
||||
},
|
||||
"sync": {
|
||||
"title": "ซิงค์สมุดรายชื่อ",
|
||||
"desc": "ดึงสมาชิก WeCom และเติม users.wecom_userid ตามรหัสพนักงาน",
|
||||
"title": "ซิงค์ OA Binding",
|
||||
"desc": "เติม users.wecom_userid จาก OA userInfo_view ตามรหัสพนักงาน",
|
||||
"permissionNote": "แอป WeCom ต้องมีสิทธิ์อ่านสมุดรายชื่อและส่งข้อความ",
|
||||
"oaSourceNote": "แหล่งข้อมูล: OA SQL Server (ecology.userInfo_view) workcode → employee_id, id → wecom_userid ตั้งค่า OA_SQLSERVER_*",
|
||||
"oaWorkcodeField": "ฟิลด์รหัสพนักงาน (→ employee_id)",
|
||||
"oaWecomIdField": "ฟิลด์ WeCom ID (→ wecom_userid)",
|
||||
"employeeIdSource": "แหล่งรหัสพนักงาน",
|
||||
"departmentId": "รหัสแผนกราก (ไม่บังคับ)",
|
||||
"departmentIdPlaceholder": "เว้นว่างเพื่อซิงค์ทุกแผนก",
|
||||
"preview": "ดูตัวอย่าง",
|
||||
"apply": "ยืนยันเขียน",
|
||||
"previewDone": "ดูตัวอย่างเสร็จแล้ว โปรดตรวจสอบก่อนยืนยัน",
|
||||
"previewFailed": "ดูตัวอย่างล้มเหลว",
|
||||
"previewFailed": "ดูตัวอย่างล้มเหลว ตรวจการเชื่อมต่อ OA และ OA_SQLSERVER_*",
|
||||
"previewFirst": "โปรดดูตัวอย่างก่อน",
|
||||
"previewFirstAfterFail": "ดูตัวอย่างล้มเหลว ตรวจการเชื่อมต่อ OA และ env แล้วลองใหม่",
|
||||
"applyHintPreviewFirst": "กดดูตัวอย่างก่อน จึงจะยืนยันเขียนได้หลังสำเร็จ",
|
||||
"applyHintPreviewFailed": "ดูตัวอย่างไม่สำเร็จ ตรวจ OA SQL Server (OA_SQLSERVER_*) และเครือข่าย",
|
||||
"applyHintConflicts": "พบความขัดแย้ง โปรดแก้ไขก่อนยืนยันเขียน",
|
||||
"applyHintNothing": "ไม่มีรายการที่ต้องอัปเดต ไม่จำเป็นต้องยืนยันเขียน",
|
||||
"localMissingHint": "มี {count} รหัสพนักงานในระบบที่ไม่พบใน OA จะข้าม",
|
||||
"conflictsBlockApply": "พบความขัดแย้ง โปรดแก้ไขก่อนยืนยัน",
|
||||
"nothingToUpdate": "ไม่มีรายการที่ต้องอัปเดต",
|
||||
"applyConfirmTitle": "ยืนยันการเขียนข้อมูลผูกมัด",
|
||||
"applyConfirm": "ยืนยันเขียน {count} รายการลงฐานข้อมูล?",
|
||||
"applyConfirmButton": "ยืนยันเขียน",
|
||||
"applyDone": "อัปเดต {count} รายการสำเร็จ",
|
||||
"applyFailed": "ยืนยันการซิงค์ล้มเหลว",
|
||||
"invalidDepartmentId": "รหัสแผนกต้องเป็นจำนวนเต็มบวก",
|
||||
@@ -274,6 +285,9 @@
|
||||
"occupiedBy": "userid ถูกใช้โดย {user} แล้ว",
|
||||
"stats": {
|
||||
"wecomUsers": "สมาชิก WeCom",
|
||||
"oaRows": "แถว OA",
|
||||
"localCandidates": "ผู้ใช้ที่มีรหัสพนักงาน",
|
||||
"oaMatched": "จับคู่ OA",
|
||||
"localMatched": "จับคู่ในระบบ",
|
||||
"wouldUpdate": "จะอัปเดต",
|
||||
"conflicts": "ขัดแย้ง"
|
||||
|
||||
@@ -253,20 +253,31 @@
|
||||
"hintDesc": "未绑定 wecom_userid 的用户无法接收企微重置链接"
|
||||
},
|
||||
"sync": {
|
||||
"title": "通讯录同步",
|
||||
"desc": "从企业微信通讯录按工号回填 users.wecom_userid,用于找回密码与通知触达。",
|
||||
"title": "OA 绑定同步",
|
||||
"desc": "从 OA 数据库 userInfo_view 按工号回填 users.wecom_userid,用于找回密码与通知触达。",
|
||||
"permissionNote": "需在企微后台为自建应用开通「通讯录读」与「发送应用消息」权限。",
|
||||
"oaSourceNote": "数据源:OA SQL Server(ecology.userInfo_view)。工号字段 workcode 对应本地 employee_id,id 写入 wecom_userid。连接参数见环境变量 OA_SQLSERVER_*。",
|
||||
"oaWorkcodeField": "工号字段(→ employee_id)",
|
||||
"oaWecomIdField": "企微 ID 字段(→ wecom_userid)",
|
||||
"employeeIdSource": "当前工号来源",
|
||||
"departmentId": "根部门 ID(可选)",
|
||||
"departmentIdPlaceholder": "留空表示全部部门",
|
||||
"preview": "预览同步",
|
||||
"apply": "确认写入",
|
||||
"previewDone": "预览完成,请确认结果后再写入",
|
||||
"previewFailed": "预览同步失败",
|
||||
"previewFailed": "预览同步失败,请检查 OA 数据库连接与 OA_SQLSERVER_* 配置",
|
||||
"previewFirst": "请先预览同步结果",
|
||||
"previewFirstAfterFail": "预览同步失败,请检查 OA 数据库连接与环境变量后再预览",
|
||||
"applyHintPreviewFirst": "请先点击「预览同步」,成功后再确认写入",
|
||||
"applyHintPreviewFailed": "预览未成功,无法写入。请检查 OA SQL Server 连接(OA_SQLSERVER_*)与网络",
|
||||
"applyHintConflicts": "存在冲突,请先处理冲突明细后再写入",
|
||||
"applyHintNothing": "预览结果无待更新项,无需写入",
|
||||
"localMissingHint": "有 {count} 个本地工号在 OA 中未找到,不会写入",
|
||||
"conflictsBlockApply": "存在冲突,请先人工处理后再写入",
|
||||
"nothingToUpdate": "没有需要更新的绑定",
|
||||
"applyConfirmTitle": "确认写入绑定",
|
||||
"applyConfirm": "确认将 {count} 条 userid 绑定写入数据库?",
|
||||
"applyConfirmButton": "确认写入",
|
||||
"applyDone": "已成功更新 {count} 条绑定",
|
||||
"applyFailed": "写入同步结果失败",
|
||||
"invalidDepartmentId": "部门 ID 必须为正整数",
|
||||
@@ -275,6 +286,9 @@
|
||||
"occupiedBy": "userid 已被用户 {user} 占用",
|
||||
"stats": {
|
||||
"wecomUsers": "企微成员",
|
||||
"oaRows": "OA 记录",
|
||||
"localCandidates": "本地有工号",
|
||||
"oaMatched": "OA 匹配",
|
||||
"localMatched": "本地匹配",
|
||||
"wouldUpdate": "待更新",
|
||||
"conflicts": "冲突"
|
||||
|
||||
@@ -252,20 +252,31 @@
|
||||
"hintDesc": "未綁定 wecom_userid 的用戶無法接收企微重設連結"
|
||||
},
|
||||
"sync": {
|
||||
"title": "通訊錄同步",
|
||||
"desc": "從企業微信通訊錄按工號回填 users.wecom_userid。",
|
||||
"title": "OA 綁定同步",
|
||||
"desc": "從 OA 資料庫 userInfo_view 按工號回填 users.wecom_userid。",
|
||||
"permissionNote": "需在企微後台開通「通訊錄讀」與「發送應用消息」權限。",
|
||||
"oaSourceNote": "資料源:OA SQL Server(ecology.userInfo_view)。workcode → employee_id,id → wecom_userid。連線參數見 OA_SQLSERVER_*。",
|
||||
"oaWorkcodeField": "工號欄位(→ employee_id)",
|
||||
"oaWecomIdField": "企微 ID 欄位(→ wecom_userid)",
|
||||
"employeeIdSource": "當前工號來源",
|
||||
"departmentId": "根部門 ID(可選)",
|
||||
"departmentIdPlaceholder": "留空表示全部部門",
|
||||
"preview": "預覽同步",
|
||||
"apply": "確認寫入",
|
||||
"previewDone": "預覽完成,請確認結果後再寫入",
|
||||
"previewFailed": "預覽同步失敗",
|
||||
"previewFailed": "預覽同步失敗,請檢查 OA 資料庫連線與 OA_SQLSERVER_* 配置",
|
||||
"previewFirst": "請先預覽同步結果",
|
||||
"previewFirstAfterFail": "預覽同步失敗,請檢查 OA 資料庫連線與環境變數後再預覽",
|
||||
"applyHintPreviewFirst": "請先點擊「預覽同步」,成功後再確認寫入",
|
||||
"applyHintPreviewFailed": "預覽未成功,無法寫入。請檢查 OA SQL Server(OA_SQLSERVER_*)與網路",
|
||||
"applyHintConflicts": "存在衝突,請先處理衝突明細後再寫入",
|
||||
"applyHintNothing": "預覽結果無待更新項,無需寫入",
|
||||
"localMissingHint": "有 {count} 個本地工號在 OA 中未找到,不會寫入",
|
||||
"conflictsBlockApply": "存在衝突,請先人工處理後再寫入",
|
||||
"nothingToUpdate": "沒有需要更新的綁定",
|
||||
"applyConfirmTitle": "確認寫入綁定",
|
||||
"applyConfirm": "確認將 {count} 條 userid 綁定寫入資料庫?",
|
||||
"applyConfirmButton": "確認寫入",
|
||||
"applyDone": "已成功更新 {count} 條綁定",
|
||||
"applyFailed": "寫入同步結果失敗",
|
||||
"invalidDepartmentId": "部門 ID 必須為正整數",
|
||||
@@ -274,6 +285,9 @@
|
||||
"occupiedBy": "userid 已被用戶 {user} 占用",
|
||||
"stats": {
|
||||
"wecomUsers": "企微成員",
|
||||
"oaRows": "OA 記錄",
|
||||
"localCandidates": "本地有工號",
|
||||
"oaMatched": "OA 匹配",
|
||||
"localMatched": "本地匹配",
|
||||
"wouldUpdate": "待更新",
|
||||
"conflicts": "衝突"
|
||||
|
||||
Reference in new issue
Block a user