1
0
Fork 0
peertube/scripts/i18n/update.sh

16 lines
336 B
Bash
Raw Normal View History

2018-05-31 12:12:15 -04:00
#!/bin/sh
set -eu
git fetch weblate && git merge weblate/develop
2018-05-31 12:12:15 -04:00
cd client
2020-11-25 10:52:02 -05:00
npm run ng -- extract-i18n --i18n-locale "en-US" --out-file src/locale/angular.xlf src/locale/angular.xlf
2019-11-07 03:45:14 -05:00
# Merge new translations in other language files
npm run ng run -- PeerTube:xliffmerge
2018-06-06 08:23:40 -04:00
# Add our strings too
cd ../
2019-10-22 04:30:09 -04:00
npm run i18n:create-custom-files