Filter html from translations (#3665)

* Filter html from translations

* Error when html found
This commit is contained in:
Bram Kragten
2019-09-10 20:18:57 +02:00
committed by GitHub
parent 8c5beb0042
commit e6671299fe
4 changed files with 82 additions and 1 deletions

View File

@@ -21,7 +21,7 @@ fi
[ -z "${LOKALISE_TOKEN-}" ] && LOKALISE_TOKEN="$(<.lokalise_token)"
PROJECT_ID="3420425759f6d6d241f598.13594006"
LOCAL_DIR="$(pwd)/translations"
LOCAL_DIR="$(pwd)/translations/downloads"
FILE_FORMAT=json
mkdir -p ${LOCAL_DIR}
@@ -35,3 +35,5 @@ docker run \
--export_empty skip \
--type json \
--unzip_to /opt/dest
./node_modules/.bin/gulp check-downloaded-translations