## cleanup-debug-logging - Create environment-aware logger utility (logger.ts) - Replace 60+ console.log/error statements across 28 files - Production: only warn/error logs visible - Development: all log levels with prefixes Updated files: - Contexts: NotificationContext, ProjectSyncContext, AuthContext - Components: GanttChart, CalendarView, ErrorBoundary, and 11 others - Pages: Tasks, Projects, Dashboard, and 7 others - Services: api.ts ## complete-i18n-coverage - WeeklyReportPreview: all strings translated, dynamic locale - ReportHistory: all strings translated, dynamic locale - AuditPage: detail modal and verification modal translated - WorkloadPage: error message translated Locale files updated: - en/common.json, zh-TW/common.json: reports section - en/audit.json, zh-TW/audit.json: modal sections - en/workload.json, zh-TW/workload.json: errors section Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
91 lines
2.5 KiB
JSON
91 lines
2.5 KiB
JSON
{
|
|
"title": "稽核日誌",
|
|
"subtitle": "追蹤系統中的所有操作記錄",
|
|
"filters": {
|
|
"action": "操作類型",
|
|
"user": "使用者",
|
|
"entity": "實體類型",
|
|
"dateRange": "日期範圍",
|
|
"allActions": "所有操作",
|
|
"allUsers": "所有使用者",
|
|
"allEntities": "所有實體"
|
|
},
|
|
"actions": {
|
|
"create": "建立",
|
|
"update": "更新",
|
|
"delete": "刪除",
|
|
"login": "登入",
|
|
"logout": "登出",
|
|
"assign": "指派",
|
|
"unassign": "取消指派",
|
|
"statusChange": "狀態變更",
|
|
"comment": "留言",
|
|
"upload": "上傳",
|
|
"download": "下載"
|
|
},
|
|
"entities": {
|
|
"task": "任務",
|
|
"project": "專案",
|
|
"space": "工作空間",
|
|
"user": "使用者",
|
|
"comment": "留言",
|
|
"attachment": "附件"
|
|
},
|
|
"columns": {
|
|
"timestamp": "時間",
|
|
"user": "使用者",
|
|
"action": "操作",
|
|
"entity": "實體",
|
|
"details": "詳情",
|
|
"ipAddress": "IP 位址"
|
|
},
|
|
"details": {
|
|
"before": "變更前",
|
|
"after": "變更後",
|
|
"changes": "變更內容"
|
|
},
|
|
"export": {
|
|
"title": "匯出日誌",
|
|
"csv": "匯出為 CSV",
|
|
"json": "匯出為 JSON"
|
|
},
|
|
"empty": {
|
|
"title": "沒有稽核記錄",
|
|
"description": "目前沒有符合條件的稽核記錄"
|
|
},
|
|
"modal": {
|
|
"details": {
|
|
"title": "稽核日誌詳情",
|
|
"eventType": "事件類型:",
|
|
"action": "操作:",
|
|
"resource": "資源:",
|
|
"user": "使用者:",
|
|
"ipAddress": "IP 位址:",
|
|
"sensitivity": "敏感度:",
|
|
"time": "時間:",
|
|
"changes": "變更內容",
|
|
"field": "欄位",
|
|
"oldValue": "舊值",
|
|
"newValue": "新值",
|
|
"checksum": "校驗碼:",
|
|
"na": "無",
|
|
"system": "系統"
|
|
},
|
|
"verification": {
|
|
"title": "完整性驗證",
|
|
"verifying": "正在驗證稽核日誌完整性...",
|
|
"verifyingHint": "根據記錄數量,這可能需要一些時間。",
|
|
"failed": "驗證失敗",
|
|
"statusSuccess": "完整性已驗證",
|
|
"statusFailed": "偵測到完整性問題",
|
|
"successDescription": "所有稽核記錄都具有有效的校驗碼,未被竄改。",
|
|
"failedDescription": "部分稽核記錄的校驗碼無效,表示可能存在竄改或損壞。",
|
|
"totalChecked": "已檢查總數",
|
|
"valid": "有效",
|
|
"invalid": "無效",
|
|
"invalidRecords": "無效記錄",
|
|
"invalidRecordsDescription": "以下記錄 ID 未通過完整性驗證:"
|
|
}
|
|
}
|
|
}
|