{{define "settings"}} {{t .Lang "设置"}} - MailGo {{template "styles" .}} {{template "navbar" .}}
{{template "sidebar" .}}
{{if .error}}
{{.error}}
{{end}} {{if .success}}
{{.success}}
{{end}} {{if .mustChange}}
{{t .Lang "⚠️ 首次登录/密码已被重置,请立即修改密码后再继续使用邮箱功能。"}}
{{end}}

{{t .Lang "账号信息"}}

{{initial .currentUser.Username}}
{{.currentUser.Username}}@{{.currentUser.Domain.Name}}
{{tf .Lang "已用 %s / 配额 %s" (formatBytes .currentUser.UsedBytes) (formatBytes .currentUser.QuotaBytes)}} {{if .currentUser.IsAdmin}} · {{t .Lang "管理员"}}{{end}}

{{t .Lang "界面语言"}}

{{t .Lang "修改密码"}}

{{t .Lang "帮助"}}

{{t .Lang "客户端收发信(IMAP / SMTP)配置:"}}
{{tf .Lang "IMAP 服务器:%s 端口 %d / SSL %d" .currentUser.Domain.Name 143 993}}
{{tf .Lang "SMTP 服务器:%s 端口 %d(提交)/ SSL %d" .currentUser.Domain.Name 587 465}}

{{end}}