Fix i18n generation script
[oweals/peertube.git] / scripts / i18n / pull-hook.sh
index 55a43fba4b3bdb66c67175151c46f680c6fa1c5a..8d1f7ee55f46de7ef7a76d7b0607adf1ceb7c8ee 100755 (executable)
@@ -2,7 +2,7 @@
 
 set -eu
 
-for i in $(seq 1 200); do
+for i in $(seq 1 10); do
     # Angular does not like when there is not target element, so we create it with the same content than the source element
     perl -0pi -e 's#<source>([^<]+)</source>\s*<context-group #<source>\1</source><target>\1</target><context-group #g' client/src/locale/target/angular_*.xml