Makefile 278 B

1234567891011
  1. .PHONY: compile extract update
  2. extract:
  3. pybabel extract --mapping babel.cfg --output messages.pot ./
  4. compile:
  5. pybabel compile --directory translations/ --domain messages
  6. update: extract
  7. pybabel update --input-file messages.pot --output-dir translations/ --domain messages