mirror of
https://gitlab.com/ultrasonic/ultrasonic.git
synced 2025-04-14 16:37:16 +03:00
Revert "Migrates translations to Weblate"
This commit is contained in:
parent
38c07297c7
commit
218954d4d9
@ -19,6 +19,7 @@ variables:
|
||||
stages:
|
||||
- Check
|
||||
- Assemble
|
||||
- Translations
|
||||
- APK
|
||||
- Publish
|
||||
- Release
|
||||
@ -63,6 +64,18 @@ Assemble Release:
|
||||
rules:
|
||||
- if: $CI_COMMIT_REF_NAME == "develop" || $CI_COMMIT_REF_NAME == "master" || $CI_COMMIT_TAG || $CI_PROJECT_ID != "37671564"
|
||||
|
||||
Push Translations:
|
||||
stage: Translations
|
||||
image: cimg/python:3.11
|
||||
script:
|
||||
- python -m venv ~/venv
|
||||
- . ~/venv/bin/activate
|
||||
- pip install transifex-client
|
||||
- echo $'[https://www.transifex.com]\nhostname = https://www.transifex.com\nusername = api\npassword = '"${TRANSIFEX_PASSWORD}"$'\n' > ~/.transifexrc
|
||||
- tx push -s
|
||||
rules:
|
||||
- if: $CI_COMMIT_REF_NAME == "develop" && $CI_PROJECT_ID == "37671564"
|
||||
|
||||
Generate Signed Develop APK:
|
||||
stage: APK
|
||||
script:
|
||||
|
10
.tx/config
Normal file
10
.tx/config
Normal file
@ -0,0 +1,10 @@
|
||||
[main]
|
||||
host = https://www.transifex.com
|
||||
lang_map = nl_NL:nl,pl_PL:pl,fr_CA:fr-rCA,pt_BR:pt-rBR,pt_PT:pt,zh_CN:zh-rCN,zh_HK:zh-rHK,zh_TW:zh-rTW,da_DK:da-rDK,de_DE:de,tr_TR:tr,fr_FR:fr,es_ES:es,hu_HU:hu,sv_SE:sv-rSE,bg_BG:bg,el_GR:el,kn_IN:kn-rIN,cs_CZ:cs,sr:sr,he:iw,id:in,lt_LT:lt,km_KH:km-rKH,th_TH:th,ru_RU:ru,it_IT:it
|
||||
|
||||
[ultrasonic.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
|
||||
[Weblate team](https://hosted.weblate.org/projects/ultrasonic/).
|
||||
[Transifex team](https://www.transifex.com/ultrasonic/ultrasonic/).
|
||||
|
||||
## Contributing Code
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user