From 5b7c6d3abb7d632a7b446271201a9eff9106e940 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Wed, 29 Jun 2022 13:07:47 +0200 Subject: add babel-init command to makefile This is useful to easily create new locales from scratch. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8e63be7..1fe2185 100644 --- a/Makefile +++ b/Makefile @@ -10,4 +10,7 @@ babel-update: babel-compile: $(PYBABEL) compile -d fietsboek/locale -l $(LOCALE) -i fietsboek/locale/$(LOCALE)/LC_MESSAGES/messages.po +babel-init: + $(PYBABEL) init -d fietsboek/locale -l $(LOCALE) -i fietsboek/locale/fietslog.pot + .PHONY: babel-extract babel-update babel-compile -- cgit v1.2.3