summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2019-01-29 20:02:48 +0100
committerRuben Pollan <meskio@sindominio.net>2019-01-29 20:11:07 +0100
commit0d4ef9c4cb4fd10734d87dd523b790b1fe4bb5c4 (patch)
tree38583447be32cefd86e3736e5484c2f8b26f2127
parent3c57a988b0088e953a8b623941c2d3a91dbcca6a (diff)
[style] Rename the systray reconnection on fail-close
-rw-r--r--pkg/standalone/status.go1
-rw-r--r--pkg/systray/systray.go2
-rw-r--r--tools/transifex/messages.json2
3 files changed, 2 insertions, 3 deletions
diff --git a/pkg/standalone/status.go b/pkg/standalone/status.go
index 42c4687..96177e1 100644
--- a/pkg/standalone/status.go
+++ b/pkg/standalone/status.go
@@ -60,7 +60,6 @@ func (b *Bitmask) openvpnManagement() {
}
func (b *Bitmask) eventHandler(eventCh <-chan openvpn.Event) {
- // TODO: we are reporing only openvpn status, missing firewall status
for event := range eventCh {
log.Printf("Event: %v", event)
stateEvent, ok := event.(*openvpn.StateEvent)
diff --git a/pkg/systray/systray.go b/pkg/systray/systray.go
index d95d3dc..20cee44 100644
--- a/pkg/systray/systray.go
+++ b/pkg/systray/systray.go
@@ -236,7 +236,7 @@ func (bt *bmTray) changeStatus(status string) {
case "failed":
systray.SetIcon(icon.Blocked)
- bt.mTurnOn.SetTitle(printer.Sprintf("Retry"))
+ bt.mTurnOn.SetTitle(printer.Sprintf("Reconnect"))
bt.mTurnOff.SetTitle(printer.Sprintf("Turn off"))
statusStr = printer.Sprintf("%s blocking internet", config.ApplicationName)
bt.mTurnOn.Show()
diff --git a/tools/transifex/messages.json b/tools/transifex/messages.json
index 5807ab6..0cd8940 100644
--- a/tools/transifex/messages.json
+++ b/tools/transifex/messages.json
@@ -11,7 +11,7 @@
"Initialization error": "Initialization error",
"Missing authentication agent": "Missing authentication agent",
"Quit": "Quit",
- "Retry": "Retry",
+ "Reconnect": "Reconnect",
"Route traffic through": "Route traffic through",
"Stopping {ApplicationName}": "Stopping {ApplicationName}",
"Turn off": "Turn off",