1
0
mirror of synced 2026-01-10 00:03:04 -05:00
Files
docs/crowdin.yml
Nick Schonning 92740f68d7 chore: Add Prettier for Yaml formatting
Related to #128
- Prettier to fix indenting/quoting across files
- Manually adjust list styles to "-" style
- Ignore all translated files from automated formatting
- Drop redundant CI env variable
2020-11-16 16:12:49 -05:00

24 lines
809 B
YAML

files:
- source: /content/**/*.md
translation: /translations/%locale%/%original_path%/%original_file_name%
ignore:
- '/content/README.md'
- source: /data/**/*.yml
translation: /translations/%locale%/%original_path%/%original_file_name%
- source: /data/**/*.md
translation: /translations/%locale%/%original_path%/%original_file_name%
ignore:
- 'data/README.md'
- 'data/reusables/README.md'
- 'data/variables/product.yml'
- 'data/variables/README.md'
- 'data/graphql'
- 'data/products.yml'
# These end up as env vars used by the GitHub Actions workflow
project_id_env: CROWDIN_PROJECT_ID
api_token_env: CROWDIN_PERSONAL_TOKEN
# https://support.crowdin.com/configuration-file-v3/#saving-directory-structure-on-server
preserve_hierarchy: true