mirror of
https://github.com/scratchfoundation/scratch-l10n.git
synced 2024-12-21 21:22:31 -05:00
c286f62d69
* bumped minor version * added localeMap for converting between transifex locales and the ones used by Scratch (e.g., pt-br - pt_BR) * using the transifex node package to automatically sync translations * added scripts: * sync_tx_src: uploads an en.json source file, for use by client packages * sync_tx_translations: downloads gui translations, used by this repo, flattens Chrome i18n json into plain key-value json. * sync_tx_blocks: same as above, but blocks need slightly different handling * validate_translations: check the translation json files for basic translation errors * tx_util - methods shared by sync and validate * simplified build-data because jsons have already been flattened * added new npm tasks
9 lines
239 B
Text
9 lines
239 B
Text
{
|
|
"plugins": [
|
|
"@babel/plugin-proposal-object-rest-spread"
|
|
],
|
|
"presets": [
|
|
["@babel/preset-env", {"targets": {"browsers": ["last 3 versions", "Safari >= 8", "iOS >= 8"]}}],
|
|
"@babel/preset-react"
|
|
]
|
|
}
|