2018-02-26 11:49:15 +01:00
|
|
|
#!/bin/bash
|
2018-03-20 17:09:02 +01:00
|
|
|
po2json -i po/en.po -t locale/en.json --progress none -o po/default.json
|
|
|
|
|
2018-02-26 11:49:15 +01:00
|
|
|
for i in po/*.po
|
|
|
|
do
|
|
|
|
j=$(echo $i | cut -d '.' -f 1 | cut -d '/' -f 2)
|
2018-04-17 11:46:15 +02:00
|
|
|
po2json -i $i -t locale/en.json --progress none | scripts/renest_json.pl > po/$j.json
|
2018-03-20 17:09:02 +01:00
|
|
|
mv po/$j.json locale/
|
2018-02-26 11:49:15 +01:00
|
|
|
done
|