Commit graph

729 commits

Author SHA1 Message Date
renovate[bot]
8a3445aafe fix(deps): update dependency scratch-semantic-release-config to v1.0.11 2024-02-22 01:04:18 +00:00
semantic-release-bot
5d4bd25c2e chore(release): 3.18.9 [skip ci]
## [3.18.9](https://github.com/scratchfoundation/scratch-l10n/compare/v3.18.8...v3.18.9) (2024-02-21)

### Bug Fixes

* **deps:** update dependency eslint-config-scratch to v9.0.4 ([62e2829](62e2829536))
2024-02-21 21:01:55 +00:00
renovate[bot]
62e2829536 fix(deps): update dependency eslint-config-scratch to v9.0.4 2024-02-21 21:00:51 +00:00
semantic-release-bot
e69b9a1fee chore(release): 3.18.8 [skip ci]
## [3.18.8](https://github.com/scratchfoundation/scratch-l10n/compare/v3.18.7...v3.18.8) (2024-02-21)

### Bug Fixes

* **deps:** lock file maintenance ([3b94aac](3b94aacc80))
2024-02-21 19:14:48 +00:00
renovate[bot]
3b94aacc80
fix(deps): lock file maintenance 2024-02-21 19:11:38 +00:00
semantic-release-bot
072b3b58f3 chore(release): 3.18.7 [skip ci]
## [3.18.7](https://github.com/scratchfoundation/scratch-l10n/compare/v3.18.6...v3.18.7) (2024-02-21)

### Bug Fixes

* pull new editor translations from Transifex ([73506f3](73506f3338))
2024-02-21 17:31:52 +00:00
semantic-release-bot
7d45fd82ab chore(release): 3.18.6 [skip ci]
## [3.18.6](https://github.com/scratchfoundation/scratch-l10n/compare/v3.18.5...v3.18.6) (2024-02-20)

### Bug Fixes

* pull new editor translations from Transifex ([732a057](732a057999))
2024-02-20 19:20:51 +00:00
renovate[bot]
51dd368dc7 chore(deps): update dependency @commitlint/config-conventional to v18.6.2 2024-02-17 13:44:08 +00:00
renovate[bot]
4532021027 chore(deps): update commitlint monorepo to v18.6.1 2024-02-16 12:01:24 +00:00
semantic-release-bot
d1f1ff0fef chore(release): 3.18.5 [skip ci]
## [3.18.5](https://github.com/scratchfoundation/scratch-l10n/compare/v3.18.4...v3.18.5) (2024-02-16)

### Bug Fixes

* pull new editor translations from Transifex ([e772887](e772887c4b))
2024-02-16 07:22:00 +00:00
renovate[bot]
a3c5417841 chore(deps): update eslint-config-scratch 2024-02-16 07:20:53 +00:00
renovate[bot]
1edcfc0c3e
chore(deps): pin dependencies 2024-02-16 01:58:26 +00:00
semantic-release-bot
cd39a6b863 chore(release): 3.18.4 [skip ci]
## [3.18.4](https://github.com/scratchfoundation/scratch-l10n/compare/v3.18.3...v3.18.4) (2024-02-16)

### Bug Fixes

* **deps:** unpin non-dev dependencies ([d65223a](d65223a8ac))
* pull new editor translations from Transifex ([2ccd4e5](2ccd4e5b8b))
* pull new editor translations from Transifex ([74a26f6](74a26f6bd1))
* pull new editor translations from Transifex ([b5dac93](b5dac93e85))
* pull new editor translations from Transifex ([489266b](489266bc50))
* pull new editor translations from Transifex ([9fa726c](9fa726c3d0))
* pull new editor translations from Transifex ([3b380d0](3b380d0927))
* pull new editor translations from Transifex ([25f6a87](25f6a876da))
2024-02-16 01:57:22 +00:00
Christopher Willis-Ford
d65223a8ac fix(deps): unpin non-dev dependencies 2024-02-15 17:55:56 -08:00
semantic-release-bot
6e38dea547 chore(release): 3.18.3 [skip ci]
## [3.18.3](https://github.com/scratchfoundation/scratch-l10n/compare/v3.18.2...v3.18.3) (2024-01-28)

