feat(userstore): add language setting

This commit is contained in:
hexxa 2021-10-19 15:25:55 +08:00 committed by Hexxa
parent 17f68ccdec
commit b64c9093e8

View file

@ -41,6 +41,7 @@ var (
}, },
CSSURL: "", CSSURL: "",
LanPackURL: "", LanPackURL: "",
Lan: "en_US",
} }
) )
@ -58,6 +59,7 @@ type Preferences struct {
Bg *sitestore.BgConfig `json:"bg"` Bg *sitestore.BgConfig `json:"bg"`
CSSURL string `json:"cssURL"` CSSURL string `json:"cssURL"`
LanPackURL string `json:"lanPackURL"` LanPackURL string `json:"lanPackURL"`
Lan string `json:"lan"`
} }
type UserCfg struct { type UserCfg struct {