Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Per language Crowdin workflow refactor to reduce translation PR size #5752

Merged
merged 30 commits into from
Oct 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
aff5d4e
crowdin-wf-refactor
teolemon Sep 25, 2021
085b467
Update crowdin.yml
teolemon Sep 25, 2021
0e03cb0
Update crowdin.yml
teolemon Sep 25, 2021
4dc461d
Update crowdin.yml
teolemon Sep 25, 2021
76eae01
Create crowdin-opff.yml
teolemon Sep 25, 2021
7797de4
Update crowdin.yml
teolemon Sep 25, 2021
10b598d
Update crowdin.yml
teolemon Sep 25, 2021
ccd59bc
Update crowdin.yml
teolemon Sep 25, 2021
baceeaa
Update crowdin.yml
teolemon Sep 25, 2021
e2f2c96
Update crowdin.yml
teolemon Sep 25, 2021
f9ae572
Update crowdin.yml
teolemon Sep 25, 2021
074ddd8
Update crowdin.yml
teolemon Sep 26, 2021
87d8037
Update crowdin.yml
teolemon Sep 26, 2021
62daf6f
Update crowdin.yml
teolemon Sep 26, 2021
2290c5e
Update crowdin.yml
teolemon Sep 26, 2021
82c07ef
Update crowdin.yml
teolemon Sep 26, 2021
ba48543
Update crowdin.yml
teolemon Sep 26, 2021
21f0943
Update crowdin.yml
teolemon Sep 26, 2021
d53af0b
Update crowdin.yml
teolemon Oct 1, 2021
332cba5
Update crowdin.yml
teolemon Oct 1, 2021
6947389
Delete crowdin-opff.yml
teolemon Oct 1, 2021
4c4c6ee
Create crowdin-per-language.yml
teolemon Oct 1, 2021
6a7f818
Update crowdin.yml
teolemon Oct 1, 2021
613069e
Update crowdin.yml
teolemon Oct 1, 2021
829c6b5
Update crowdin.yml
teolemon Oct 1, 2021
ccd1b0d
Update crowdin-per-language.yml
teolemon Oct 3, 2021
cd9f1e7
Merge branch 'main' into crowdin-wf-refactor
teolemon Oct 3, 2021
9cb2545
Update crowdin-per-language.yml
teolemon Oct 5, 2021
04f097b
Update crowdin-per-language.yml
teolemon Oct 5, 2021
ea20af9
Merge branch 'main' into crowdin-wf-refactor
teolemon Oct 6, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/crowdin-per-language.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fail-fast: false
max-parallel: 1
matrix:
lc: [it, es, fr, de, id, en,he,da,ko,nl,zh_CN,pt_BR,zh_TW,nl_BE,pt_PT,nl,zh_HK,zhtw]
lc: [ca, uk, it, es, fr, de, id, en, he, da, ko, nl, pt-BR, zh-TW, nl-BE, pt-PT, zh-HK, zh-CN]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
32 changes: 3 additions & 29 deletions .github/workflows/crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,39 +10,13 @@ on:
- crowdin-trigger
- crowdin-wf-refactor

jobs:
synchronize-with-crowdin-matrix:
name: Synchronize with crowdin (matrix)
jobs:
synchronize-with-crowdin:
name: Synchronize with crowdin
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 1
matrix:
lc: [it, es, fr, de, id, en,he,da,ko,nl,zh_CN,pt_BR,zh_TW,nl_BE,pt_PT,nl,zh_HK,zhtw]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Matrix
uses: crowdin/[email protected]
with:
upload_translations: false # default is false
download_translations: true
skip_untranslated_files: false
commit_message: New Crowdin translations - ${{ matrix.lc }}
localization_branch_name: l10n_main_${{ matrix.lc }}
pull_request_base_branch_name: main
pull_request_title: chore - New translations - ${{ matrix.lc }}
pull_request_labels: "translations"
download_language: ${{ matrix.lc }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

synchronize-with-crowdin-classic:
name: Synchronize with crowdin
runs-on: ubuntu-latest
steps:
- name: crowdin action
uses: crowdin/[email protected]
with:
Expand Down