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

This commit is contained in:
GoEdgeLab
2023-07-02 17:29:41 +08:00
parent 5a5ce4d417
commit 3474d829a5
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 += `