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
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:
+11
-11
@@ -19,17 +19,17 @@ const maxBatchControlIDs = 100
|
||||
// 배치(controlTasksBatch) 제어 응답이 주 용도이며, 오케스트레이터 pause 도구
|
||||
// (orchestration.go)가 err.Error() 를 재참조할 때도 같은 문구가 쓰인다.
|
||||
const (
|
||||
errTaskCtrlDeleting = "작업을 삭제하는 중이라 제어할 수 없습니다"
|
||||
errTaskCtrlTerminalPause = "종료된 작업은 일시정지할 수 없습니다"
|
||||
errTaskCtrlAlreadyPaused = "작업이 이미 일시정지되어 있습니다"
|
||||
errTaskCtrlBatchSizeFmt = "task_ids 개수는 1~%d개여야 합니다"
|
||||
errTaskCtrlDeleting = "正在删除任务,无法控制"
|
||||
errTaskCtrlTerminalPause = "已结束的任务无法暂停"
|
||||
errTaskCtrlAlreadyPaused = "任务已处于暂停状态"
|
||||
errTaskCtrlBatchSizeFmt = "task_ids 数量必须为 1~%d 个"
|
||||
|
||||
errIntentCtrlInheritedReadonly = "상속된 의도는 읽기 전용이라 제어할 수 없습니다"
|
||||
errIntentCtrlOnlyRunningPause = "실행 중인 의도만 일시정지할 수 있습니다"
|
||||
errIntentCtrlOnlyPausedResume = "일시정지된 의도만 재개할 수 있습니다"
|
||||
errIntentCtrlStateConflictFmt = "%w: 의도가 더 이상 paused 상태가 아닙니다"
|
||||
errIntentCtrlOnlyDeletable = "대기 중·실행 중·일시정지 상태의 의도만 삭제할 수 있습니다"
|
||||
errIntentCtrlReasonRequired = "삭제 사유를 입력하세요"
|
||||
errIntentCtrlInheritedReadonly = "继承的意图为只读,无法控制"
|
||||
errIntentCtrlOnlyRunningPause = "只有运行中的意图才能暂停"
|
||||
errIntentCtrlOnlyPausedResume = "只有已暂停的意图才能恢复"
|
||||
errIntentCtrlStateConflictFmt = "%w: 意图已不再处于 paused 状态"
|
||||
errIntentCtrlOnlyDeletable = "只有待处理·运行中·已暂停状态的意图才能删除"
|
||||
errIntentCtrlReasonRequired = "请填写删除原因"
|
||||
)
|
||||
|
||||
type taskControlResult struct {
|
||||
@@ -163,7 +163,7 @@ func (s *Server) applyTaskControlWithCause(t *Task, action string, pauseCause er
|
||||
default:
|
||||
return out, fmt.Errorf("action must be pause|resume")
|
||||
}
|
||||
log.Printf("[task] #%s %s", t.ID, map[string]string{"pause": "일시정지됨", "resume": "재개됨"}[action])
|
||||
log.Printf("[task] #%s %s", t.ID, map[string]string{"pause": "已暂停", "resume": "已恢复"}[action])
|
||||
return out, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user