fix(crowdin): update config and exclude files

This commit is contained in:
Mrugesh Mohapatra
2020-10-01 06:57:52 +05:30
parent b1420e2de1
commit 5a42caffb1
2 changed files with 13 additions and 8 deletions

View File

@ -1,9 +1,9 @@
# Used with the Crowdin CLI or GitHub Actions
# CLI Usage (use --dryrun for preview):
# crowdin download --config ./docs/crowdin.yml --identity ~/.crowdin.yaml
# crowdin upload sources --config ./docs/crowdin.yml --identity ~/.crowdin.yaml
# crowdin upload translations --config ./docs/crowdin.yml --identity ~/.crowdin.yaml
# crowdin download --identity ~/.crowdin.yaml
# crowdin upload sources --identity ~/.crowdin.yaml
# crowdin upload translations --identity ~/.crowdin.yaml
# These tokens are overriden when using cli with project_id and api_token
project_id_env: CROWDIN_PROJECT_ID
@ -16,5 +16,11 @@ base_path: docs
files:
- source: /*.md
translation: /i18n/%language%/%original_file_name%
ignore:
- _coverpage.md
- _navbar.md
- README.md
- source: /flight-manuals/*.md
translation: /i18n/%language%/flight-manuals/%original_file_name%
ignore:
- working-on-virtual-machines.md