]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - scripts/i18n/update.sh
Translated using Weblate (Italian)
[github/Chocobozzz/PeerTube.git] / scripts / i18n / update.sh
CommitLineData
989e526a
C
1#!/bin/sh
2
3set -eu
4
49a56c72
C
5git fetch weblate && git merge weblate/develop
6
66357162
C
7npm run build -- --i18n
8
989e526a 9cd client
66357162
C
10./node_modules/.bin/localize-extract -r . -f xliff --locale "en-US" -s 'dist/en-US/*.js' -o src/locale/angular.xlf
11
3aea8eb2
C
12# Merge new translations in other language files
13npm run ng run -- PeerTube:xliffmerge
e945b184
C
14
15# Add our strings too
16cd ../
1cd4fe50 17npm run i18n:create-custom-files