Merge branch 'dev' into hugo

This commit is contained in:
hugo committed 2026-06-16 13:32:30 +08:00
commit 7544361c05
15 files changed
+570 -135

No files matched your search

+17 -3
View File
@@ -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"