From 1a8d705226f4c81be0bc58c67d5e022dabe59a24 Mon Sep 17 00:00:00 2001 From: Ilenia Date: Tue, 29 Jun 2021 07:42:37 +0200 Subject: [PATCH] feat(i18n): enable italian contributing documentation (#42662) Co-authored-by: Nicholas Carrigan (he/him) --- .../workflows/crowdin-i18n-docs.download.yml | 34 +++++++++++++++++++ docs/_translations.md | 1 + 2 files changed, 35 insertions(+) diff --git a/.github/workflows/crowdin-i18n-docs.download.yml b/.github/workflows/crowdin-i18n-docs.download.yml index 497806dded..c04ec58332 100644 --- a/.github/workflows/crowdin-i18n-docs.download.yml +++ b/.github/workflows/crowdin-i18n-docs.download.yml @@ -128,6 +128,40 @@ jobs: CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID_DOCS }} CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_CAMPERBOT_SERVICE_TOKEN }} + ##### Download Italian ##### + - name: Crowdin Download Italian Translations + uses: crowdin/github-action@master + # options: https://github.com/crowdin/github-action/blob/master/action.yml + with: + # uploads + upload_sources: false + upload_translations: false + auto_approve_imported: false + import_eq_suggestions: false + + # downloads + download_translations: true + download_language: it + skip_untranslated_files: false + export_only_approved: true + + push_translations: false + + # pull-request + create_pull_request: false + + # global options + config: './config/crowdin/docs/crowdin.yml' + base_url: ${{ secrets.CROWDIN_BASE_URL_FCC }} + + # Uncomment below to debug + # dryrun_action: true + + env: + GITHUB_TOKEN: ${{ secrets.CROWDIN_CAMPERBOT_PAT }} + CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID_DOCS }} + CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_CAMPERBOT_SERVICE_TOKEN }} + # Create Commit - name: Commit Changes env: diff --git a/docs/_translations.md b/docs/_translations.md index fd950d2816..3d562b6b32 100644 --- a/docs/_translations.md +++ b/docs/_translations.md @@ -12,6 +12,7 @@ - [English](/index.md) - [EspaƱol](/i18n/espanol/index.md) - [Portuguese](/i18n/portuguese/index.md) +- [Italian](/i18n/italian/index.md)