]>
Commit | Line | Data |
---|---|---|
1 | #!/bin/sh | |
2 | ||
3 | set -eu | |
4 | ||
5 | cd client | |
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 | |
8 | ||
9 | # Merge new translations in other language files | |
10 | npm run ng run -- PeerTube:xliffmerge | |
11 | ||
12 | # Add our strings too | |
13 | cd ../ | |
14 | npm run i18n:create-custom-files |