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 {
2024-11-25 20:55:31 +00:00
public enum Community {
// / N o , t h a n k s
public static let dismiss = Strings . tr ( " Localizable " , " alerts.community.dismiss " , fallback : " No, thanks " )
// / D i d y o u k n o w t h a t P a s s e p a r t o u t h a s a s u b r e d d i t ? S u b s c r i b e f o r u p d a t e s o r t o d i s c u s s i s s u e s , f e a t u r e s , n e w p l a t f o r m s o r w h a t e v e r y o u l i k e .
// /
// / I t ' s a l s o a g r e a t w a y t o s h o w y o u c a r e a b o u t t h i s p r o j e c t .
public static let message = Strings . tr ( " Localizable " , " alerts.community.message " , fallback : " Did you know that Passepartout has a subreddit? Subscribe for updates or to discuss issues, features, new platforms or whatever you like. \n \n It's also a great way to show you care about this project. " )
// / S u b s c r i b e n o w
public static let subscribe = Strings . tr ( " Localizable " , " alerts.community.subscribe " , fallback : " Subscribe now " )
}
2024-10-28 19:07:19 +00:00
public enum Import {
public enum Passphrase {
// / E n t e r p a s s p h r a s e f o r ' % @ ' .
public static func message ( _ p1 : Any ) -> String {
return Strings . tr ( " Localizable " , " alerts.import.passphrase.message " , String ( describing : p1 ) , fallback : " Enter passphrase for '%@'. " )
}
// / D e c r y p t
public static let ok = Strings . tr ( " Localizable " , " alerts.import.passphrase.ok " , fallback : " Decrypt " )
}
}
2024-11-24 00:01:04 +00:00
public enum Providers {
public enum MissingServer {
// / N o p r o v i d e r s e r v e r s e l e c t e d . P l e a s e s e l e c t a d e s t i n a t i o n s e r v e r o n y o u r i O S / m a c O S d e v i c e .
public static let message = Strings . tr ( " Localizable " , " alerts.providers.missing_server.message " , fallback : " No provider server selected. Please select a destination server on your iOS/macOS device. " )
}
}
2024-09-23 13:02:26 +00:00
}
2024-09-28 15:58:48 +00:00
public enum Entities {
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 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-11-07 22:02:10 +00:00
// / U n a b l e t o f e t c h p r o d u c t s , p l e a s e r e t r y l a t e r .
public static let emptyProducts = Strings . tr ( " Localizable " , " errors.app.empty_products " , fallback : " Unable to fetch products, please retry later. " )
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-10-28 19:07:19 +00:00
// / I n v a l i d f i e l d s .
public static let invalidFields = Strings . tr ( " Localizable " , " errors.app.passepartout.invalid_fields " , fallback : " Invalid fields. " )
2024-10-28 19:30:22 +00:00
// / 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 missingProviderEntity = Strings . tr ( " Localizable " , " errors.app.passepartout.missing_provider_entity " , fallback : " No provider server selected. " )
2024-11-01 19:01:18 +00:00
// / T h e p r o f i l e h a s n o a c t i v e m o d u l e s .
public static let noActiveModules = Strings . tr ( " Localizable " , " errors.app.passepartout.no_active_modules " , fallback : " The profile has no active modules. " )
2024-09-23 13:02:26 +00:00
// / 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-10-28 19:30:22 +00:00
// / N o p r o v i d e r s e l e c t e d .
public static let providerRequired = Strings . tr ( " Localizable " , " errors.app.passepartout.provider_required " , fallback : " No provider selected. " )
2024-09-23 13:02:26 +00:00
}
2024-10-23 15:17:20 +00:00
public enum Provider {
2024-10-28 19:30:22 +00:00
// / N o p r o v i d e r s e l e c t e d .
public static let ` required ` = Strings . tr ( " Localizable " , " errors.app.provider.required " , fallback : " No provider selected. " )
2024-10-23 15:17:20 +00:00
}
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-11-09 14:20:59 +00:00
// / P u r c h a s e r e q u i r e d
public static let ineligible = Strings . tr ( " Localizable " , " errors.tunnel.ineligible " , fallback : " Purchase required " )
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-11-05 17:55:57 +00:00
public enum Features {
2024-11-07 17:27:36 +00:00
// / % @
2024-11-23 19:31:22 +00:00
public static func appletv ( _ p1 : Any ) -> String {
return Strings . tr ( " Localizable " , " features.appletv " , String ( describing : p1 ) , fallback : " %@ " )
2024-11-07 17:27:36 +00:00
}
2024-11-18 16:43:01 +00:00
// / % @ S e t t i n g s
2024-11-07 17:27:36 +00:00
public static func dns ( _ p1 : Any ) -> String {
2024-11-18 16:43:01 +00:00
return Strings . tr ( " Localizable " , " features.dns " , String ( describing : p1 ) , fallback : " %@ Settings " )
2024-11-07 17:27:36 +00:00
}
2024-11-18 16:43:01 +00:00
// / % @ S e t t i n g s
2024-11-07 17:27:36 +00:00
public static func httpProxy ( _ p1 : Any ) -> String {
2024-11-23 19:31:22 +00:00
return Strings . tr ( " Localizable " , " features.http_proxy " , String ( describing : p1 ) , fallback : " %@ Settings " )
2024-11-07 17:27:36 +00:00
}
// / I n t e r a c t i v e L o g i n
public static let interactiveLogin = Strings . tr ( " Localizable " , " features.interactiveLogin " , fallback : " Interactive Login " )
2024-11-18 16:43:01 +00:00
// / O n - D e m a n d R u l e s
2024-11-23 19:31:22 +00:00
public static let onDemand = Strings . tr ( " Localizable " , " features.on_demand " , fallback : " On-Demand Rules " )
2024-11-07 17:27:36 +00:00
// / A l l P r o v i d e r s
public static let providers = Strings . tr ( " Localizable " , " features.providers " , fallback : " All Providers " )
2024-11-18 16:43:01 +00:00
// / C u s t o m % @
2024-11-07 17:27:36 +00:00
public static func routing ( _ p1 : Any ) -> String {
2024-11-18 16:43:01 +00:00
return Strings . tr ( " Localizable " , " features.routing " , String ( describing : p1 ) , fallback : " Custom %@ " )
2024-11-07 17:27:36 +00:00
}
2024-11-09 14:20:59 +00:00
// / % @
public static func sharing ( _ p1 : Any ) -> String {
return Strings . tr ( " Localizable " , " features.sharing " , String ( describing : p1 ) , fallback : " %@ " )
}
2024-11-05 17:55:57 +00:00
}
2024-09-28 15:58:48 +00:00
public enum Global {
2024-11-23 19:31:22 +00:00
public enum Actions {
// / C a n c e l
public static let cancel = Strings . tr ( " Localizable " , " global.actions.cancel " , fallback : " Cancel " )
// / C o n n e c t
public static let connect = Strings . tr ( " Localizable " , " global.actions.connect " , fallback : " Connect " )
// / D e l e t e
public static let delete = Strings . tr ( " Localizable " , " global.actions.delete " , fallback : " Delete " )
// / D i s a b l e
public static let disable = Strings . tr ( " Localizable " , " global.actions.disable " , fallback : " Disable " )
// / D i s c o n n e c t
public static let disconnect = Strings . tr ( " Localizable " , " global.actions.disconnect " , fallback : " Disconnect " )
// / D u p l i c a t e
public static let duplicate = Strings . tr ( " Localizable " , " global.actions.duplicate " , fallback : " Duplicate " )
// / E d i t
public static let edit = Strings . tr ( " Localizable " , " global.actions.edit " , fallback : " Edit " )
// / E n a b l e
public static let enable = Strings . tr ( " Localizable " , " global.actions.enable " , fallback : " Enable " )
// / H i d e
public static let hide = Strings . tr ( " Localizable " , " global.actions.hide " , fallback : " Hide " )
// / P u r c h a s e
public static let purchase = Strings . tr ( " Localizable " , " global.actions.purchase " , fallback : " Purchase " )
// / D e l e t e
public static let remove = Strings . tr ( " Localizable " , " global.actions.remove " , fallback : " Delete " )
// / R e s t a r t
public static let restart = Strings . tr ( " Localizable " , " global.actions.restart " , fallback : " Restart " )
// / S a v e
public static let save = Strings . tr ( " Localizable " , " global.actions.save " , fallback : " Save " )
// / S e l e c t
public static let select = Strings . tr ( " Localizable " , " global.actions.select " , fallback : " Select " )
// / S h o w
public static let show = Strings . tr ( " Localizable " , " global.actions.show " , fallback : " Show " )
}
public enum Nouns {
// / A b o u t
public static let about = Strings . tr ( " Localizable " , " global.nouns.about " , fallback : " About " )
// / A c c o u n t
public static let account = Strings . tr ( " Localizable " , " global.nouns.account " , fallback : " Account " )
// / A d d r e s s
public static let address = Strings . tr ( " Localizable " , " global.nouns.address " , fallback : " Address " )
// / A d d r e s s e s
public static let addresses = Strings . tr ( " Localizable " , " global.nouns.addresses " , fallback : " Addresses " )
// / A n y
public static let any = Strings . tr ( " Localizable " , " global.nouns.any " , fallback : " Any " )
// / C a t e g o r y
public static let category = Strings . tr ( " Localizable " , " global.nouns.category " , fallback : " Category " )
// / C e r t i f i c a t e
public static let certificate = Strings . tr ( " Localizable " , " global.nouns.certificate " , fallback : " Certificate " )
// / C o m p r e s s i o n
public static let compression = Strings . tr ( " Localizable " , " global.nouns.compression " , fallback : " Compression " )
// / C o n n e c t i o n
public static let connection = Strings . tr ( " Localizable " , " global.nouns.connection " , fallback : " Connection " )
// / C o u n t r y
public static let country = Strings . tr ( " Localizable " , " global.nouns.country " , fallback : " Country " )
// / D e f a u l t
public static let ` default ` = Strings . tr ( " Localizable " , " global.nouns.default " , fallback : " Default " )
// / D e s t i n a t i o n
public static let destination = Strings . tr ( " Localizable " , " global.nouns.destination " , fallback : " Destination " )
// / D i s a b l e d
public static let disabled = Strings . tr ( " Localizable " , " global.nouns.disabled " , fallback : " Disabled " )
// / D o n ' t a s k a g a i n
public static let doNotAskAgain = Strings . tr ( " Localizable " , " global.nouns.do_not_ask_again " , fallback : " Don't ask again " )
// / D o m a i n
public static let domain = Strings . tr ( " Localizable " , " global.nouns.domain " , fallback : " Domain " )
// / D o n e
public static let done = Strings . tr ( " Localizable " , " global.nouns.done " , fallback : " Done " )
// / E m p t y
public static let empty = Strings . tr ( " Localizable " , " global.nouns.empty " , fallback : " Empty " )
// / E n a b l e d
public static let enabled = Strings . tr ( " Localizable " , " global.nouns.enabled " , fallback : " Enabled " )
// / E n d p o i n t
public static let endpoint = Strings . tr ( " Localizable " , " global.nouns.endpoint " , fallback : " Endpoint " )
// / F i l t e r s
public static let filters = Strings . tr ( " Localizable " , " global.nouns.filters " , fallback : " Filters " )
// / F o l d e r
public static let folder = Strings . tr ( " Localizable " , " global.nouns.folder " , fallback : " Folder " )
// / G a t e w a y
public static let gateway = Strings . tr ( " Localizable " , " global.nouns.gateway " , fallback : " Gateway " )
// / G e n e r a l
public static let general = Strings . tr ( " Localizable " , " global.nouns.general " , fallback : " General " )
// / H o s t n a m e
public static let hostname = Strings . tr ( " Localizable " , " global.nouns.hostname " , fallback : " Hostname " )
// / I n t e r f a c e
public static let interface = Strings . tr ( " Localizable " , " global.nouns.interface " , fallback : " Interface " )
// / K e e p - a l i v e
public static let keepAlive = Strings . tr ( " Localizable " , " global.nouns.keep_alive " , fallback : " Keep-alive " )
// / K e y
public static let key = Strings . tr ( " Localizable " , " global.nouns.key " , fallback : " Key " )
// / L a s t u p d a t e
public static let lastUpdate = Strings . tr ( " Localizable " , " global.nouns.last_update " , fallback : " Last update " )
// / L o a d i n g
public static let loading = Strings . tr ( " Localizable " , " global.nouns.loading " , fallback : " Loading " )
// / M e t h o d
public static let method = Strings . tr ( " Localizable " , " global.nouns.method " , fallback : " Method " )
// / M o d u l e s
public static let modules = Strings . tr ( " Localizable " , " global.nouns.modules " , fallback : " Modules " )
// / % d s e c o n d s
public static func nSeconds ( _ p1 : Int ) -> String {
return Strings . tr ( " Localizable " , " global.nouns.n_seconds " , p1 , fallback : " %d seconds " )
}
// / N a m e
public static let name = Strings . tr ( " Localizable " , " global.nouns.name " , fallback : " Name " )
// / N e t w o r k s
public static let networks = Strings . tr ( " Localizable " , " global.nouns.networks " , fallback : " Networks " )
// / N o c o n t e n t
public static let noContent = Strings . tr ( " Localizable " , " global.nouns.no_content " , fallback : " No content " )
// / N o s e l e c t i o n
public static let noSelection = Strings . tr ( " Localizable " , " global.nouns.no_selection " , fallback : " No selection " )
// / N o n e
public static let ` none ` = Strings . tr ( " Localizable " , " global.nouns.none " , fallback : " None " )
// / O K
public static let ok = Strings . tr ( " Localizable " , " global.nouns.ok " , fallback : " OK " )
// / O n - d e m a n d
public static let onDemand = Strings . tr ( " Localizable " , " global.nouns.on_demand " , fallback : " On-demand " )
// / O t h e r
public static let other = Strings . tr ( " Localizable " , " global.nouns.other " , fallback : " Other " )
// / P a s s w o r d
public static let password = Strings . tr ( " Localizable " , " global.nouns.password " , fallback : " Password " )
// / P o r t
public static let port = Strings . tr ( " Localizable " , " global.nouns.port " , fallback : " Port " )
// / P r i v a t e k e y
public static let privateKey = Strings . tr ( " Localizable " , " global.nouns.private_key " , fallback : " Private key " )
// / P r o f i l e
public static let profile = Strings . tr ( " Localizable " , " global.nouns.profile " , fallback : " Profile " )
// / P r o t o c o l
public static let ` protocol ` = Strings . tr ( " Localizable " , " global.nouns.protocol " , fallback : " Protocol " )
// / P r o v i d e r
public static let provider = Strings . tr ( " Localizable " , " global.nouns.provider " , fallback : " Provider " )
// / P u b l i c k e y
public static let publicKey = Strings . tr ( " Localizable " , " global.nouns.public_key " , fallback : " Public key " )
// / R e g i o n
public static let region = Strings . tr ( " Localizable " , " global.nouns.region " , fallback : " Region " )
// / R o u t e
public static let route = Strings . tr ( " Localizable " , " global.nouns.route " , fallback : " Route " )
// / R o u t e s
public static let routes = Strings . tr ( " Localizable " , " global.nouns.routes " , fallback : " Routes " )
// / R o u t i n g
public static let routing = Strings . tr ( " Localizable " , " global.nouns.routing " , fallback : " Routing " )
// / S e r v e r
public static let server = Strings . tr ( " Localizable " , " global.nouns.server " , fallback : " Server " )
// / S e r v e r s
public static let servers = Strings . tr ( " Localizable " , " global.nouns.servers " , fallback : " Servers " )
// / S e t t i n g s
public static let settings = Strings . tr ( " Localizable " , " global.nouns.settings " , fallback : " Settings " )
// / S t a t u s
public static let status = Strings . tr ( " Localizable " , " global.nouns.status " , fallback : " Status " )
// / S u b n e t
public static let subnet = Strings . tr ( " Localizable " , " global.nouns.subnet " , fallback : " Subnet " )
// / U n k n o w n
public static let unknown = Strings . tr ( " Localizable " , " global.nouns.unknown " , fallback : " Unknown " )
// / U s e r n a m e
public static let username = Strings . tr ( " Localizable " , " global.nouns.username " , fallback : " Username " )
// / V e r s i o n
public static let version = Strings . tr ( " Localizable " , " global.nouns.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-11-05 09:03:54 +00:00
// / % @
2024-11-23 19:31:22 +00:00
public static func appletv ( _ p1 : Any ) -> String {
return Strings . tr ( " Localizable " , " modules.general.rows.appletv " , String ( describing : p1 ) , fallback : " %@ " )
2024-11-03 22:42:17 +00:00
}
2024-10-28 19:07:19 +00:00
// / I m p o r t f r o m f i l e . . .
public static let importFromFile = Strings . tr ( " Localizable " , " modules.general.rows.import_from_file " , fallback : " Import from file... " )
2024-11-09 14:20:59 +00:00
// / E n a b l e d
public static let shared = Strings . tr ( " Localizable " , " modules.general.rows.shared " , fallback : " Enabled " )
2024-11-23 19:31:22 +00:00
public enum Appletv {
2024-11-09 14:20:59 +00:00
// / D r o p T V r e s t r i c t i o n
2024-11-23 19:31:22 +00:00
public static let purchase = Strings . tr ( " Localizable " , " modules.general.rows.appletv.purchase " , fallback : " Drop TV restriction " )
2024-11-09 14:20:59 +00:00
}
public enum Shared {
// / S h a r e o n i C l o u d
public static let purchase = Strings . tr ( " Localizable " , " modules.general.rows.shared.purchase " , fallback : " Share on iCloud " )
2024-10-03 16:46:54 +00:00
}
}
2024-10-03 16:41:27 +00:00
public enum Sections {
2024-11-09 14:20:59 +00:00
public enum Storage {
// / P r o f i l e s a r e s t o r e d t o % @ e n c r y p t e d .
public static func footer ( _ p1 : Any ) -> String {
return Strings . tr ( " Localizable " , " modules.general.sections.storage.footer " , String ( describing : p1 ) , fallback : " Profiles are stored to %@ encrypted. " )
}
// / % @
public static func header ( _ p1 : Any ) -> String {
return Strings . tr ( " Localizable " , " modules.general.sections.storage.header " , String ( describing : p1 ) , fallback : " %@ " )
}
2024-11-05 09:03:54 +00:00
public enum Footer {
public enum Purchase {
2024-11-09 14:20:59 +00:00
// / T V p r o f i l e s d o n o t w o r k i n b e t a b u i l d s .
public static let tvBeta = Strings . tr ( " Localizable " , " modules.general.sections.storage.footer.purchase.tv_beta " , fallback : " TV profiles do not work in beta builds. " )
// / T V p r o f i l e s d o n o t w o r k w i t h o u t a p u r c h a s e .
public static let tvRelease = Strings . tr ( " Localizable " , " modules.general.sections.storage.footer.purchase.tv_release " , fallback : " TV profiles do not work without a purchase. " )
2024-11-05 09:03:54 +00:00
}
}
}
2024-10-03 16:41:27 +00:00
}
}
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 " )
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-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-11-18 16:49:47 +00:00
// / P r i v a t e k e y
public static let providerKey = Strings . tr ( " Localizable " , " modules.wireguard.provider_key " , fallback : " Private 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-03 21:25:51 +00:00
public enum Theme {
public enum Confirmation {
2024-10-30 14:20:18 +00:00
// / C a n c e l
public static let cancel = Strings . tr ( " Localizable " , " theme.confirmation.cancel " , fallback : " Cancel " )
2024-10-30 13:53:35 +00:00
// / A r e y o u s u r e y o u w a n t t o p r o c e e d w i t h t h i s o p e r a t i o n ?
public static let message = Strings . tr ( " Localizable " , " theme.confirmation.message " , fallback : " Are you sure you want to proceed with this operation? " )
// / C o n f i r m
public static let ok = Strings . tr ( " Localizable " , " theme.confirmation.ok " , fallback : " Confirm " )
2024-10-03 21:25:51 +00:00
}
2024-10-30 14:20:18 +00:00
public enum LockScreen {
2024-11-17 17:48:29 +00:00
// / % @ i s l o c k e d
public static func reason ( _ p1 : Any ) -> String {
return Strings . tr ( " Localizable " , " theme.lock_screen.reason " , String ( describing : p1 ) , fallback : " %@ is locked " )
}
2024-10-30 14:20:18 +00:00
}
2024-10-03 21:25:51 +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-11-23 19:31:22 +00:00
public enum App {
public enum Errors {
// / U n a b l e t o d u p l i c a t e p r o f i l e ' % @ ' .
public static func duplicate ( _ p1 : Any ) -> String {
return Strings . tr ( " Localizable " , " views.app.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 .
public static let ` import ` = Strings . tr ( " Localizable " , " views.app.errors.import " , fallback : " Unable to import profiles. " )
// / 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 .
public static let tunnel = Strings . tr ( " Localizable " , " views.app.errors.tunnel " , fallback : " Unable to execute tunnel operation. " )
}
public enum Folders {
// / I n s t a l l e d p r o f i l e
public static let activeProfile = Strings . tr ( " Localizable " , " views.app.folders.active_profile " , fallback : " Installed profile " )
// / A d d p r o f i l e
public static let addProfile = Strings . tr ( " Localizable " , " views.app.folders.add_profile " , fallback : " Add profile " )
// / M y p r o f i l e s
public static let ` default ` = Strings . tr ( " Localizable " , " views.app.folders.default " , fallback : " My profiles " )
// / N o p r o f i l e s
public static let noProfiles = Strings . tr ( " Localizable " , " views.app.folders.no_profiles " , fallback : " No profiles " )
public enum NoProfiles {
// / M i g r a t e o l d p r o f i l e s . . .
public static let migrate = Strings . tr ( " Localizable " , " views.app.folders.no_profiles.migrate " , fallback : " Migrate old profiles... " )
}
}
public enum ProfileContext {
// / C o n n e c t t o . . .
public static let connectTo = Strings . tr ( " Localizable " , " views.app.profile_context.connect_to " , fallback : " Connect to... " )
}
public enum Rows {
// / N o a c t i v e m o d u l e s
public static let noModules = Strings . tr ( " Localizable " , " views.app.rows.no_modules " , fallback : " No active modules " )
// / S e l e c t a p r o f i l e
public static let notInstalled = Strings . tr ( " Localizable " , " views.app.rows.not_installed " , fallback : " Select a profile " )
}
public enum Toolbar {
// / I m p o r t p r o f i l e
public static let importProfile = Strings . tr ( " Localizable " , " views.app.toolbar.import_profile " , fallback : " Import profile " )
// / M i g r a t e p r o f i l e s
public static let migrateProfiles = Strings . tr ( " Localizable " , " views.app.toolbar.migrate_profiles " , fallback : " Migrate profiles " )
// / N e w p r o f i l e
public static let newProfile = Strings . tr ( " Localizable " , " views.app.toolbar.new_profile " , fallback : " New profile " )
}
public enum Tv {
// / O p e n % @ o n y o u r i O S o r m a c O S d e v i c e a n d e n a b l e t h e " % @ " t o g g l e o f a p r o f i l e t o m a k e i t a p p e a r h e r e .
public static func header ( _ p1 : Any , _ p2 : Any ) -> String {
return Strings . tr ( " Localizable " , " views.app.tv.header " , String ( describing : p1 ) , String ( describing : p2 ) , fallback : " Open %@ on your iOS or macOS device and enable the \" %@ \" toggle of a profile to make it appear here. " )
}
}
}
public enum AppMenu {
public enum Items {
// / Q u i t % @
public static func quit ( _ p1 : Any ) -> String {
return Strings . tr ( " Localizable " , " views.app_menu.items.quit " , String ( describing : p1 ) , fallback : " Quit %@ " )
}
}
}
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-11-07 22:02:10 +00:00
public enum Alerts {
public enum ThankYou {
// / T h i s m e a n s a l o t t o m e a n d I r e a l l y h o p e y o u k e e p u s i n g a n d p r o m o t i n g t h i s a p p .
public static let message = Strings . tr ( " Localizable " , " views.donate.alerts.thank_you.message " , fallback : " This means a lot to me and I really hope you keep using and promoting this app. " )
}
}
public enum Sections {
public enum Main {
2024-11-23 22:01:11 +00:00
// / I f y o u w a n t t o d i s p l a y g r a t i t u d e f o r m y w o r k , h e r e a r e a c o u p l e o f a m o u n t s y o u c a n d o n a t e i n s t a n t l y . Y o u w i l l o n l y b e c h a r g e d o n c e p e r d o n a t i o n , a n d y o u c a n d o n a t e m u l t i p l e t i m e s .
public static let footer = Strings . tr ( " Localizable " , " views.donate.sections.main.footer " , fallback : " If you want to display gratitude for my work, here are a couple of amounts you can donate instantly. You will only be charged once per donation, and you can donate multiple times. " )
2024-11-07 22:02:10 +00:00
}
}
2024-09-23 13:02:26 +00:00
}
2024-11-23 19:31:22 +00:00
public enum Migration {
2024-11-16 11:29:03 +00:00
// / N o t h i n g t o m i g r a t e
2024-11-23 19:31:22 +00:00
public static let noProfiles = Strings . tr ( " Localizable " , " views.migration.no_profiles " , fallback : " Nothing to migrate " )
2024-11-14 10:02:26 +00:00
// / M i g r a t e
2024-11-23 19:31:22 +00:00
public static let title = Strings . tr ( " Localizable " , " views.migration.title " , fallback : " Migrate " )
2024-11-16 11:29:03 +00:00
public enum Alerts {
public enum Delete {
// / D o y o u w a n t t o d i s c a r d t h e s e p r o f i l e s ? Y o u w i l l n o t b e a b l e t o r e c o v e r t h e m l a t e r .
// /
// / % @
public static func message ( _ p1 : Any ) -> String {
2024-11-23 19:31:22 +00:00
return Strings . tr ( " Localizable " , " views.migration.alerts.delete.message " , String ( describing : p1 ) , fallback : " Do you want to discard these profiles? You will not be able to recover them later. \n \n %@ " )
2024-11-16 11:29:03 +00:00
}
}
}
public enum Items {
2024-11-16 20:16:25 +00:00
// / D i s c a r d
2024-11-23 19:31:22 +00:00
public static let discard = Strings . tr ( " Localizable " , " views.migration.items.discard " , fallback : " Discard " )
2024-11-16 11:29:03 +00:00
// / P r o c e e d
2024-11-23 19:31:22 +00:00
public static let migrate = Strings . tr ( " Localizable " , " views.migration.items.migrate " , fallback : " Proceed " )
2024-11-16 11:29:03 +00:00
}
public enum Sections {
public enum Main {
2024-11-17 17:48:29 +00:00
// / S e l e c t b e l o w t h e p r o f i l e s f r o m o l d v e r s i o n s o f % @ t h a t y o u w a n t t o i m p o r t . I n c a s e y o u r p r o f i l e s a r e s t o r e d o n i C l o u d , t h e y m a y t a k e a w h i l e t o s y n c h r o n i z e . I f y o u d o n o t s e e t h e m n o w , p l e a s e c o m e b a c k l a t e r .
public static func header ( _ p1 : Any ) -> String {
2024-11-23 19:31:22 +00:00
return Strings . tr ( " Localizable " , " views.migration.sections.main.header " , String ( describing : p1 ) , fallback : " Select below the profiles from old versions of %@ that you want to import. In case your profiles are stored on iCloud, they may take a while to synchronize. If you do not see them now, please come back later. " )
}
}
}
}
public enum Paywall {
public enum Alerts {
2024-11-24 19:01:30 +00:00
public enum Confirmation {
// / T h i s p r o f i l e r e q u i r e s p a i d f e a t u r e s t o w o r k .
public static let message = Strings . tr ( " Localizable " , " views.paywall.alerts.confirmation.message " , fallback : " This profile requires paid features to work. " )
// / P u r c h a s e r e q u i r e d
public static let title = Strings . tr ( " Localizable " , " views.paywall.alerts.confirmation.title " , fallback : " Purchase required " )
}
2024-11-23 19:31:22 +00:00
public enum Pending {
// / T h e p u r c h a s e i s p e n d i n g e x t e r n a l c o n f i r m a t i o n . T h e f e a t u r e w i l l b e c r e d i t e d u p o n a p p r o v a l .
public static let message = Strings . tr ( " Localizable " , " views.paywall.alerts.pending.message " , fallback : " The purchase is pending external confirmation. The feature will be credited upon approval. " )
}
public enum Restricted {
// / S o m e f e a t u r e s a r e u n a v a i l a b l e i n t h i s b u i l d .
public static let message = Strings . tr ( " Localizable " , " views.paywall.alerts.restricted.message " , fallback : " Some features are unavailable in this build. " )
// / R e s t r i c t e d
public static let title = Strings . tr ( " Localizable " , " views.paywall.alerts.restricted.title " , fallback : " Restricted " )
}
}
public enum Rows {
// / R e s t o r e p u r c h a s e s
public static let restorePurchases = Strings . tr ( " Localizable " , " views.paywall.rows.restore_purchases " , fallback : " Restore purchases " )
}
public enum Sections {
public enum Features {
public enum Other {
// / A l s o i n c l u d e d
public static let header = Strings . tr ( " Localizable " , " views.paywall.sections.features.other.header " , fallback : " Also included " )
}
public enum Required {
// / R e q u i r e d f e a t u r e s
public static let header = Strings . tr ( " Localizable " , " views.paywall.sections.features.required.header " , fallback : " Required features " )
2024-11-17 17:48:29 +00:00
}
2024-11-16 11:29:03 +00:00
}
2024-11-23 19:31:22 +00:00
public enum OneTime {
// / O n e - t i m e p u r c h a s e
public static let header = Strings . tr ( " Localizable " , " views.paywall.sections.one_time.header " , fallback : " One-time purchase " )
}
public enum Recurring {
// / A l l f e a t u r e s
public static let header = Strings . tr ( " Localizable " , " views.paywall.sections.recurring.header " , fallback : " All features " )
}
public enum Restore {
// / I f y o u b o u g h t t h i s a p p o r f e a t u r e i n t h e p a s t , y o u c a n r e s t o r e y o u r p u r c h a s e s .
public static let footer = Strings . tr ( " Localizable " , " views.paywall.sections.restore.footer " , fallback : " If you bought this app or feature in the past, you can restore your purchases. " )
// / R e s t o r e
public static let header = Strings . tr ( " Localizable " , " views.paywall.sections.restore.header " , fallback : " Restore " )
}
}
}
public enum Preferences {
// / E r a s e i C l o u d s t o r e
public static let eraseIcloud = Strings . tr ( " Localizable " , " views.preferences.erase_icloud " , fallback : " Erase iCloud store " )
// / K e e p i n m e n u b a r
public static let keepsInMenu = Strings . tr ( " Localizable " , " views.preferences.keeps_in_menu " , fallback : " Keep in menu bar " )
// / L a u n c h o n l o g i n
public static let launchesOnLogin = Strings . tr ( " Localizable " , " views.preferences.launches_on_login " , fallback : " Launch on login " )
// / L o c k i n b a c k g r o u n d
public static let locksInBackground = Strings . tr ( " Localizable " , " views.preferences.locks_in_background " , fallback : " Lock in background " )
public enum EraseIcloud {
// / 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.preferences.erase_icloud.footer " , fallback : " To erase the iCloud store securely, do so on all your synced devices. This will not affect local profiles. " )
}
public enum KeepsInMenu {
// / E n a b l e t h i s t o k e e p t h e a p p i n t h e m e n u b a r a f t e r c l o s i n g i t .
public static let footer = Strings . tr ( " Localizable " , " views.preferences.keeps_in_menu.footer " , fallback : " Enable this to keep the app in the menu bar after closing it. " )
}
public enum LaunchesOnLogin {
// / O p e n t h e a p p i n b a c k g r o u n d a f t e r l o g i n .
public static let footer = Strings . tr ( " Localizable " , " views.preferences.launches_on_login.footer " , fallback : " Open the app in background after login. " )
}
public enum LocksInBackground {
// / L o c k t h e a p p w i t h F a c e I D w h e n s e n t t o t h e b a c k g r o u n d .
public static let footer = Strings . tr ( " Localizable " , " views.preferences.locks_in_background.footer " , fallback : " Lock the app with FaceID when sent to the background. " )
2024-11-16 11:29:03 +00:00
}
2024-11-14 10:02:26 +00:00
}
2024-09-28 15:58:48 +00:00
public enum Profile {
2024-11-18 16:43:01 +00:00
public enum Alerts {
public enum Purchase {
public enum Buttons {
// / S a v e a n y w a y
public static let ok = Strings . tr ( " Localizable " , " views.profile.alerts.purchase.buttons.ok " , fallback : " Save anyway " )
}
}
}
2024-09-28 15:58:48 +00:00
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-11-23 19:31:22 +00:00
public enum Providers {
// / C l e a r f i l t e r s
public static let clearFilters = Strings . tr ( " Localizable " , " views.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 " , " views.providers.last_updated " , String ( describing : p1 ) , fallback : " Last updated on %@ " )
}
// / N o n e
public static let noProvider = Strings . tr ( " Localizable " , " views.providers.no_provider " , fallback : " None " )
// / O n l y f a v o r i t e s
public static let onlyFavorites = Strings . tr ( " Localizable " , " views.providers.only_favorites " , fallback : " Only favorites " )
// / 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 " , " views.providers.refresh_infrastructure " , fallback : " Refresh infrastructure " )
// / S e l e c t
public static let selectEntity = Strings . tr ( " Localizable " , " views.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 " , " views.providers.select_provider " , fallback : " Select a provider " )
public enum LastUpdated {
// / L o a d i n g . . .
public static let loading = Strings . tr ( " Localizable " , " views.providers.last_updated.loading " , fallback : " Loading... " )
}
public enum Vpn {
// / N o s e r v e r s
public static let noServers = Strings . tr ( " Localizable " , " views.providers.vpn.no_servers " , fallback : " No servers " )
// / P r e s e t
public static let preset = Strings . tr ( " Localizable " , " views.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 " , " views.providers.vpn.category.any " , fallback : " All categories " )
2024-11-22 01:20:41 +00:00
}
}
2024-09-23 13:02:26 +00:00
}
2024-11-25 18:17:18 +00:00
public enum Purchased {
// / N o p u r c h a s e s
public static let noPurchases = Strings . tr ( " Localizable " , " views.purchased.no_purchases " , fallback : " No purchases " )
// / P u r c h a s e d
public static let title = Strings . tr ( " Localizable " , " views.purchased.title " , fallback : " Purchased " )
public enum Rows {
// / B u i l d n u m b e r
public static let buildNumber = Strings . tr ( " Localizable " , " views.purchased.rows.build_number " , fallback : " Build number " )
// / D o w n l o a d d a t e
public static let downloadDate = Strings . tr ( " Localizable " , " views.purchased.rows.download_date " , fallback : " Download date " )
}
public enum Sections {
public enum Download {
// / F i r s t d o w n l o a d
public static let header = Strings . tr ( " Localizable " , " views.purchased.sections.download.header " , fallback : " First download " )
}
public enum Features {
// / E l i g i b l e f e a t u r e s
public static let header = Strings . tr ( " Localizable " , " views.purchased.sections.features.header " , fallback : " Eligible features " )
}
public enum Products {
// / P u r c h a s e s
public static let header = Strings . tr ( " Localizable " , " views.purchased.sections.products.header " , fallback : " Purchases " )
}
}
}
2024-11-23 19:31:22 +00:00
public enum Ui {
public enum ConnectionStatus {
// / ( o n - d e m a n d )
public static let onDemandSuffix = Strings . tr ( " Localizable " , " views.ui.connection_status.on_demand_suffix " , fallback : " (on-demand) " )
2024-11-07 14:50:19 +00:00
}
2024-11-23 19:31:22 +00:00
public enum PurchaseRequired {
public enum Purchase {
// / P u r c h a s e r e q u i r e d
public static let help = Strings . tr ( " Localizable " , " views.ui.purchase_required.purchase.help " , fallback : " Purchase required " )
}
public enum Restricted {
// / F e a t u r e i s r e s t r i c t e d
public static let help = Strings . tr ( " Localizable " , " views.ui.purchase_required.restricted.help " , fallback : " Feature is restricted " )
}
2024-10-03 21:25:51 +00:00
}
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 {
2024-11-25 10:34:31 +00:00
let format = Bundle . module . localizedString ( forKey : key , value : value , table : table )
2024-09-23 13:02:26 +00:00
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