mirror of
https://codeberg.org/gitnex/GitNex.git
synced 2024-12-16 15:48:13 +08:00
initial "update translation" doc
parent
59cafcba69
commit
6a1bf130b6
23
Update-Translation.md
Normal file
23
Update-Translation.md
Normal file
@ -0,0 +1,23 @@
|
||||
##### To update translations you first have to
|
||||
|
||||
### setup
|
||||
1. install crowdin cli
|
||||
2. cp crowdin.example.yml crowdin.yml
|
||||
3. add api key into crowdin.yml
|
||||
|
||||
|
||||
##### after this is done you can
|
||||
|
||||
### update
|
||||
```
|
||||
git checkout -f master -b crowdin_$(date "+%Y-%m-%d")
|
||||
|
||||
crowdin push
|
||||
sleep 10s
|
||||
crowdin pull
|
||||
|
||||
git add -u
|
||||
git commit -S -m "Crowdin $(date "+%Y-%m-%d")"
|
||||
git push -u origin crowdin_$(date "+%Y-%m-%d")
|
||||
```
|
||||
& create pull
|
Loading…
Reference in New Issue
Block a user