(key)
| 154 | |
| 155 | // i18next pluralization: _one/_other suffixes map to the base key in code |
| 156 | function baseKey(key) { |
| 157 | return key.replace(/_(one|other|zero|few|many)$/, ""); |
| 158 | } |
| 159 | |
| 160 | function isDynamic(key) { |
| 161 | return DYNAMIC_PREFIXES.some((p) => key.startsWith(p)); |