1
0
Fork 0
peertube/scripts/i18n/update.sh
2020-11-25 16:52:02 +01:00

15 lines
336 B
Bash
Executable file

#!/bin/sh
set -eu
git fetch weblate && git merge weblate/develop
cd client
npm run ng -- extract-i18n --i18n-locale "en-US" --out-file src/locale/angular.xlf 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