projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02e51e2
)
Fix i18n generation
author
Chocobozzz
<me@florianbigard.com>
Tue, 22 Oct 2019 07:00:28 +0000
(09:00 +0200)
committer
Chocobozzz
<me@florianbigard.com>
Tue, 22 Oct 2019 07:00:28 +0000
(09:00 +0200)
scripts/i18n/pull-hook.sh
patch
|
blob
|
history
diff --git
a/scripts/i18n/pull-hook.sh
b/scripts/i18n/pull-hook.sh
index 2d728fef5ad62d898af1cbcad9506a4d617457fb..2a6b7f251168fda5fb56a07500e5d5c9c892dcfb 100755
(executable)
--- a/
scripts/i18n/pull-hook.sh
+++ b/
scripts/i18n/pull-hook.sh
@@
-2,7
+2,7
@@
set -eu
-for i in
1 2 3
; do
+for i in
$(seq 1 20)
; 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