### Bug Fixes

* **deps:** update babel monorepo to v7.23.9 ([fa373f0](fa373f0fce))
2024-01-28 22:22:20 +00:00
renovate[bot]
fa373f0fce fix(deps): update babel monorepo to v7.23.9 2024-01-28 22:21:14 +00:00
semantic-release-bot
933238913a chore(release): 3.18.2 [skip ci]
## [3.18.2](https://github.com/scratchfoundation/scratch-l10n/compare/v3.18.1...v3.18.2) (2024-01-28)

### Bug Fixes

* pull new editor translations from Transifex ([e75188b](e75188b7d7))
2024-01-28 18:18:03 +00:00
renovate[bot]
4f0d3d7ebb chore(deps): update commitlint monorepo to v18.6.0 2024-01-28 18:16:58 +00:00
semantic-release-bot
69bbdd6702 chore(release): 3.18.1 [skip ci]
## [3.18.1](https://github.com/scratchfoundation/scratch-l10n/compare/v3.18.0...v3.18.1) (2024-01-25)

### Bug Fixes

* pull new editor translations from Transifex ([f1f0b25](f1f0b258d5))
* pull new editor translations from Transifex ([1dd13a1](1dd13a17af))
* pull new editor translations from Transifex ([12fe563](12fe563dc9))
2024-01-25 13:02:02 +00:00
renovate[bot]
7f09852ccd chore(deps): update commitlint monorepo to v18.5.0 2024-01-25 13:00:57 +00:00
semantic-release-bot
d72066a18e chore(release): 3.18.0 [skip ci]
# [3.18.0](https://github.com/scratchfoundation/scratch-l10n/compare/v3.17.0...v3.18.0) (2024-01-16)

### Features

* realign version numbers ([c4f9f06](c4f9f06744))
2024-01-16 20:44:57 +00:00
semantic-release-bot
575065ed65 chore(release): 1.0.0 [skip ci]
# 1.0.0 (2024-01-16)

### Bug Fixes

* add missing stdout ([113c0c0](113c0c095e))
* **deps:** update babel monorepo ([0ec47c2](0ec47c2d6f))
* **deps:** update babel monorepo to v7.23.7 ([172691f](172691f133))
* **deps:** update dependency @transifex/api to v4.3.0 ([8787503](8787503122))
* fetch languages and correctly get language code in txAvailableLanguages ([a3eed89](a3eed8987b))
* fix some errors with validation and error output ([bc151d5](bc151d5ef8))
* remove unnecessary if statement ([34fcab3](34fcab3ce0))
* **scripts:** add retries, correct formatting for editor ([137b6e3](137b6e3d09))
* use correct name for Filipino ([2634e78](2634e78806))
* use correct return type for async functions ([beda44e](beda44ed7b))
* use es6 in eslint to avoid disabling linting on some lines ([b67ea68](b67ea684e7))
* use stdout instead of console ([f298a58](f298a58aeb))
* use tidier import for transifex imports ([d6f1224](d6f1224931))

* Add scratch-paint ([0cb13cb](0cb13cbaee))

### Features

* add asturian language ([01e29ea](01e29ea229))
* add esperanto language ([af35fe0](af35fe0dbe))
* add filipino translations ([ccae0fc](ccae0fc838))
* add hausa language ([b6f145b](b6f145bb94))
* add hindi ([74f5560](74f5560888))
* add occitan language ([8b1d255](8b1d25597f))
* mark automated Transifex updates as fixes ([94c3353](94c3353f54))
* migrate help utils to v3 api ([db7a2a4](db7a2a4ca0))
* migrate push help script ([2907601](2907601077))

### BREAKING CHANGES

* - bumped major version to 2.

