Commit graph

729 commits

Author SHA1 Message Date
cori
90405cb994 pull new editor translations from Transifex 2022-09-10 03:15:25 +00:00
Christopher Willis-Ford
eee26f06c4 upgrade eslint, eslint-config-scratch, and friends 2022-06-07 23:12:33 -07:00
chrisgarrity
433c837cfc pull new editor translations from Transifex 2021-12-21 03:14:41 +00:00
chrisgarrity
2f8f22f117 pull new editor translations from Transifex 2021-12-20 03:14:28 +00:00
chrisgarrity
1fdc9d7db2 pull new editor translations from Transifex 2021-12-19 03:15:26 +00:00
chrisgarrity
c67e6fcaf0 pull new editor translations from Transifex 2021-10-31 03:14:38 +00:00
chrisgarrity
271969cb19 pull new editor translations from Transifex 2021-10-30 03:14:43 +00:00
chrisgarrity
0b624170c3 pull new editor translations from Transifex 2021-08-06 03:14:35 +00:00
Chris Garrity
e563259149 Refactor so it’s not a breaking change
Add new index.js that re-exports the locale-data and supported-locales so that dependents of scratch-l10n can continue to work without changing. (With corresponding changes in webpack.config.js and package.json.)
2021-06-16 10:20:34 -04:00
Chris Garrity
cbf8defe97 Remove dependency on react-intl
* Separate locale-data from supported languages, and export as a separate entry in webpack
* copy react-intl locale-data locally So we can continue to support dependent packages with locale-data until we switch to polyfils. Don’t lint these files with our rules.
2021-06-15 08:56:03 -04:00
Christopher
33b4dd8467 pull new editor translations from Transifex 2021-06-15 03:14:36 +00:00
Chris Garrity
fb322ce6c5 Move react-intl to dependency
dependency instead of dev-dependency to be able to start upgrading react-intl on other repos
2021-03-08 15:00:55 -05:00
Benjamin
09edcf5e41 pull new editor translations from Transifex 2021-01-27 03:14:34 +00:00
Chris Garrity
37fb96e9ba Modify push script to create non-existent resource
fixes #128

When trying to update a resource on transifex, it catches the file not found response and tries to create it instead.

This required adding a function that will return the correct file type for the resource based on the repository. Note, this will fail for new repositories.

Also checking in package lock changes, although they appear to be just changing. `http` to `https`
2020-11-02 12:59:43 -05:00
dependabot[bot]
5d2b712398
Bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-16 12:54:35 +00:00
chrisgarrity
17dc90aafc pull new editor translations from Transifex 2020-06-24 03:07:05 +00:00
dependabot[bot]
a33f24799e
Bump eslint-utils from 1.3.1 to 1.4.3
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.3.1 to 1.4.3.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.3.1...v1.4.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-15 15:21:31 +00:00
chrisgarrity
4899e08e45
Merge pull request #93 from LLK/dependabot/npm_and_yarn/mixin-deep-1.3.2
Bump mixin-deep from 1.3.1 to 1.3.2
2020-06-15 11:15:53 -04:00
chrisgarrity
b117d2d765
Merge pull request #95 from LLK/dependabot/npm_and_yarn/lodash.defaultsdeep-4.6.1
Bump lodash.defaultsdeep from 4.6.0 to 4.6.1
2020-06-15 11:15:05 -04:00
dependabot[bot]
23b6617e7f
Bump mixin-deep from 1.3.1 to 1.3.2
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-05-27 18:44:31 +00:00
dependabot[bot]
b0f606f097
Bump lodash from 4.17.11 to 4.17.15
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.15)

Signed-off-by: dependabot[bot] <support@github.com>
2020-05-27 18:44:31 +00:00
dependabot[bot]
dfb9f89a19
Bump lodash.defaultsdeep from 4.6.0 to 4.6.1
Bumps [lodash.defaultsdeep](https://github.com/lodash/lodash) from 4.6.0 to 4.6.1.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.6.0...4.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-05-27 18:44:22 +00:00
Chris Garrity
94f6b8ba5e update package.json 2020-05-06 14:46:09 -04:00
Chris Garrity
6e1b2d68ad Update dependencies for security vulnerabilities 2019-06-12 11:37:54 -04:00
Chris Garrity
ba8497f945 Add initial json files for uz and rap 2019-05-09 10:57:18 -04:00
Nikhil Jha
a4305a3a8c Upgrade Dependencies 2019-02-02 09:53:30 -08:00
chrisgarrity
6ebde7c676 push/pull scripts need transifex as a dependency
Scripts won’t work in dependent repos unless they also have transifex installed.
2018-11-29 17:02:00 -05:00
chrisgarrity
c286f62d69 Add scripts for automation
* 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
2018-11-25 18:05:44 -05:00
chrisgarrity
669f2cd128 Sync translations 2018-11-08 09:07:42 -05:00