(n *html.Node, translationId string, filename string)
| 94 | } |
| 95 | |
| 96 | func inTranslate(n *html.Node, translationId string, filename string) { |
| 97 | if n.Type == html.TextNode { |
| 98 | translation(translationId, n.Data) |
| 99 | } else { |
| 100 | log.Println("translate node with non-text child < (" + filename + ")") |
| 101 | log.Println(n) |
| 102 | } |
| 103 | if n.FirstChild != nil { |
| 104 | log.Println("translate node has children (" + filename + "):") |
| 105 | log.Println(n.Data) |
| 106 | } |
| 107 | } |
| 108 | |
| 109 | func isTranslated(id string) bool { |
| 110 | namespace := trans |
no test coverage detected