(node)
| 72 | } |
| 73 | |
| 74 | function processTextNode(node) { |
| 75 | var text = node.textContent.trim(); |
| 76 | |
| 77 | if (!canBeTranslated(node, text)) return; |
| 78 | |
| 79 | var tl = getTranslation(text); |
| 80 | if (tl !== undefined) { |
| 81 | node.textContent = tl; |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | function processNode(node) { |
| 86 | if (node.nodeType == 3) { |
no test coverage detected