From 10e63b6850710a0a6fc35fe029b2efb133654c74 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 28 Jun 2018 14:56:46 +0200 Subject: Add Basque and Catalan languages --- scripts/build/client.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/build/client.sh b/scripts/build/client.sh index 58aca437b..a2a4a554d 100755 --- a/scripts/build/client.sh +++ b/scripts/build/client.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -eu @@ -11,9 +11,9 @@ npm run ng build -- --output-path "dist/$defaultLanguage/" --deploy-url "/client mv "./dist/$defaultLanguage/assets" "./dist" # Supported languages -languages="fr_FR" +languages=("fr_FR" "eu_ES" "ca_ES") -for lang in "$languages"; do +for lang in "${languages[@]}"; do npm run ng build -- --prod --i18n-file "./src/locale/target/angular_$lang.xml" --i18n-format xlf --i18n-locale "$lang" \ --output-path "dist/$lang/" --deploy-url "/client/$lang/" -- cgit v1.2.3