File tree Expand file tree Collapse file tree 4 files changed +46
-4
lines changed
Expand file tree Collapse file tree 4 files changed +46
-4
lines changed Original file line number Diff line number Diff line change 1+ project_id_env : " CROWDIN_PROJECT_ID"
2+ api_token_env : " CROWDIN_PERSONAL_TOKEN"
3+ base_path : " ."
4+
5+ preserve_hierarchy : true
6+
7+ files :
8+ - source : /Configuration/Sets/*/*.xlf
9+ translation : /%original_path%/%two_letters_code%.%original_file_name%
10+ ignore :
11+ - /**/%two_letters_code%.%original_file_name%
12+
13+ - source : /Resources/Private/Language/*.xlf
14+ translation : /Resources/Private/Language/%two_letters_code%.%file_name%.xlf
15+ ignore :
16+ - /**/%two_letters_code%.%original_file_name%
Original file line number Diff line number Diff line change 1+ name : Crowdin
2+
3+ on :
4+ push :
5+ branches :
6+ - develop
7+ paths :
8+ - ' **.xlf'
9+
10+ jobs :
11+ sync :
12+ name : Synchronize with Crowdin
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v5
16+
17+ - name : Upload sources
18+ uses : crowdin/github-action@v2
19+ env :
20+ GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
21+ with :
22+ config : ' .crowdin.yml'
23+ project_id : ${{ secrets.CROWDIN_PROJECT_ID }}
24+ token : ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
25+ crowdin_branch_name : ' l10n_develop'
26+ upload_sources : true
27+ upload_translations : false
28+ download_sources : false
29+ download_translations : true
Original file line number Diff line number Diff line change 44 workflow_dispatch :
55
66 push :
7- branches : [ develop, main ]
7+ branches : [ main ]
88
99permissions :
1010 contents : write
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments