Files
mayfly-go/server/internal/flow/imsg/en.go

28 lines
1.0 KiB
Go
Raw Normal View History

2024-11-20 22:43:53 +08:00
package imsg
import "mayfly-go/pkg/i18n"
var En = map[i18n.MsgId]string{
LogProcdefSave: "ProcDef - Save",
LogProcdefDelete: "ProcDef - Delete",
ErrProcdefKeyExist: "the process instance key already exists",
ErrProcdefFlowNotExist: "The process definition does not exist",
2024-11-20 22:43:53 +08:00
ErrExistProcinstRunning: "There is a running process instance that cannot be manipulated",
ErrExistProcinstSuspended: "There is a pending process instance that cannot be manipulated",
ErrUserTaskNodeCandidateNotEmpty: "The candidate of the user task node [{{.name}}] cannot be empty",
2024-11-20 22:43:53 +08:00
// procinst
LogProcinstStart: "Process - Start",
LogProcinstCancel: "Process - Cancel",
LogCompleteTask: "Process - Completion of task",
LogRejectTask: "Process - Task rejection",
LogBackTask: "Process - Task rejection",
ErrProcdefNotEnable: "The process defines a non-enabled state",
ErrProcinstCancelSelf: "You can only cancel processes you initiated",
ErrProcinstCancelled: "Process has been cancelled",
ErrBizHandlerFail: "Business process failure",
}