1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-25 17:18:05 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-05-26 08:28:03 +08:00
parent bfaf7380e1
commit 120e65bb92

View File

@ -161,7 +161,9 @@ func RenderPodCmd(m *ice.Message, pod, cmd string, arg ...ice.Any) {
RenderResult(m, kit.Format("not found command %s", cmd))
} else {
m.OptionDefault(mdb.ICONS, m.Resource(msg.Append(mdb.ICONS)))
if !kit.IsIn(cmd, PORTAL, DESKTOP, ADMIN) {
m.OptionDefault(TITLE, kit.Select(cmd, msg.Append(mdb.HELP)+kit.Select("", " "+pod, pod != ""), !m.IsEnglish()))
}
RenderCmds(m, kit.Dict(msg.AppendSimple(), ctx.ARGS, kit.Simple(arg), ctx.DISPLAY, m.Option(ice.MSG_DISPLAY)))
}
}