fix(logger): add translate (#17769)

This commit is contained in:
屈轩
2023-08-17 17:55:03 +08:00
committed by GitHub
parent e57dca9edd
commit 14aaa012ad
2 changed files with 8 additions and 0 deletions
+2
View File
@@ -256,4 +256,6 @@ const (
ACT_BIND = "bind"
ACT_PROGRESS = "progress"
ACT_ADD_BASTION_SERVER = "add_bastion_server"
)
+6
View File
@@ -1396,4 +1396,10 @@ func init() {
EN("Progress").
CN("进展"),
)
o.Set(ACT_ADD_BASTION_SERVER, i18n.NewTableEntry().
EN("Add Bastionhost Server").
CN("添加实例到堡垒机"),
)
}