UNPKG

690 Bapplication/x-shView Raw
1#!/bin/bash
2po2json -i po/mypads.en.po -t static/l10n/en.json --progress none -o po/mypads.default.json
3for i in po/mypads.*.po
4do
5 j=$(echo $i | cut -d '.' -f 2 | cut -d '/' -f 2)
6 po2json -i $i -t po/mypads.default.json --progress none | ./.renest_json.pl -f po/mypads.default.json > po/$j.json
7 mv po/$j.json static/l10n/
8done
9po2json -i po/mail.en.po -t templates/mail_en.json --progress none -o po/mail.default.json
10for i in po/mail.*.po
11do
12 j=$(echo $i | cut -d '.' -f 2 | cut -d '/' -f 2)
13 po2json -i $i -t po/mail.default.json --progress none | ./.renest_json.pl -f po/mail.default.json > po/mail_$j.json
14 mv po/mail_$j.json templates/
15done
16npm run frontend:build