joinpeertube/zanata/scripts/po2yml.sh

8 lines
205 B
Bash
Raw Normal View History

2018-09-21 21:00:42 +00:00
#!/bin/bash
for i in zanata/po/*.po
do
j=$(echo $i | cut -d '.' -f 1 | cut -d '/' -f 3)
po2yaml -i $i --progress none -t zanata/backup/en.yml -o zanata/yml/$j.yml
done
cp zanata/yml/*.yml app/locales/