forked from nutomic/joinpeertube
Add translations doc
This commit is contained in:
parent
1828aa3f24
commit
8070ae44de
1 changed files with 26 additions and 0 deletions
26
README.md
26
README.md
|
@ -11,3 +11,29 @@ $ npm run serve
|
||||||
```
|
```
|
||||||
$ npm run build
|
$ npm run build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Update translations
|
||||||
|
|
||||||
|
Add Weblate remote:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ git remote add weblate https://weblate.framasoft.org/git/joinpeertube/main
|
||||||
|
```
|
||||||
|
|
||||||
|
Update from Weblate:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ git fetch weblate && git merge weblate/master
|
||||||
|
```
|
||||||
|
|
||||||
|
Re generate translations:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ npm run i18n:generate
|
||||||
|
```
|
||||||
|
|
||||||
|
Push on master (Weblate will be automatically updated)
|
||||||
|
|
||||||
|
```
|
||||||
|
$ git push origin master
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue