mirror of
https://github.com/scratchfoundation/scratch-l10n.git
synced 2024-12-22 21:52:35 -05:00
updated checklist per issues we noticed in adding mongolian
This commit is contained in:
parent
568a1390eb
commit
f96e4fb6e1
1 changed files with 5 additions and 4 deletions
9
.github/PULL_REQUEST_TEMPLATE.md
vendored
9
.github/PULL_REQUEST_TEMPLATE.md
vendored
|
@ -36,7 +36,7 @@ There are two situations in which we create manual PRs to update translations:
|
||||||
* NOTE: we are moving away from using the `tx` cli; `.tx/config` will eventually be deprecated
|
* NOTE: we are moving away from using the `tx` cli; `.tx/config` will eventually be deprecated
|
||||||
|
|
||||||
* [ ] Edit `src/index.js`:
|
* [ ] Edit `src/index.js`:
|
||||||
* [ ] Add 'import' line and export line
|
* [ ] Add 'import' line
|
||||||
* [ ] Add entry in `localeData` array
|
* [ ] Add entry in `localeData` array
|
||||||
|
|
||||||
* [ ] Check if locale is in `react-intl`
|
* [ ] Check if locale is in `react-intl`
|
||||||
|
@ -56,11 +56,12 @@ There are two situations in which we create manual PRs to update translations:
|
||||||
|
|
||||||
* [ ] Bump minor version number in `package.json`
|
* [ ] Bump minor version number in `package.json`
|
||||||
|
|
||||||
* [ ] **Update scratch-blocks dependency**
|
|
||||||
* scratch-blocks has its own translations. It will not pick up the new language unless the scratch-l10n dependency in `package.json` is updated to the new minor version.
|
|
||||||
|
|
||||||
* [ ] **Add language po files to scratchr2_translations**
|
* [ ] **Add language po files to scratchr2_translations**
|
||||||
* manually update `scratchr2_translations/legacy` with `tx pull -l <locale>` and check in changes
|
* manually update `scratchr2_translations/legacy` with `tx pull -l <locale>` and check in changes
|
||||||
|
|
||||||
* [ ] **Add language to scratchr2 settings**
|
* [ ] **Add language to scratchr2 settings**
|
||||||
* manually update `settings/base.py` with the new language
|
* manually update `settings/base.py` with the new language
|
||||||
|
|
||||||
|
* [ ] **Update scratch-blocks dependency**
|
||||||
|
* [ ] in `package.json`, update the version of the scratch-l10n dependency to the version number you used above
|
||||||
|
* [ ] pull translations so that a new `Blockly.ScratchMsgs.locales["<LOCALE CODE>"]` is added to `msg/scratch_msgs.js`
|
||||||
|
|
Loading…
Reference in a new issue