From 2245e3df8c60ec1a416cef86b63998b404a1c4b5 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 25 Nov 2020 16:52:02 +0100 Subject: Update scripts to update translations --- scripts/i18n/update.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/i18n/update.sh b/scripts/i18n/update.sh index f42d8d38a..822344cdd 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 --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 -- cgit v1.2.3