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