scratch-l10n/scripts
chrisgarrity 7d38349a59 Fix placeholder checking
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.
2019-01-10 11:51:22 -05:00
..
build-data.js Add scripts for automation 2018-11-25 18:05:44 -05:00
build-i18n-src.js Add script for building en.json 2017-10-31 12:31:29 -04:00
tx-pull-blocks.js Automate and switch to reviewed 2018-12-06 11:45:45 -05:00
tx-pull-translations.js Automate and switch to reviewed 2018-12-06 11:45:45 -05:00
tx-push-src.js rename files for clarity 2018-11-27 11:36:37 -05:00
tx-util.js Fix placeholder checking 2019-01-10 11:51:22 -05:00
update-translations.sh fix bad condition and add auth 2018-12-10 09:18:27 -05:00
validate-translations.js rename files for clarity 2018-11-27 11:36:37 -05:00