Add VyprVPN provider

This commit is contained in:
Davide De Rosa 2019-04-26 13:51:08 +02:00
parent 027bf82208
commit d430e7c268
13 changed files with 38 additions and 12 deletions

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "vyprvpn@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "vyprvpn@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

View File

@ -77,6 +77,9 @@ class AccountViewController: UIViewController, TableModelHost {
case .tunnelBear:
return V.tunnelbear(name.rawValue)
case .vyprVPN:
return V.vyprvpn(name.rawValue)
case .windscribe:
return V.windscribe(name.rawValue)
}

File diff suppressed because one or more lines are too long

View File

@ -142,6 +142,7 @@
"account.sections.guidance.footer.infrastructure.pia" = "Benutze deine %@ Web-Zugangsdaten. Dein Benutzername ist üblicherweise numerischt mit einem \"p\" Präfix.";
"account.sections.guidance.footer.infrastructure.protonvpn" = "Deine Zugangsdaten für %@ findest du unter \"Account > OpenVPN / IKEv2 Username\" auf der Webseite.";
"account.sections.guidance.footer.infrastructure.tunnelbear" = "Benutze deine %@ Web-Zugangsdaten. Dein Benutzername ist üblicherweise deine Email.";
"account.sections.guidance.footer.infrastructure.vyprvpn" = "Benutze deine %@ Web-Zugangsdaten. Dein Benutzername ist üblicherweise deine Email.";
"account.sections.guidance.footer.infrastructure.windscribe" = "Deine Zugangsdaten für %@ findest du im OpenVPN Config Generator auf der Webseite.";
"account.sections.registration.footer" = "Beantrage einen Account auf der %@ Webseite.";
"account.cells.username.caption" = "Benutzername";

View File

@ -142,6 +142,7 @@
"account.sections.guidance.footer.infrastructure.pia" = "Use your %@ website credentials. Your username is usually numeric with a \"p\" prefix.";
"account.sections.guidance.footer.infrastructure.protonvpn" = "Find your %@ credentials in the \"Account > OpenVPN / IKEv2 Username\" section of the website.";
"account.sections.guidance.footer.infrastructure.tunnelbear" = "Use your %@ website credentials. Your username is usually your e-mail.";
"account.sections.guidance.footer.infrastructure.vyprvpn" = "Use your %@ website credentials. Your username is usually your e-mail.";
"account.sections.guidance.footer.infrastructure.windscribe" = "Find your %@ credentials in the OpenVPN Config Generator on the website.";
"account.sections.registration.footer" = "Go get an account on the %@ website.";
"account.cells.username.caption" = "Username";

View File

@ -142,6 +142,7 @@
"account.sections.guidance.footer.infrastructure.pia" = "Usa le credenziali del sito di %@. Il tuo username è generalmente numerico con un prefisso \"p\".";
"account.sections.guidance.footer.infrastructure.protonvpn" = "Trova le tue credenziali nella sezione \"Account > OpenVPN / IKEv2 Username\" del sito di %@.";
"account.sections.guidance.footer.infrastructure.tunnelbear" = "Usa le credenziali del sito di %@. Il tuo username è generalmente la tua e-mail.";
"account.sections.guidance.footer.infrastructure.vyprvpn" = "Usa le credenziali del sito di %@. Il tuo username è generalmente la tua e-mail.";
"account.sections.guidance.footer.infrastructure.windscribe" = "Trova le tue credenziali nell'OpenVPN Config Generator sul sito di %@.";
"account.sections.registration.footer" = "Registra un account sul sito di %@.";
"account.cells.username.caption" = "Username";

View File

@ -146,6 +146,7 @@
"account.sections.guidance.footer.infrastructure.pia" = "Utilize %@ credenciais do site. Seu usuário é normalmente numérico com prefixo \"p\".";
"account.sections.guidance.footer.infrastructure.protonvpn" = "Encontre %@ credenciais na sessão \"Account > OpenVPN / IKEv2 Username\" do site.";
"account.sections.guidance.footer.infrastructure.tunnelbear" = "Utilize %@ credenciais do site. Seu usuário é normalmente o seu email.";
"account.sections.guidance.footer.infrastructure.vyprvpn" = "Utilize %@ credenciais do site. Seu usuário é normalmente o seu email.";
"account.sections.guidance.footer.infrastructure.windscribe" = "Encontre %@ credenciais no gerador de configuração OpenVPN do site.";
"account.sections.registration.footer" = "Registrar em %@ website.";
"account.cells.username.caption" = "Usuário";

View File

@ -142,6 +142,7 @@
"account.sections.guidance.footer.infrastructure.pia" = "Используйте Ваши данные для входа с веб-сайта %@. Ваш логин обычно числовой с приставкой \"p\".";
"account.sections.guidance.footer.infrastructure.protonvpn" = "Найдите Ваши данные для входа %@ \"Account > OpenVPN / IKEv2 Username\" секции веб-сайта.";
"account.sections.guidance.footer.infrastructure.tunnelbear" = "Используйте данные для входа на %@ веб-сайт. Ваш логин обычно Ваш e-mail.";
"account.sections.guidance.footer.infrastructure.vyprvpn" = "Используйте данные для входа на %@ веб-сайт. Ваш логин обычно Ваш e-mail.";
"account.sections.guidance.footer.infrastructure.windscribe" = "Найдите Ваши данные для входа %@ в OpenVPN Config Generator на веб-сайте.";
"account.sections.registration.footer" = "Создайте аккаунт на %@ веб-сайте.";
"account.cells.username.caption" = "Логин";

View File

@ -38,6 +38,8 @@ public struct Infrastructure: Codable {
case tunnelBear = "TunnelBear"
case vyprVPN = "VyprVPN"
case windscribe = "Windscribe"
}

View File

@ -64,6 +64,7 @@ public class InfrastructureFactory {
.pia,
.protonVPN,
.tunnelBear,
.vyprVPN,
.windscribe
]

View File

@ -106,6 +106,10 @@ public enum L10n {
public static func tunnelbear(_ p1: String) -> String {
return L10n.tr("Localizable", "account.sections.guidance.footer.infrastructure.tunnelbear", p1)
}
/// Use your %@ website credentials. Your username is usually your e-mail.
public static func vyprvpn(_ p1: String) -> String {
return L10n.tr("Localizable", "account.sections.guidance.footer.infrastructure.vyprvpn", p1)
}
/// Find your %@ credentials in the OpenVPN Config Generator on the website.
public static func windscribe(_ p1: String) -> String {
return L10n.tr("Localizable", "account.sections.guidance.footer.infrastructure.windscribe", p1)
@ -554,18 +558,6 @@ public enum L10n {
}
public enum Provider {
public enum Pool {
public enum Sections {
public enum Free {
/// Free
public static let header = L10n.tr("Localizable", "provider.pool.sections.free.header")
}
public enum Paid {
/// Paid
public static let header = L10n.tr("Localizable", "provider.pool.sections.paid.header")
}
}
}
public enum Preset {
public enum Cells {
public enum TechDetails {