From e8f65e9db0dc4a9953dcded061eb9c458a74f3b4 Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Mon, 4 Jul 2022 00:30:20 +0200 Subject: [PATCH] Also show active profile as "Disabled" --- Passepartout/AppShared/L10n/Core+L10n.swift | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Passepartout/AppShared/L10n/Core+L10n.swift b/Passepartout/AppShared/L10n/Core+L10n.swift index 13bb2127..9830e9c3 100644 --- a/Passepartout/AppShared/L10n/Core+L10n.swift +++ b/Passepartout/AppShared/L10n/Core+L10n.swift @@ -59,16 +59,9 @@ extension PassepartoutError { extension ObservableVPNState { func localizedStatusDescription(isActiveProfile: Bool, withErrors: Bool, dataCountIfAvailable: Bool) -> String { - - // FIXME: l10n, sure about this wording? - guard isActiveProfile else { -// return L10n.Tunnelkit.Vpn.unused + guard isActiveProfile && isEnabled else { return L10n.Tunnelkit.Vpn.disabled } - guard isEnabled else { -// return L10n.Tunnelkit.Vpn.disabled - return L10n.Organizer.Sections.active - } if withErrors { if let errorDescription = lastError?.localizedVPNDescription, !errorDescription.isEmpty { return errorDescription