mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
10 lines
267 B
Bash
10 lines
267 B
Bash
|
#!/bin/bash
|
||
|
python -m json.tool < locale/en.json >/dev/null 2>&1
|
||
|
if [[ $? == 0 ]];
|
||
|
then
|
||
|
json2po -P -i locale/en.json -t locale/en.json -o po/framadate.pot --duplicates merge
|
||
|
else
|
||
|
echo "Can't convert json files to po, the json file is incorrect"
|
||
|
exit 1
|
||
|
fi
|