fix(crowdin): update config and exclude files
This commit is contained in:
parent
b1420e2de1
commit
5a42caffb1
9
.github/workflows/crowdin-i18n.yml
vendored
9
.github/workflows/crowdin-i18n.yml
vendored
@ -7,9 +7,8 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- i18n-dev
|
||||
|
||||
jobs:
|
||||
|
||||
jobs:
|
||||
i18n-sync-docs:
|
||||
name: Docs
|
||||
runs-on: ubuntu-latest
|
||||
@ -23,9 +22,9 @@ jobs:
|
||||
# options: https://github.com/crowdin/github-action/blob/master/action.yml
|
||||
with:
|
||||
# uploads
|
||||
upload_translations: true
|
||||
auto_approve_imported: true
|
||||
import_eq_suggestions: true
|
||||
upload_translations: false
|
||||
auto_approve_imported: false
|
||||
import_eq_suggestions: false
|
||||
|
||||
# downloads
|
||||
download_translations: true
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user