From 77ac79f1b29e8b07c74852e3c5be83abf6424c7a Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Tue, 28 Jun 2022 14:04:27 +0200 Subject: Initial commit --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8e63be7 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +PYBABEL=".venv/bin/pybabel" +LOCALE="en" + +babel-extract: + $(PYBABEL) extract -F babel.cfg -o fietsboek/locale/fietslog.pot --input-dirs=fietsboek + +babel-update: + $(PYBABEL) update -d fietsboek/locale -l $(LOCALE) -i fietsboek/locale/fietslog.pot + +babel-compile: + $(PYBABEL) compile -d fietsboek/locale -l $(LOCALE) -i fietsboek/locale/$(LOCALE)/LC_MESSAGES/messages.po + +.PHONY: babel-extract babel-update babel-compile -- cgit v1.2.3