From b59f12b0955d34b447a2bbcd3fbb0eb40b241631 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 13 May 2019 14:26:00 +0200 Subject: Fix client build --- scripts/i18n/pull-hook.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'scripts') diff --git a/scripts/i18n/pull-hook.sh b/scripts/i18n/pull-hook.sh index b0668436d..e616f715b 100755 --- a/scripts/i18n/pull-hook.sh +++ b/scripts/i18n/pull-hook.sh @@ -2,12 +2,13 @@ set -eu -# Zanata does not support inner elements in , so we hack these special elements -# This regex translate the converted elements to initial Angular elements - for i in 1 2 3; do + # Zanata does not support inner elements in , so we hack these special elements + # This regex translate the converted elements to initial Angular elements perl -pi -e 's|<x id=(.+?)/>([^"])|\2|g' client/src/locale/target/*.xml - perl -0pi -e 's|(.+?)\s*\1\1(.+?)\s*\1\1