Add Windscribe provider
This commit is contained in:
parent
8f87090587
commit
a98ddbb224
|
@ -95,6 +95,9 @@ class AccountViewController: UIViewController, TableModelHost {
|
|||
|
||||
case .tunnelBear:
|
||||
guidance = V.Infrastructure.tunnelbear
|
||||
|
||||
case .windscribe:
|
||||
guidance = V.Infrastructure.windscribe
|
||||
}
|
||||
|
||||
model.add(.noAccount)
|
||||
|
|
|
@ -137,6 +137,7 @@
|
|||
"account.suggestion_footer.infrastructure.mullvad" = "Use your website account number and password \"m\".";
|
||||
"account.suggestion_footer.infrastructure.pia" = "Use your website credentials. Your username is usually numeric with a \"p\" prefix.";
|
||||
"account.suggestion_footer.infrastructure.tunnelbear" = "Use your website credentials. Your username is usually your email.";
|
||||
"account.suggestion_footer.infrastructure.windscribe" = "Find your credentials in the OpenVPN Config Generator on the website.";
|
||||
"account.suggestion_footer.guidance_link" = "Tap to open web page.";
|
||||
"account.suggestion_footer.referral" = "Don't have an account? Tap here to get one.";
|
||||
|
||||
|
|
|
@ -164,7 +164,9 @@ public class AppConstants {
|
|||
return URL(string: "https://itunes.apple.com/app/id\(id)?action=write-review")!
|
||||
}
|
||||
|
||||
public static let guidances: [Infrastructure.Name: String] = [:]
|
||||
public static let guidances: [Infrastructure.Name: String] = [
|
||||
.windscribe: "https://windscribe.com/getconfig/openvpn"
|
||||
]
|
||||
|
||||
public static let referrals: [Infrastructure.Name: String] = [
|
||||
.mullvad: "https://mullvad.net/en/account/create/",
|
||||
|
|
|
@ -34,6 +34,8 @@ public struct Infrastructure: Codable {
|
|||
|
||||
case tunnelBear = "TunnelBear"
|
||||
|
||||
case windscribe = "Windscribe"
|
||||
|
||||
public var webName: String {
|
||||
return rawValue.lowercased()
|
||||
}
|
||||
|
|
|
@ -60,6 +60,7 @@ public class InfrastructureFactory {
|
|||
.mullvad,
|
||||
.pia,
|
||||
.tunnelBear,
|
||||
.windscribe
|
||||
]
|
||||
|
||||
private let bundle: [Infrastructure.Name: Infrastructure]
|
||||
|
|
|
@ -92,6 +92,8 @@ public enum L10n {
|
|||
public static let pia = L10n.tr("Localizable", "account.suggestion_footer.infrastructure.pia")
|
||||
/// Use your website credentials. Your username is usually your email.
|
||||
public static let tunnelbear = L10n.tr("Localizable", "account.suggestion_footer.infrastructure.tunnelbear")
|
||||
/// Find your credentials in the OpenVPN Config Generator on the website.
|
||||
public static let windscribe = L10n.tr("Localizable", "account.suggestion_footer.infrastructure.windscribe")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue