aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2018-12-13 23:53:17 +0530
committerRoopesh Chander <roop@roopc.net>2018-12-13 23:53:17 +0530
commitb256acc37295b04e83f0d4ef535a1847c279187b (patch)
tree3f5cdd24f96744c4580574696645980110d09be8
parentTunnelsManager: Ask to check Internet connectivity in error alert (diff)
downloadwireguard-apple-b256acc37295b04e83f0d4ef535a1847c279187b.tar.xz
wireguard-apple-b256acc37295b04e83f0d4ef535a1847c279187b.zip
TunnelsManager: Remove mentions of 'internal error'
Signed-off-by: Roopesh Chander <roop@roopc.net>
-rw-r--r--WireGuard/WireGuard/Tunnel/TunnelsManager.swift10
1 files changed, 5 insertions, 5 deletions
diff --git a/WireGuard/WireGuard/Tunnel/TunnelsManager.swift b/WireGuard/WireGuard/Tunnel/TunnelsManager.swift
index b1cc993a..a968419e 100644
--- a/WireGuard/WireGuard/Tunnel/TunnelsManager.swift
+++ b/WireGuard/WireGuard/Tunnel/TunnelsManager.swift
@@ -34,7 +34,7 @@ enum TunnelsManagerActivationAttemptError: WireGuardAppError {
case .anotherTunnelIsOperational(let otherTunnelName):
return ("Activation failure", "Please disconnect '\(otherTunnelName)' before enabling this tunnel.")
case .failedWhileStarting, .failedWhileSaving, .failedWhileLoading, .failedBecauseOfTooManyErrors:
- return ("Activation failure", "The tunnel could not be activated due to an internal error")
+ return ("Activation failure", "The tunnel could not be activated.")
}
}
}
@@ -62,13 +62,13 @@ enum TunnelsManagerError: WireGuardAppError {
case .tunnelAlreadyExistsWithThatName:
return ("Name already exists", "A tunnel with that name already exists")
case .systemErrorOnListingTunnels:
- return ("Unable to list tunnels", "Internal error")
+ return ("Unable to list tunnels", "")
case .systemErrorOnAddTunnel:
- return ("Unable to create tunnel", "Internal error")
+ return ("Unable to create tunnel", "")
case .systemErrorOnModifyTunnel:
- return ("Unable to modify tunnel", "Internal error")
+ return ("Unable to modify tunnel", "")
case .systemErrorOnRemoveTunnel:
- return ("Unable to remove tunnel", "Internal error")
+ return ("Unable to remove tunnel", "")
}
}
}