fix(ci): sync translations from crowdin

This commit is contained in:
kolaente 2025-03-09 09:02:46 +01:00
parent 0f81e18d85
commit c4142bd1da
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
1 changed files with 5 additions and 17 deletions

View File

@ -7,9 +7,6 @@ trigger:
event:
exclude:
- cron
branch:
exclude:
- fix-crowdin
workspace:
base: /go
@ -1070,19 +1067,12 @@ name: update-translations
trigger:
branch:
include:
- fix-crowdin
- main
event:
include:
- push
#trigger:
# branch:
# include:
# - main
# event:
# include:
# - cron
# cron:
# - update_translations
- cron
cron:
- update_translations
steps:
- name: download
@ -1102,10 +1092,8 @@ steps:
depends_on:
- download
commands:
- ls -lah i18n/lang
- mv i18n/lang/*/frontend-*.json frontend/src/i18n/lang
- cd frontend/src/i18n/lang
- ls -lah
- for file in frontend-*; do mv "$file" "$${file#frontend-}"; done
- cd ../../../..
- mv i18n/lang/*/api-*.json pkg/i18n/lang
@ -1220,6 +1208,6 @@ steps:
---
kind: signature
hmac: 7d10cb10dc561200ea0abf2f3db7a84f32349c6fe06a321dfabf4bf2e7449178
hmac: 03f04eb6ba48191e7a854126243382c9ff0213f728b9f8525e74331535dd4968
...