From 95d5113575ffe7872861352fec0adc35bbd8754d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 16 Aug 2018 11:11:20 +0200 Subject: Translate player according to the interface lang --- scripts/build/client.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'scripts/build') 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 () { rmdir "./src/locale/pending_target/" } +# Previous build failed +if [ ! -f client/src/locale/target/angular_fr_FR.xml ]; then + git checkout -- client/src/locale/target/ + rm -r client/src/locale/pending_target/ +fi + cd client rm -rf ./dist ./compiled -- cgit v1.2.3