]>
Commit | Line | Data |
---|---|---|
989e526a C |
1 | #!/bin/sh |
2 | ||
3 | set -eu | |
4 | ||
49a56c72 C |
5 | git fetch weblate && git merge weblate/develop |
6 | ||
66357162 C |
7 | npm run build -- --i18n |
8 | ||
989e526a | 9 | cd client |
66357162 C |
10 | ./node_modules/.bin/localize-extract -r . -f xliff --locale "en-US" -s 'dist/en-US/*.js' -o src/locale/angular.xlf |
11 | ||
3aea8eb2 C |
12 | # Merge new translations in other language files |
13 | npm run ng run -- PeerTube:xliffmerge | |
e945b184 C |
14 | |
15 | # Add our strings too | |
16 | cd ../ | |
1cd4fe50 | 17 | npm run i18n:create-custom-files |