aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/build/client.sh
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-08-16 11:11:20 +0200
committerChocobozzz <me@florianbigard.com>2018-08-16 11:11:20 +0200
commit95d5113575ffe7872861352fec0adc35bbd8754d (patch)
tree581ad51f75928d359c3a4faf53d05227747fd4d5 /scripts/build/client.sh
parent3dfa84940273619ae00f11a5f419a5e4876b2f53 (diff)
downloadPeerTube-95d5113575ffe7872861352fec0adc35bbd8754d.tar.gz
PeerTube-95d5113575ffe7872861352fec0adc35bbd8754d.tar.zst
PeerTube-95d5113575ffe7872861352fec0adc35bbd8754d.zip
Translate player according to the interface lang
Diffstat (limited to 'scripts/build/client.sh')
-rwxr-xr-xscripts/build/client.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh
index 3d1d0234e..a0277da01 100755
--- a/scripts/build/client.sh
+++ b/scripts/build/client.sh
@@ -16,6 +16,12 @@ post_build_hook () {
16 rmdir "./src/locale/pending_target/" 16 rmdir "./src/locale/pending_target/"
17} 17}
18 18
19# Previous build failed
20if [ ! -f client/src/locale/target/angular_fr_FR.xml ]; then
21 git checkout -- client/src/locale/target/
22 rm -r client/src/locale/pending_target/
23fi
24
19cd client 25cd client
20 26
21rm -rf ./dist ./compiled 27rm -rf ./dist ./compiled