fix(crowdin): update config and exclude files
This commit is contained in:
9
.github/workflows/crowdin-i18n.yml
vendored
9
.github/workflows/crowdin-i18n.yml
vendored
@ -7,9 +7,8 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- i18n-dev
|
- i18n-dev
|
||||||
|
|
||||||
jobs:
|
|
||||||
|
|
||||||
|
jobs:
|
||||||
i18n-sync-docs:
|
i18n-sync-docs:
|
||||||
name: Docs
|
name: Docs
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -23,9 +22,9 @@ jobs:
|
|||||||
# options: https://github.com/crowdin/github-action/blob/master/action.yml
|
# options: https://github.com/crowdin/github-action/blob/master/action.yml
|
||||||
with:
|
with:
|
||||||
# uploads
|
# uploads
|
||||||
upload_translations: true
|
upload_translations: false
|
||||||
auto_approve_imported: true
|
auto_approve_imported: false
|
||||||
import_eq_suggestions: true
|
import_eq_suggestions: false
|
||||||
|
|
||||||
# downloads
|
# downloads
|
||||||
download_translations: true
|
download_translations: true
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
# Used with the Crowdin CLI or GitHub Actions
|
# Used with the Crowdin CLI or GitHub Actions
|
||||||
|
|
||||||
# CLI Usage (use --dryrun for preview):
|
# CLI Usage (use --dryrun for preview):
|
||||||
# crowdin download --config ./docs/crowdin.yml --identity ~/.crowdin.yaml
|
# crowdin download --identity ~/.crowdin.yaml
|
||||||
# crowdin upload sources --config ./docs/crowdin.yml --identity ~/.crowdin.yaml
|
# crowdin upload sources --identity ~/.crowdin.yaml
|
||||||
# crowdin upload translations --config ./docs/crowdin.yml --identity ~/.crowdin.yaml
|
# crowdin upload translations --identity ~/.crowdin.yaml
|
||||||
|
|
||||||
# These tokens are overriden when using cli with project_id and api_token
|
# These tokens are overriden when using cli with project_id and api_token
|
||||||
project_id_env: CROWDIN_PROJECT_ID
|
project_id_env: CROWDIN_PROJECT_ID
|
||||||
@ -16,5 +16,11 @@ base_path: docs
|
|||||||
files:
|
files:
|
||||||
- source: /*.md
|
- source: /*.md
|
||||||
translation: /i18n/%language%/%original_file_name%
|
translation: /i18n/%language%/%original_file_name%
|
||||||
|
ignore:
|
||||||
|
- _coverpage.md
|
||||||
|
- _navbar.md
|
||||||
|
- README.md
|
||||||
- source: /flight-manuals/*.md
|
- source: /flight-manuals/*.md
|
||||||
translation: /i18n/%language%/flight-manuals/%original_file_name%
|
translation: /i18n/%language%/flight-manuals/%original_file_name%
|
||||||
|
ignore:
|
||||||
|
- working-on-virtual-machines.md
|
||||||
|
Reference in New Issue
Block a user