♻️ refactor settings page [skip ci]

This commit is contained in:
naiba
2022-04-30 23:02:40 +08:00
parent c2625240c4
commit 2fc4939878
7 changed files with 38 additions and 34 deletions

View File

@@ -10,6 +10,19 @@ import (
"gopkg.in/yaml.v2"
)
var Languages = map[string]string{
"zh-CN": "简体中文",
"en-US": "English",
"es-ES": "Español",
}
var Themes = map[string]string{
"default": "Default",
"daynight": "JackieSung DayNight",
"mdui": "Neko Mdui",
"hotaru": "Hotaru",
}
const (
ConfigTypeGitHub = "github"
ConfigTypeGitee = "gitee"