Localize user-facing UI, agent output, and backend messages to Simplified Chinese
ci / go (push) Waiting to run
ci / go-db (agent) (push) Waiting to run
ci / go-db (config) (push) Waiting to run
ci / go-db (db) (push) Waiting to run
ci / go-db (evidence) (push) Waiting to run
ci / go-db (llmrec) (push) Waiting to run
ci / go-db (server) (push) Waiting to run
detections / detections (push) Waiting to run
docs / links (push) Waiting to run
web / web (push) Waiting to run

This commit is contained in:
dela
2026-10-09 14:08:31 +08:00
parent 8af63417c8
commit 97668dab7e
148 changed files with 1671 additions and 1672 deletions
+7 -7
View File
@@ -21,13 +21,13 @@ const maxChatUpload = 128 << 20 // 128 MiB
// 는 workspace.go errWsIllegalPath("잘못된 경로입니다")와 같은 꼴이다. ...失败 세 종류는
// task_archives.go:229 선례처럼 접두 상수 + err.Error() 로 이어 붙인다.
const (
errChatUploadScopeInvalid = "scope 값은 task, session, staging 중 하나여야 합니다"
errChatUploadBadID = "잘못된 id입니다"
errChatUploadTaskDeleting = "작업을 삭제하는 중이라 첨부 파일을 업로드할 수 없습니다"
errChatUploadMkdir = "디렉터리를 만들지 못했습니다: "
errChatUploadParse = "업로드를 해석하지 못했거나 크기 제한을 초과했습니다: "
errChatUploadNoFile = "업로드할 파일이 없습니다(폼 필드 file)"
errChatUploadSaveFailed = "저장하지 못했습니다: "
errChatUploadScopeInvalid = "scope 值必须是 task、session、staging 之一"
errChatUploadBadID = "id 无效"
errChatUploadTaskDeleting = "正在删除任务,无法上传附件"
errChatUploadMkdir = "无法创建目录: "
errChatUploadParse = "无法解析上传内容或超出大小限制: "
errChatUploadNoFile = "没有要上传的文件(表单字段 file)"
errChatUploadSaveFailed = "保存失败: "
)
// safeChatID guards the {id} path segment against traversal — task ids are numeric,