aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-08-25 10:48:35 +0200
committerChocobozzz <me@florianbigard.com>2020-08-25 10:48:35 +0200
commited78004086f4feec748554b26b69dcfe7b2cc9e8 (patch)
tree0e78001343381853eed7455d25b30568532790af /scripts
parent7673c1f6a4f7d672c68b53904b391b6c87bd88f7 (diff)
downloadPeerTube-ed78004086f4feec748554b26b69dcfe7b2cc9e8.tar.gz
PeerTube-ed78004086f4feec748554b26b69dcfe7b2cc9e8.tar.zst
PeerTube-ed78004086f4feec748554b26b69dcfe7b2cc9e8.zip
Update angular to fix localize extraction bug
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/i18n/update.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/i18n/update.sh b/scripts/i18n/update.sh
index 916918f84..f42d8d38a 100755
--- a/scripts/i18n/update.sh
+++ b/scripts/i18n/update.sh
@@ -9,9 +9,6 @@ npm run build -- --i18n
9cd client 9cd client
10./node_modules/.bin/localize-extract -r . -f xliff --locale "en-US" -s 'dist/en-US/*.js' -o src/locale/angular.xlf 10./node_modules/.bin/localize-extract -r . -f xliff --locale "en-US" -s 'dist/en-US/*.js' -o src/locale/angular.xlf
11 11
12# Workaround of https://github.com/angular/angular/issues/38437
13sed -i 's/other {{INTERPOLATION}/other {<x id="INTERPOLATION"\/>/g' src/locale/angular.xlf
14
15# Merge new translations in other language files 12# Merge new translations in other language files
16npm run ng run -- PeerTube:xliffmerge 13npm run ng run -- PeerTube:xliffmerge
17 14