mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-27 01:46:35 +08:00
feat: i18n
This commit is contained in:
24
server/internal/flow/imsg/en.go
Normal file
24
server/internal/flow/imsg/en.go
Normal file
@@ -0,0 +1,24 @@
|
||||
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",
|
||||
ErrExistProcinstRunning: "There is a running process instance that cannot be manipulated",
|
||||
ErrExistProcinstSuspended: "There is a pending process instance that cannot be manipulated",
|
||||
|
||||
// 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",
|
||||
}
|
||||
Reference in New Issue
Block a user