chore(ci): Add preserve-hierarchy to Crowdin download

This commit updates the `scheduled-updates.yml` workflow to use the `--preserve-hierarchy` argument when downloading translations from Crowdin. This ensures that the directory structure of the translation files is maintained.

Additionally, the now-default `export_only_approved` and `skip_untranslated_strings` options have been removed for cleanup.

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
James Rich 2025-11-20 20:37:00 -06:00
parent f594f4f974
commit e95705ffc9

View file

@ -67,13 +67,12 @@ jobs:
upload_sources_args: '--preserve-hierarchy'
upload_translations: false
download_translations: true
download_translations_args: '--preserve-hierarchy'
create_pull_request: false
commit_message: 'chore(l10n): New Crowdin Translations from scheduled update'
push_translations: false
push_sources: false
localization_branch_name: ${{ github.ref_name }}
export_only_approved: false
skip_untranslated_strings: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}