]>
Commit | Line | Data |
---|---|---|
989e526a C |
1 | #!/bin/sh |
2 | ||
3 | set -eu | |
4 | ||
5 | cd client | |
3aea8eb2 C |
6 | npm run ng -- xi18n --i18n-locale "en-US" --output-path src/locale --out-file angular.xlf |
7 | npm run ngx-extractor -- --locale "en-US" -i 'src/**/*.ts' -f xlf -o src/locale/angular.xlf | |
989e526a | 8 | |
3aea8eb2 C |
9 | # Merge new translations in other language files |
10 | npm run ng run -- PeerTube:xliffmerge | |
e945b184 C |
11 | |
12 | # Add our strings too | |
13 | cd ../ | |
1cd4fe50 | 14 | npm run i18n:create-custom-files |