feat(i18n): update crowdin sync to use v2 api
This commit is contained in:
parent
184110b986
commit
16b46b0f4d
35
.drone.yml
35
.drone.yml
@ -475,24 +475,26 @@ name: update-translations
|
|||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- main
|
include:
|
||||||
|
- main
|
||||||
event:
|
event:
|
||||||
- cron
|
include:
|
||||||
|
- push
|
||||||
|
- cron
|
||||||
cron:
|
cron:
|
||||||
- update_translations
|
- update_translations
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: download
|
- name: download
|
||||||
pull: always
|
pull: always
|
||||||
image: jonasfranz/crowdin
|
image: git.lcomrade.su/root/drone-crowdin-v2
|
||||||
settings:
|
settings:
|
||||||
download: true
|
crowdin_key:
|
||||||
export_dir: src/i18n/lang/
|
|
||||||
ignore_branch: true
|
|
||||||
project_identifier: vikunja
|
|
||||||
environment:
|
|
||||||
CROWDIN_KEY:
|
|
||||||
from_secret: crowdin_key
|
from_secret: crowdin_key
|
||||||
|
project_id: 462614
|
||||||
|
target: download
|
||||||
|
download_to: src/i18n/lang/
|
||||||
|
download_export_approved_only: true
|
||||||
|
|
||||||
- name: move-files
|
- name: move-files
|
||||||
pull: always
|
pull: always
|
||||||
@ -519,19 +521,18 @@ steps:
|
|||||||
|
|
||||||
- name: upload
|
- name: upload
|
||||||
pull: always
|
pull: always
|
||||||
image: jonasfranz/crowdin
|
image: git.lcomrade.su/root/drone-crowdin-v2
|
||||||
depends_on:
|
depends_on:
|
||||||
- clone
|
- clone
|
||||||
settings:
|
settings:
|
||||||
|
crowdin_key:
|
||||||
|
from_secret: crowdin_key
|
||||||
|
project_id: 462614
|
||||||
|
target: upload
|
||||||
files:
|
files:
|
||||||
en.json: src/i18n/lang/en.json
|
src/i18n/lang/en.json: en.json
|
||||||
ignore_branch: true
|
|
||||||
project_identifier: vikunja
|
|
||||||
environment:
|
|
||||||
CROWDIN_KEY:
|
|
||||||
from_secret: crowdin_key
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 21ecc05b02fbd35b411494e046479c3ff23bc8b221ffae91ccf4a8f31dafa3d3
|
hmac: 59a4520a78c2609ccf92175da2f000a17cc3eb06f5c573d8b45366d49c4c9794
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user