diff --git a/.github/workflows/download-crowdin-develop.yml b/.github/workflows/download-crowdin-develop.yml index d5f48d4..65fac06 100644 --- a/.github/workflows/download-crowdin-develop.yml +++ b/.github/workflows/download-crowdin-develop.yml @@ -8,6 +8,11 @@ on: default: "7.0.x" required: false type: string + CROWDIN_LANGUAGES_ARG: + description: Crowdin args for used languages + default: "-l ar -l aro -l az -l ca -l ceb -l co -l cs -l de -l el -l en -l es-ES -l eu -l fa -l fi -l fil -l fr -l hi -l hu -l id -l it -l ja -l ko -l lt -l ms -l nl -l no -l pcm -l pl -l pt-BR -l pt-PT -l ro -l ru -l sk -l sl -l sq -l sv-SE -l th -l tl -l tr -l uk -l ur-IN -l vi -l zh-CN -l zh-TW" + required: false + type: string secrets: CROWDIN_GITHUB_TOKEN: required: true @@ -28,4 +33,5 @@ jobs: with: PROJECT_VERSION: ${{ inputs.CROWDIN_DEVELOP_VERSION }} PROJECT_BRANCH: develop + CROWDIN_LANGUAGES_ARG: ${{ inputs.CROWDIN_LANGUAGES_ARG }} secrets: inherit diff --git a/.github/workflows/download-crowdin-exoplatform.yml b/.github/workflows/download-crowdin-exoplatform.yml index 165a61e..8777586 100644 --- a/.github/workflows/download-crowdin-exoplatform.yml +++ b/.github/workflows/download-crowdin-exoplatform.yml @@ -28,6 +28,11 @@ on: default: "true" required: false type: string + CROWDIN_LANGUAGES_ARG: + description: Crowdin args for used languages + default: "-l ar -l aro -l az -l ca -l ceb -l co -l cs -l de -l el -l en -l es-ES -l eu -l fa -l fi -l fil -l fr -l hi -l hu -l id -l it -l ja -l ko -l lt -l ms -l nl -l no -l pcm -l pl -l pt-BR -l pt-PT -l ro -l ru -l sk -l sl -l sq -l sv-SE -l th -l tl -l tr -l uk -l ur-IN -l vi -l zh-CN -l zh-TW" + required: false + type: string secrets: CROWDIN_GITHUB_TOKEN: required: true @@ -49,6 +54,7 @@ jobs: with: PROJECT_VERSION: ${{ inputs.CROWDIN_DEVELOP_VERSION }} PROJECT_BRANCH: develop + CROWDIN_LANGUAGES_ARG: ${{ inputs.CROWDIN_LANGUAGES_ARG }} secrets: inherit # stable/x.x.x crowdin-download-stable: @@ -59,4 +65,5 @@ jobs: PROJECT_VERSION: ${{ inputs.CROWDIN_MAINTENANCE_EXO_VERSION }} PROJECT_BRANCH: stable/${{ inputs.CROWDIN_MAINTENANCE_EXO_VERSION }} CROWDIN_BRANCH: ${{ inputs.CROWDIN_MAINTENANCE_BRANCH_VERSION }} + CROWDIN_LANGUAGES_ARG: ${{ inputs.CROWDIN_LANGUAGES_ARG }} secrets: inherit diff --git a/.github/workflows/download-crowdin-generic.yml b/.github/workflows/download-crowdin-generic.yml index a8c7d70..43effb5 100644 --- a/.github/workflows/download-crowdin-generic.yml +++ b/.github/workflows/download-crowdin-generic.yml @@ -16,6 +16,11 @@ on: default: "" required: false type: string + CROWDIN_LANGUAGES_ARG: + description: Crowdin args for used languages + default: "-l ar -l aro -l az -l ca -l ceb -l co -l cs -l de -l el -l en -l es-ES -l eu -l fa -l fi -l fil -l fr -l hi -l hu -l id -l it -l ja -l ko -l lt -l ms -l nl -l no -l pcm -l pl -l pt-BR -l pt-PT -l ro -l ru -l sk -l sl -l sq -l sv-SE -l th -l tl -l tr -l uk -l ur-IN -l vi -l zh-CN -l zh-TW" + required: false + type: string secrets: CROWDIN_GITHUB_TOKEN: required: true @@ -51,9 +56,7 @@ jobs: localization_branch_name: integration/${{inputs.PROJECT_VERSION}}-translation create_pull_request: false skip_ref_checkout: true - download_translations_args: '-l ar -l aro -l az -l ca -l ceb -l co -l cs -l de -l el -l en -l es-ES -l eu -l fa -l fi - -l fil -l fr -l hi -l hu -l id -l it -l ja -l ko -l lt -l ms -l nl -l no -l pcm -l pl -l pt-BR -l pt-PT -l ro -l ru - -l sk -l sl -l sq -l sv-SE -l th -l tl -l tr -l uk -l ur-IN -l vi -l zh-CN -l zh-TW' + download_translations_args: '${{inputs.CROWDIN_LANGUAGES_ARG}}' env: CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} diff --git a/.github/workflows/download-crowdin-meedsio.yml b/.github/workflows/download-crowdin-meedsio.yml index cbc1cb7..57af1fe 100644 --- a/.github/workflows/download-crowdin-meedsio.yml +++ b/.github/workflows/download-crowdin-meedsio.yml @@ -33,6 +33,11 @@ on: default: "true" required: false type: string + CROWDIN_LANGUAGES_ARG: + description: Crowdin args for used languages + default: "-l ar -l aro -l az -l ca -l ceb -l co -l cs -l de -l el -l en -l es-ES -l eu -l fa -l fi -l fil -l fr -l hi -l hu -l id -l it -l ja -l ko -l lt -l ms -l nl -l no -l pcm -l pl -l pt-BR -l pt-PT -l ro -l ru -l sk -l sl -l sq -l sv-SE -l th -l tl -l tr -l uk -l ur-IN -l vi -l zh-CN -l zh-TW" + required: false + type: string secrets: CROWDIN_GITHUB_TOKEN: required: true @@ -53,6 +58,7 @@ jobs: PROJECT_VERSION: ${{ inputs.CROWDIN_DEVELOP_VERSION }}-exo PROJECT_BRANCH: develop-exo CROWDIN_BRANCH: develop-exo + CROWDIN_LANGUAGES_ARG: ${{ inputs.CROWDIN_LANGUAGES_ARG }} secrets: inherit # develop-meed workflow crowdin-download-develop-meed: @@ -63,6 +69,7 @@ jobs: PROJECT_VERSION: ${{ inputs.CROWDIN_DEVELOP_VERSION }}-meed PROJECT_BRANCH: develop-meed CROWDIN_BRANCH: develop-meed + CROWDIN_LANGUAGES_ARG: ${{ inputs.CROWDIN_LANGUAGES_ARG }} secrets: inherit # stable/x.x.x-exo workflow crowdin-download-stable-exo: @@ -73,4 +80,5 @@ jobs: PROJECT_VERSION: ${{ inputs.CROWDIN_MAINTENANCE_EXO_VERSION }} PROJECT_BRANCH: stable/${{ inputs.CROWDIN_MAINTENANCE_EXO_VERSION }} CROWDIN_BRANCH: ${{ inputs.CROWDIN_MAINTENANCE_BRANCH_VERSION }} + CROWDIN_LANGUAGES_ARG: ${{ inputs.CROWDIN_LANGUAGES_ARG }} secrets: inherit