feat(client): add chinese traditional

Add chinese traditional to the all-langs validation and necessary
client build configs.
This commit is contained in:
Nicholas Carrigan
2021-03-15 15:40:48 -07:00
committed by Mrugesh Mohapatra
parent ce6124a9ed
commit e46e80e08f
16 changed files with 2589 additions and 28 deletions

View File

@@ -16,6 +16,12 @@ jobs:
with:
token: ${{ secrets.CROWDIN_CAMPERBOT_PAT }}
- name: Install Dependencies
working-directory: ./tools
run: |
cd ./crowdin
npm ci
##### Download Chinese #####
- name: Crowdin Download Chinese Translations
uses: crowdin/github-action@master
@@ -50,6 +56,10 @@ jobs:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID_CLIENT }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_CAMPERBOT_SERVICE_TOKEN }}
# Convert Simplified Chinese to Traditional #
- name: Generate Translations
uses: ./tools/crowdin/actions/convert-chinese
##### Download Espanol #####
- name: Crowdin Download Espanol Translations
uses: crowdin/github-action@master
@@ -96,12 +106,6 @@ jobs:
git diff-index --quiet HEAD || git commit -m "chore(i18n,learn): update translations"
git push -u origin i18n-sync-client -f
- name: Install Dependencies
working-directory: ./tools
run: |
cd ./crowdin
npm ci
# Generate PR - all languages should go ABOVE this. #
- name: Create PR
uses: ./tools/crowdin/actions/pr-creator

View File

@@ -16,6 +16,12 @@ jobs:
with:
token: ${{ secrets.CROWDIN_CAMPERBOT_PAT }}
- name: Install Dependencies
working-directory: ./tools
run: |
cd ./crowdin
npm ci
##### Download Chinese #####
- name: Crowdin Download Chinese Translations
uses: crowdin/github-action@master
@@ -50,6 +56,11 @@ jobs:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID_CURRICULUM }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_CAMPERBOT_SERVICE_TOKEN }}
# Convert Simplified Chinese to Traditional #
- name: Generate Translations
uses: ./tools/crowdin/actions/convert-chinese
##### Download Espanol #####
- name: Crowdin Download Espanol Translations
uses: crowdin/github-action@master
@@ -96,12 +107,6 @@ jobs:
git diff-index --quiet HEAD || git commit -m "chore(i18n,curriculum): update translations"
git push -u origin i18n-sync-curriculum -f
- name: Install Dependencies
working-directory: ./tools
run: |
cd ./crowdin
npm ci
# Generate PR - all languages should go ABOVE this. #
- name: Create PR
uses: ./tools/crowdin/actions/pr-creator

View File

@@ -16,6 +16,12 @@ jobs:
with:
token: ${{ secrets.CROWDIN_CAMPERBOT_PAT }}
- name: Install Dependencies
working-directory: ./tools
run: |
cd ./crowdin
npm ci
##### Download Chinese #####
- name: Crowdin Download Chinese Translations
uses: crowdin/github-action@master
@@ -50,6 +56,10 @@ jobs:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID_DOCS }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_CAMPERBOT_SERVICE_TOKEN }}
# Convert Simplified Chinese to Traditional #
- name: Generate Translations
uses: ./tools/crowdin/actions/convert-chinese
##### Download Portuguese#####
- name: Crowdin Download Portuguese Translations
uses: crowdin/github-action@master
@@ -130,12 +140,6 @@ jobs:
git diff-index --quiet HEAD || git commit -m "chore(i18n,docs): update translations"
git push -u origin i18n-sync-docs -f
- name: Install Dependencies
working-directory: ./tools
run: |
cd ./crowdin
npm ci
# Generate PR - all languages should go ABOVE this. #
- name: Create PR
uses: ./tools/crowdin/actions/pr-creator