Commit graph

63 commits

Author SHA1 Message Date
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]
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]
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]
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]
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
137b6e3d09 fix(scripts): add retries, correct formatting for editor
retries flaky transifex api calls up to 5 times; converts message with description to plain message for editor translations
2022-09-20 14:40:38 -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 Hudson
b6f145bb94 feat: add hausa language 2022-09-01 14:56:55 -04:00
Christopher Willis-Ford
eee26f06c4 upgrade eslint, eslint-config-scratch, and friends 2022-06-07 23:12:33 -07:00
Chris Garrity
2582e0e5a3 Add Aragonese, Bengali, and Western Frysian languages
Used `es` as the parent locale for Aragonese since it doesn't have locale data already defined.
2021-08-04 10:56:11 -04: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 Willis-Ford
b11c0fe2ea add қазақша (Kazakh) 2021-06-11 14:06:25 -07: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
seotts
ac31c932e8 add 6 new languages (xh, tn, qu, or, nso, af) 2021-01-25 15:24:07 -05:00
Chris Garrity
fb6c65ca42 Adding Mongolian (mn) 2020-06-15 11:28:17 -04: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
chrisgarrity
78a90b9d6b
Merge pull request #110 from chrisgarrity/freshdesk-scripts
Add scripts for syncing Knowledge base
2020-05-27 14:43:33 -04:00
Chris Garrity
b06d84de8b add new npm commands for syncing help 2020-05-12 14:43:35 -04:00
Chris Garrity
3245f185a3 Add armenian and bump minor version 2020-05-11 14:23:22 -04:00
Chris Garrity
94f6b8ba5e update package.json 2020-05-06 14:46:09 -04:00
Chris Garrity
8d67ba322f Add Kurdish to supported languages. 2020-03-24 15:57:43 -04:00
Chris Garrity
e49a40f855 Add Haitian Creole to supported languages 2019-12-18 14:49:25 -05:00
adroitwhiz
a8087e8cc3 Validate extension input placeholders 2019-11-19 08:25:53 -05:00
Chris Garrity
12f343ed75 Add swahili 2019-10-07 17:46:11 -04:00
Chris Garrity
e3022138ba Add Georgian
- [ ] add ‘ka’ to supported languages
- [ ] add ‘ka’ to `locale-data` from `react-intl`
- [ ] bump minor version to indicate new language
- [ ] sync translations for new langage
2019-07-24 09:14:38 -04:00
Chris Garrity
edcc8dabc5 Add Khmer language
- [ ] Add Khmer (km) to the menu as ‘ភាសាខ្មែរ’ (alphabetizesd as ‘phi…’ from wikipedia: natively ភាសាខ្មែរ phiəsaa khmae Khmer pronunciation: [pʰiə.ˈsaː kʰmae])
- [ ] import km locale-data
- [ ] Update translations for editor and www
2019-07-23 15:40:14 -04:00
Chris Garrity
2949bb326b Add Rapa Nui and Uzbek 2019-05-09 10:48:02 -04:00
chrisgarrity
f83d8fd17c Add Belarusian 2019-04-17 13:51:08 -04:00
chrisgarrity
50761ad970 New scripts to support www in scratch-l10n
* tx-pull-www: pull www translations from transifex
* validate-www: check www for correct placeholders
* add commands to pull and validate www to package.json
* add validating www to the test step
* add pulling www to the update-translations script for the cron job
* changed .tx/config to match the new folder names `scratch-website.<resource-slug>`, and added missing folders. This isn’t needed for the scripts, but it’s useful if you need to pull the translation for a single language/resource
2019-02-12 10:50:43 +01:00
Nikhil Jha
a4305a3a8c Upgrade Dependencies 2019-02-02 09:53:30 -08:00
chrisgarrity
475aee4a65 Automate and switch to reviewed
* Add travis deploy step for cron job to update automatically.
* switch to reviewed translations
* make update script check for non-zero return codes from the update and test.
2018-12-06 11:45:45 -05: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
1646441f4a rename files for clarity
also made the naming convention consistent (dashes not underscore)
2018-11-27 11:36:37 -05:00
chrisgarrity
0f1dafef0e Add bash script for committing sync updates
Also fix copy/paste typo in package.json
2018-11-27 07:32:34 -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