forked from nutomic/joinpeertube
Update yml2po.sh
This commit is contained in:
parent
27431fe56d
commit
011db0b933
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
cp app/locales/*.yml zanata/yml/
|
cp app/locales/*.yml zanata/yml/
|
||||||
yaml2po -P --progress=none -i zanata/yml/en.yml -o zanata/po/${PWD##*/}.pot
|
yaml2po -P --progress=none -i zanata/yml/en.yml -o zanata/po/${PWD##*/}.pot --duplicates merge
|
||||||
for i in app/locales/*.yml
|
for i in app/locales/*.yml
|
||||||
do
|
do
|
||||||
j=$(echo $i | cut -d '.' -f 1 | cut -d '/' -f 3)
|
j=$(echo $i | cut -d '.' -f 1 | cut -d '/' -f 3)
|
||||||
|
|
Loading…
Reference in a new issue