diff --git a/crowdin.yml b/crowdin.yml index df221a52..26f86e34 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -1,23 +1,12 @@ -# Crowdin CLI / GitHub Action configuration. -# See docs/CONTRIBUTING_TRANSLATIONS.md → Crowdin setup. -# -# Secrets (never commit real values): -# CROWDIN_PROJECT_ID – numeric project ID from Crowdin → Project Settings → Details -# CROWDIN_PERSONAL_TOKEN – Account Settings → API → New token (scope: Project; Manager on this project) - project_id_env: CROWDIN_PROJECT_ID api_token_env: CROWDIN_PERSONAL_TOKEN base_path: . -base_url: https://api.crowdin.com - -preserve_hierarchy: true - +base_url: 'https://api.crowdin.com' +preserve_hierarchy: 1 files: - source: /translations/en/LC_MESSAGES/messages.po translation: /translations/%two_letters_code%/LC_MESSAGES/%original_file_name% - # Minor edits to English source strings keep existing translations as unapproved instead of wiping them update_option: update_as_unapproved - # Crowdin often uses "nb" for Norwegian Bokmål; this app uses locale folder "no" (see app/config.py). languages_mapping: two_letters_code: - "nb": "no" + nb: 'no'