mirror of
https://gitlab.com/ultrasonic/ultrasonic.git
synced 2025-04-04 19:50:06 +03:00
Migrates translations to Weblate
This commit is contained in:
parent
46ad240306
commit
0a81df23e7
@ -24,7 +24,6 @@ variables:
|
||||
stages:
|
||||
- Check
|
||||
- Assemble
|
||||
- Translations
|
||||
- APK
|
||||
- Publish
|
||||
- Release
|
||||
@ -89,17 +88,6 @@ Assemble Release:
|
||||
rules:
|
||||
- if: $CI_COMMIT_REF_NAME == "develop" || $CI_COMMIT_REF_NAME == "master" || $CI_COMMIT_TAG || $CI_PROJECT_ID != $ROOT_PROJECT_ID
|
||||
|
||||
Push Translations:
|
||||
stage: Translations
|
||||
image: alpine:latest
|
||||
script:
|
||||
- wget -O /tmp/tx-linux-amd64.tar.gz https://github.com/transifex/cli/releases/latest/download/tx-linux-amd64.tar.gz
|
||||
- tar xf /tmp/tx-linux-amd64.tar.gz -C /tmp
|
||||
- mv /tmp/tx /usr/bin/tx
|
||||
- tx push -s
|
||||
rules:
|
||||
- if: $CI_COMMIT_REF_NAME == "develop" && $CI_PROJECT_ID == $ROOT_PROJECT_ID
|
||||
|
||||
Generate Signed Develop APK:
|
||||
stage: APK
|
||||
# We don't need the gradle cache here
|
||||
|
10
.tx/config
10
.tx/config
@ -1,10 +0,0 @@
|
||||
[main]
|
||||
host = https://www.transifex.com
|
||||
lang_map = fr_CA: fr-rCA, fr_FR: fr, es_ES: es, km_KH: km-rKH, th_TH: th, pl_PL: pl, zh_TW: zh-rTW, ru_RU: ru, pt_BR: pt-rBR, pt_PT: pt, he: iw, zh_HK: zh-rHK, da_DK: da-rDK, de_DE: de, bg_BG: bg, sr: sr, nl_NL: nl, zh_CN: zh-rCN, sv_SE: sv-rSE, el_GR: el, lt_LT: lt, it_IT: it, hu_HU: hu, kn_IN: kn-rIN, tr_TR: tr, cs_CZ: cs, id: in
|
||||
|
||||
[o:ultrasonic:p:ultrasonic:r:app]
|
||||
file_filter = ultrasonic/src/main/res/values-<lang>/strings.xml
|
||||
source_file = ultrasonic/src/main/res/values/strings.xml
|
||||
source_lang = en
|
||||
type = ANDROID
|
||||
|
@ -11,7 +11,7 @@ issue](https://gitlab.com/ultrasonic/ultrasonic/issues/new).
|
||||
## Contributing Translations
|
||||
|
||||
Interested in help to translate Ultrasonic? You can contribute in our
|
||||
[Transifex team](https://www.transifex.com/ultrasonic/ultrasonic/).
|
||||
[Weblate team](https://hosted.weblate.org/projects/ultrasonic/).
|
||||
|
||||
## Contributing Code
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user