From ee18170a69ea3ea1e9a25db52be32c7d294cc6f8 Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Wed, 10 Apr 2024 16:51:00 -0700 Subject: [PATCH] fix: separate plugin runs The docs use the lang code, which is a toggle in the plugin so we gotta run that separately. --- .github/workflows/crowdin-ui-download.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/crowdin-ui-download.yml b/.github/workflows/crowdin-ui-download.yml index 22a8664b..644b409e 100644 --- a/.github/workflows/crowdin-ui-download.yml +++ b/.github/workflows/crowdin-ui-download.yml @@ -62,7 +62,14 @@ jobs: uses: freecodecamp/crowdin-action@main env: PLUGIN: 'convert-chinese' - FILE_PATHS: '["src/i18n/chinese.json","src/content/i18n/chinese"]' + FILE_PATHS: '["src/i18n/chinese.json"]' + + - name: Convert Chinese with Lang Code + uses: freecodecamp/crowdin-action@main + env: + PLUGIN: 'convert-chinese' + FILE_PATHS: '[src/content/docs/zh]' + USE_LANG_CODE: true ##### Download Espanol ##### - name: Crowdin Download Espanol Translations