summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rw-r--r--tools/transifex/messages.json2
2 files changed, 4 insertions, 3 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
diff --git a/tools/transifex/messages.json b/tools/transifex/messages.json
index 40a4145..5807ab6 100644
--- a/tools/transifex/messages.json
+++ b/tools/transifex/messages.json
@@ -17,7 +17,7 @@
"Turn off": "Turn off",
"Turn on": "Turn on",
"Use {ApplicationName} {City} gateway": "Use {ApplicationName} {City} gateway",
- "aboutText": "{ApplicationName} is an easy, fast, and secure VPN service from riseup.net. {ApplicationName} does not require a user account, keep logs, or track you in any way.\n\t \nThis service is paid for entirely by donations from users like you. Please donate at https://riseup.net/vpn/donate.\n\t\t\nBy using this application, you agree to the Terms of Service available at https://riseup.net/tos. This service is provide as-is, without any warranty, and is intended for people who work to make the world a better place.\n\n\n{ApplicationName_1} version: {Version}",
+ "aboutText": "{ApplicationName} is an easy, fast, and secure VPN service from {Provider}. {ApplicationName} does not require a user account, keep logs, or track you in any way.\n\t \nThis service is paid for entirely by donations from users like you. Please donate at {DonateURL}.\n\t\t\nBy using this application, you agree to the Terms of Service available at {TosURL}. This service is provide as-is, without any warranty, and is intended for people who work to make the world a better place.\n\n\n{ApplicationName_1} version: {Version}",
"donationText": "The {ApplicationName} service is expensive to run. Because we don't want to store personal information about you, there is no accounts or billing for this service. But if you want the service to continue, donate at least $5 each month.\n\t\nDo you want to donate now?",
"errorMsg": "An error has ocurred initializing the VPN: {Err}",
"errorStartingVPN": "Can't connect to {ApplicationName}: {Err}",