2019-06-21 21:15:43 +00:00
|
|
|
// swiftlint:disable all
|
|
|
|
// Generated using SwiftGen — https://github.com/SwiftGen/SwiftGen
|
|
|
|
|
|
|
|
import Foundation
|
|
|
|
|
2020-07-07 21:34:42 +00:00
|
|
|
// swiftlint:disable superfluous_disable_command file_length implicit_return
|
2019-06-21 21:15:43 +00:00
|
|
|
|
|
|
|
// MARK: - Strings
|
|
|
|
|
|
|
|
// swiftlint:disable explicit_type_interface function_parameter_count identifier_name line_length
|
|
|
|
// swiftlint:disable nesting type_body_length type_name
|
|
|
|
internal enum L10n {
|
|
|
|
internal enum App {
|
2021-01-01 10:13:41 +00:00
|
|
|
internal enum Configuration {
|
|
|
|
/// Configuration
|
|
|
|
internal static let title = L10n.tr("App", "configuration.title")
|
|
|
|
internal enum Alerts {
|
|
|
|
internal enum Commit {
|
|
|
|
/// New parameters will not be effective until you reconnect manually. Changes in trusted networks will apply immediately.
|
|
|
|
internal static let message = L10n.tr("App", "configuration.alerts.commit.message")
|
|
|
|
internal enum Buttons {
|
|
|
|
/// Reconnect now
|
|
|
|
internal static let reconnect = L10n.tr("App", "configuration.alerts.commit.buttons.reconnect")
|
|
|
|
/// Skip
|
|
|
|
internal static let skip = L10n.tr("App", "configuration.alerts.commit.buttons.skip")
|
|
|
|
}
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-04-10 12:55:52 +00:00
|
|
|
internal enum DebugLog {
|
|
|
|
internal enum Buttons {
|
|
|
|
/// Copy
|
|
|
|
internal static let copy = L10n.tr("App", "debug_log.buttons.copy")
|
|
|
|
}
|
|
|
|
}
|
2019-06-21 21:15:43 +00:00
|
|
|
internal enum Endpoint {
|
2021-01-01 10:13:41 +00:00
|
|
|
internal enum Cells {
|
|
|
|
/// Address
|
|
|
|
internal static let address = L10n.tr("App", "endpoint.cells.address")
|
2021-01-26 17:05:56 +00:00
|
|
|
/// Protocol
|
|
|
|
internal static let `protocol` = L10n.tr("App", "endpoint.cells.protocol")
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
}
|
2021-01-01 10:13:41 +00:00
|
|
|
internal enum Menu {
|
|
|
|
internal enum ActiveProfile {
|
|
|
|
internal enum Items {
|
|
|
|
internal enum Customize {
|
|
|
|
/// Customize...
|
|
|
|
internal static let title = L10n.tr("App", "menu.active_profile.items.customize.title")
|
|
|
|
}
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
2021-01-01 10:13:41 +00:00
|
|
|
internal enum Messages {
|
|
|
|
/// No account configured
|
|
|
|
internal static let missingCredentials = L10n.tr("App", "menu.active_profile.messages.missing_credentials")
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
2021-01-01 10:13:41 +00:00
|
|
|
internal enum Title {
|
|
|
|
/// No active profile
|
|
|
|
internal static let `none` = L10n.tr("App", "menu.active_profile.title.none")
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
}
|
2021-01-01 10:13:41 +00:00
|
|
|
internal enum Organizer {
|
|
|
|
/// Organizer
|
|
|
|
internal static let title = L10n.tr("App", "menu.organizer.title")
|
|
|
|
}
|
|
|
|
internal enum Preferences {
|
|
|
|
/// Preferences
|
|
|
|
internal static let title = L10n.tr("App", "menu.preferences.title")
|
|
|
|
}
|
|
|
|
internal enum Quit {
|
|
|
|
/// Quit %@
|
|
|
|
internal static func title(_ p1: Any) -> String {
|
|
|
|
return L10n.tr("App", "menu.quit.title", String(describing: p1))
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
2021-01-01 10:13:41 +00:00
|
|
|
internal enum Messages {
|
|
|
|
/// The VPN, if enabled, will still run in the background. Do you want to quit?
|
|
|
|
internal static let confirm = L10n.tr("App", "menu.quit.messages.confirm")
|
2020-07-17 11:33:34 +00:00
|
|
|
}
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
2021-01-26 17:33:56 +00:00
|
|
|
internal enum Show {
|
|
|
|
/// Show
|
|
|
|
internal static let title = L10n.tr("App", "menu.show.title")
|
|
|
|
}
|
2021-01-01 10:13:41 +00:00
|
|
|
internal enum Support {
|
|
|
|
/// Support
|
|
|
|
internal static let title = L10n.tr("App", "menu.support.title")
|
|
|
|
}
|
|
|
|
internal enum SwitchProfile {
|
|
|
|
/// Active profile
|
|
|
|
internal static let title = L10n.tr("App", "menu.switch_profile.title")
|
|
|
|
}
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
2021-01-01 10:13:41 +00:00
|
|
|
internal enum NetworkSettings {
|
|
|
|
internal enum Dns {
|
|
|
|
internal enum Cells {
|
|
|
|
internal enum Addresses {
|
|
|
|
/// Servers
|
|
|
|
internal static let title = L10n.tr("App", "network_settings.dns.cells.addresses.title")
|
|
|
|
}
|
|
|
|
internal enum Domains {
|
|
|
|
/// Domains
|
|
|
|
internal static let title = L10n.tr("App", "network_settings.dns.cells.domains.title")
|
2019-11-21 14:41:27 +00:00
|
|
|
}
|
|
|
|
}
|
2019-11-21 13:00:34 +00:00
|
|
|
}
|
2021-01-01 10:13:41 +00:00
|
|
|
internal enum Proxy {
|
2019-06-21 21:15:43 +00:00
|
|
|
internal enum Cells {
|
2021-01-01 10:13:41 +00:00
|
|
|
internal enum BypassDomains {
|
|
|
|
/// Bypass domains
|
|
|
|
internal static let title = L10n.tr("App", "network_settings.proxy.cells.bypass_domains.title")
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-01-01 10:13:41 +00:00
|
|
|
internal enum Organizer {
|
|
|
|
/// %@
|
|
|
|
internal static func title(_ p1: Any) -> String {
|
|
|
|
return L10n.tr("App", "organizer.title", String(describing: p1))
|
|
|
|
}
|
|
|
|
internal enum Alerts {
|
|
|
|
internal enum OpenHostFile {
|
|
|
|
/// Select an .ovpn file
|
|
|
|
internal static let title = L10n.tr("App", "organizer.alerts.open_host_file.title")
|
|
|
|
}
|
|
|
|
internal enum RemoveProfile {
|
|
|
|
/// Are you sure you want to delete profile %@?
|
|
|
|
internal static func message(_ p1: Any) -> String {
|
|
|
|
return L10n.tr("App", "organizer.alerts.remove_profile.message", String(describing: p1))
|
2019-11-09 17:03:07 +00:00
|
|
|
}
|
2021-01-01 10:13:41 +00:00
|
|
|
/// Remove profile
|
|
|
|
internal static let title = L10n.tr("App", "organizer.alerts.remove_profile.title")
|
2019-10-30 12:12:58 +00:00
|
|
|
}
|
|
|
|
}
|
2021-01-01 10:13:41 +00:00
|
|
|
internal enum Menus {
|
|
|
|
/// Host
|
|
|
|
internal static let host = L10n.tr("App", "organizer.menus.host")
|
|
|
|
/// Provider
|
|
|
|
internal static let provider = L10n.tr("App", "organizer.menus.provider")
|
|
|
|
internal enum Provider {
|
|
|
|
/// No providers left
|
|
|
|
internal static let unavailable = L10n.tr("App", "organizer.menus.provider.unavailable")
|
2019-11-09 12:51:52 +00:00
|
|
|
}
|
|
|
|
}
|
2019-10-30 12:12:58 +00:00
|
|
|
}
|
2021-01-01 10:13:41 +00:00
|
|
|
internal enum Preferences {
|
2021-01-26 20:41:51 +00:00
|
|
|
/// Preferences
|
|
|
|
internal static let title = L10n.tr("App", "preferences.title")
|
2019-06-21 21:15:43 +00:00
|
|
|
internal enum Cells {
|
2021-01-26 19:45:21 +00:00
|
|
|
internal enum ConfirmQuit {
|
|
|
|
/// Confirm quit
|
|
|
|
internal static let caption = L10n.tr("App", "preferences.cells.confirm_quit.caption")
|
2021-01-26 20:41:51 +00:00
|
|
|
/// Check to present a quit confirmation alert.
|
2021-01-26 19:45:21 +00:00
|
|
|
internal static let footer = L10n.tr("App", "preferences.cells.confirm_quit.footer")
|
|
|
|
}
|
2021-01-01 10:13:41 +00:00
|
|
|
internal enum LaunchesOnLogin {
|
|
|
|
/// Launch on login
|
|
|
|
internal static let caption = L10n.tr("App", "preferences.cells.launches_on_login.caption")
|
|
|
|
/// Check to automatically launch the app on boot or login.
|
|
|
|
internal static let footer = L10n.tr("App", "preferences.cells.launches_on_login.footer")
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Sections {
|
2021-01-01 10:13:41 +00:00
|
|
|
internal enum General {
|
|
|
|
/// General
|
|
|
|
internal static let header = L10n.tr("App", "preferences.sections.general.header")
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-02-11 22:40:16 +00:00
|
|
|
internal enum Purchase {
|
|
|
|
internal enum Sections {
|
|
|
|
internal enum Products {
|
|
|
|
internal enum Footer {
|
|
|
|
/// If you bought the old macOS app (1.14.0), skip this step. Instead, send your Apple invoice to this address to restore full version:
|
|
|
|
internal static let macLegacy = L10n.tr("App", "purchase.sections.products.footer.mac_legacy")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-01-01 10:13:41 +00:00
|
|
|
internal enum Service {
|
|
|
|
internal enum Cells {
|
|
|
|
internal enum Addresses {
|
|
|
|
/// Addresses
|
|
|
|
internal static let caption = L10n.tr("App", "service.cells.addresses.caption")
|
|
|
|
}
|
|
|
|
internal enum Category {
|
|
|
|
/// Category
|
|
|
|
internal static let caption = L10n.tr("App", "service.cells.category.caption")
|
|
|
|
}
|
|
|
|
internal enum Vpn {
|
|
|
|
internal enum TurnOff {
|
|
|
|
/// Disable VPN
|
|
|
|
internal static let caption = L10n.tr("App", "service.cells.vpn.turn_off.caption")
|
|
|
|
}
|
|
|
|
internal enum TurnOn {
|
|
|
|
/// Enable VPN
|
|
|
|
internal static let caption = L10n.tr("App", "service.cells.vpn.turn_on.caption")
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-01-01 10:13:41 +00:00
|
|
|
internal enum Trusted {
|
|
|
|
internal enum Columns {
|
|
|
|
internal enum Trust {
|
|
|
|
/// Trust
|
|
|
|
internal static let title = L10n.tr("App", "trusted.columns.trust.title")
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
}
|
2021-01-01 10:13:41 +00:00
|
|
|
internal enum Ethernet {
|
|
|
|
/// Check to trust any wired cable connection.
|
|
|
|
internal static let description = L10n.tr("App", "trusted.ethernet.description")
|
|
|
|
/// Trust wired connections
|
|
|
|
internal static let title = L10n.tr("App", "trusted.ethernet.title")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Vpn {
|
|
|
|
/// Off
|
|
|
|
internal static let unused = L10n.tr("App", "vpn.unused")
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Core {
|
|
|
|
internal enum About {
|
|
|
|
/// About
|
|
|
|
internal static let title = L10n.tr("Core", "about.title")
|
|
|
|
internal enum Cells {
|
|
|
|
internal enum Credits {
|
|
|
|
/// Credits
|
|
|
|
internal static let caption = L10n.tr("Core", "about.cells.credits.caption")
|
|
|
|
}
|
|
|
|
internal enum Disclaimer {
|
|
|
|
/// Disclaimer
|
|
|
|
internal static let caption = L10n.tr("Core", "about.cells.disclaimer.caption")
|
|
|
|
}
|
|
|
|
internal enum Faq {
|
|
|
|
/// FAQ
|
|
|
|
internal static let caption = L10n.tr("Core", "about.cells.faq.caption")
|
|
|
|
}
|
|
|
|
internal enum PrivacyPolicy {
|
|
|
|
/// Privacy policy
|
|
|
|
internal static let caption = L10n.tr("Core", "about.cells.privacy_policy.caption")
|
|
|
|
}
|
|
|
|
internal enum ShareGeneric {
|
|
|
|
/// Invite a friend
|
|
|
|
internal static let caption = L10n.tr("Core", "about.cells.share_generic.caption")
|
|
|
|
}
|
|
|
|
internal enum ShareTwitter {
|
|
|
|
/// Tweet about it!
|
|
|
|
internal static let caption = L10n.tr("Core", "about.cells.share_twitter.caption")
|
|
|
|
}
|
|
|
|
internal enum Website {
|
|
|
|
/// Home page
|
|
|
|
internal static let caption = L10n.tr("Core", "about.cells.website.caption")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Sections {
|
|
|
|
internal enum Share {
|
|
|
|
/// Share
|
|
|
|
internal static let header = L10n.tr("Core", "about.sections.share.header")
|
|
|
|
}
|
|
|
|
internal enum Web {
|
|
|
|
/// Web
|
|
|
|
internal static let header = L10n.tr("Core", "about.sections.web.header")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Account {
|
|
|
|
/// Account
|
|
|
|
internal static let title = L10n.tr("Core", "account.title")
|
|
|
|
internal enum Cells {
|
|
|
|
internal enum OpenGuide {
|
|
|
|
/// See your credentials
|
|
|
|
internal static let caption = L10n.tr("Core", "account.cells.open_guide.caption")
|
|
|
|
}
|
|
|
|
internal enum Password {
|
|
|
|
/// Password
|
|
|
|
internal static let caption = L10n.tr("Core", "account.cells.password.caption")
|
|
|
|
/// secret
|
|
|
|
internal static let placeholder = L10n.tr("Core", "account.cells.password.placeholder")
|
|
|
|
}
|
|
|
|
internal enum Signup {
|
|
|
|
/// Register with %@
|
2020-07-07 21:34:42 +00:00
|
|
|
internal static func caption(_ p1: Any) -> String {
|
|
|
|
return L10n.tr("Core", "account.cells.signup.caption", String(describing: p1))
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Username {
|
|
|
|
/// Username
|
|
|
|
internal static let caption = L10n.tr("Core", "account.cells.username.caption")
|
|
|
|
/// username
|
|
|
|
internal static let placeholder = L10n.tr("Core", "account.cells.username.placeholder")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Sections {
|
|
|
|
internal enum Guidance {
|
|
|
|
internal enum Footer {
|
|
|
|
internal enum Infrastructure {
|
2020-05-09 16:06:07 +00:00
|
|
|
/// Use your %@ website credentials.
|
2020-07-07 21:34:42 +00:00
|
|
|
internal static func hideme(_ p1: Any) -> String {
|
|
|
|
return L10n.tr("Core", "account.sections.guidance.footer.infrastructure.hideme", String(describing: p1))
|
2020-05-09 16:06:07 +00:00
|
|
|
}
|
2019-12-11 13:02:03 +00:00
|
|
|
/// Use your %@ website credentials. Your username is usually numeric (without spaces).
|
2020-07-07 21:34:42 +00:00
|
|
|
internal static func mullvad(_ p1: Any) -> String {
|
|
|
|
return L10n.tr("Core", "account.sections.guidance.footer.infrastructure.mullvad", String(describing: p1))
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
/// Use your %@ website credentials. Your username is usually your e-mail.
|
2020-07-07 21:34:42 +00:00
|
|
|
internal static func nordvpn(_ p1: Any) -> String {
|
|
|
|
return L10n.tr("Core", "account.sections.guidance.footer.infrastructure.nordvpn", String(describing: p1))
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
/// Use your %@ website credentials. Your username is usually numeric with a "p" prefix.
|
2020-07-07 21:34:42 +00:00
|
|
|
internal static func pia(_ p1: Any) -> String {
|
|
|
|
return L10n.tr("Core", "account.sections.guidance.footer.infrastructure.pia", String(describing: p1))
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
/// Find your %@ credentials in the "Account > OpenVPN / IKEv2 Username" section of the website.
|
2020-07-07 21:34:42 +00:00
|
|
|
internal static func protonvpn(_ p1: Any) -> String {
|
|
|
|
return L10n.tr("Core", "account.sections.guidance.footer.infrastructure.protonvpn", String(describing: p1))
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
2020-05-23 15:57:54 +00:00
|
|
|
/// Use your %@ service credentials, which may differ from website credentials.
|
2020-07-07 21:34:42 +00:00
|
|
|
internal static func torguard(_ p1: Any) -> String {
|
|
|
|
return L10n.tr("Core", "account.sections.guidance.footer.infrastructure.torguard", String(describing: p1))
|
2020-05-23 15:57:54 +00:00
|
|
|
}
|
2019-06-21 21:15:43 +00:00
|
|
|
/// Use your %@ website credentials. Your username is usually your e-mail.
|
2020-07-07 21:34:42 +00:00
|
|
|
internal static func tunnelbear(_ p1: Any) -> String {
|
|
|
|
return L10n.tr("Core", "account.sections.guidance.footer.infrastructure.tunnelbear", String(describing: p1))
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
/// Use your %@ website credentials. Your username is usually your e-mail.
|
2020-07-07 21:34:42 +00:00
|
|
|
internal static func vyprvpn(_ p1: Any) -> String {
|
|
|
|
return L10n.tr("Core", "account.sections.guidance.footer.infrastructure.vyprvpn", String(describing: p1))
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
/// Find your %@ credentials in the OpenVPN Config Generator on the website.
|
2020-07-07 21:34:42 +00:00
|
|
|
internal static func windscribe(_ p1: Any) -> String {
|
|
|
|
return L10n.tr("Core", "account.sections.guidance.footer.infrastructure.windscribe", String(describing: p1))
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Registration {
|
|
|
|
/// Go get an account on the %@ website.
|
2020-07-07 21:34:42 +00:00
|
|
|
internal static func footer(_ p1: Any) -> String {
|
|
|
|
return L10n.tr("Core", "account.sections.registration.footer", String(describing: p1))
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Configuration {
|
|
|
|
internal enum Cells {
|
|
|
|
internal enum Cipher {
|
|
|
|
/// Cipher
|
|
|
|
internal static let caption = L10n.tr("Core", "configuration.cells.cipher.caption")
|
|
|
|
}
|
|
|
|
internal enum Client {
|
|
|
|
/// Client certificate
|
|
|
|
internal static let caption = L10n.tr("Core", "configuration.cells.client.caption")
|
|
|
|
internal enum Value {
|
|
|
|
/// Not verified
|
|
|
|
internal static let disabled = L10n.tr("Core", "configuration.cells.client.value.disabled")
|
|
|
|
/// Verified
|
|
|
|
internal static let enabled = L10n.tr("Core", "configuration.cells.client.value.enabled")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum CompressionAlgorithm {
|
|
|
|
/// Algorithm
|
|
|
|
internal static let caption = L10n.tr("Core", "configuration.cells.compression_algorithm.caption")
|
|
|
|
internal enum Value {
|
|
|
|
/// LZO
|
|
|
|
internal static let lzo = L10n.tr("Core", "configuration.cells.compression_algorithm.value.lzo")
|
|
|
|
/// Unsupported
|
|
|
|
internal static let other = L10n.tr("Core", "configuration.cells.compression_algorithm.value.other")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum CompressionFraming {
|
|
|
|
/// Framing
|
|
|
|
internal static let caption = L10n.tr("Core", "configuration.cells.compression_framing.caption")
|
|
|
|
internal enum Value {
|
|
|
|
/// --compress
|
|
|
|
internal static let compress = L10n.tr("Core", "configuration.cells.compression_framing.value.compress")
|
|
|
|
/// --comp-lzo
|
|
|
|
internal static let lzo = L10n.tr("Core", "configuration.cells.compression_framing.value.lzo")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Digest {
|
|
|
|
/// Authentication
|
|
|
|
internal static let caption = L10n.tr("Core", "configuration.cells.digest.caption")
|
|
|
|
internal enum Value {
|
|
|
|
/// Embedded
|
|
|
|
internal static let embedded = L10n.tr("Core", "configuration.cells.digest.value.embedded")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Eku {
|
|
|
|
/// Extended verification
|
|
|
|
internal static let caption = L10n.tr("Core", "configuration.cells.eku.caption")
|
|
|
|
}
|
|
|
|
internal enum KeepAlive {
|
|
|
|
/// Keep-alive
|
|
|
|
internal static let caption = L10n.tr("Core", "configuration.cells.keep_alive.caption")
|
|
|
|
internal enum Value {
|
|
|
|
/// %d seconds
|
|
|
|
internal static func seconds(_ p1: Int) -> String {
|
|
|
|
return L10n.tr("Core", "configuration.cells.keep_alive.value.seconds", p1)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum RandomEndpoint {
|
|
|
|
/// Randomize endpoint
|
|
|
|
internal static let caption = L10n.tr("Core", "configuration.cells.random_endpoint.caption")
|
|
|
|
}
|
|
|
|
internal enum RenegotiationSeconds {
|
|
|
|
/// Renegotiation
|
|
|
|
internal static let caption = L10n.tr("Core", "configuration.cells.renegotiation_seconds.caption")
|
|
|
|
internal enum Value {
|
|
|
|
/// after %@
|
2020-07-07 21:34:42 +00:00
|
|
|
internal static func after(_ p1: Any) -> String {
|
|
|
|
return L10n.tr("Core", "configuration.cells.renegotiation_seconds.value.after", String(describing: p1))
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum ResetOriginal {
|
|
|
|
/// Reset configuration
|
|
|
|
internal static let caption = L10n.tr("Core", "configuration.cells.reset_original.caption")
|
|
|
|
}
|
|
|
|
internal enum TlsWrapping {
|
|
|
|
/// Wrapping
|
|
|
|
internal static let caption = L10n.tr("Core", "configuration.cells.tls_wrapping.caption")
|
|
|
|
internal enum Value {
|
|
|
|
/// Authentication
|
|
|
|
internal static let auth = L10n.tr("Core", "configuration.cells.tls_wrapping.value.auth")
|
|
|
|
/// Encryption
|
|
|
|
internal static let crypt = L10n.tr("Core", "configuration.cells.tls_wrapping.value.crypt")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Sections {
|
|
|
|
internal enum Communication {
|
|
|
|
/// Communication
|
|
|
|
internal static let header = L10n.tr("Core", "configuration.sections.communication.header")
|
|
|
|
}
|
|
|
|
internal enum Compression {
|
|
|
|
/// Compression
|
|
|
|
internal static let header = L10n.tr("Core", "configuration.sections.compression.header")
|
|
|
|
}
|
|
|
|
internal enum Network {
|
|
|
|
/// Network
|
|
|
|
internal static let header = L10n.tr("Core", "configuration.sections.network.header")
|
|
|
|
}
|
|
|
|
internal enum Other {
|
|
|
|
/// Other
|
|
|
|
internal static let header = L10n.tr("Core", "configuration.sections.other.header")
|
|
|
|
}
|
|
|
|
internal enum Reset {
|
|
|
|
/// If you ended up with broken connectivity after changing the communication parameters, tap to revert to the original configuration.
|
|
|
|
internal static let footer = L10n.tr("Core", "configuration.sections.reset.footer")
|
|
|
|
}
|
|
|
|
internal enum Tls {
|
|
|
|
/// TLS
|
|
|
|
internal static let header = L10n.tr("Core", "configuration.sections.tls.header")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Credits {
|
|
|
|
/// Credits
|
|
|
|
internal static let title = L10n.tr("Core", "credits.title")
|
|
|
|
internal enum Sections {
|
|
|
|
internal enum Licenses {
|
|
|
|
/// Licenses
|
|
|
|
internal static let header = L10n.tr("Core", "credits.sections.licenses.header")
|
|
|
|
}
|
|
|
|
internal enum Notices {
|
|
|
|
/// Notices
|
|
|
|
internal static let header = L10n.tr("Core", "credits.sections.notices.header")
|
|
|
|
}
|
|
|
|
internal enum Translations {
|
|
|
|
/// Translations
|
|
|
|
internal static let header = L10n.tr("Core", "credits.sections.translations.header")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum DebugLog {
|
|
|
|
internal enum Alerts {
|
|
|
|
internal enum EmptyLog {
|
|
|
|
/// The debug log is empty.
|
|
|
|
internal static let message = L10n.tr("Core", "debug_log.alerts.empty_log.message")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Buttons {
|
|
|
|
/// Next
|
|
|
|
internal static let next = L10n.tr("Core", "debug_log.buttons.next")
|
|
|
|
/// Previous
|
|
|
|
internal static let previous = L10n.tr("Core", "debug_log.buttons.previous")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Donation {
|
|
|
|
/// Donate
|
|
|
|
internal static let title = L10n.tr("Core", "donation.title")
|
|
|
|
internal enum Alerts {
|
|
|
|
internal enum Purchase {
|
|
|
|
internal enum Failure {
|
|
|
|
/// Unable to perform the donation. %@
|
2020-07-07 21:34:42 +00:00
|
|
|
internal static func message(_ p1: Any) -> String {
|
|
|
|
return L10n.tr("Core", "donation.alerts.purchase.failure.message", String(describing: p1))
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Success {
|
|
|
|
/// This means a lot to me and I really hope you keep using and promoting this app.
|
|
|
|
internal static let message = L10n.tr("Core", "donation.alerts.purchase.success.message")
|
|
|
|
/// Thank you
|
|
|
|
internal static let title = L10n.tr("Core", "donation.alerts.purchase.success.title")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Cells {
|
|
|
|
internal enum Loading {
|
|
|
|
/// Loading donations
|
|
|
|
internal static let caption = L10n.tr("Core", "donation.cells.loading.caption")
|
|
|
|
}
|
|
|
|
internal enum Purchasing {
|
|
|
|
/// Performing donation
|
|
|
|
internal static let caption = L10n.tr("Core", "donation.cells.purchasing.caption")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Sections {
|
|
|
|
internal enum OneTime {
|
|
|
|
/// If you want to display gratitude for my free work, here are a couple amounts you can donate instantly.\n\nYou will only be charged once per donation, and you can donate multiple times.
|
|
|
|
internal static let footer = L10n.tr("Core", "donation.sections.one_time.footer")
|
|
|
|
/// One time
|
|
|
|
internal static let header = L10n.tr("Core", "donation.sections.one_time.header")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Endpoint {
|
|
|
|
/// Endpoint
|
|
|
|
internal static let title = L10n.tr("Core", "endpoint.title")
|
|
|
|
internal enum Cells {
|
|
|
|
internal enum AnyAddress {
|
|
|
|
/// Automatic
|
|
|
|
internal static let caption = L10n.tr("Core", "endpoint.cells.any_address.caption")
|
|
|
|
}
|
|
|
|
internal enum AnyProtocol {
|
|
|
|
/// Automatic
|
|
|
|
internal static let caption = L10n.tr("Core", "endpoint.cells.any_protocol.caption")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Global {
|
|
|
|
/// Cancel
|
|
|
|
internal static let cancel = L10n.tr("Core", "global.cancel")
|
|
|
|
/// Close
|
|
|
|
internal static let close = L10n.tr("Core", "global.close")
|
|
|
|
/// No e-mail account is configured.
|
|
|
|
internal static let emailNotConfigured = L10n.tr("Core", "global.email_not_configured")
|
|
|
|
/// Next
|
|
|
|
internal static let next = L10n.tr("Core", "global.next")
|
|
|
|
/// OK
|
|
|
|
internal static let ok = L10n.tr("Core", "global.ok")
|
|
|
|
internal enum Captions {
|
|
|
|
/// Address
|
|
|
|
internal static let address = L10n.tr("Core", "global.captions.address")
|
|
|
|
/// Port
|
|
|
|
internal static let port = L10n.tr("Core", "global.captions.port")
|
2021-01-22 09:59:40 +00:00
|
|
|
/// Protocol
|
|
|
|
internal static let `protocol` = L10n.tr("Core", "global.captions.protocol")
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
internal enum Host {
|
|
|
|
internal enum TitleInput {
|
|
|
|
/// Acceptable characters are alphanumerics plus dash "-", underscore "_" and dot ".".
|
|
|
|
internal static let message = L10n.tr("Core", "global.host.title_input.message")
|
|
|
|
/// My profile
|
|
|
|
internal static let placeholder = L10n.tr("Core", "global.host.title_input.placeholder")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Values {
|
|
|
|
/// Automatic
|
|
|
|
internal static let automatic = L10n.tr("Core", "global.values.automatic")
|
2021-01-03 16:37:36 +00:00
|
|
|
/// Default
|
|
|
|
internal static let `default` = L10n.tr("Core", "global.values.default")
|
2019-06-21 21:15:43 +00:00
|
|
|
/// Disabled
|
|
|
|
internal static let disabled = L10n.tr("Core", "global.values.disabled")
|
|
|
|
/// Enabled
|
|
|
|
internal static let enabled = L10n.tr("Core", "global.values.enabled")
|
|
|
|
/// Manual
|
|
|
|
internal static let manual = L10n.tr("Core", "global.values.manual")
|
|
|
|
/// None
|
|
|
|
internal static let `none` = L10n.tr("Core", "global.values.none")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum IssueReporter {
|
|
|
|
/// The debug log of your latest connections is crucial to resolve your connectivity issues and is completely anonymous.\n\nThe .ovpn configuration file, if any, is attached stripped of any sensitive data.\n\nPlease double check the e-mail attachments if unsure.
|
|
|
|
internal static let message = L10n.tr("Core", "issue_reporter.message")
|
|
|
|
/// Report issue
|
|
|
|
internal static let title = L10n.tr("Core", "issue_reporter.title")
|
|
|
|
internal enum Buttons {
|
|
|
|
/// I understand
|
|
|
|
internal static let accept = L10n.tr("Core", "issue_reporter.buttons.accept")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Label {
|
|
|
|
internal enum License {
|
|
|
|
/// Unable to download full license content.
|
|
|
|
internal static let error = L10n.tr("Core", "label.license.error")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum NetworkChoice {
|
|
|
|
/// Read .ovpn
|
|
|
|
internal static let client = L10n.tr("Core", "network_choice.client")
|
|
|
|
/// Pull from server
|
|
|
|
internal static let server = L10n.tr("Core", "network_choice.server")
|
|
|
|
}
|
|
|
|
internal enum NetworkSettings {
|
|
|
|
/// Network settings
|
|
|
|
internal static let title = L10n.tr("Core", "network_settings.title")
|
|
|
|
internal enum Dns {
|
|
|
|
/// DNS
|
|
|
|
internal static let title = L10n.tr("Core", "network_settings.dns.title")
|
|
|
|
internal enum Cells {
|
|
|
|
internal enum Domain {
|
|
|
|
/// Domain
|
|
|
|
internal static let caption = L10n.tr("Core", "network_settings.dns.cells.domain.caption")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Gateway {
|
|
|
|
/// Default gateway
|
|
|
|
internal static let title = L10n.tr("Core", "network_settings.gateway.title")
|
|
|
|
}
|
2020-12-28 14:04:24 +00:00
|
|
|
internal enum Mtu {
|
|
|
|
/// MTU
|
|
|
|
internal static let title = L10n.tr("Core", "network_settings.mtu.title")
|
|
|
|
internal enum Cells {
|
|
|
|
internal enum Bytes {
|
|
|
|
/// Bytes
|
|
|
|
internal static let caption = L10n.tr("Core", "network_settings.mtu.cells.bytes.caption")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-06-21 21:15:43 +00:00
|
|
|
internal enum Proxy {
|
|
|
|
/// Proxy
|
|
|
|
internal static let title = L10n.tr("Core", "network_settings.proxy.title")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Organizer {
|
|
|
|
internal enum Alerts {
|
|
|
|
internal enum AddHost {
|
|
|
|
/// Open an URL to an .ovpn configuration file from Safari, Mail or another app to set up a host profile.\n\nYou can also import an .ovpn with iTunes File Sharing.
|
|
|
|
internal static let message = L10n.tr("Core", "organizer.alerts.add_host.message")
|
|
|
|
}
|
|
|
|
internal enum CannotDonate {
|
|
|
|
/// There is no payment method configured on this device.
|
|
|
|
internal static let message = L10n.tr("Core", "organizer.alerts.cannot_donate.message")
|
|
|
|
}
|
|
|
|
internal enum DeleteVpnProfile {
|
|
|
|
/// Do you really want to erase the VPN configuration from your device settings? This may fix some broken VPN states and will not affect your provider and host profiles.
|
|
|
|
internal static let message = L10n.tr("Core", "organizer.alerts.delete_vpn_profile.message")
|
|
|
|
}
|
|
|
|
internal enum ExhaustedProviders {
|
|
|
|
/// You have created profiles for any available provider.
|
|
|
|
internal static let message = L10n.tr("Core", "organizer.alerts.exhausted_providers.message")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Cells {
|
|
|
|
internal enum About {
|
|
|
|
/// About %@
|
2020-07-07 21:34:42 +00:00
|
|
|
internal static func caption(_ p1: Any) -> String {
|
|
|
|
return L10n.tr("Core", "organizer.cells.about.caption", String(describing: p1))
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Donate {
|
|
|
|
/// Make a donation
|
|
|
|
internal static let caption = L10n.tr("Core", "organizer.cells.donate.caption")
|
|
|
|
}
|
2020-10-24 20:32:35 +00:00
|
|
|
internal enum FollowTwitch {
|
|
|
|
/// Watch Passepartout on Twitch
|
|
|
|
internal static let caption = L10n.tr("Core", "organizer.cells.follow_twitch.caption")
|
|
|
|
}
|
2020-06-01 08:35:11 +00:00
|
|
|
internal enum GithubSponsors {
|
|
|
|
/// Support me on GitHub
|
|
|
|
internal static let caption = L10n.tr("Core", "organizer.cells.github_sponsors.caption")
|
|
|
|
}
|
2019-06-21 21:15:43 +00:00
|
|
|
internal enum JoinCommunity {
|
|
|
|
/// Join community
|
|
|
|
internal static let caption = L10n.tr("Core", "organizer.cells.join_community.caption")
|
|
|
|
}
|
2019-06-23 08:33:43 +00:00
|
|
|
internal enum Profile {
|
|
|
|
internal enum Value {
|
|
|
|
/// In use
|
|
|
|
internal static let current = L10n.tr("Core", "organizer.cells.profile.value.current")
|
|
|
|
}
|
|
|
|
}
|
2019-06-21 21:15:43 +00:00
|
|
|
internal enum SiriShortcuts {
|
|
|
|
/// Manage shortcuts
|
|
|
|
internal static let caption = L10n.tr("Core", "organizer.cells.siri_shortcuts.caption")
|
|
|
|
}
|
|
|
|
internal enum Translate {
|
|
|
|
/// Offer to translate
|
|
|
|
internal static let caption = L10n.tr("Core", "organizer.cells.translate.caption")
|
|
|
|
}
|
|
|
|
internal enum Uninstall {
|
|
|
|
/// Remove VPN configuration
|
|
|
|
internal static let caption = L10n.tr("Core", "organizer.cells.uninstall.caption")
|
|
|
|
}
|
|
|
|
internal enum WriteReview {
|
|
|
|
/// Write a review
|
|
|
|
internal static let caption = L10n.tr("Core", "organizer.cells.write_review.caption")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Sections {
|
|
|
|
internal enum Feedback {
|
|
|
|
/// Feedback
|
|
|
|
internal static let header = L10n.tr("Core", "organizer.sections.feedback.header")
|
|
|
|
}
|
|
|
|
internal enum Hosts {
|
|
|
|
/// Import hosts from raw .ovpn configuration files.
|
|
|
|
internal static let footer = L10n.tr("Core", "organizer.sections.hosts.footer")
|
|
|
|
/// Hosts
|
|
|
|
internal static let header = L10n.tr("Core", "organizer.sections.hosts.header")
|
|
|
|
}
|
|
|
|
internal enum Providers {
|
|
|
|
/// Here you find a few providers with preset configuration profiles.
|
|
|
|
internal static let footer = L10n.tr("Core", "organizer.sections.providers.footer")
|
|
|
|
/// Providers
|
|
|
|
internal static let header = L10n.tr("Core", "organizer.sections.providers.header")
|
|
|
|
}
|
|
|
|
internal enum Siri {
|
|
|
|
/// Get help from Siri to speed up your most common interactions with the app.
|
|
|
|
internal static let footer = L10n.tr("Core", "organizer.sections.siri.footer")
|
|
|
|
/// Siri
|
|
|
|
internal static let header = L10n.tr("Core", "organizer.sections.siri.header")
|
|
|
|
}
|
|
|
|
internal enum Support {
|
|
|
|
/// Support
|
|
|
|
internal static let header = L10n.tr("Core", "organizer.sections.support.header")
|
|
|
|
}
|
2020-10-24 20:32:35 +00:00
|
|
|
internal enum Twitch {
|
|
|
|
/// Come watch me make Passepartout live on Twitch, join the chat to interact and contribute!
|
|
|
|
internal static let footer = L10n.tr("Core", "organizer.sections.twitch.footer")
|
|
|
|
/// Twitch
|
|
|
|
internal static let header = L10n.tr("Core", "organizer.sections.twitch.header")
|
|
|
|
}
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum ParsedFile {
|
|
|
|
internal enum Alerts {
|
|
|
|
internal enum Buttons {
|
|
|
|
/// Report an issue
|
|
|
|
internal static let report = L10n.tr("Core", "parsed_file.alerts.buttons.report")
|
|
|
|
}
|
|
|
|
internal enum Decryption {
|
|
|
|
/// The configuration contains an encrypted private key and it could not be decrypted. Double check your entered passphrase.
|
|
|
|
internal static let message = L10n.tr("Core", "parsed_file.alerts.decryption.message")
|
|
|
|
}
|
|
|
|
internal enum EncryptionPassphrase {
|
|
|
|
/// Please enter the encryption passphrase.
|
|
|
|
internal static let message = L10n.tr("Core", "parsed_file.alerts.encryption_passphrase.message")
|
|
|
|
}
|
|
|
|
internal enum Malformed {
|
|
|
|
/// The configuration file contains a malformed option (%@).
|
2020-07-07 21:34:42 +00:00
|
|
|
internal static func message(_ p1: Any) -> String {
|
|
|
|
return L10n.tr("Core", "parsed_file.alerts.malformed.message", String(describing: p1))
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Missing {
|
|
|
|
/// The configuration file lacks a required option (%@).
|
2020-07-07 21:34:42 +00:00
|
|
|
internal static func message(_ p1: Any) -> String {
|
|
|
|
return L10n.tr("Core", "parsed_file.alerts.missing.message", String(describing: p1))
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Parsing {
|
|
|
|
/// Unable to parse the provided configuration file (%@).
|
2020-07-07 21:34:42 +00:00
|
|
|
internal static func message(_ p1: Any) -> String {
|
|
|
|
return L10n.tr("Core", "parsed_file.alerts.parsing.message", String(describing: p1))
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum PotentiallyUnsupported {
|
|
|
|
/// The configuration file is correct but contains a potentially unsupported option (%@).\n\nConnectivity may break depending on server settings.
|
2020-07-07 21:34:42 +00:00
|
|
|
internal static func message(_ p1: Any) -> String {
|
|
|
|
return L10n.tr("Core", "parsed_file.alerts.potentially_unsupported.message", String(describing: p1))
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Unsupported {
|
|
|
|
/// The configuration file contains an unsupported option (%@).
|
2020-07-07 21:34:42 +00:00
|
|
|
internal static func message(_ p1: Any) -> String {
|
|
|
|
return L10n.tr("Core", "parsed_file.alerts.unsupported.message", String(describing: p1))
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-02-04 10:16:33 +00:00
|
|
|
internal enum Purchase {
|
|
|
|
/// Purchase
|
|
|
|
internal static let title = L10n.tr("Core", "purchase.title")
|
|
|
|
internal enum Cells {
|
|
|
|
internal enum FullVersion {
|
2021-02-11 22:40:16 +00:00
|
|
|
/// All providers (including future ones)\n%@
|
2021-02-04 10:16:33 +00:00
|
|
|
internal static func extraDescription(_ p1: Any) -> String {
|
|
|
|
return L10n.tr("Core", "purchase.cells.full_version.extra_description", String(describing: p1))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Restore {
|
|
|
|
/// If you bought this app or feature in the past, you can restore your purchases and this screen won't show again.
|
|
|
|
internal static let description = L10n.tr("Core", "purchase.cells.restore.description")
|
|
|
|
/// Restore purchases
|
|
|
|
internal static let title = L10n.tr("Core", "purchase.cells.restore.title")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Sections {
|
|
|
|
internal enum Products {
|
|
|
|
/// Every product is a one-time purchase. Provider purchases do not include a VPN subscription.
|
|
|
|
internal static let footer = L10n.tr("Core", "purchase.sections.products.footer")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-06-21 21:15:43 +00:00
|
|
|
internal enum Reddit {
|
|
|
|
/// Did you know that Passepartout has a subreddit? Subscribe for updates or to discuss issues, features, new platforms or whatever you like.\n\nIt's also a great way to show you care about this project.
|
|
|
|
internal static let message = L10n.tr("Core", "reddit.message")
|
|
|
|
/// Reddit
|
|
|
|
internal static let title = L10n.tr("Core", "reddit.title")
|
|
|
|
internal enum Buttons {
|
|
|
|
/// Don't ask again
|
|
|
|
internal static let never = L10n.tr("Core", "reddit.buttons.never")
|
|
|
|
/// Remind me later
|
|
|
|
internal static let remind = L10n.tr("Core", "reddit.buttons.remind")
|
|
|
|
/// Subscribe now!
|
|
|
|
internal static let subscribe = L10n.tr("Core", "reddit.buttons.subscribe")
|
|
|
|
}
|
|
|
|
}
|
2019-10-23 08:52:15 +00:00
|
|
|
internal enum ServerNetwork {
|
|
|
|
internal enum Cells {
|
|
|
|
internal enum Route {
|
|
|
|
/// Route
|
|
|
|
internal static let caption = L10n.tr("Core", "server_network.cells.route.caption")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-06-21 21:15:43 +00:00
|
|
|
internal enum Service {
|
|
|
|
internal enum Alerts {
|
|
|
|
internal enum Buttons {
|
|
|
|
/// Reconnect
|
|
|
|
internal static let reconnect = L10n.tr("Core", "service.alerts.buttons.reconnect")
|
|
|
|
}
|
2019-10-23 08:17:56 +00:00
|
|
|
internal enum Configuration {
|
|
|
|
/// Configuration unavailable, make sure you are connected to the VPN.
|
|
|
|
internal static let disconnected = L10n.tr("Core", "service.alerts.configuration.disconnected")
|
|
|
|
}
|
2019-06-21 21:15:43 +00:00
|
|
|
internal enum CredentialsNeeded {
|
|
|
|
/// You need to enter account credentials first.
|
|
|
|
internal static let message = L10n.tr("Core", "service.alerts.credentials_needed.message")
|
|
|
|
}
|
|
|
|
internal enum Download {
|
|
|
|
/// Failed to download configuration files. %@
|
2020-07-07 21:34:42 +00:00
|
|
|
internal static func failed(_ p1: Any) -> String {
|
|
|
|
return L10n.tr("Core", "service.alerts.download.failed", String(describing: p1))
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
/// %@ requires the download of additional configuration files.\n\nConfirm to start the download.
|
2020-07-07 21:34:42 +00:00
|
|
|
internal static func message(_ p1: Any) -> String {
|
|
|
|
return L10n.tr("Core", "service.alerts.download.message", String(describing: p1))
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
/// Download required
|
|
|
|
internal static let title = L10n.tr("Core", "service.alerts.download.title")
|
|
|
|
internal enum Hud {
|
|
|
|
/// Extracting files, please be patient...
|
|
|
|
internal static let extracting = L10n.tr("Core", "service.alerts.download.hud.extracting")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum MasksPrivateData {
|
|
|
|
internal enum Messages {
|
|
|
|
/// In order to safely reset the current debug log and apply the new masking preference, you must reconnect to the VPN now.
|
|
|
|
internal static let mustReconnect = L10n.tr("Core", "service.alerts.masks_private_data.messages.must_reconnect")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum ReconnectVpn {
|
|
|
|
/// Do you want to reconnect to the VPN?
|
|
|
|
internal static let message = L10n.tr("Core", "service.alerts.reconnect_vpn.message")
|
|
|
|
}
|
|
|
|
internal enum Rename {
|
|
|
|
/// Rename profile
|
|
|
|
internal static let title = L10n.tr("Core", "service.alerts.rename.title")
|
|
|
|
}
|
|
|
|
internal enum TestConnectivity {
|
|
|
|
/// Connectivity
|
|
|
|
internal static let title = L10n.tr("Core", "service.alerts.test_connectivity.title")
|
|
|
|
internal enum Messages {
|
|
|
|
/// Your device has no Internet connectivity, please review your profile parameters.
|
|
|
|
internal static let failure = L10n.tr("Core", "service.alerts.test_connectivity.messages.failure")
|
|
|
|
/// Your device is connected to the Internet!
|
|
|
|
internal static let success = L10n.tr("Core", "service.alerts.test_connectivity.messages.success")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Trusted {
|
|
|
|
internal enum NoNetwork {
|
|
|
|
/// You are not connected to any Wi-Fi network.
|
|
|
|
internal static let message = L10n.tr("Core", "service.alerts.trusted.no_network.message")
|
|
|
|
}
|
|
|
|
internal enum WillDisconnectPolicy {
|
|
|
|
/// By changing the trust policy, the VPN may be disconnected. Continue?
|
|
|
|
internal static let message = L10n.tr("Core", "service.alerts.trusted.will_disconnect_policy.message")
|
|
|
|
}
|
|
|
|
internal enum WillDisconnectTrusted {
|
|
|
|
/// By trusting this network, the VPN may be disconnected. Continue?
|
|
|
|
internal static let message = L10n.tr("Core", "service.alerts.trusted.will_disconnect_trusted.message")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Cells {
|
|
|
|
internal enum ConnectionStatus {
|
|
|
|
/// Status
|
|
|
|
internal static let caption = L10n.tr("Core", "service.cells.connection_status.caption")
|
|
|
|
}
|
|
|
|
internal enum DataCount {
|
|
|
|
/// Exchanged data
|
|
|
|
internal static let caption = L10n.tr("Core", "service.cells.data_count.caption")
|
|
|
|
/// Unavailable
|
|
|
|
internal static let `none` = L10n.tr("Core", "service.cells.data_count.none")
|
|
|
|
}
|
|
|
|
internal enum DebugLog {
|
|
|
|
/// Debug log
|
|
|
|
internal static let caption = L10n.tr("Core", "service.cells.debug_log.caption")
|
|
|
|
}
|
|
|
|
internal enum MasksPrivateData {
|
|
|
|
/// Mask network data
|
|
|
|
internal static let caption = L10n.tr("Core", "service.cells.masks_private_data.caption")
|
|
|
|
}
|
|
|
|
internal enum Provider {
|
|
|
|
internal enum Pool {
|
|
|
|
/// Location
|
|
|
|
internal static let caption = L10n.tr("Core", "service.cells.provider.pool.caption")
|
|
|
|
}
|
|
|
|
internal enum Preset {
|
|
|
|
/// Preset
|
|
|
|
internal static let caption = L10n.tr("Core", "service.cells.provider.preset.caption")
|
|
|
|
}
|
|
|
|
}
|
2019-07-04 08:50:14 +00:00
|
|
|
internal enum Reconnect {
|
|
|
|
/// Reconnect
|
|
|
|
internal static let caption = L10n.tr("Core", "service.cells.reconnect.caption")
|
|
|
|
}
|
2019-06-21 21:15:43 +00:00
|
|
|
internal enum ReportIssue {
|
|
|
|
/// Report connectivity issue
|
|
|
|
internal static let caption = L10n.tr("Core", "service.cells.report_issue.caption")
|
|
|
|
}
|
2019-10-23 08:17:56 +00:00
|
|
|
internal enum ServerConfiguration {
|
|
|
|
/// Server configuration
|
|
|
|
internal static let caption = L10n.tr("Core", "service.cells.server_configuration.caption")
|
|
|
|
}
|
|
|
|
internal enum ServerNetwork {
|
|
|
|
/// Server network
|
|
|
|
internal static let caption = L10n.tr("Core", "service.cells.server_network.caption")
|
|
|
|
}
|
2019-06-21 21:15:43 +00:00
|
|
|
internal enum TestConnectivity {
|
|
|
|
/// Test connectivity
|
|
|
|
internal static let caption = L10n.tr("Core", "service.cells.test_connectivity.caption")
|
|
|
|
}
|
|
|
|
internal enum TrustedMobile {
|
|
|
|
/// Cellular network
|
|
|
|
internal static let caption = L10n.tr("Core", "service.cells.trusted_mobile.caption")
|
|
|
|
}
|
|
|
|
internal enum TrustedPolicy {
|
|
|
|
/// Trust disables VPN
|
|
|
|
internal static let caption = L10n.tr("Core", "service.cells.trusted_policy.caption")
|
|
|
|
}
|
2020-11-18 14:13:06 +00:00
|
|
|
internal enum UseProfile {
|
|
|
|
/// Use this profile
|
|
|
|
internal static let caption = L10n.tr("Core", "service.cells.use_profile.caption")
|
|
|
|
}
|
2019-06-21 21:15:43 +00:00
|
|
|
internal enum VpnResolvesHostname {
|
2019-09-05 10:04:15 +00:00
|
|
|
/// Resolve provider hostname
|
2019-06-21 21:15:43 +00:00
|
|
|
internal static let caption = L10n.tr("Core", "service.cells.vpn_resolves_hostname.caption")
|
|
|
|
}
|
|
|
|
internal enum VpnSurvivesSleep {
|
|
|
|
/// Keep alive on sleep
|
|
|
|
internal static let caption = L10n.tr("Core", "service.cells.vpn_survives_sleep.caption")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Sections {
|
|
|
|
internal enum Diagnostics {
|
|
|
|
/// Masking status will be effective after reconnecting. Network data are hostnames, IP addresses, routing, SSID. Credentials and private keys are not logged regardless.
|
|
|
|
internal static let footer = L10n.tr("Core", "service.sections.diagnostics.footer")
|
|
|
|
/// Diagnostics
|
|
|
|
internal static let header = L10n.tr("Core", "service.sections.diagnostics.header")
|
|
|
|
}
|
|
|
|
internal enum ProviderInfrastructure {
|
|
|
|
/// Last updated on %@.
|
2020-07-07 21:34:42 +00:00
|
|
|
internal static func footer(_ p1: Any) -> String {
|
|
|
|
return L10n.tr("Core", "service.sections.provider_infrastructure.footer", String(describing: p1))
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Trusted {
|
|
|
|
/// When entering a trusted network, the VPN is normally shut down and kept disconnected. Disable this option to not enforce such behavior.
|
|
|
|
internal static let footer = L10n.tr("Core", "service.sections.trusted.footer")
|
|
|
|
/// Trusted networks
|
|
|
|
internal static let header = L10n.tr("Core", "service.sections.trusted.header")
|
|
|
|
}
|
|
|
|
internal enum Vpn {
|
|
|
|
/// The connection will be established whenever necessary.
|
|
|
|
internal static let footer = L10n.tr("Core", "service.sections.vpn.footer")
|
|
|
|
}
|
|
|
|
internal enum VpnResolvesHostname {
|
|
|
|
/// Preferred in most networks and required in some IPv6 networks. Disable where DNS is blocked, or to speed up negotiation when DNS is slow to respond.
|
|
|
|
internal static let footer = L10n.tr("Core", "service.sections.vpn_resolves_hostname.footer")
|
|
|
|
}
|
|
|
|
internal enum VpnSurvivesSleep {
|
|
|
|
/// Disable to improve battery usage, at the expense of occasional slowdowns due to wake-up reconnections.
|
|
|
|
internal static let footer = L10n.tr("Core", "service.sections.vpn_survives_sleep.footer")
|
|
|
|
}
|
|
|
|
}
|
2019-06-23 08:33:43 +00:00
|
|
|
internal enum Welcome {
|
|
|
|
/// Welcome to Passepartout!\n\nUse the organizer to add a new profile.
|
|
|
|
internal static let message = L10n.tr("Core", "service.welcome.message")
|
|
|
|
}
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
internal enum Share {
|
|
|
|
/// Passepartout is an user-friendly, open source OpenVPN client for iOS and macOS
|
|
|
|
internal static let message = L10n.tr("Core", "share.message")
|
|
|
|
}
|
|
|
|
internal enum Shortcuts {
|
|
|
|
internal enum Add {
|
|
|
|
internal enum Alerts {
|
|
|
|
internal enum NoProfiles {
|
|
|
|
/// There is no profile to connect to.
|
|
|
|
internal static let message = L10n.tr("Core", "shortcuts.add.alerts.no_profiles.message")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Cells {
|
|
|
|
internal enum Connect {
|
|
|
|
/// Connect to
|
|
|
|
internal static let caption = L10n.tr("Core", "shortcuts.add.cells.connect.caption")
|
|
|
|
}
|
|
|
|
internal enum DisableVpn {
|
|
|
|
/// Disable VPN
|
|
|
|
internal static let caption = L10n.tr("Core", "shortcuts.add.cells.disable_vpn.caption")
|
|
|
|
}
|
|
|
|
internal enum EnableVpn {
|
|
|
|
/// Enable VPN
|
|
|
|
internal static let caption = L10n.tr("Core", "shortcuts.add.cells.enable_vpn.caption")
|
|
|
|
}
|
|
|
|
internal enum TrustCellular {
|
|
|
|
/// Trust cellular network
|
|
|
|
internal static let caption = L10n.tr("Core", "shortcuts.add.cells.trust_cellular.caption")
|
|
|
|
}
|
|
|
|
internal enum TrustCurrentWifi {
|
|
|
|
/// Trust current Wi-Fi
|
|
|
|
internal static let caption = L10n.tr("Core", "shortcuts.add.cells.trust_current_wifi.caption")
|
|
|
|
}
|
|
|
|
internal enum UntrustCellular {
|
|
|
|
/// Untrust cellular network
|
|
|
|
internal static let caption = L10n.tr("Core", "shortcuts.add.cells.untrust_cellular.caption")
|
|
|
|
}
|
|
|
|
internal enum UntrustCurrentWifi {
|
|
|
|
/// Untrust current Wi-Fi
|
|
|
|
internal static let caption = L10n.tr("Core", "shortcuts.add.cells.untrust_current_wifi.caption")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Sections {
|
|
|
|
internal enum Cellular {
|
|
|
|
/// Cellular
|
|
|
|
internal static let header = L10n.tr("Core", "shortcuts.add.sections.cellular.header")
|
|
|
|
}
|
|
|
|
internal enum Vpn {
|
|
|
|
/// VPN
|
|
|
|
internal static let header = L10n.tr("Core", "shortcuts.add.sections.vpn.header")
|
|
|
|
}
|
|
|
|
internal enum Wifi {
|
|
|
|
/// Wi-Fi
|
|
|
|
internal static let header = L10n.tr("Core", "shortcuts.add.sections.wifi.header")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Edit {
|
|
|
|
internal enum Sections {
|
|
|
|
internal enum All {
|
|
|
|
/// Existing shortcuts
|
|
|
|
internal static let header = L10n.tr("Core", "shortcuts.edit.sections.all.header")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Translations {
|
|
|
|
/// Translations
|
|
|
|
internal static let title = L10n.tr("Core", "translations.title")
|
|
|
|
}
|
|
|
|
internal enum Version {
|
|
|
|
/// Version
|
|
|
|
internal static let title = L10n.tr("Core", "version.title")
|
|
|
|
internal enum Labels {
|
|
|
|
/// Passepartout and TunnelKit are written and maintained by Davide De Rosa (keeshux).\n\nSource code for Passepartout and TunnelKit is publicly available on GitHub under the GPLv3, you can find links in the home page.\n\nPassepartout is a non-official client and is in no way affiliated with OpenVPN Inc.
|
|
|
|
internal static let intro = L10n.tr("Core", "version.labels.intro")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Vpn {
|
|
|
|
/// Active
|
|
|
|
internal static let active = L10n.tr("Core", "vpn.active")
|
|
|
|
/// Connecting
|
|
|
|
internal static let connecting = L10n.tr("Core", "vpn.connecting")
|
|
|
|
/// Disabled
|
|
|
|
internal static let disabled = L10n.tr("Core", "vpn.disabled")
|
|
|
|
/// Disconnecting
|
|
|
|
internal static let disconnecting = L10n.tr("Core", "vpn.disconnecting")
|
|
|
|
/// Inactive
|
|
|
|
internal static let inactive = L10n.tr("Core", "vpn.inactive")
|
|
|
|
internal enum Errors {
|
|
|
|
/// Auth failed
|
|
|
|
internal static let auth = L10n.tr("Core", "vpn.errors.auth")
|
|
|
|
/// Compression unsupported
|
|
|
|
internal static let compression = L10n.tr("Core", "vpn.errors.compression")
|
|
|
|
/// DNS failed
|
|
|
|
internal static let dns = L10n.tr("Core", "vpn.errors.dns")
|
|
|
|
/// Encryption failed
|
|
|
|
internal static let encryption = L10n.tr("Core", "vpn.errors.encryption")
|
|
|
|
/// No gateway
|
|
|
|
internal static let gateway = L10n.tr("Core", "vpn.errors.gateway")
|
|
|
|
/// Network changed
|
|
|
|
internal static let network = L10n.tr("Core", "vpn.errors.network")
|
|
|
|
/// Missing routing
|
|
|
|
internal static let routing = L10n.tr("Core", "vpn.errors.routing")
|
2020-02-29 21:36:00 +00:00
|
|
|
/// Server shutdown
|
|
|
|
internal static let shutdown = L10n.tr("Core", "vpn.errors.shutdown")
|
2019-06-21 21:15:43 +00:00
|
|
|
/// Timeout
|
|
|
|
internal static let timeout = L10n.tr("Core", "vpn.errors.timeout")
|
|
|
|
/// TLS failed
|
|
|
|
internal static let tls = L10n.tr("Core", "vpn.errors.tls")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
internal enum Wizards {
|
|
|
|
internal enum Host {
|
|
|
|
internal enum Alerts {
|
|
|
|
internal enum Existing {
|
|
|
|
/// A host profile with the same title already exists. Replace it?
|
|
|
|
internal static let message = L10n.tr("Core", "wizards.host.alerts.existing.message")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-11-28 09:09:28 +00:00
|
|
|
internal enum Provider {
|
2019-11-30 11:27:30 +00:00
|
|
|
internal enum Alerts {
|
|
|
|
internal enum Unavailable {
|
|
|
|
/// Could not download provider infrastructure, please retry later.
|
|
|
|
internal static let message = L10n.tr("Core", "wizards.provider.alerts.unavailable.message")
|
|
|
|
}
|
|
|
|
}
|
2019-11-28 09:09:28 +00:00
|
|
|
internal enum Cells {
|
|
|
|
internal enum UpdateList {
|
|
|
|
/// Update list
|
|
|
|
internal static let caption = L10n.tr("Core", "wizards.provider.cells.update_list.caption")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-06-21 21:15:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// swiftlint:enable explicit_type_interface function_parameter_count identifier_name line_length
|
|
|
|
// swiftlint:enable nesting type_body_length type_name
|
|
|
|
|
|
|
|
// MARK: - Implementation Details
|
|
|
|
|
|
|
|
extension L10n {
|
|
|
|
private static func tr(_ table: String, _ key: String, _ args: CVarArg...) -> String {
|
2020-07-07 21:34:42 +00:00
|
|
|
let format = BundleToken.bundle.localizedString(forKey: key, value: nil, table: table)
|
2019-06-21 21:15:43 +00:00
|
|
|
return String(format: format, locale: Locale.current, arguments: args)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-07 21:34:42 +00:00
|
|
|
// swiftlint:disable convenience_type
|
|
|
|
private final class BundleToken {
|
|
|
|
static let bundle: Bundle = {
|
|
|
|
Bundle(for: BundleToken.self)
|
|
|
|
}()
|
|
|
|
}
|
|
|
|
// swiftlint:enable convenience_type
|