diff options
Diffstat (limited to 'scripts/i18n')
-rwxr-xr-x | scripts/i18n/update.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/i18n/update.sh b/scripts/i18n/update.sh index f42d8d38a..dd08c7bd4 100755 --- a/scripts/i18n/update.sh +++ b/scripts/i18n/update.sh | |||
@@ -4,10 +4,8 @@ set -eu | |||
4 | 4 | ||
5 | git fetch weblate && git merge weblate/develop | 5 | git fetch weblate && git merge weblate/develop |
6 | 6 | ||
7 | npm run build -- --i18n | ||
8 | |||
9 | cd client | 7 | cd client |
10 | ./node_modules/.bin/localize-extract -r . -f xliff --locale "en-US" -s 'dist/en-US/*.js' -o src/locale/angular.xlf | 8 | npm run ng -- extract-i18n --i18n-locale "en-US" --out-file src/locale/angular.xlf |
11 | 9 | ||
12 | # Merge new translations in other language files | 10 | # Merge new translations in other language files |
13 | npm run ng run -- PeerTube:xliffmerge | 11 | npm run ng run -- PeerTube:xliffmerge |