(cell)
| 40 | } |
| 41 | |
| 42 | function getLocales(cell) { |
| 43 | let locales = []; |
| 44 | |
| 45 | let element = cell.firstElementChild; |
| 46 | |
| 47 | do { |
| 48 | if (element.tagName === 'SPAN') { |
| 49 | locales.push(element.title); |
| 50 | } |
| 51 | } while ((element = element.nextElementSibling)); |
| 52 | |
| 53 | return locales; |
| 54 | } |
| 55 | |
| 56 | function getPlurals(tr, range) { |
| 57 | let columnTitles = [...tr.childNodes].map(td => td.title); |