parent
9d72dc43a2
commit
d02da0bad8
|
@ -259,7 +259,7 @@ extension TunnelKitOpenVPNError: LocalizedError {
|
|||
case .serverCompression, .lzo:
|
||||
return V.compression
|
||||
|
||||
case .networkChanged:
|
||||
case .networkChanged, .linkError:
|
||||
return V.network
|
||||
|
||||
case .routing:
|
||||
|
@ -272,7 +272,7 @@ extension TunnelKitOpenVPNError: LocalizedError {
|
|||
return V.shutdown
|
||||
|
||||
default:
|
||||
return nil
|
||||
return L10n.Global.unknown
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -306,7 +306,7 @@ extension OpenVPN.ConfigurationError: LocalizedError {
|
|||
|
||||
case .continuationPushReply:
|
||||
assertionFailure("This is a server-side configuration parsing error")
|
||||
return nil
|
||||
return L10n.Global.Strings.unknown
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -62,7 +62,7 @@ extension TunnelKitWireGuardError: LocalizedError {
|
|||
return V.dns
|
||||
|
||||
default:
|
||||
return nil
|
||||
return L10n.Global.unknown
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -54,6 +54,7 @@
|
|||
"global.strings.policy" = "Policy";
|
||||
"global.strings.networks" = "Networks";
|
||||
"global.strings.edit" = "Edit";
|
||||
"global.strings.unknown" = "Unknown";
|
||||
"global.messages.unlock_app" = "Passepartout is locked";
|
||||
"global.messages.email_not_configured" = "No e-mail account is configured.";
|
||||
"global.messages.share" = "Passepartout is a user-friendly, open source OpenVPN / WireGuard client for iOS and macOS";
|
||||
|
|
|
@ -550,6 +550,8 @@ internal enum L10n {
|
|||
internal static let translations = L10n.tr("Localizable", "global.strings.translations", fallback: "Translations")
|
||||
/// Uninstall
|
||||
internal static let uninstall = L10n.tr("Localizable", "global.strings.uninstall", fallback: "Uninstall")
|
||||
/// Unknown
|
||||
internal static let unknown = L10n.tr("Localizable", "global.strings.unknown", fallback: "Unknown")
|
||||
}
|
||||
}
|
||||
internal enum Menu {
|
||||
|
|
Loading…
Reference in New Issue