mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-02 05:50:24 +08:00
refactor: 消息模块重构,infra包路径简写等
This commit is contained in:
@@ -9,4 +9,13 @@ var En = map[i18n.MsgId]string{
|
||||
LogMsgTmplSave: "Message template- save",
|
||||
LogMsgTmplDelete: "Message template- delete",
|
||||
LogMsgTmplSend: "Message template- send",
|
||||
|
||||
LoginMsg: "Log in to [{{.ip}}]-[{{.time}}]",
|
||||
|
||||
MachineFileUploadSuccessMsg: "[{{.filename}}] -> {{.machineName}}[{{.machineIp}}:{{.path}}]",
|
||||
MachineFileUploadFailMsg: "[{{.filename}}] -> {{.machineName}}[{{.machineIp}}:{{.path}}]. error: {{.error}}",
|
||||
|
||||
DbDumpFailMsg: "Database dump failed, error: {{.error}}",
|
||||
SqlScriptRunFailMsg: "Script {{.filename}} execution failed on database {{.db}}, error: {{.error}}",
|
||||
SqlScriptRunSuccessMsg: "Script {{.filename}} executed successfully on database {{.db}}, cost {{.cost}}",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user