From 3dfa84940273619ae00f11a5f419a5e4876b2f53 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 16 Aug 2018 10:48:35 +0200 Subject: Translate subtitle langs in player --- scripts/build/client.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/build/client.sh b/scripts/build/client.sh index 080454d07..3d1d0234e 100755 --- a/scripts/build/client.sh +++ b/scripts/build/client.sh @@ -30,8 +30,12 @@ post_build_hook # Don't build other languages if --light arg is provided if [ -z ${1+x} ] || [ "$1" != "--light" ]; then - # Supported languages - languages=("fr_FR" "eu_ES" "ca_ES" "cs_CZ" "eo" "zh_Hant_TW" "de_DE" "es_ES" "oc") + if [ ! -z ${1+x} ] && [ "$1" == "--light-fr" ]; then + languages=("fr_FR") + else + # Supported languages + languages=("fr_FR" "eu_ES" "ca_ES" "cs_CZ" "eo" "zh_Hant_TW" "de_DE" "es_ES" "oc") + fi for lang in "${languages[@]}"; do # TODO: remove when the project will use runtime translations -- cgit v1.2.3