summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2019-01-18 00:29:04 +0100
committerRuben Pollan <meskio@sindominio.net>2019-01-18 00:29:04 +0100
commit56dd0f4dfdc33594502ec02421425c3432570be3 (patch)
treebf4bcc58ff6801bd3e9aadd48e15f007ccf7e958 /Makefile
parent8e804ebe4ff520a91fd65833a9b0b4c603e5e75b (diff)
[locales] update the messages.json
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f03f5eb..5086dca 100644
--- a/Makefile
+++ b/Makefile
@@ -40,11 +40,12 @@ lang_list := $(subst $(space),,$(foreach lang,$(LANGS),$(lang),))
locales: $(foreach lang,$(LANGS),get_$(lang)) cmd/bitmask-vpn/catalog.go
-generate_locales: $(foreach lang,$(LANGS),locales/$(lang)/out.gotext.json)
+generate_locales:
+ gotext extract ./pkg/systray ./pkg/bitmask
make -C tools/transifex
locales/%/out.gotext.json: pkg/systray/systray.go pkg/systray/notificator.go pkg/bitmask/standalone.go pkg/bitmask/bitmaskd.go
- gotext update -lang=$* ./pkg/systray ./pkg/bitmask
+ gotext extract -lang=$* ./pkg/systray ./pkg/bitmask
cmd/bitmask-vpn/catalog.go: $(foreach lang,$(LANGS),locales/$(lang)/messages.gotext.json)
gotext update -lang=$(lang_list) -out cmd/bitmask-vpn/catalog.go ./pkg/systray ./pkg/bitmask