From 1b10f1407d5070cc12d3095dbb5b398507a0825d Mon Sep 17 00:00:00 2001 From: 0song <82012629+0song@users.noreply.github.com> Date: Wed, 5 Jan 2022 20:30:57 +0800 Subject: [PATCH] chore: fix crowdin download correct source (#5161) * Revert "Revert "chore: update crowdin to download en only at present (#5136)" (#5158)" This reverts commit 0bc81357abdc06758543fe1637cc24e9316872d6. * chore: fix crowdin download correct source --- .github/workflows/deploy-docs.yml | 2 +- .github/workflows/manual-deploy-docs.yml | 2 +- .github/workflows/staging-preview.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 213e13b70b..214d6e784a 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -35,7 +35,7 @@ jobs: CROWDIN_TOKEN: ${{secrets.CROWDIN_TOKEN}} - name: Pull Crowdin translations - run: cd docs && pnpm exec crowdin download + run: cd docs && pnpm exec crowdin download -l zh-CN - name: Generate common locale run: pnpm docs:gen-locale diff --git a/.github/workflows/manual-deploy-docs.yml b/.github/workflows/manual-deploy-docs.yml index b95a5f6d24..5a27ab49a0 100644 --- a/.github/workflows/manual-deploy-docs.yml +++ b/.github/workflows/manual-deploy-docs.yml @@ -28,7 +28,7 @@ jobs: CROWDIN_TOKEN: ${{secrets.CROWDIN_TOKEN}} - name: Pull Crowdin translations - run: cd docs && pnpm exec crowdin download + run: cd docs && pnpm exec crowdin download -l zh-CN - name: Generate common locale run: pnpm docs:gen-locale diff --git a/.github/workflows/staging-preview.yml b/.github/workflows/staging-preview.yml index 7db19a22d1..8364d3ad5a 100644 --- a/.github/workflows/staging-preview.yml +++ b/.github/workflows/staging-preview.yml @@ -39,7 +39,7 @@ jobs: run: cd docs && pnpm exec crowdin upload sources - name: Pull Crowdin translations - run: cd docs && pnpm exec crowdin download + run: cd docs && pnpm exec crowdin download -l zh-CN - name: Generate common locale run: pnpm docs:gen-locale