UNPKG

1.44 kBPlain TextView Raw
1locales:
2 json2po -P -i static/l10n/en.json -t static/l10n/en.json -o po/mypads.pot
3 json2po -P -i templates/mail_en.json -t templates/mail_en.json -o po/mail.pot
4
5push-locales: locales
6 zanata-cli --errors -q -B push
7
8pull-locales:
9 zanata-cli --errors -q -B pull
10 ./.po2json.sh
11
12stats-locales:
13 zanata-cli -q stats
14
15contributors-locales:
16 @echo "Master version:"
17 @curl -s -H "Accept: application/json" -H "X-Auth-User: `grep trad.framasoft.org.username ~/.config/zanata.ini | sed 's@.*=@@'`" -H "X-Auth-Token: `grep trad.framasoft.org.key ~/.config/zanata.ini | sed 's@.*=@@'`" https://trad.framasoft.org/zanata/rest/project/mypads/version/master/contributors/2018-01-01..`date +%Y-%m-%d` | jq '[group_by(.languageTeams)[]| {lang: .[0].languageTeams[], users: [.[].username]}]' -r | ./.translators.pl
18 @echo "Development version:"
19 @curl -s -H "Accept: application/json" -H "X-Auth-User: `grep trad.framasoft.org.username ~/.config/zanata.ini | sed 's@.*=@@'`" -H "X-Auth-Token: `grep trad.framasoft.org.key ~/.config/zanata.ini | sed 's@.*=@@'`" https://trad.framasoft.org/zanata/rest/project/mypads/version/development/contributors/2018-01-01..`date +%Y-%m-%d` | jq '[group_by(.languageTeams)[]| {lang: .[0].languageTeams[], users: [.[].username]}]' -r | ./.translators.pl
20
21build:
22 npm run frontend:build
23
24watch:
25 npm run frontend:watch
26
27mockup:
28 npm run mockupserver
29
30lint:
31 npm run lint
32
33test:
34 npm run test
35 npm run test-ldap