scratch-l10n 3.18.357 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,14 +22,14 @@ There are two situations in which we create manual PRs to update translations:
22
22
 
23
23
  ### Adding a language
24
24
 
25
- * [ ] Edit `src/supported-locales.js`:
25
+ * [ ] Edit `src/supported-locales.mjs`:
26
26
  * [ ] Add entry for the language in the `locales` const
27
27
  * [ ] Check if language is right-to-left. If so:
28
28
  * Add entry in `rtlLocales`
29
29
 
30
30
  * [ ] Check if the new language uses a country code
31
31
  * Check [https://www.transifex.com/explore/languages](https://www.transifex.com/explore/languages). If the language has a country code:
32
- * [ ] Edit `src/supported-locales.js`:
32
+ * [ ] Edit `src/supported-locales.mjs`:
33
33
  * Add new entry to `localeMap`. Format is `'<W3C HTML browser locale string>': '<Transifex ICU locale string>'`
34
34
  * [ ] Edit `.tx/config`:
35
35
  * Add to the `lang_map` list. Format is `<Transifex ICU locale string>:<W3C HTML browser locale string>`
@@ -42,14 +42,14 @@ There are two situations in which we create manual PRs to update translations:
42
42
  * [ ] Check if locale is in `react-intl`
43
43
  * Look in [https://unpkg.com/react-intl/locale-data/](https://unpkg.com/react-intl/locale-data/)
44
44
  * If not in `react-intl`:
45
- * [ ] Edit `src/supported-locales.js`:
45
+ * [ ] Edit `src/supported-locales.mjs`:
46
46
  * In `customLocales`, add entry with parent set to a `react-intl` locale
47
47
  * [ ] Edit `src/index.js`:
48
48
  * In `localeData`, add entry for parent locale
49
49
 
50
50
  * [ ] Update translations per the "Updating translations" section above
51
51
  * [ ] Confirm that we see changes to:
52
- * [ ] `src/supported-locales.js`
52
+ * [ ] `src/supported-locales.mjs`
53
53
  * [ ] `src/index.js`
54
54
  * [ ] `.tx/config` (if language needed a new locale)
55
55
  * [ ] Multiple files like `editor/<resource>/<lang code>.json`
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- v16
1
+ 20
package/CHANGELOG.md CHANGED
@@ -3,6 +3,35 @@
3
3
  All notable changes to this project will be documented in this file. See
4
4
  [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [4.0.1](https://github.com/scratchfoundation/scratch-l10n/compare/v4.0.0...v4.0.1) (2024-10-30)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * require is not allowed in mjs files ([fb47cd2](https://github.com/scratchfoundation/scratch-l10n/commit/fb47cd2c566ad4020953bd88d754eceb6b120a8f))
12
+
13
+ # [4.0.0](https://github.com/scratchfoundation/scratch-l10n/compare/v3.18.357...v4.0.0) (2024-10-30)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * fix mkdirp import ([cfd31fd](https://github.com/scratchfoundation/scratch-l10n/commit/cfd31fda7157c287bf3ca21688afefcb90bae2a0))
19
+ * handle paginated results more carefully ([2930b8a](https://github.com/scratchfoundation/scratch-l10n/commit/2930b8a02b7fd73f4e200aba16ea4f76a44b7f27))
20
+ * only retry the actual download ([905f004](https://github.com/scratchfoundation/scratch-l10n/commit/905f004b1511b4b399735e9659bca0538f297a43))
21
+
22
+
23
+ * refactor!: stop using babel-node ([44c4b97](https://github.com/scratchfoundation/scratch-l10n/commit/44c4b975819dafc8f598227f1297da8b8946aa05))
24
+
25
+
26
+ ### Features
27
+
28
+ * report progress during tx-pull-www ([b501bdd](https://github.com/scratchfoundation/scratch-l10n/commit/b501bddc6bcfabf9f4d8114b28c21aef4c9119c9))
29
+
30
+
31
+ ### BREAKING CHANGES
32
+
33
+ * Some files have been renamed from '.js' to '.mjs'
34
+
6
35
  ## [3.18.357](https://github.com/scratchfoundation/scratch-l10n/compare/v3.18.356...v3.18.357) (2024-10-30)
7
36
 
8
37