diff options
author | Chocobozzz <me@florianbigard.com> | 2018-11-22 14:06:11 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-11-22 14:06:11 +0100 |
commit | 57b972698208ba5e393aac718995a60388360450 (patch) | |
tree | a8046c763738e13b872fe4e3b701345c943ce3db /scripts/i18n | |
parent | 14b6157638ef282f48c460487bd3a88df89d8b04 (diff) | |
download | PeerTube-57b972698208ba5e393aac718995a60388360450.tar.gz PeerTube-57b972698208ba5e393aac718995a60388360450.tar.zst PeerTube-57b972698208ba5e393aac718995a60388360450.zip |
Fix some zanata translations
Diffstat (limited to 'scripts/i18n')
-rwxr-xr-x | scripts/i18n/pull-hook.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/i18n/pull-hook.sh b/scripts/i18n/pull-hook.sh index 3a8394110..b0668436d 100755 --- a/scripts/i18n/pull-hook.sh +++ b/scripts/i18n/pull-hook.sh | |||
@@ -7,6 +7,7 @@ set -eu | |||
7 | 7 | ||
8 | for i in 1 2 3; do | 8 | for i in 1 2 3; do |
9 | perl -pi -e 's|<x id=(.+?)/>([^"])|<x id=\1/>\2|g' client/src/locale/target/*.xml | 9 | perl -pi -e 's|<x id=(.+?)/>([^"])|<x id=\1/>\2|g' client/src/locale/target/*.xml |
10 | perl -0pi -e 's|<source>(.+?)</source>\s*<context-group |<source>\1</source><target>\1</target><context-group |g' client/src/locale/target/angular_*.xml | ||
10 | done | 11 | done |
11 | 12 | ||
12 | npm run i18n:xliff2json | 13 | npm run i18n:xliff2json |