feat(userstore): add language setting
This commit is contained in:
parent
17f68ccdec
commit
b64c9093e8
1 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue