chore: use Crowdin CLI --language option to filter languages to download (#8820)

This commit is contained in:
Sébastien Lorber 2023-03-24 15:10:16 +01:00 committed by GitHub
parent b0f9fb2db4
commit 7e817a42ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

2
.gitignore vendored
View File

@ -36,6 +36,8 @@ website/changelog
website/_dogfooding/_swizzle_theme_tests
CrowdinTranslations_*.zip
website/i18n/**/*
#!website/i18n/fr
#!website/i18n/fr/**/*

View File

@ -35,7 +35,8 @@
"serve:website:ssl:message": "echo '\n\n\nServing Docusaurus with HTTPS on localhost requires to disable the Chrome security: chrome://flags/#allow-insecure-localhost\n\n\n'",
"serve:website:ssl:serve": "serve website/build --ssl-cert ./website/.docusaurus/selfsigned.crt --ssl-key ./website/.docusaurus/selfsigned.key",
"crowdin:upload:website": "crowdin upload sources --config ./crowdin-v2.yaml",
"crowdin:download:website": "crowdin download --config ./crowdin-v2.yaml",
"crowdin:download": "crowdin download --config ./crowdin-v2.yaml",
"crowdin:download:website": "yarn crowdin:download --language fr --language ko --language pt-PT --language zh-CN",
"canary": "yarn canary:bumpVersion && yarn canary:publish",
"canary:version": "echo 0.0.0-`git rev-list --count HEAD`+`git rev-parse --short HEAD`",
"canary:bumpVersion": "yarn lerna version `yarn --silent canary:version` --exact --no-push --yes",