From 684c71829f60954214b0aceeb9e1f8a5ddb2d4a6 Mon Sep 17 00:00:00 2001 From: mhf Date: Wed, 1 Mar 2023 14:50:53 +0800 Subject: [PATCH] fix(notify): addMissingActionTranslate --- pkg/notify/models/event_template.go | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/pkg/notify/models/event_template.go b/pkg/notify/models/event_template.go index 9c1b97e860..785d4a77dd 100644 --- a/pkg/notify/models/event_template.go +++ b/pkg/notify/models/event_template.go @@ -569,6 +569,27 @@ func init() { "added to the recycle bin", "加入回收站", }, + + sI18nElme{ + string(api.ActionSyncUpdate), + "sync_update", + "同步", + }, + sI18nElme{ + string(api.ActionMigrate), + "migrate", + "迁移", + }, + sI18nElme{ + string(api.ActionOffline), + "offline", + "离线", + }, + sI18nElme{ + string(api.ActionSystemException), + "exception", + "异常", + }, sI18nElme{ string(api.ResultFailed), "failed",