(text)
| 57 | } |
| 58 | |
| 59 | function getTranslation(text) { |
| 60 | if (!text) return undefined; |
| 61 | |
| 62 | if (translated_lines[text] === undefined) { |
| 63 | original_lines[text] = 1; |
| 64 | } |
| 65 | |
| 66 | var tl = localization[text]; |
| 67 | if (tl !== undefined) { |
| 68 | translated_lines[tl] = 1; |
| 69 | } |
| 70 | |
| 71 | return tl; |
| 72 | } |
| 73 | |
| 74 | function processTextNode(node) { |
| 75 | var text = node.textContent.trim(); |
no outgoing calls
no test coverage detected