diff options
author | Chocobozzz <me@florianbigard.com> | 2019-10-22 09:00:28 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-10-22 09:00:28 +0200 |
commit | 28cfbf8b79e5d535089644f9c63457fe8e536e1e (patch) | |
tree | 5589146028ee50158c102791a6ea7fd69b82cf66 /scripts/i18n | |
parent | 02e51e2d755b779c29a1086533a270512a71d8f4 (diff) | |
download | PeerTube-28cfbf8b79e5d535089644f9c63457fe8e536e1e.tar.gz PeerTube-28cfbf8b79e5d535089644f9c63457fe8e536e1e.tar.zst PeerTube-28cfbf8b79e5d535089644f9c63457fe8e536e1e.zip |
Fix i18n generation
Diffstat (limited to 'scripts/i18n')
-rwxr-xr-x | scripts/i18n/pull-hook.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/i18n/pull-hook.sh b/scripts/i18n/pull-hook.sh index 2d728fef5..2a6b7f251 100755 --- a/scripts/i18n/pull-hook.sh +++ b/scripts/i18n/pull-hook.sh | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | set -eu | 3 | set -eu |
4 | 4 | ||
5 | for i in 1 2 3; do | 5 | for i in $(seq 1 20); do |
6 | # Angular does not like when there is not target element, so we create it with the same content than the source element | 6 | # Angular does not like when there is not target element, so we create it with the same content than the source element |
7 | perl -0pi -e 's#<source>([^<]+)</source>\s*<context-group #<source>\1</source><target>\1</target><context-group #g' client/src/locale/target/angular_*.xml | 7 | perl -0pi -e 's#<source>([^<]+)</source>\s*<context-group #<source>\1</source><target>\1</target><context-group #g' client/src/locale/target/angular_*.xml |
8 | 8 | ||