Feature/v2.8.9 (#315)

1、翻译优化 #291
2、IMAP协议翻页显示问题修复
3、邮件删除bug修复 #312
This commit is contained in:
Jinnrry authored and GitHub committed 2025-11-23 17:56:07 +08:00
1 parent 14f0fbfa8a
commit bb1da921c8
10 files changed
+241 -45

No files matched your search

+4 -4
View File
@@ -16,9 +16,9 @@ import (
func GetUserGroupList(ctx *context.Context, w http.ResponseWriter, req *http.Request) {
defaultGroup := []*models.Group{
{models.INBOX, i18n.GetText(ctx.Lang, "inbox"), 0, 0, "/"},
{models.Junk, i18n.GetText(ctx.Lang, "junk"), 0, 0, "/"},
{models.Deleted, i18n.GetText(ctx.Lang, "deleted"), 0, 0, "/"},
{models.INBOX, i18n.GetText(ctx.Lang, "inbox"), 0, 0, "/"}, // 收件箱
{models.Junk, i18n.GetText(ctx.Lang, "junk"), 0, 0, "/"}, //垃圾邮件
{models.Deleted, i18n.GetText(ctx.Lang, "deleted"), 0, 0, "/"}, //已删除
}
infos := group.GetGroupList(ctx)
@@ -42,7 +42,7 @@ func GetUserGroup(ctx *context.Context, w http.ResponseWriter, req *http.Request
},
{
Label: i18n.GetText(ctx.Lang, "sketch"),
Tag: dto.SearchTag{Type: 1, Status: 0}.ToString(),
Tag: dto.SearchTag{Type: 0, Status: 4}.ToString(),
},
{
Label: i18n.GetText(ctx.Lang, "junk"),