Restructured to support multiple components. Package default is just localeData for currently supported locales including the name for each language.

messages for each component are exported as separate files in locales. Clients of l10n will need to import messages for each of the compents used and combine them.
2024-01-16 18:36:18 +00:00
Christopher Willis-Ford
eb422f9f64 ci: use semantic-release 2024-01-16 10:33:36 -08:00
Christopher Willis-Ford
a8eba81724 chore: add commitizen config 2024-01-16 10:33:36 -08:00
Christopher Willis-Ford
4383d94cc9 chore: add husky hook for commitlint 2024-01-16 10:33:36 -08:00
Christopher Willis-Ford
e3378ee380 chore: add commitlint 2024-01-16 10:33:36 -08:00
renovate[bot]
4b5a5537f0 chore(deps): update dependency @babel/preset-env to v7.23.8 2024-01-11 23:34:15 +00:00
renovate[bot]
172691f133 fix(deps): update babel monorepo to v7.23.7 2024-01-02 01:11:56 +00:00
renovate[bot]
84436bea6c chore(deps): update dependency eslint-plugin-import to v2.29.1 2023-12-17 22:12:44 +00:00
renovate[bot]
8787503122 fix(deps): update dependency @transifex/api to v4.3.0 2023-12-17 16:16:32 +00:00
renovate[bot]
0ec47c2d6f fix(deps): update babel monorepo 2023-12-17 12:10:37 +00:00
renovate[bot]
2f13585d7d chore(deps): update dependency webpack to v4.47.0 2023-12-17 10:25:52 +00:00
renovate[bot]
f6eaab0f8a chore(deps): update dependency p-queue to v3.2.0 2023-12-17 06:42:39 +00:00
renovate[bot]
2195dee4e0 chore(deps): update dependency p-limit to v2.3.0 2023-12-17 03:23:33 +00:00
renovate[bot]
bfa7ee5849 chore(deps): update dependency node-fetch to v2.7.0 2023-12-17 01:44:43 +00:00
renovate[bot]
a9f830c549 chore(deps): update dependency jshint to v2.13.6 2023-12-16 22:16:47 +00:00
renovate[bot]
052074cde0 chore(deps): update dependency glob to v7.2.3 2023-12-16 19:05:33 +00:00
renovate[bot]
e5619ae5b1 chore(deps): update dependency eslint-plugin-react to v7.33.2 2023-12-16 15:27:57 +00:00
renovate[bot]
29be02eb7e chore(deps): update dependency eslint-plugin-import to v2.29.0 2023-12-16 12:22:03 +00:00
renovate[bot]
5d0222a157 chore(deps): update dependency babel-loader to v8.3.0 2023-12-16 09:32:58 +00:00
renovate[bot]
9f25d1224e chore(deps): update dependency format-message-parse to v6.2.4 2023-12-16 06:53:22 +00:00
renovate[bot]
b72a8feb25 chore(deps): update dependency format-message-cli to v6.2.4 2023-12-16 00:32:41 +00:00
renovate[bot]
0ccaffa7ea chore(deps): update dependency async to v3.2.5 2023-12-15 21:04:12 +00:00
renovate[bot]
ec1afc1a23
chore(deps): update dependency eslint-config-scratch to v9 2023-12-15 18:21:29 +00:00
cori hudson
74f5560888 feat: add hindi 2023-07-24 17:53:34 -04:00
Cori Hudson
2a3edf29f5 chore: update package lock again 2022-09-20 14:41:29 -04:00
Cori Hudson
2a36815fac chore: update package-lock.json 2022-09-20 14:40:54 -04:00
seotts
dd2ed99ece Use transifex .download() to download
Undo tr change
2022-09-20 14:40:26 -04:00
seotts
a342f9cf38 Pull editor l10n files with new api
comment

comment

rename

default
2022-09-20 14:40:13 -04:00
seotts
18b5cf21af Update async.js 2022-09-20 14:40:04 -04:00
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