diff options
author | Chocobozzz <me@florianbigard.com> | 2019-11-13 09:45:27 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-11-13 10:04:16 +0100 |
commit | cd1d6c23dae0fd08e69d49b21333742db86eeff7 (patch) | |
tree | d03a862b3488b2bfbd3c69cc73d0af6912c51553 /scripts/i18n/pull-hook.sh | |
parent | 350131cbaf99bd1cbb2d0911093aa94d105de709 (diff) | |
download | PeerTube-cd1d6c23dae0fd08e69d49b21333742db86eeff7.tar.gz PeerTube-cd1d6c23dae0fd08e69d49b21333742db86eeff7.tar.zst PeerTube-cd1d6c23dae0fd08e69d49b21333742db86eeff7.zip |
Remove unused files
Diffstat (limited to 'scripts/i18n/pull-hook.sh')
-rwxr-xr-x | scripts/i18n/pull-hook.sh | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/scripts/i18n/pull-hook.sh b/scripts/i18n/pull-hook.sh deleted file mode 100755 index 66f3b4588..000000000 --- a/scripts/i18n/pull-hook.sh +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | set -eu | ||
4 | |||
5 | for i in $(seq 1 10); do | ||
6 | # Zanata does not support inner elements in <source>, so we hack these special elements | ||
7 | # This regex translate the converted elements to initial Angular elements | ||
8 | perl -pi -e 's|<x id=(.+?)/>([^"])|<x id=\1/>\2|g' client/src/locale/target/*.xml | ||
9 | done | ||
10 | |||
11 | npm run i18n:xliff2json | ||
12 | |||