X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fi18n%2Fupdate.sh;h=4d3e9af17d013c98f76cc3282c9b1e549344516a;hb=1d1da33661c6f0b42a2e5bf7fd4a0e6b9d9265cd;hp=f42d8d38ac55df01360200cf431ce38428ba683f;hpb=5d666c0eb25a1b665caa46c4210c1dc2a6b5b333;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/i18n/update.sh b/scripts/i18n/update.sh index f42d8d38a..4d3e9af17 100755 --- a/scripts/i18n/update.sh +++ b/scripts/i18n/update.sh @@ -4,10 +4,8 @@ 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 +npm run ng -- extract-i18n --out-file src/locale/angular.xlf # Merge new translations in other language files npm run ng run -- PeerTube:xliffmerge