mirror of
https://github.com/scratchfoundation/scratch-l10n.git
synced 2024-12-22 05:32:34 -05:00
7d38349a59
The placeholder checking didn’t work if the translation’s grammar generated a different number of parsed elements. E.g., in English: something {placeholder} — two elements translation something {placeholder} something — three elements I determined that placeholders are always array elements in the parsed array, so filter for Array elements and check that there are the same number of array elements. |
||
---|---|---|
.. | ||
build-data.js | ||
build-i18n-src.js | ||
tx-pull-blocks.js | ||
tx-pull-translations.js | ||
tx-push-src.js | ||
tx-util.js | ||
update-translations.sh | ||
validate-translations.js |