1 | locales:
|
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 |
|
5 | push-locales: locales
|
6 | zanata-cli --errors -q -B push
|
7 |
|
8 | pull-locales:
|
9 | zanata-cli --errors -q -B pull
|
10 | ./.po2json.sh
|
11 |
|
12 | stats-locales:
|
13 | zanata-cli -q stats
|
14 |
|
15 | contributors-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 |
|
21 | build:
|
22 | npm run frontend:build
|
23 |
|
24 | watch:
|
25 | npm run frontend:watch
|
26 |
|
27 | mockup:
|
28 | npm run mockupserver
|
29 |
|
30 | lint:
|
31 | npm run lint
|
32 |
|
33 | test:
|
34 | npm run test
|
35 | npm run test-ldap
|