summaryrefslogtreecommitdiff
path: root/notificator.go
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2018-05-24 01:38:27 +0200
committerRuben Pollan <meskio@sindominio.net>2018-05-24 01:38:27 +0200
commit5556a15effa0d3604085bc28306be72149d1adf1 (patch)
treeceaa7d942d8398f53f7be6d03b17d0f1c866fdbf /notificator.go
parente710eec552c36b53b6be50d0be7f187f8839968c (diff)
[feat] add about page
And update links. - Resolves: #34
Diffstat (limited to 'notificator.go')
-rw-r--r--notificator.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/notificator.go b/notificator.go
index 140c69a..353bbeb 100644
--- a/notificator.go
+++ b/notificator.go
@@ -28,6 +28,11 @@ const (
donationText = `The %s 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.
Do you want to donate now?`
+ aboutText = `%s is an easy, fast, and secure VPN service from riseup.net. %s does not require a user account, keep logs, or track you in any way.
+
+This service paid for entirely by donations from users like you. Please donate at riseup.net/vpn/donate.
+
+By using this application, you agree to the Terms of Service available at 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.`
missingAuthAgent = `Could not find a polkit authentication agent. Please run one and try again.`
notRunning = `Is bitmaskd running? Start bitmask and try again.`
svgFileName = "riseupvpn.svg"
@@ -61,6 +66,13 @@ func (n *notificator) donations() {
}
}
+func (n *notificator) about() {
+ dialog.Message(printer.Sprintf(aboutText, applicationName, applicationName)).
+ Title(printer.Sprintf("About")).
+ Icon(getSVGPath()).
+ Info()
+}
+
func (n *notificator) bitmaskNotRunning() {
dialog.Message(printer.Sprintf(notRunning)).
Title(printer.Sprintf("Can't contact bitmask")).