From 1229eac801771fd12bcc885d393ef1727c02eddc Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 24 Jul 2025 20:40:42 +0200 Subject: Update the translation system --- GNUmakefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index c69b87c..46c685b 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -13,14 +13,13 @@ all: euro-cash.eu exttmpl euro-cash.eu: $(cssfiles) $(templates) $(gofiles) $(sqlfiles) $(GO) build -all-i18n: exttmpl +po: exttmpl find . -name '*.html.tmpl' -exec ./exttmpl -out po/templates.pot {} + for bcp in en en-US nl; \ do \ mkdir -p "po/$$bcp"; \ msgmerge --update "po/$$bcp/messages.po" po/templates.pot; \ done - $(GO) build exttmpl: $(exttmpl) $(GO) build ./cmd/exttmpl @@ -41,4 +40,4 @@ clean: -or -name '*.tar.gz' \ \) -delete -.PHONY: all-i18n clean release \ No newline at end of file +.PHONY: clean po release \ No newline at end of file -- cgit v1.2.3