From c2c76cd85386b33b6be0eed82f4d871c43e32b1b Mon Sep 17 00:00:00 2001 From: Yannick Bungers Date: Fri, 17 Sep 2021 00:20:24 +0200 Subject: [PATCH] Update release-checklist.md Signed-off-by: Philip Molares Signed-off-by: Yannick Bungers --- docs/content/dev/release-checklist.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/content/dev/release-checklist.md b/docs/content/dev/release-checklist.md index a8768dfc4..2a2475b7c 100644 --- a/docs/content/dev/release-checklist.md +++ b/docs/content/dev/release-checklist.md @@ -16,6 +16,16 @@ - [ ] Update docker-compose in the docs - [ ] Make sure `yarn.lock` is up to date - [ ] Make sure translations are up to date + - We use [poeditor_pull](https://github.com/costales/poeditor_pull) to download all language files from POEditor. + + 1. change the following line in the script + ```python + - r_lang = requests.post('https://api.poeditor.com/v2/projects/export', dict(api_token=project_api, id=project_id, language=lang['code'], type="po")) + + r_lang = requests.post('https://api.poeditor.com/v2/projects/export', dict(api_token=project_api, id=project_id, language=lang['code'], type="key_value_json")) + ``` + 2. run the script. + 3. update the json files in the `locales` directory. + - any languages with 0% translations should not be included - [ ] Exclude `.github folder` - [ ] Write release notes - [ ] General description @@ -28,4 +38,5 @@ - [ ] Upload tar ball to github and add a release tag - [ ] Update container images - [ ] Update website by running the ["deploy" workflow](https://github.com/hedgedoc/hedgedoc.github.io/actions?query=workflow%3A%22Deploy+to+github+actions+branch%22) in hedgedoc/hedgedoc.github.io +- [ ] Update [docs.hedgedoc.org](https://github.com/hedgedoc/docs.hedgedoc.org/actions/workflows/build.yml)