增加清空节点同步任务、清空DNS同步任务API

This commit is contained in:
刘祥超
2023-07-02 17:29:41 +08:00
parent 81af1caa6c
commit c66adf989c
10 changed files with 1027 additions and 778 deletions

View File

@@ -232,8 +232,9 @@ func init() {
langs.Load("` + langCode + `", map[langs.MessageCode]string{
`
for code, value := range messageLang.GetAll() {
source += strconv.Quote(code.String()) + ": " + strconv.Quote(value) + ",\n"
for _, code := range messageCodes {
var value = messageLang.Get(langs.MessageCode(code))
source += strconv.Quote(code) + ": " + strconv.Quote(value) + ",\n"
}
source += `