diff options
author | Thomas Voss <mail@thomasvoss.com> | 2025-08-01 18:19:05 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2025-08-01 18:19:05 +0200 |
commit | b9ca5406b552b3d0d7fbb2e6b46476a2f0ac4b05 (patch) | |
tree | 7caac4d088f043fe7d7996c87ad0fda423d70cd6 /GNUmakefile | |
parent | 106f7461e043afa3f0605ab2ba20ebd0768ce126 (diff) |
Update translation files
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile index 39d4b43..8bc236a 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -16,7 +16,7 @@ euro-cash.eu: $(cssfiles) $(templates) $(gofiles) $(sqlfiles) $(GO) build extract: exttmpl - find . -name '*.go' -exec xgotext -o po/backend.pot {} + + find . -name '*.go' -exec xgotext --foreign-user -o po/backend.pot {} + find . -name '*.html.tmpl' -exec ./exttmpl {} + \ | msgcat po/backend.pot - -o po/messages.pot for bcp in $(ENABLED_LANGUAGES); \ @@ -28,7 +28,7 @@ extract: exttmpl msginit -i po/messages.pot -o "$$dir/messages.po" -l$$bcp.UTF-8 \ --no-translator; \ fi; \ - msgmerge --update "po/$$bcp/messages.po" po/messages.pot; \ + msgmerge -UN "po/$$bcp/messages.po" po/messages.pot; \ done find po -name '*~' -delete @@ -57,4 +57,4 @@ clean: -or -name '*.tar.gz' \ \) -delete -.PHONY: clean extract po release +.PHONY: clean extract po release
\ No newline at end of file |