2024-09-23 13:02:26 +00:00
// s w i f t l i n t : d i s a b l e a l l
// G e n e r a t e d u s i n g S w i f t G e n — h t t p s : / / g i t h u b . c o m / S w i f t G e n / S w i f t G e n
import Foundation
// s w i f t l i n t : d i s a b l e s u p e r f l u o u s _ d i s a b l e _ c o m m a n d f i l e _ l e n g t h i m p l i c i t _ r e t u r n p r e f e r _ s e l f _ i n _ s t a t i c _ r e f e r e n c e s
// MARK: - S t r i n g s
// s w i f t l i n t : d i s a b l e e x p l i c i t _ t y p e _ i n t e r f a c e f u n c t i o n _ p a r a m e t e r _ c o u n t i d e n t i f i e r _ n a m e l i n e _ l e n g t h
// s w i f t l i n t : d i s a b l e n e s t i n g t y p e _ b o d y _ l e n g t h t y p e _ n a m e v e r t i c a l _ w h i t e s p a c e _ o p e n i n g _ b r a c e s
2024-09-28 15:58:48 +00:00
public enum Strings {
public enum Alerts {
public enum ConfirmQuit {
// / T h e V P N , i f e n a b l e d , w i l l s t i l l r u n i n t h e b a c k g r o u n d . D o y o u w a n t t o q u i t ?
public static let message = Strings . tr ( " Localizable " , " alerts.confirm_quit.message " , fallback : " The VPN, if enabled, will still run in the background. Do you want to quit? " )
// / Q u i t % @
public static func title ( _ p1 : Any ) -> String {
return Strings . tr ( " Localizable " , " alerts.confirm_quit.title " , String ( describing : p1 ) , fallback : " Quit %@ " )
}
}
public enum Iap {
public enum Restricted {
2024-09-23 13:02:26 +00:00
// / T h e r e q u e s t e d f e a t u r e i s u n a v a i l a b l e i n t h i s b u i l d .
2024-09-28 15:58:48 +00:00
public static let message = Strings . tr ( " Localizable " , " alerts.iap.restricted.message " , fallback : " The requested feature is unavailable in this build. " )
2024-09-23 13:02:26 +00:00
// / R e s t r i c t e d
2024-09-28 15:58:48 +00:00
public static let title = Strings . tr ( " Localizable " , " alerts.iap.restricted.title " , fallback : " Restricted " )
2024-09-23 13:02:26 +00:00
}
}
}
2024-09-28 15:58:48 +00:00
public enum Entities {
public enum ConnectionStatus {
2024-09-23 13:02:26 +00:00
// / C o n n e c t e d
2024-09-28 15:58:48 +00:00
public static let connected = Strings . tr ( " Localizable " , " entities.connection_status.connected " , fallback : " Connected " )
2024-09-23 13:02:26 +00:00
// / C o n n e c t i n g
2024-09-28 15:58:48 +00:00
public static let connecting = Strings . tr ( " Localizable " , " entities.connection_status.connecting " , fallback : " Connecting " )
2024-09-23 13:02:26 +00:00
// / D i s c o n n e c t e d
2024-09-28 15:58:48 +00:00
public static let disconnected = Strings . tr ( " Localizable " , " entities.connection_status.disconnected " , fallback : " Disconnected " )
2024-09-23 13:02:26 +00:00
// / D i s c o n n e c t i n g
2024-09-28 15:58:48 +00:00
public static let disconnecting = Strings . tr ( " Localizable " , " entities.connection_status.disconnecting " , fallback : " Disconnecting " )
2024-09-23 13:02:26 +00:00
}
2024-09-28 15:58:48 +00:00
public enum Dns {
2024-09-23 13:02:26 +00:00
// / S e a r c h d o m a i n s
2024-09-28 15:58:48 +00:00
public static let searchDomains = Strings . tr ( " Localizable " , " entities.dns.search_domains " , fallback : " Search domains " )
2024-09-23 13:02:26 +00:00
// / S e r v e r s
2024-09-28 15:58:48 +00:00
public static let servers = Strings . tr ( " Localizable " , " entities.dns.servers " , fallback : " Servers " )
2024-09-23 13:02:26 +00:00
}
2024-09-28 15:58:48 +00:00
public enum DnsProtocol {
2024-09-23 13:02:26 +00:00
// / C l e a r t e x t
2024-09-28 15:58:48 +00:00
public static let cleartext = Strings . tr ( " Localizable " , " entities.dns_protocol.cleartext " , fallback : " Cleartext " )
2024-09-23 13:02:26 +00:00
// / O v e r H T T P S
2024-09-28 15:58:48 +00:00
public static let https = Strings . tr ( " Localizable " , " entities.dns_protocol.https " , fallback : " Over HTTPS " )
2024-09-23 13:02:26 +00:00
// / O v e r T L S
2024-09-28 15:58:48 +00:00
public static let tls = Strings . tr ( " Localizable " , " entities.dns_protocol.tls " , fallback : " Over TLS " )
2024-09-23 13:02:26 +00:00
}
2024-09-28 15:58:48 +00:00
public enum HttpProxy {
2024-09-23 13:02:26 +00:00
// / B y p a s s d o m a i n s
2024-09-28 15:58:48 +00:00
public static let bypassDomains = Strings . tr ( " Localizable " , " entities.http_proxy.bypass_domains " , fallback : " Bypass domains " )
2024-09-23 13:02:26 +00:00
}
2024-09-28 15:58:48 +00:00
public enum OnDemand {
public enum Policy {
2024-09-23 13:02:26 +00:00
// / A l l n e t w o r k s
2024-09-28 15:58:48 +00:00
public static let any = Strings . tr ( " Localizable " , " entities.on_demand.policy.any " , fallback : " All networks " )
2024-09-23 13:02:26 +00:00
// / E x c l u d i n g
2024-09-28 15:58:48 +00:00
public static let excluding = Strings . tr ( " Localizable " , " entities.on_demand.policy.excluding " , fallback : " Excluding " )
2024-09-23 13:02:26 +00:00
// / I n c l u d i n g
2024-09-28 15:58:48 +00:00
public static let including = Strings . tr ( " Localizable " , " entities.on_demand.policy.including " , fallback : " Including " )
2024-09-23 13:02:26 +00:00
}
}
2024-09-28 15:58:48 +00:00
public enum Openvpn {
public enum CompressionAlgorithm {
2024-09-23 13:02:26 +00:00
// / U n s u p p o r t e d
2024-09-28 15:58:48 +00:00
public static let other = Strings . tr ( " Localizable " , " entities.openvpn.compression_algorithm.other " , fallback : " Unsupported " )
2024-09-23 13:02:26 +00:00
}
2024-09-28 15:58:48 +00:00
public enum OtpMethod {
2024-09-23 13:02:26 +00:00
// / A p p e n d
2024-09-28 15:58:48 +00:00
public static let append = Strings . tr ( " Localizable " , " entities.openvpn.otp_method.append " , fallback : " Append " )
2024-09-23 13:02:26 +00:00
// / E n c o d e
2024-09-28 15:58:48 +00:00
public static let encode = Strings . tr ( " Localizable " , " entities.openvpn.otp_method.encode " , fallback : " Encode " )
2024-09-23 13:02:26 +00:00
// / N o n e
2024-09-28 15:58:48 +00:00
public static let ` none ` = Strings . tr ( " Localizable " , " entities.openvpn.otp_method.none " , fallback : " None " )
2024-09-23 13:02:26 +00:00
}
}
2024-09-28 15:58:48 +00:00
public enum Profile {
public enum Name {
2024-09-23 13:02:26 +00:00
// / N e w p r o f i l e
2024-09-28 15:58:48 +00:00
public static let new = Strings . tr ( " Localizable " , " entities.profile.name.new " , fallback : " New profile " )
2024-09-23 13:02:26 +00:00
}
}
2024-09-28 15:58:48 +00:00
public enum TunnelStatus {
2024-09-23 13:02:26 +00:00
// / A c t i v a t i n g
2024-09-28 15:58:48 +00:00
public static let activating = Strings . tr ( " Localizable " , " entities.tunnel_status.activating " , fallback : " Activating " )
2024-09-23 13:02:26 +00:00
// / A c t i v e
2024-09-28 15:58:48 +00:00
public static let active = Strings . tr ( " Localizable " , " entities.tunnel_status.active " , fallback : " Active " )
2024-09-23 13:02:26 +00:00
// / D e a c t i v a t i n g
2024-09-28 15:58:48 +00:00
public static let deactivating = Strings . tr ( " Localizable " , " entities.tunnel_status.deactivating " , fallback : " Deactivating " )
2024-09-23 13:02:26 +00:00
// / I n a c t i v e
2024-09-28 15:58:48 +00:00
public static let inactive = Strings . tr ( " Localizable " , " entities.tunnel_status.inactive " , fallback : " Inactive " )
2024-09-23 13:02:26 +00:00
}
}
2024-09-28 15:58:48 +00:00
public enum Errors {
public enum App {
2024-09-23 13:02:26 +00:00
// / U n a b l e t o c o m p l e t e o p e r a t i o n .
2024-09-28 15:58:48 +00:00
public static let ` default ` = Strings . tr ( " Localizable " , " errors.app.default " , fallback : " Unable to complete operation. " )
2024-09-23 13:02:26 +00:00
// / P r o f i l e n a m e i s e m p t y .
2024-09-28 15:58:48 +00:00
public static let emptyProfileName = Strings . tr ( " Localizable " , " errors.app.empty_profile_name " , fallback : " Profile name is empty. " )
2024-09-23 13:02:26 +00:00
// / M o d u l e % @ i s m a l f o r m e d . % @
2024-09-28 15:58:48 +00:00
public static func malformedModule ( _ p1 : Any , _ p2 : Any ) -> String {
2024-09-23 13:02:26 +00:00
return Strings . tr ( " Localizable " , " errors.app.malformed_module " , String ( describing : p1 ) , String ( describing : p2 ) , fallback : " Module %@ is malformed. %@ " )
}
2024-09-28 15:58:48 +00:00
public enum Passepartout {
2024-10-16 07:50:26 +00:00
// / R o u t i n g m o d u l e c a n o n l y b e e n a b l e d t o g e t h e r w i t h a c o n n e c t i o n .
public static let connectionModuleRequired = Strings . tr ( " Localizable " , " errors.app.passepartout.connection_module_required " , fallback : " Routing module can only be enabled together with a connection. " )
2024-10-16 06:53:16 +00:00
// / U n a b l e t o c o n n e c t t o p r o v i d e r s e r v e r ( r e a s o n = % @ ) .
public static func corruptProviderModule ( _ p1 : Any ) -> String {
return Strings . tr ( " Localizable " , " errors.app.passepartout.corrupt_provider_module " , String ( describing : p1 ) , fallback : " Unable to connect to provider server (reason=%@). " )
}
2024-09-23 13:02:26 +00:00
// / U n a b l e t o c o m p l e t e o p e r a t i o n ( c o d e = % @ ) .
2024-09-28 15:58:48 +00:00
public static func ` default ` ( _ p1 : Any ) -> String {
2024-09-23 13:02:26 +00:00
return Strings . tr ( " Localizable " , " errors.app.passepartout.default " , String ( describing : p1 ) , fallback : " Unable to complete operation (code=%@). " )
}
2024-10-16 07:50:26 +00:00
// / S o m e a c t i v e m o d u l e s a r e i n c o m p a t i b l e , t r y t o o n l y a c t i v a t e o n e o f t h e m .
public static let incompatibleModules = Strings . tr ( " Localizable " , " errors.app.passepartout.incompatible_modules " , fallback : " Some active modules are incompatible, try to only activate one of them. " )
2024-09-23 13:02:26 +00:00
// / I n v a l i d f i e l d s ( % @ ) .
2024-09-28 15:58:48 +00:00
public static func invalidFields ( _ p1 : Any ) -> String {
2024-09-23 13:02:26 +00:00
return Strings . tr ( " Localizable " , " errors.app.passepartout.invalid_fields " , String ( describing : p1 ) , fallback : " Invalid fields (%@). " )
}
// / U n a b l e t o p a r s e f i l e .
2024-09-28 15:58:48 +00:00
public static let parsing = Strings . tr ( " Localizable " , " errors.app.passepartout.parsing " , fallback : " Unable to parse file. " )
2024-09-23 13:02:26 +00:00
}
2024-10-23 15:17:20 +00:00
public enum Provider {
// / N o p r o v i d e r s e r v e r s e l e c t e d .
public static let missingEntity = Strings . tr ( " Localizable " , " errors.app.provider.missing_entity " , fallback : " No provider server selected. " )
}
2024-09-23 13:02:26 +00:00
}
2024-09-28 15:58:48 +00:00
public enum Tunnel {
2024-09-23 13:02:26 +00:00
// / A u t h f a i l e d
2024-09-28 15:58:48 +00:00
public static let auth = Strings . tr ( " Localizable " , " errors.tunnel.auth " , fallback : " Auth failed " )
2024-09-23 13:02:26 +00:00
// / C o m p r e s s i o n u n s u p p o r t e d
2024-09-28 15:58:48 +00:00
public static let compression = Strings . tr ( " Localizable " , " errors.tunnel.compression " , fallback : " Compression unsupported " )
2024-09-23 13:02:26 +00:00
// / D N S f a i l e d
2024-09-28 15:58:48 +00:00
public static let dns = Strings . tr ( " Localizable " , " errors.tunnel.dns " , fallback : " DNS failed " )
2024-09-23 13:02:26 +00:00
// / E n c r y p t i o n f a i l e d
2024-09-28 15:58:48 +00:00
public static let encryption = Strings . tr ( " Localizable " , " errors.tunnel.encryption " , fallback : " Encryption failed " )
2024-09-23 13:02:26 +00:00
// / F a i l e d
2024-09-28 15:58:48 +00:00
public static let generic = Strings . tr ( " Localizable " , " errors.tunnel.generic " , fallback : " Failed " )
2024-09-23 13:02:26 +00:00
// / M i s s i n g r o u t i n g
2024-09-28 15:58:48 +00:00
public static let routing = Strings . tr ( " Localizable " , " errors.tunnel.routing " , fallback : " Missing routing " )
2024-09-23 13:02:26 +00:00
// / S e r v e r s h u t d o w n
2024-09-28 15:58:48 +00:00
public static let shutdown = Strings . tr ( " Localizable " , " errors.tunnel.shutdown " , fallback : " Server shutdown " )
2024-09-23 13:02:26 +00:00
// / T i m e o u t
2024-09-28 15:58:48 +00:00
public static let timeout = Strings . tr ( " Localizable " , " errors.tunnel.timeout " , fallback : " Timeout " )
2024-09-23 13:02:26 +00:00
// / T L S f a i l e d
2024-09-28 15:58:48 +00:00
public static let tls = Strings . tr ( " Localizable " , " errors.tunnel.tls " , fallback : " TLS failed " )
2024-09-23 13:02:26 +00:00
}
}
2024-09-28 15:58:48 +00:00
public enum Global {
2024-09-28 10:47:33 +00:00
// / A b o u t
2024-09-28 15:58:48 +00:00
public static let about = Strings . tr ( " Localizable " , " global.about " , fallback : " About " )
2024-09-23 13:02:26 +00:00
// / A c c o u n t
2024-09-28 15:58:48 +00:00
public static let account = Strings . tr ( " Localizable " , " global.account " , fallback : " Account " )
2024-09-23 13:02:26 +00:00
// / A d d r e s s
2024-09-28 15:58:48 +00:00
public static let address = Strings . tr ( " Localizable " , " global.address " , fallback : " Address " )
2024-09-23 13:02:26 +00:00
// / A d d r e s s e s
2024-09-28 15:58:48 +00:00
public static let addresses = Strings . tr ( " Localizable " , " global.addresses " , fallback : " Addresses " )
2024-09-23 13:02:26 +00:00
// / A n y
2024-09-28 15:58:48 +00:00
public static let any = Strings . tr ( " Localizable " , " global.any " , fallback : " Any " )
2024-09-23 13:02:26 +00:00
// / C a n c e l
2024-09-28 15:58:48 +00:00
public static let cancel = Strings . tr ( " Localizable " , " global.cancel " , fallback : " Cancel " )
2024-10-16 06:53:16 +00:00
// / C a t e g o r y
public static let category = Strings . tr ( " Localizable " , " global.category " , fallback : " Category " )
2024-09-23 13:02:26 +00:00
// / C e r t i f i c a t e
2024-09-28 15:58:48 +00:00
public static let certificate = Strings . tr ( " Localizable " , " global.certificate " , fallback : " Certificate " )
2024-09-23 13:02:26 +00:00
// / C o m p r e s s i o n
2024-09-28 15:58:48 +00:00
public static let compression = Strings . tr ( " Localizable " , " global.compression " , fallback : " Compression " )
2024-09-23 13:02:26 +00:00
// / C o n n e c t
2024-09-28 15:58:48 +00:00
public static let connect = Strings . tr ( " Localizable " , " global.connect " , fallback : " Connect " )
2024-09-23 13:02:26 +00:00
// / C o n n e c t i o n
2024-09-28 15:58:48 +00:00
public static let connection = Strings . tr ( " Localizable " , " global.connection " , fallback : " Connection " )
2024-10-16 06:53:16 +00:00
// / C o u n t r y
public static let country = Strings . tr ( " Localizable " , " global.country " , fallback : " Country " )
2024-09-23 13:02:26 +00:00
// / D e f a u l t
2024-09-28 15:58:48 +00:00
public static let ` default ` = Strings . tr ( " Localizable " , " global.default " , fallback : " Default " )
2024-09-23 13:02:26 +00:00
// / D e s t i n a t i o n
2024-09-28 15:58:48 +00:00
public static let destination = Strings . tr ( " Localizable " , " global.destination " , fallback : " Destination " )
2024-09-23 13:02:26 +00:00
// / D i s a b l e
2024-09-28 15:58:48 +00:00
public static let disable = Strings . tr ( " Localizable " , " global.disable " , fallback : " Disable " )
2024-09-23 13:02:26 +00:00
// / D i s a b l e d
2024-09-28 15:58:48 +00:00
public static let disabled = Strings . tr ( " Localizable " , " global.disabled " , fallback : " Disabled " )
2024-09-23 13:02:26 +00:00
// / D i s c o n n e c t
2024-09-28 15:58:48 +00:00
public static let disconnect = Strings . tr ( " Localizable " , " global.disconnect " , fallback : " Disconnect " )
// / D o n ' t a s k a g a i n
public static let doNotAskAgain = Strings . tr ( " Localizable " , " global.do_not_ask_again " , fallback : " Don't ask again " )
2024-09-23 13:02:26 +00:00
// / D o m a i n
2024-09-28 15:58:48 +00:00
public static let domain = Strings . tr ( " Localizable " , " global.domain " , fallback : " Domain " )
2024-09-23 13:02:26 +00:00
// / D o n e
2024-09-28 15:58:48 +00:00
public static let done = Strings . tr ( " Localizable " , " global.done " , fallback : " Done " )
2024-09-23 13:02:26 +00:00
// / D u p l i c a t e
2024-09-28 15:58:48 +00:00
public static let duplicate = Strings . tr ( " Localizable " , " global.duplicate " , fallback : " Duplicate " )
2024-09-23 13:02:26 +00:00
// / E d i t
2024-09-28 15:58:48 +00:00
public static let edit = Strings . tr ( " Localizable " , " global.edit " , fallback : " Edit " )
2024-09-23 13:02:26 +00:00
// / E m p t y
2024-09-28 15:58:48 +00:00
public static let empty = Strings . tr ( " Localizable " , " global.empty " , fallback : " Empty " )
2024-09-23 13:02:26 +00:00
// / E n a b l e
2024-09-28 15:58:48 +00:00
public static let enable = Strings . tr ( " Localizable " , " global.enable " , fallback : " Enable " )
2024-09-23 13:02:26 +00:00
// / E n a b l e d
2024-09-28 15:58:48 +00:00
public static let enabled = Strings . tr ( " Localizable " , " global.enabled " , fallback : " Enabled " )
2024-09-23 13:02:26 +00:00
// / E n d p o i n t
2024-09-28 15:58:48 +00:00
public static let endpoint = Strings . tr ( " Localizable " , " global.endpoint " , fallback : " Endpoint " )
2024-10-16 06:53:16 +00:00
// / F i l t e r s
public static let filters = Strings . tr ( " Localizable " , " global.filters " , fallback : " Filters " )
2024-09-23 13:02:26 +00:00
// / F o l d e r
2024-09-28 15:58:48 +00:00
public static let folder = Strings . tr ( " Localizable " , " global.folder " , fallback : " Folder " )
2024-09-23 13:02:26 +00:00
// / G a t e w a y
2024-09-28 15:58:48 +00:00
public static let gateway = Strings . tr ( " Localizable " , " global.gateway " , fallback : " Gateway " )
2024-09-23 13:02:26 +00:00
// / G e n e r a l
2024-09-28 15:58:48 +00:00
public static let general = Strings . tr ( " Localizable " , " global.general " , fallback : " General " )
2024-09-23 13:02:26 +00:00
// / H o s t n a m e
2024-09-28 15:58:48 +00:00
public static let hostname = Strings . tr ( " Localizable " , " global.hostname " , fallback : " Hostname " )
2024-09-23 13:02:26 +00:00
// / I n t e r f a c e
2024-09-28 15:58:48 +00:00
public static let interface = Strings . tr ( " Localizable " , " global.interface " , fallback : " Interface " )
2024-09-23 13:02:26 +00:00
// / K e e p - a l i v e
2024-09-28 15:58:48 +00:00
public static let keepAlive = Strings . tr ( " Localizable " , " global.keep_alive " , fallback : " Keep-alive " )
2024-09-23 13:02:26 +00:00
// / K e y
2024-09-28 15:58:48 +00:00
public static let key = Strings . tr ( " Localizable " , " global.key " , fallback : " Key " )
2024-10-15 19:34:02 +00:00
// / L o a d i n g
public static let loading = Strings . tr ( " Localizable " , " global.loading " , fallback : " Loading " )
2024-09-23 13:02:26 +00:00
// / M e t h o d
2024-09-28 15:58:48 +00:00
public static let method = Strings . tr ( " Localizable " , " global.method " , fallback : " Method " )
2024-09-23 13:02:26 +00:00
// / M o d u l e s
2024-09-28 15:58:48 +00:00
public static let modules = Strings . tr ( " Localizable " , " global.modules " , fallback : " Modules " )
2024-09-23 13:02:26 +00:00
// / % d s e c o n d s
2024-09-28 15:58:48 +00:00
public static func nSeconds ( _ p1 : Int ) -> String {
2024-09-23 13:02:26 +00:00
return Strings . tr ( " Localizable " , " global.n_seconds " , p1 , fallback : " %d seconds " )
}
// / N a m e
2024-09-28 15:58:48 +00:00
public static let name = Strings . tr ( " Localizable " , " global.name " , fallback : " Name " )
2024-09-23 13:02:26 +00:00
// / N e t w o r k s
2024-09-28 15:58:48 +00:00
public static let networks = Strings . tr ( " Localizable " , " global.networks " , fallback : " Networks " )
2024-09-23 13:02:26 +00:00
// / N o c o n t e n t
2024-09-28 15:58:48 +00:00
public static let noContent = Strings . tr ( " Localizable " , " global.no_content " , fallback : " No content " )
2024-09-23 13:02:26 +00:00
// / N o s e l e c t i o n
2024-09-28 15:58:48 +00:00
public static let noSelection = Strings . tr ( " Localizable " , " global.no_selection " , fallback : " No selection " )
2024-09-23 13:02:26 +00:00
// / N o n e
2024-09-28 15:58:48 +00:00
public static let ` none ` = Strings . tr ( " Localizable " , " global.none " , fallback : " None " )
2024-09-23 13:02:26 +00:00
// / O K
2024-09-28 15:58:48 +00:00
public static let ok = Strings . tr ( " Localizable " , " global.ok " , fallback : " OK " )
2024-10-04 19:06:03 +00:00
// / O n - d e m a n d
public static let onDemand = Strings . tr ( " Localizable " , " global.on_demand " , fallback : " On-demand " )
2024-09-23 13:02:26 +00:00
// / O t h e r
2024-09-28 15:58:48 +00:00
public static let other = Strings . tr ( " Localizable " , " global.other " , fallback : " Other " )
2024-09-23 13:02:26 +00:00
// / P a s s w o r d
2024-09-28 15:58:48 +00:00
public static let password = Strings . tr ( " Localizable " , " global.password " , fallback : " Password " )
2024-09-23 13:02:26 +00:00
// / P o r t
2024-09-28 15:58:48 +00:00
public static let port = Strings . tr ( " Localizable " , " global.port " , fallback : " Port " )
2024-09-23 13:02:26 +00:00
// / P r i v a t e k e y
2024-09-28 15:58:48 +00:00
public static let privateKey = Strings . tr ( " Localizable " , " global.private_key " , fallback : " Private key " )
2024-10-03 22:47:28 +00:00
// / P r o f i l e
public static let profile = Strings . tr ( " Localizable " , " global.profile " , fallback : " Profile " )
2024-09-23 13:02:26 +00:00
// / P r o t o c o l
2024-09-28 15:58:48 +00:00
public static let ` protocol ` = Strings . tr ( " Localizable " , " global.protocol " , fallback : " Protocol " )
2024-10-10 22:24:06 +00:00
// / P r o v i d e r
public static let provider = Strings . tr ( " Localizable " , " global.provider " , fallback : " Provider " )
2024-09-23 13:02:26 +00:00
// / P u b l i c k e y
2024-09-28 15:58:48 +00:00
public static let publicKey = Strings . tr ( " Localizable " , " global.public_key " , fallback : " Public key " )
2024-09-30 13:56:32 +00:00
// / P u r c h a s e
public static let purchase = Strings . tr ( " Localizable " , " global.purchase " , fallback : " Purchase " )
2024-10-16 06:53:16 +00:00
// / R e g i o n
public static let region = Strings . tr ( " Localizable " , " global.region " , fallback : " Region " )
2024-09-23 13:02:26 +00:00
// / D e l e t e
2024-09-28 15:58:48 +00:00
public static let remove = Strings . tr ( " Localizable " , " global.remove " , fallback : " Delete " )
2024-09-23 13:02:26 +00:00
// / R e s t a r t
2024-09-28 15:58:48 +00:00
public static let restart = Strings . tr ( " Localizable " , " global.restart " , fallback : " Restart " )
2024-09-23 13:02:26 +00:00
// / R o u t e
2024-09-28 15:58:48 +00:00
public static let route = Strings . tr ( " Localizable " , " global.route " , fallback : " Route " )
2024-09-23 13:02:26 +00:00
// / R o u t e s
2024-09-28 15:58:48 +00:00
public static let routes = Strings . tr ( " Localizable " , " global.routes " , fallback : " Routes " )
2024-10-03 22:42:09 +00:00
// / R o u t i n g
public static let routing = Strings . tr ( " Localizable " , " global.routing " , fallback : " Routing " )
2024-09-23 13:02:26 +00:00
// / S a v e
2024-09-28 15:58:48 +00:00
public static let save = Strings . tr ( " Localizable " , " global.save " , fallback : " Save " )
2024-09-23 13:02:26 +00:00
// / S e r v e r
2024-09-28 15:58:48 +00:00
public static let server = Strings . tr ( " Localizable " , " global.server " , fallback : " Server " )
2024-09-23 13:02:26 +00:00
// / S e r v e r s
2024-09-28 15:58:48 +00:00
public static let servers = Strings . tr ( " Localizable " , " global.servers " , fallback : " Servers " )
2024-09-25 17:32:07 +00:00
// / S e t t i n g s
2024-09-28 15:58:48 +00:00
public static let settings = Strings . tr ( " Localizable " , " global.settings " , fallback : " Settings " )
2024-09-23 13:02:26 +00:00
// / S t a t u s
2024-09-28 15:58:48 +00:00
public static let status = Strings . tr ( " Localizable " , " global.status " , fallback : " Status " )
2024-09-23 13:02:26 +00:00
// / S t o r a g e
2024-09-28 15:58:48 +00:00
public static let storage = Strings . tr ( " Localizable " , " global.storage " , fallback : " Storage " )
2024-09-23 13:02:26 +00:00
// / S u b n e t
2024-09-28 15:58:48 +00:00
public static let subnet = Strings . tr ( " Localizable " , " global.subnet " , fallback : " Subnet " )
2024-09-23 13:02:26 +00:00
// / U n k n o w n
2024-09-28 15:58:48 +00:00
public static let unknown = Strings . tr ( " Localizable " , " global.unknown " , fallback : " Unknown " )
2024-09-23 13:02:26 +00:00
// / U s e r n a m e
2024-09-28 15:58:48 +00:00
public static let username = Strings . tr ( " Localizable " , " global.username " , fallback : " Username " )
2024-09-23 13:02:26 +00:00
// / V e r s i o n
2024-09-28 15:58:48 +00:00
public static let version = Strings . tr ( " Localizable " , " global.version " , fallback : " Version " )
2024-09-23 13:02:26 +00:00
}
2024-09-28 15:58:48 +00:00
public enum Modules {
public enum Dns {
public enum SearchDomains {
2024-09-23 13:02:26 +00:00
// / A d d d o m a i n
2024-09-28 15:58:48 +00:00
public static let add = Strings . tr ( " Localizable " , " modules.dns.search_domains.add " , fallback : " Add domain " )
2024-09-23 13:02:26 +00:00
}
2024-09-28 15:58:48 +00:00
public enum Servers {
2024-09-23 13:02:26 +00:00
// / A d d a d d r e s s
2024-09-28 15:58:48 +00:00
public static let add = Strings . tr ( " Localizable " , " modules.dns.servers.add " , fallback : " Add address " )
2024-09-23 13:02:26 +00:00
}
}
2024-10-03 16:41:27 +00:00
public enum General {
2024-10-03 16:46:54 +00:00
public enum Rows {
2024-10-03 22:51:56 +00:00
// / S h a r e d o n i C l o u d
public static let icloudSharing = Strings . tr ( " Localizable " , " modules.general.rows.icloud_sharing " , fallback : " Shared on iCloud " )
2024-10-03 16:46:54 +00:00
public enum IcloudSharing {
// / S h a r e o n i C l o u d
public static let purchase = Strings . tr ( " Localizable " , " modules.general.rows.icloud_sharing.purchase " , fallback : " Share on iCloud " )
}
}
2024-10-03 16:41:27 +00:00
public enum Sections {
public enum Storage {
// / P r o f i l e s a r e s t o r e d t o i C l o u d e n c r y p t e d .
public static let footer = Strings . tr ( " Localizable " , " modules.general.sections.storage.footer " , fallback : " Profiles are stored to iCloud encrypted. " )
}
}
}
2024-09-28 15:58:48 +00:00
public enum HttpProxy {
public enum BypassDomains {
2024-09-23 13:02:26 +00:00
// / A d d b y p a s s d o m a i n
2024-09-28 15:58:48 +00:00
public static let add = Strings . tr ( " Localizable " , " modules.http_proxy.bypass_domains.add " , fallback : " Add bypass domain " )
2024-09-23 13:02:26 +00:00
}
}
2024-09-28 15:58:48 +00:00
public enum Ip {
public enum Routes {
2024-09-23 13:02:26 +00:00
// / A d d % @
2024-09-28 15:58:48 +00:00
public static func addFamily ( _ p1 : Any ) -> String {
2024-09-23 13:02:26 +00:00
return Strings . tr ( " Localizable " , " modules.ip.routes.add_family " , String ( describing : p1 ) , fallback : " Add %@ " )
}
// / E x c l u d e r o u t e
2024-09-28 15:58:48 +00:00
public static let exclude = Strings . tr ( " Localizable " , " modules.ip.routes.exclude " , fallback : " Exclude route " )
2024-09-23 13:02:26 +00:00
// / E x c l u d e d r o u t e s
2024-09-28 15:58:48 +00:00
public static let excluded = Strings . tr ( " Localizable " , " modules.ip.routes.excluded " , fallback : " Excluded routes " )
2024-09-23 13:02:26 +00:00
// / I n c l u d e r o u t e
2024-09-28 15:58:48 +00:00
public static let include = Strings . tr ( " Localizable " , " modules.ip.routes.include " , fallback : " Include route " )
2024-09-23 13:02:26 +00:00
// / I n c l u d e d r o u t e s
2024-09-28 15:58:48 +00:00
public static let included = Strings . tr ( " Localizable " , " modules.ip.routes.included " , fallback : " Included routes " )
2024-09-23 13:02:26 +00:00
}
}
2024-09-28 15:58:48 +00:00
public enum OnDemand {
2024-09-23 13:02:26 +00:00
// / E t h e r n e t
2024-09-28 15:58:48 +00:00
public static let ethernet = Strings . tr ( " Localizable " , " modules.on_demand.ethernet " , fallback : " Ethernet " )
2024-09-23 13:02:26 +00:00
// / M o b i l e
2024-09-28 15:58:48 +00:00
public static let mobile = Strings . tr ( " Localizable " , " modules.on_demand.mobile " , fallback : " Mobile " )
2024-09-23 13:02:26 +00:00
// / P o l i c y
2024-09-28 15:58:48 +00:00
public static let policy = Strings . tr ( " Localizable " , " modules.on_demand.policy " , fallback : " Policy " )
2024-09-30 13:56:32 +00:00
// / A d d o n - d e m a n d r u l e s
public static let purchase = Strings . tr ( " Localizable " , " modules.on_demand.purchase " , fallback : " Add on-demand rules " )
2024-09-28 15:58:48 +00:00
public enum Policy {
2024-09-23 13:02:26 +00:00
// / A c t i v a t e t h e V P N % @ .
2024-09-28 15:58:48 +00:00
public static func footer ( _ p1 : Any ) -> String {
2024-09-23 13:02:26 +00:00
return Strings . tr ( " Localizable " , " modules.on_demand.policy.footer " , String ( describing : p1 ) , fallback : " Activate the VPN %@. " )
}
2024-09-28 15:58:48 +00:00
public enum Footer {
2024-09-23 13:02:26 +00:00
// / i n a n y n e t w o r k
2024-09-28 15:58:48 +00:00
public static let any = Strings . tr ( " Localizable " , " modules.on_demand.policy.footer.any " , fallback : " in any network " )
2024-09-23 13:02:26 +00:00
// / e x c e p t i n t h e n e t w o r k s b e l o w
2024-09-28 15:58:48 +00:00
public static let excluding = Strings . tr ( " Localizable " , " modules.on_demand.policy.footer.excluding " , fallback : " except in the networks below " )
2024-09-23 13:02:26 +00:00
// / o n l y i n t h e n e t w o r k s b e l o w
2024-09-28 15:58:48 +00:00
public static let including = Strings . tr ( " Localizable " , " modules.on_demand.policy.footer.including " , fallback : " only in the networks below " )
2024-09-23 13:02:26 +00:00
}
}
2024-09-28 15:58:48 +00:00
public enum Ssid {
2024-09-23 13:02:26 +00:00
// / A d d S S I D
2024-09-28 15:58:48 +00:00
public static let add = Strings . tr ( " Localizable " , " modules.on_demand.ssid.add " , fallback : " Add SSID " )
2024-09-23 13:02:26 +00:00
}
}
2024-09-28 15:58:48 +00:00
public enum Openvpn {
2024-09-23 13:02:26 +00:00
// / C i p h e r
2024-09-28 15:58:48 +00:00
public static let cipher = Strings . tr ( " Localizable " , " modules.openvpn.cipher " , fallback : " Cipher " )
2024-09-23 13:02:26 +00:00
// / C o m m u n i c a t i o n
2024-09-28 15:58:48 +00:00
public static let communication = Strings . tr ( " Localizable " , " modules.openvpn.communication " , fallback : " Communication " )
2024-09-23 13:02:26 +00:00
// / C o m p r e s s i o n
2024-09-28 15:58:48 +00:00
public static let compression = Strings . tr ( " Localizable " , " modules.openvpn.compression " , fallback : " Compression " )
2024-09-23 13:02:26 +00:00
// / A l g o r i t h m
2024-09-28 15:58:48 +00:00
public static let compressionAlgorithm = Strings . tr ( " Localizable " , " modules.openvpn.compression_algorithm " , fallback : " Algorithm " )
2024-09-23 13:02:26 +00:00
// / F r a m i n g
2024-09-28 15:58:48 +00:00
public static let compressionFraming = Strings . tr ( " Localizable " , " modules.openvpn.compression_framing " , fallback : " Framing " )
2024-09-23 13:02:26 +00:00
// / C r e d e n t i a l s
2024-09-28 15:58:48 +00:00
public static let credentials = Strings . tr ( " Localizable " , " modules.openvpn.credentials " , fallback : " Credentials " )
2024-09-23 13:02:26 +00:00
// / D i g e s t
2024-09-28 15:58:48 +00:00
public static let digest = Strings . tr ( " Localizable " , " modules.openvpn.digest " , fallback : " Digest " )
2024-09-23 13:02:26 +00:00
// / E x t e n d e d v e r i f i c a t i o n
2024-09-28 15:58:48 +00:00
public static let eku = Strings . tr ( " Localizable " , " modules.openvpn.eku " , fallback : " Extended verification " )
2024-09-23 13:02:26 +00:00
// / P u l l
2024-09-28 15:58:48 +00:00
public static let pull = Strings . tr ( " Localizable " , " modules.openvpn.pull " , fallback : " Pull " )
2024-09-23 13:02:26 +00:00
// / R a n d o m i z e e n d p o i n t
2024-09-28 15:58:48 +00:00
public static let randomizeEndpoint = Strings . tr ( " Localizable " , " modules.openvpn.randomize_endpoint " , fallback : " Randomize endpoint " )
2024-09-23 13:02:26 +00:00
// / R a n d o m i z e h o s t n a m e
2024-09-28 15:58:48 +00:00
public static let randomizeHostname = Strings . tr ( " Localizable " , " modules.openvpn.randomize_hostname " , fallback : " Randomize hostname " )
2024-09-23 13:02:26 +00:00
// / R e d i r e c t g a t e w a y
2024-09-28 15:58:48 +00:00
public static let redirectGateway = Strings . tr ( " Localizable " , " modules.openvpn.redirect_gateway " , fallback : " Redirect gateway " )
2024-09-23 13:02:26 +00:00
// / R e m o t e s
2024-09-28 15:58:48 +00:00
public static let remotes = Strings . tr ( " Localizable " , " modules.openvpn.remotes " , fallback : " Remotes " )
2024-09-23 13:02:26 +00:00
// / R e n e g o t i a t i o n
2024-09-28 15:58:48 +00:00
public static let renegotiation = Strings . tr ( " Localizable " , " modules.openvpn.renegotiation " , fallback : " Renegotiation " )
2024-09-23 13:02:26 +00:00
// / W r a p p i n g
2024-09-28 15:58:48 +00:00
public static let tlsWrap = Strings . tr ( " Localizable " , " modules.openvpn.tls_wrap " , fallback : " Wrapping " )
public enum Credentials {
2024-09-23 13:02:26 +00:00
// / I n t e r a c t i v e
2024-09-28 15:58:48 +00:00
public static let interactive = Strings . tr ( " Localizable " , " modules.openvpn.credentials.interactive " , fallback : " Interactive " )
public enum Interactive {
2024-09-23 13:02:26 +00:00
// / O n - d e m a n d w i l l b e d i s a b l e d .
2024-09-28 15:58:48 +00:00
public static let footer = Strings . tr ( " Localizable " , " modules.openvpn.credentials.interactive.footer " , fallback : " On-demand will be disabled. " )
2024-10-03 15:03:53 +00:00
// / L o g i n i n t e r a c t i v e l y
public static let purchase = Strings . tr ( " Localizable " , " modules.openvpn.credentials.interactive.purchase " , fallback : " Log in interactively " )
2024-09-23 13:02:26 +00:00
}
2024-09-28 15:58:48 +00:00
public enum OtpMethod {
public enum Approach {
2024-09-23 13:02:26 +00:00
// / T h e O T P w i l l b e a p p e n d e d t o t h e p a s s w o r d .
2024-09-28 15:58:48 +00:00
public static let append = Strings . tr ( " Localizable " , " modules.openvpn.credentials.otp_method.approach.append " , fallback : " The OTP will be appended to the password. " )
2024-09-23 13:02:26 +00:00
// / T h e O T P w i l l b e e n c o d e d i n B a s e 6 4 w i t h t h e p a s s w o r d .
2024-09-28 15:58:48 +00:00
public static let encode = Strings . tr ( " Localizable " , " modules.openvpn.credentials.otp_method.approach.encode " , fallback : " The OTP will be encoded in Base64 with the password. " )
2024-09-23 13:02:26 +00:00
}
}
}
}
2024-09-28 15:58:48 +00:00
public enum Wireguard {
2024-09-23 13:02:26 +00:00
// / A l l o w e d I P s
2024-09-28 15:58:48 +00:00
public static let allowedIps = Strings . tr ( " Localizable " , " modules.wireguard.allowed_ips " , fallback : " Allowed IPs " )
2024-09-23 13:02:26 +00:00
// / I n t e r f a c e
2024-09-28 15:58:48 +00:00
public static let interface = Strings . tr ( " Localizable " , " modules.wireguard.interface " , fallback : " Interface " )
2024-09-23 13:02:26 +00:00
// / P e e r # % d
2024-09-28 15:58:48 +00:00
public static func peer ( _ p1 : Int ) -> String {
2024-09-23 13:02:26 +00:00
return Strings . tr ( " Localizable " , " modules.wireguard.peer " , p1 , fallback : " Peer #%d " )
}
// / P r e - s h a r e d k e y
2024-09-28 15:58:48 +00:00
public static let presharedKey = Strings . tr ( " Localizable " , " modules.wireguard.preshared_key " , fallback : " Pre-shared key " )
2024-09-23 13:02:26 +00:00
}
}
2024-09-28 15:58:48 +00:00
public enum Placeholders {
2024-09-23 13:02:26 +00:00
// / s e c r e t
2024-09-28 15:58:48 +00:00
public static let secret = Strings . tr ( " Localizable " , " placeholders.secret " , fallback : " secret " )
2024-09-23 13:02:26 +00:00
// / u s e r n a m e
2024-09-28 15:58:48 +00:00
public static let username = Strings . tr ( " Localizable " , " placeholders.username " , fallback : " username " )
public enum OnDemand {
2024-09-23 13:02:26 +00:00
// / M y S S I D
2024-09-28 15:58:48 +00:00
public static let ssid = Strings . tr ( " Localizable " , " placeholders.on_demand.ssid " , fallback : " My SSID " )
2024-09-23 13:02:26 +00:00
}
2024-09-28 15:58:48 +00:00
public enum Profile {
2024-09-23 13:02:26 +00:00
// / M y p r o f i l e
2024-09-28 15:58:48 +00:00
public static let name = Strings . tr ( " Localizable " , " placeholders.profile.name " , fallback : " My profile " )
2024-09-23 13:02:26 +00:00
}
}
2024-10-25 09:38:27 +00:00
public enum Providers {
// / C l e a r f i l t e r s
public static let clearFilters = Strings . tr ( " Localizable " , " providers.clear_filters " , fallback : " Clear filters " )
// / L a s t u p d a t e d o n % @
public static func lastUpdated ( _ p1 : Any ) -> String {
return Strings . tr ( " Localizable " , " providers.last_updated " , String ( describing : p1 ) , fallback : " Last updated on %@ " )
}
// / N o n e
public static let noProvider = Strings . tr ( " Localizable " , " providers.no_provider " , fallback : " None " )
2024-10-26 11:29:26 +00:00
// / O n l y f a v o r i t e s
public static let onlyFavorites = Strings . tr ( " Localizable " , " providers.only_favorites " , fallback : " Only favorites " )
2024-10-25 09:38:27 +00:00
// / R e f r e s h i n f r a s t r u c t u r e
public static let refreshInfrastructure = Strings . tr ( " Localizable " , " providers.refresh_infrastructure " , fallback : " Refresh infrastructure " )
// / S e l e c t
public static let selectEntity = Strings . tr ( " Localizable " , " providers.select_entity " , fallback : " Select " )
// / S e l e c t a p r o v i d e r
public static let selectProvider = Strings . tr ( " Localizable " , " providers.select_provider " , fallback : " Select a provider " )
public enum LastUpdated {
// / L o a d i n g . . .
public static let loading = Strings . tr ( " Localizable " , " providers.last_updated.loading " , fallback : " Loading... " )
}
2024-10-28 18:55:42 +00:00
public enum Picker {
// / A d d m o r e p r o v i d e r s
public static let purchase = Strings . tr ( " Localizable " , " providers.picker.purchase " , fallback : " Add more providers " )
}
2024-10-25 09:38:27 +00:00
public enum Vpn {
// / N o s e r v e r s
public static let noServers = Strings . tr ( " Localizable " , " providers.vpn.no_servers " , fallback : " No servers " )
// / P r e s e t
public static let preset = Strings . tr ( " Localizable " , " providers.vpn.preset " , fallback : " Preset " )
public enum Category {
// / A l l c a t e g o r i e s
public static let any = Strings . tr ( " Localizable " , " providers.vpn.category.any " , fallback : " All categories " )
}
}
}
2024-10-03 21:25:51 +00:00
public enum Theme {
public enum Confirmation {
// / A r e y o u s u r e ?
public static let message = Strings . tr ( " Localizable " , " theme.confirmation.message " , fallback : " Are you sure? " )
}
}
2024-09-30 17:35:41 +00:00
public enum Ui {
public enum ConnectionStatus {
// / ( o n - d e m a n d )
public static let onDemandSuffix = Strings . tr ( " Localizable " , " ui.connection_status.on_demand_suffix " , fallback : " (on-demand) " )
}
2024-10-23 15:17:20 +00:00
public enum ProfileContext {
2024-10-23 16:51:22 +00:00
// / C o n n e c t t o . . .
public static let connectTo = Strings . tr ( " Localizable " , " ui.profile_context.connect_to " , fallback : " Connect to... " )
2024-10-23 15:17:20 +00:00
}
2024-09-30 17:35:41 +00:00
}
2024-09-28 15:58:48 +00:00
public enum Views {
public enum About {
2024-09-28 10:47:33 +00:00
// / A b o u t
2024-09-28 15:58:48 +00:00
public static let title = Strings . tr ( " Localizable " , " views.about.title " , fallback : " About " )
public enum Credits {
2024-09-23 13:02:26 +00:00
// / L i c e n s e s
2024-09-28 15:58:48 +00:00
public static let licenses = Strings . tr ( " Localizable " , " views.about.credits.licenses " , fallback : " Licenses " )
2024-09-23 13:02:26 +00:00
// / N o t i c e s
2024-09-28 15:58:48 +00:00
public static let notices = Strings . tr ( " Localizable " , " views.about.credits.notices " , fallback : " Notices " )
2024-09-23 13:02:26 +00:00
// / C r e d i t s
2024-09-28 15:58:48 +00:00
public static let title = Strings . tr ( " Localizable " , " views.about.credits.title " , fallback : " Credits " )
2024-09-23 13:02:26 +00:00
// / T r a n s l a t i o n s
2024-09-28 15:58:48 +00:00
public static let translations = Strings . tr ( " Localizable " , " views.about.credits.translations " , fallback : " Translations " )
2024-09-23 13:02:26 +00:00
}
2024-09-28 15:58:48 +00:00
public enum Links {
2024-09-23 13:02:26 +00:00
// / L i n k s
2024-09-28 15:58:48 +00:00
public static let title = Strings . tr ( " Localizable " , " views.about.links.title " , fallback : " Links " )
public enum Rows {
2024-09-23 13:02:26 +00:00
// / D i s c l a i m e r
2024-09-28 15:58:48 +00:00
public static let disclaimer = Strings . tr ( " Localizable " , " views.about.links.rows.disclaimer " , fallback : " Disclaimer " )
2024-09-23 13:02:26 +00:00
// / H o m e p a g e
2024-09-28 15:58:48 +00:00
public static let homePage = Strings . tr ( " Localizable " , " views.about.links.rows.home_page " , fallback : " Home page " )
2024-09-23 13:02:26 +00:00
// / J o i n c o m m u n i t y
2024-09-28 15:58:48 +00:00
public static let joinCommunity = Strings . tr ( " Localizable " , " views.about.links.rows.join_community " , fallback : " Join community " )
2024-09-23 13:02:26 +00:00
// / P r i v a c y p o l i c y
2024-09-28 15:58:48 +00:00
public static let privacyPolicy = Strings . tr ( " Localizable " , " views.about.links.rows.privacy_policy " , fallback : " Privacy policy " )
2024-09-23 13:02:26 +00:00
// / W r i t e a r e v i e w
2024-09-28 15:58:48 +00:00
public static let writeReview = Strings . tr ( " Localizable " , " views.about.links.rows.write_review " , fallback : " Write a review " )
2024-09-23 13:02:26 +00:00
}
2024-09-28 15:58:48 +00:00
public enum Sections {
2024-09-23 13:02:26 +00:00
// / S u p p o r t
2024-09-28 15:58:48 +00:00
public static let support = Strings . tr ( " Localizable " , " views.about.links.sections.support " , fallback : " Support " )
2024-09-23 13:02:26 +00:00
// / W e b
2024-09-28 15:58:48 +00:00
public static let web = Strings . tr ( " Localizable " , " views.about.links.sections.web " , fallback : " Web " )
2024-09-23 13:02:26 +00:00
}
}
2024-09-28 15:58:48 +00:00
public enum Sections {
2024-09-23 13:02:26 +00:00
// / R e s o u r c e s
2024-09-28 15:58:48 +00:00
public static let resources = Strings . tr ( " Localizable " , " views.about.sections.resources " , fallback : " Resources " )
2024-09-23 13:02:26 +00:00
}
}
2024-09-28 15:58:48 +00:00
public enum Diagnostics {
2024-09-23 13:02:26 +00:00
// / D i a g n o s t i c s
2024-09-28 15:58:48 +00:00
public static let title = Strings . tr ( " Localizable " , " views.diagnostics.title " , fallback : " Diagnostics " )
public enum Alerts {
public enum ReportIssue {
2024-09-23 13:02:26 +00:00
// / T h e d e v i c e i s n o t c o n f i g u r e d t o s e n d e - m a i l s .
2024-09-28 15:58:48 +00:00
public static let email = Strings . tr ( " Localizable " , " views.diagnostics.alerts.report_issue.email " , fallback : " The device is not configured to send e-mails. " )
2024-09-23 13:02:26 +00:00
}
}
2024-09-28 15:58:48 +00:00
public enum Openvpn {
public enum Rows {
2024-09-23 13:02:26 +00:00
// / S e r v e r c o n f i g u r a t i o n
2024-09-28 15:58:48 +00:00
public static let serverConfiguration = Strings . tr ( " Localizable " , " views.diagnostics.openvpn.rows.server_configuration " , fallback : " Server configuration " )
2024-09-23 13:02:26 +00:00
}
}
2024-09-28 15:58:48 +00:00
public enum ReportIssue {
2024-09-23 13:02:26 +00:00
// / R e p o r t i s s u e
2024-09-28 15:58:48 +00:00
public static let title = Strings . tr ( " Localizable " , " views.diagnostics.report_issue.title " , fallback : " Report issue " )
2024-09-23 13:02:26 +00:00
}
2024-09-28 15:58:48 +00:00
public enum Rows {
2024-09-23 13:02:26 +00:00
// / A p p
2024-09-28 15:58:48 +00:00
public static let app = Strings . tr ( " Localizable " , " views.diagnostics.rows.app " , fallback : " App " )
2024-09-23 13:02:26 +00:00
// / I n c l u d e p r i v a t e d a t a
2024-09-28 15:58:48 +00:00
public static let includePrivateData = Strings . tr ( " Localizable " , " views.diagnostics.rows.include_private_data " , fallback : " Include private data " )
2024-09-23 13:02:26 +00:00
// / D e l e t e a l l l o g s
2024-09-28 15:58:48 +00:00
public static let removeTunnelLogs = Strings . tr ( " Localizable " , " views.diagnostics.rows.remove_tunnel_logs " , fallback : " Delete all logs " )
2024-09-23 13:02:26 +00:00
// / T u n n e l
2024-09-28 15:58:48 +00:00
public static let tunnel = Strings . tr ( " Localizable " , " views.diagnostics.rows.tunnel " , fallback : " Tunnel " )
2024-09-23 13:02:26 +00:00
}
2024-09-28 15:58:48 +00:00
public enum Sections {
2024-09-23 13:02:26 +00:00
// / L i v e l o g
2024-09-28 15:58:48 +00:00
public static let live = Strings . tr ( " Localizable " , " views.diagnostics.sections.live " , fallback : " Live log " )
2024-09-23 13:02:26 +00:00
// / T u n n e l l o g s
2024-09-28 15:58:48 +00:00
public static let tunnel = Strings . tr ( " Localizable " , " views.diagnostics.sections.tunnel " , fallback : " Tunnel logs " )
2024-09-23 13:02:26 +00:00
}
}
2024-09-28 15:58:48 +00:00
public enum Donate {
2024-09-23 13:02:26 +00:00
// / M a k e a d o n a t i o n
2024-09-28 15:58:48 +00:00
public static let title = Strings . tr ( " Localizable " , " views.donate.title " , fallback : " Make a donation " )
2024-09-23 13:02:26 +00:00
}
2024-09-28 15:58:48 +00:00
public enum Profile {
public enum ModuleList {
public enum Section {
2024-09-23 13:02:26 +00:00
// / D r a g m o d u l e s t o r e a r r a n g e t h e m , a s t h e i r o r d e r d e t e r m i n e s p r i o r i t y .
2024-09-28 15:58:48 +00:00
public static let footer = Strings . tr ( " Localizable " , " views.profile.module_list.section.footer " , fallback : " Drag modules to rearrange them, as their order determines priority. " )
2024-09-23 13:02:26 +00:00
}
}
2024-09-28 15:58:48 +00:00
public enum Rows {
2024-09-23 13:02:26 +00:00
// / A d d m o d u l e
2024-09-28 15:58:48 +00:00
public static let addModule = Strings . tr ( " Localizable " , " views.profile.rows.add_module " , fallback : " Add module " )
2024-09-23 13:02:26 +00:00
}
}
2024-09-28 15:58:48 +00:00
public enum Profiles {
public enum Alerts {
public enum Import {
public enum Passphrase {
2024-09-23 13:02:26 +00:00
// / E n t e r p a s s p h r a s e f o r ' % @ ' .
2024-09-28 15:58:48 +00:00
public static func message ( _ p1 : Any ) -> String {
2024-09-23 13:02:26 +00:00
return Strings . tr ( " Localizable " , " views.profiles.alerts.import.passphrase.message " , String ( describing : p1 ) , fallback : " Enter passphrase for '%@'. " )
}
// / D e c r y p t
2024-09-28 15:58:48 +00:00
public static let ok = Strings . tr ( " Localizable " , " views.profiles.alerts.import.passphrase.ok " , fallback : " Decrypt " )
2024-09-23 13:02:26 +00:00
}
}
}
2024-09-28 15:58:48 +00:00
public enum Errors {
2024-09-23 13:02:26 +00:00
// / U n a b l e t o d u p l i c a t e p r o f i l e ' % @ ' .
2024-09-28 15:58:48 +00:00
public static func duplicate ( _ p1 : Any ) -> String {
2024-09-23 13:02:26 +00:00
return Strings . tr ( " Localizable " , " views.profiles.errors.duplicate " , String ( describing : p1 ) , fallback : " Unable to duplicate profile '%@'. " )
}
// / U n a b l e t o i m p o r t p r o f i l e s .
2024-09-28 15:58:48 +00:00
public static let ` import ` = Strings . tr ( " Localizable " , " views.profiles.errors.import " , fallback : " Unable to import profiles. " )
2024-09-23 13:02:26 +00:00
// / U n a b l e t o e x e c u t e t u n n e l o p e r a t i o n .
2024-09-28 15:58:48 +00:00
public static let tunnel = Strings . tr ( " Localizable " , " views.profiles.errors.tunnel " , fallback : " Unable to execute tunnel operation. " )
2024-09-23 13:02:26 +00:00
}
2024-09-28 15:58:48 +00:00
public enum Folders {
2024-09-23 13:02:26 +00:00
// / I n s t a l l e d p r o f i l e
2024-09-28 15:58:48 +00:00
public static let activeProfile = Strings . tr ( " Localizable " , " views.profiles.folders.active_profile " , fallback : " Installed profile " )
2024-09-23 13:02:26 +00:00
// / A d d p r o f i l e
2024-09-28 15:58:48 +00:00
public static let addProfile = Strings . tr ( " Localizable " , " views.profiles.folders.add_profile " , fallback : " Add profile " )
2024-09-23 13:02:26 +00:00
// / M y p r o f i l e s
2024-09-28 15:58:48 +00:00
public static let ` default ` = Strings . tr ( " Localizable " , " views.profiles.folders.default " , fallback : " My profiles " )
2024-09-23 13:02:26 +00:00
// / N o p r o f i l e s
2024-09-28 15:58:48 +00:00
public static let noProfiles = Strings . tr ( " Localizable " , " views.profiles.folders.no_profiles " , fallback : " No profiles " )
2024-09-23 13:02:26 +00:00
}
2024-09-28 15:58:48 +00:00
public enum Rows {
2024-09-23 13:02:26 +00:00
// / % d m o d u l e s
2024-09-28 15:58:48 +00:00
public static func modules ( _ p1 : Int ) -> String {
2024-09-23 13:02:26 +00:00
return Strings . tr ( " Localizable " , " views.profiles.rows.modules " , p1 , fallback : " %d modules " )
}
// / S e l e c t a p r o f i l e
2024-09-28 15:58:48 +00:00
public static let notInstalled = Strings . tr ( " Localizable " , " views.profiles.rows.not_installed " , fallback : " Select a profile " )
2024-09-23 13:02:26 +00:00
}
2024-09-28 15:58:48 +00:00
public enum Toolbar {
2024-09-23 13:02:26 +00:00
// / I m p o r t p r o f i l e
2024-09-28 15:58:48 +00:00
public static let importProfile = Strings . tr ( " Localizable " , " views.profiles.toolbar.import_profile " , fallback : " Import profile " )
2024-09-23 13:02:26 +00:00
// / N e w p r o f i l e
2024-09-28 15:58:48 +00:00
public static let newProfile = Strings . tr ( " Localizable " , " views.profiles.toolbar.new_profile " , fallback : " New profile " )
2024-09-23 13:02:26 +00:00
}
}
2024-09-28 15:58:48 +00:00
public enum Settings {
public enum Rows {
2024-10-04 00:58:27 +00:00
// / A s k b e f o r e q u i t
public static let confirmQuit = Strings . tr ( " Localizable " , " views.settings.rows.confirm_quit " , fallback : " Ask before quit " )
2024-10-03 21:25:51 +00:00
// / E r a s e i C l o u d s t o r e
public static let eraseIcloud = Strings . tr ( " Localizable " , " views.settings.rows.erase_icloud " , fallback : " Erase iCloud store " )
2024-09-28 10:47:33 +00:00
// / L o c k i n b a c k g r o u n d
2024-09-28 15:58:48 +00:00
public static let lockInBackground = Strings . tr ( " Localizable " , " views.settings.rows.lock_in_background " , fallback : " Lock in background " )
public enum LockInBackground {
2024-09-28 10:47:33 +00:00
// / P a s s e p a r t o u t i s l o c k e d
2024-09-28 15:58:48 +00:00
public static let message = Strings . tr ( " Localizable " , " views.settings.rows.lock_in_background.message " , fallback : " Passepartout is locked " )
2024-09-28 10:47:33 +00:00
}
}
2024-10-03 21:25:51 +00:00
public enum Sections {
public enum Icloud {
// / T o e r a s e t h e i C l o u d s t o r e s e c u r e l y , d o s o o n a l l y o u r s y n c e d d e v i c e s . T h i s w i l l n o t a f f e c t l o c a l p r o f i l e s .
public static let footer = Strings . tr ( " Localizable " , " views.settings.sections.icloud.footer " , fallback : " To erase the iCloud store securely, do so on all your synced devices. This will not affect local profiles. " )
}
}
2024-09-28 10:47:33 +00:00
}
2024-09-23 13:02:26 +00:00
}
}
// s w i f t l i n t : e n a b l e e x p l i c i t _ t y p e _ i n t e r f a c e f u n c t i o n _ p a r a m e t e r _ c o u n t i d e n t i f i e r _ n a m e l i n e _ l e n g t h
// s w i f t l i n t : e n a b l e n e s t i n g t y p e _ b o d y _ l e n g t h t y p e _ n a m e v e r t i c a l _ w h i t e s p a c e _ o p e n i n g _ b r a c e s
// MARK: - I m p l e m e n t a t i o n D e t a i l s
extension Strings {
private static func tr ( _ table : String , _ key : String , _ args : CVarArg . . . , fallback value : String ) -> String {
let format = Bundle . main . localizedString ( forKey : key , value : value , table : table )
return String ( format : format , locale : Locale . current , arguments : args )
}
}
2024-10-04 00:44:19 +00:00
// s w i f t l i n t : e n a b l e a l l