1
0
Fork 0
peertube/scripts/i18n/update.sh
2020-08-25 10:48:35 +02:00

17 lines
369 B
Bash
Executable file

#!/bin/sh
set -eu
git fetch weblate && git merge weblate/develop
npm run build -- --i18n
cd client
./node_modules/.bin/localize-extract -r . -f xliff --locale "en-US" -s 'dist/en-US/*.js' -o src/locale/angular.xlf
# Merge new translations in other language files
npm run ng run -- PeerTube:xliffmerge
# Add our strings too
cd ../
npm run i18n:create-custom-files