Skip to content
Snippets Groups Projects
Unverified Commit 0d4ef9c4 authored by meskio's avatar meskio :tent:
Browse files

[style] Rename the systray reconnection on fail-close

parent 3c57a988
Branches
Tags
No related merge requests found
......@@ -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)
......
......@@ -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()
......
......@@ -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",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment