aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/i18n/update.sh
blob: 4d3e9af17d013c98f76cc3282c9b1e549344516a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -eu

git fetch weblate && git merge weblate/develop

cd client
npm run ng -- extract-i18n --out-file 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