fix misspelling

This commit is contained in:
Max 2024-07-15 20:20:23 +08:00
parent d7dbcd767e
commit d5584ca9c4

View file

@ -310,7 +310,7 @@ func (parser *TemplateParser) transElementNode(sel *goquery.Selection) {
}
}
// Transalte the attributes
// Translate the attributes
for _, attr := range sel.Nodes[0].Attr {
if strings.HasPrefix(attr.Key, "s:trans-attr-") {
keys := strings.Split(attr.Val, ",")