File tree Expand file tree Collapse file tree 4 files changed +48
-4
lines changed
Expand file tree Collapse file tree 4 files changed +48
-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+ workflow_dispatch :
5+
6+ push :
7+ branches :
8+ - develop
9+ paths :
10+ - ' **.xlf'
11+
12+ jobs :
13+ sync :
14+ name : Synchronize with Crowdin
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@v5
18+
19+ - name : Upload sources
20+ uses : crowdin/github-action@v2
21+ env :
22+ GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
23+ with :
24+ config : ' .crowdin.yml'
25+ project_id : ${{ secrets.CROWDIN_PROJECT_ID }}
26+ token : ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
27+ crowdin_branch_name : ' develop'
28+ upload_sources : true
29+ upload_translations : false
30+ download_sources : false
31+ 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