2018-03-21 09:50:14 +01:00
|
|
|
locales:
|
2018-05-27 17:48:52 +02:00
|
|
|
scripts/locales.sh
|
2018-03-21 09:50:14 +01:00
|
|
|
|
|
|
|
push-locales: locales
|
2018-08-17 13:58:08 +02:00
|
|
|
zanata-cli -q -B push --errors --project-version `git branch | grep \* | cut -d ' ' -f2-`
|
2018-02-26 11:49:15 +01:00
|
|
|
|
|
|
|
pull-locales:
|
2018-08-17 13:58:08 +02:00
|
|
|
zanata-cli -q -B pull --min-doc-percent 50 --project-version `git branch | grep \* | cut -d ' ' -f2-`
|
2018-04-17 11:46:15 +02:00
|
|
|
scripts/po2json.sh
|
2018-02-26 11:49:15 +01:00
|
|
|
|
|
|
|
stats-locales:
|
2018-08-17 13:58:08 +02:00
|
|
|
zanata-cli -q stats --project-version `git branch | grep \* | cut -d ' ' -f2-`
|
2018-04-17 11:46:15 +02:00
|
|
|
|
|
|
|
push-trad-to-zanata:
|
|
|
|
scripts/push-trad-to-zanata.sh $(filter-out $@,$(MAKECMDGOALS))
|
|
|
|
|
|
|
|
add-key-locales:
|
|
|
|
scripts/locale-add-key.pl "$(subst ",\",$(filter-out $@,$(MAKECMDGOALS)))"
|
|
|
|
|
|
|
|
# empty targets to be able to use MAKECMDGOALS as arguments to scripts
|
|
|
|
%:
|
|
|
|
@:
|