aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/i18n/pull-hook.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/i18n/pull-hook.sh')
-rwxr-xr-xscripts/i18n/pull-hook.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/i18n/pull-hook.sh b/scripts/i18n/pull-hook.sh
index bbe4a813e..dec426b88 100755
--- a/scripts/i18n/pull-hook.sh
+++ b/scripts/i18n/pull-hook.sh
@@ -7,5 +7,7 @@ set -eu
7#sed -i 's/\&lt;x id=\(.\+\?\)\/\&gt;/<x id=\1\/>/g' client/src/locale/target/* 7#sed -i 's/\&lt;x id=\(.\+\?\)\/\&gt;/<x id=\1\/>/g' client/src/locale/target/*
8 8
9for i in 1 2 3; do 9for i in 1 2 3; do
10 perl -pi -e 's|&lt;x id=(.+?)/&gt;([^"])|<x id=\1/>\2|g' client/src/locale/target/* 10 perl -pi -e 's|&lt;x id=(.+?)/&gt;([^"])|<x id=\1/>\2|g' client/src/locale/target/*.xml
11done \ No newline at end of file 11done
12
13npm run i18n:xliff2json \ No newline at end of file