Commit 82d0a491 authored by Jose Blaya's avatar Jose Blaya
Browse files

Update swiftgen yml version

parent 96df5fa6
......@@ -42,8 +42,6 @@
0E7361EC1FD99A1000706BFF /* MenuViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E7361EA1FD99A1000706BFF /* MenuViewController.swift */; };
0E7AA9092023CA0700E1F07A /* HUD.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E7AA9082023CA0700E1F07A /* HUD.swift */; };
0E7AA90A2023CA0700E1F07A /* HUD.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E7AA9082023CA0700E1F07A /* HUD.swift */; };
0E7B8FA01FF41551000B59B7 /* SwiftGen+Storyboards.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E7B8F9F1FF41551000B59B7 /* SwiftGen+Storyboards.swift */; };
0E7B8FA11FF41717000B59B7 /* SwiftGen+Storyboards.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E7B8F9F1FF41551000B59B7 /* SwiftGen+Storyboards.swift */; };
0E7EC0302093265C0029811E /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 0E7EC02E2093265C0029811E /* InfoPlist.strings */; };
0E7EC0312093265C0029811E /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 0E7EC02E2093265C0029811E /* InfoPlist.strings */; };
0E7EC045209326E30029811E /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 0E7EC043209326E30029811E /* Localizable.strings */; };
......@@ -157,6 +155,10 @@
299E58511856BD31004CFD63 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 299E58501856BD31004CFD63 /* SystemConfiguration.framework */; };
299E585F1856C6EE004CFD63 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 299E585E1856C6EE004CFD63 /* libz.dylib */; };
45A07B00D61C82133B9BE96B /* Pods_PIA_VPN_Tunnel.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5433F44E11954FFC8FF5D3C5 /* Pods_PIA_VPN_Tunnel.framework */; };
DDC8124C2176185000CB290C /* SwiftGen+SeguesStoryboards.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDC8124B2176185000CB290C /* SwiftGen+SeguesStoryboards.swift */; };
DDC8124D2176185D00CB290C /* SwiftGen+SeguesStoryboards.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDC8124B2176185000CB290C /* SwiftGen+SeguesStoryboards.swift */; };
DDC8124F21761B0B00CB290C /* SwiftGen+ScenesStoryboards.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDC8124E21761B0B00CB290C /* SwiftGen+ScenesStoryboards.swift */; };
DDC8125021761B0B00CB290C /* SwiftGen+ScenesStoryboards.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDC8124E21761B0B00CB290C /* SwiftGen+ScenesStoryboards.swift */; };
DFD6528782B6A66D1E454963 /* Pods_PIA_VPN.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7F5474F758043FE2395DD520 /* Pods_PIA_VPN.framework */; };
FFF2F08ABA838D0A36D66F17 /* Pods_PIA_VPN_dev.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D4A0747BCF753BD2622A2C9B /* Pods_PIA_VPN_dev.framework */; };
/* End PBXBuildFile section */
......@@ -287,7 +289,6 @@
0E7361E71FD98C3400706BFF /* AccountViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AccountViewController.swift; sourceTree = "<group>"; };
0E7361EA1FD99A1000706BFF /* MenuViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MenuViewController.swift; sourceTree = "<group>"; };
0E7AA9082023CA0700E1F07A /* HUD.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HUD.swift; sourceTree = "<group>"; };
0E7B8F9F1FF41551000B59B7 /* SwiftGen+Storyboards.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "SwiftGen+Storyboards.swift"; sourceTree = "<group>"; };
0E7EC02F2093265C0029811E /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
0E7EC032209326640029811E /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/InfoPlist.strings; sourceTree = "<group>"; };
0E7EC033209326660029811E /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/InfoPlist.strings; sourceTree = "<group>"; };
......@@ -401,6 +402,8 @@
93EAFFE4904155B1C09EFBC9 /* Pods-PIA VPN dev.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PIA VPN dev.debug.xcconfig"; path = "Pods/Target Support Files/Pods-PIA VPN dev/Pods-PIA VPN dev.debug.xcconfig"; sourceTree = "<group>"; };
C5464957EFE912B2D859C48E /* Pods-PIA VPN dev.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PIA VPN dev.release.xcconfig"; path = "Pods/Target Support Files/Pods-PIA VPN dev/Pods-PIA VPN dev.release.xcconfig"; sourceTree = "<group>"; };
D4A0747BCF753BD2622A2C9B /* Pods_PIA_VPN_dev.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_PIA_VPN_dev.framework; sourceTree = BUILT_PRODUCTS_DIR; };
DDC8124B2176185000CB290C /* SwiftGen+SeguesStoryboards.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "SwiftGen+SeguesStoryboards.swift"; sourceTree = "<group>"; };
DDC8124E21761B0B00CB290C /* SwiftGen+ScenesStoryboards.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "SwiftGen+ScenesStoryboards.swift"; sourceTree = "<group>"; };
EC84CA3A280C03D3509785B5 /* Pods-PIA VPN.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PIA VPN.debug.xcconfig"; path = "Pods/Target Support Files/Pods-PIA VPN/Pods-PIA VPN.debug.xcconfig"; sourceTree = "<group>"; };
/* End PBXFileReference section */
......@@ -754,7 +757,8 @@
0EE14D111FF12991008D9AC2 /* PIASwitch.h */,
0EE14D101FF12991008D9AC2 /* PIASwitch.m */,
0E2215CB2008BF8300F5FB4D /* SwiftGen+Assets.swift */,
0E7B8F9F1FF41551000B59B7 /* SwiftGen+Storyboards.swift */,
DDC8124B2176185000CB290C /* SwiftGen+SeguesStoryboards.swift */,
DDC8124E21761B0B00CB290C /* SwiftGen+ScenesStoryboards.swift */,
0E2215C820084CD700F5FB4D /* SwiftGen+Strings.swift */,
);
name = Shared;
......@@ -1352,12 +1356,12 @@
0E7AA90A2023CA0700E1F07A /* HUD.swift in Sources */,
0E441E322055B8A7007528D5 /* Theme+Extension.swift in Sources */,
0EA4ACAB20487B5800431F7D /* FakeSwitch.swift in Sources */,
DDC8124D2176185D00CB290C /* SwiftGen+SeguesStoryboards.swift in Sources */,
0EFB839120209CF200980F69 /* VPNPermissionViewController.swift in Sources */,
0EFDC1D81FE46177007C0B9B /* SensitiveOperation.swift in Sources */,
0E3A35291FD9A960000B0F99 /* DashboardViewController.swift in Sources */,
0E9452A61FDB578400891948 /* RegionCell.swift in Sources */,
0EFDC1ED1FE4B9DC007C0B9B /* AppConstants.swift in Sources */,
0E7B8FA11FF41717000B59B7 /* SwiftGen+Storyboards.swift in Sources */,
0EE14D131FF129AF008D9AC2 /* PIASwitch.m in Sources */,
0E2215CA2008BA9100F5FB4D /* SwiftGen+Strings.swift in Sources */,
0EFDC1C71FE35B78007C0B9B /* Macros+App.swift in Sources */,
......@@ -1376,6 +1380,7 @@
0E53A83C1FE5A156000C2A18 /* AccountProvider+Refresh.swift in Sources */,
0EFDC1E11FE4A450007C0B9B /* AppPreferences.swift in Sources */,
0E441E272055AEDF007528D5 /* ThemeStrategy+App.swift in Sources */,
DDC8125021761B0B00CB290C /* SwiftGen+ScenesStoryboards.swift in Sources */,
0E492C681FE60907007F23DF /* Flags.swift in Sources */,
0EE14D191FF15812008D9AC2 /* ModalNavigationSegue.swift in Sources */,
0E3A352D1FD9CDC5000B0F99 /* Theme+App.swift in Sources */,
......@@ -1433,12 +1438,12 @@
0E3A35351FD9EBDA000B0F99 /* AppDelegate.swift in Sources */,
0E7AA9092023CA0700E1F07A /* HUD.swift in Sources */,
0EA4ACAA20487B5800431F7D /* FakeSwitch.swift in Sources */,
DDC8124C2176185000CB290C /* SwiftGen+SeguesStoryboards.swift in Sources */,
0EFB839020209CF200980F69 /* VPNPermissionViewController.swift in Sources */,
0EFDC1D71FE46177007C0B9B /* SensitiveOperation.swift in Sources */,
0E3A35281FD9A960000B0F99 /* DashboardViewController.swift in Sources */,
0E9452A51FDB578400891948 /* RegionCell.swift in Sources */,
0EFDC1EC1FE4B9DC007C0B9B /* AppConstants.swift in Sources */,
0E7B8FA01FF41551000B59B7 /* SwiftGen+Storyboards.swift in Sources */,
0EE14D121FF12991008D9AC2 /* PIASwitch.m in Sources */,
0E2215C920084CD700F5FB4D /* SwiftGen+Strings.swift in Sources */,
0EFDC1C61FE35B78007C0B9B /* Macros+App.swift in Sources */,
......@@ -1457,6 +1462,7 @@
0E9452961FDB4C5800891948 /* AboutComponentCell.swift in Sources */,
0E53A83B1FE5A156000C2A18 /* AccountProvider+Refresh.swift in Sources */,
0EFDC1E01FE4A450007C0B9B /* AppPreferences.swift in Sources */,
DDC8124F21761B0B00CB290C /* SwiftGen+ScenesStoryboards.swift in Sources */,
0E492C671FE60907007F23DF /* Flags.swift in Sources */,
0EE14D181FF15812008D9AC2 /* ModalNavigationSegue.swift in Sources */,
0E3A352C1FD9CDC5000B0F99 /* Theme+App.swift in Sources */,
......
// swiftlint:disable all
// Generated using SwiftGen, by O.Halligon — https://github.com/SwiftGen/SwiftGen
// swiftlint:disable sorted_imports
import Foundation
import UIKit
import SideMenu
import UIKit
// swiftlint:disable superfluous_disable_command
// swiftlint:disable file_length
// MARK: - Storyboard Scenes
// swiftlint:disable explicit_type_interface identifier_name line_length type_body_length type_name
internal enum StoryboardScene {
internal enum Main: StoryboardType {
internal static let storyboardName = "Main"
internal static let initialScene = InitialSceneType<UIKit.UINavigationController>(storyboard: Main.self)
internal static let sideMenuNavigationController = SceneType<SideMenu.UISideMenuNavigationController>(storyboard: Main.self, identifier: "SideMenuNavigationController")
internal static let vpnPermissionViewController = SceneType<VPNPermissionViewController>(storyboard: Main.self, identifier: "VPNPermissionViewController")
}
}
// swiftlint:enable explicit_type_interface identifier_name line_length type_body_length type_name
// MARK: - Implementation Details
internal protocol StoryboardType {
static var storyboardName: String { get }
}
......@@ -19,7 +38,7 @@ internal extension StoryboardType {
}
}
internal struct SceneType<T: Any> {
internal struct SceneType<T: UIViewController> {
internal let storyboard: StoryboardType.Type
internal let identifier: String
......@@ -32,7 +51,7 @@ internal struct SceneType<T: Any> {
}
}
internal struct InitialSceneType<T: Any> {
internal struct InitialSceneType<T: UIViewController> {
internal let storyboard: StoryboardType.Type
internal func instantiate() -> T {
......@@ -43,43 +62,4 @@ internal struct InitialSceneType<T: Any> {
}
}
internal protocol SegueType: RawRepresentable { }
internal extension UIViewController {
func perform<S: SegueType>(segue: S, sender: Any? = nil) where S.RawValue == String {
let identifier = segue.rawValue
performSegue(withIdentifier: identifier, sender: sender)
}
}
// swiftlint:disable explicit_type_interface identifier_name line_length type_body_length type_name
internal enum StoryboardScene {
internal enum Main: StoryboardType {
internal static let storyboardName = "Main"
internal static let initialScene = InitialSceneType<UINavigationController>(storyboard: Main.self)
internal static let sideMenuNavigationController = SceneType<SideMenu.UISideMenuNavigationController>(storyboard: Main.self, identifier: "SideMenuNavigationController")
internal static let vpnPermissionViewController = SceneType<PIA_VPN.VPNPermissionViewController>(storyboard: Main.self, identifier: "VPNPermissionViewController")
}
}
internal enum StoryboardSegue {
internal enum Main: String, SegueType {
case aboutSegueIdentifier = "AboutSegueIdentifier"
case accountSegueIdentifier = "AccountSegueIdentifier"
case contentBlockerSegueIdentifier = "ContentBlockerSegueIdentifier"
case menuSegueIdentifier = "MenuSegueIdentifier"
case selectRegionAnimatedSegueIdentifier = "SelectRegionAnimatedSegueIdentifier"
case selectRegionSegueIdentifier = "SelectRegionSegueIdentifier"
case settingsSegueIdentifier = "SettingsSegueIdentifier"
case unwindContentBlockerSegueIdentifier = "UnwindContentBlockerSegueIdentifier"
case unwindRegionsSegueIdentifier = "UnwindRegionsSegueIdentifier"
case unwindWalkthroughSegueIdentifier = "UnwindWalkthroughSegueIdentifier"
case walkthroughSegueIdentifier = "WalkthroughSegueIdentifier"
}
}
// swiftlint:enable explicit_type_interface identifier_name line_length type_body_length type_name
private final class BundleToken {}
// swiftlint:disable all
// Generated using SwiftGen, by O.Halligon — https://github.com/SwiftGen/SwiftGen
// swiftlint:disable sorted_imports
import Foundation
import SideMenu
import UIKit
// swiftlint:disable superfluous_disable_command
// swiftlint:disable file_length
// MARK: - Storyboard Segues
// swiftlint:disable explicit_type_interface identifier_name line_length type_body_length type_name
internal enum StoryboardSegue {
internal enum Main: String, SegueType {
case aboutSegueIdentifier = "AboutSegueIdentifier"
case accountSegueIdentifier = "AccountSegueIdentifier"
case contentBlockerSegueIdentifier = "ContentBlockerSegueIdentifier"
case menuSegueIdentifier = "MenuSegueIdentifier"
case selectRegionAnimatedSegueIdentifier = "SelectRegionAnimatedSegueIdentifier"
case selectRegionSegueIdentifier = "SelectRegionSegueIdentifier"
case settingsSegueIdentifier = "SettingsSegueIdentifier"
case unwindContentBlockerSegueIdentifier = "UnwindContentBlockerSegueIdentifier"
case unwindRegionsSegueIdentifier = "UnwindRegionsSegueIdentifier"
case unwindWalkthroughSegueIdentifier = "UnwindWalkthroughSegueIdentifier"
case walkthroughSegueIdentifier = "WalkthroughSegueIdentifier"
}
}
// swiftlint:enable explicit_type_interface identifier_name line_length type_body_length type_name
// MARK: - Implementation Details
internal protocol SegueType: RawRepresentable {}
internal extension UIViewController {
func perform<S: SegueType>(segue: S, sender: Any? = nil) where S.RawValue == String {
let identifier = segue.rawValue
performSegue(withIdentifier: identifier, sender: sender)
}
}
internal extension SegueType where RawValue == String {
init?(_ segue: UIStoryboardSegue) {
guard let identifier = segue.identifier else { return nil }
self.init(rawValue: identifier)
}
}
private final class BundleToken {}
// swiftlint:disable all
// Generated using SwiftGen, by O.Halligon — https://github.com/SwiftGen/SwiftGen
import Foundation
......@@ -5,7 +6,10 @@ import Foundation
// swiftlint:disable superfluous_disable_command
// swiftlint:disable file_length
// swiftlint:disable explicit_type_interface identifier_name line_length nesting type_body_length type_name
// MARK: - Strings
// swiftlint:disable explicit_type_interface function_parameter_count identifier_name line_length
// swiftlint:disable nesting type_body_length type_name
internal enum L10n {
internal enum About {
......@@ -13,9 +17,7 @@ internal enum L10n {
internal static let app = L10n.tr("Localizable", "about.app")
/// This program uses the following components:
internal static let intro = L10n.tr("Localizable", "about.intro")
internal enum Accessibility {
internal enum Component {
/// Tap to read full license
internal static let expand = L10n.tr("Localizable", "about.accessibility.component.expand")
......@@ -24,13 +26,10 @@ internal enum L10n {
}
internal enum Account {
internal enum Accessibility {
/// Eye icon
internal static let eye = L10n.tr("Localizable", "account.accessibility.eye")
internal enum Eye {
internal enum Hint {
/// Tap to conceal password
internal static let conceal = L10n.tr("Localizable", "account.accessibility.eye.hint.conceal")
......@@ -39,14 +38,12 @@ internal enum L10n {
}
}
}
internal enum Email {
/// Email
internal static let caption = L10n.tr("Localizable", "account.email.caption")
/// Email address
internal static let placeholder = L10n.tr("Localizable", "account.email.placeholder")
}
internal enum ExpiryDate {
/// Your plan has expired.
internal static let expired = L10n.tr("Localizable", "account.expiry_date.expired")
......@@ -55,22 +52,18 @@ internal enum L10n {
return L10n.tr("Localizable", "account.expiry_date.information", p1)
}
}
internal enum Eye {
/// Tap the eye icon to reveal or conceal your password.
internal static let footer = L10n.tr("Localizable", "account.eye.footer")
}
internal enum Other {
/// Get the Private Internet Access app for your other devices and use the above username and password to login and secure your connection.
internal static let footer = L10n.tr("Localizable", "account.other.footer")
}
internal enum Password {
/// Password
internal static let caption = L10n.tr("Localizable", "account.password.caption")
}
internal enum Restore {
/// RESTORE PURCHASE
internal static let button = L10n.tr("Localizable", "account.restore.button")
......@@ -78,7 +71,6 @@ internal enum L10n {
internal static let description = L10n.tr("Localizable", "account.restore.description")
/// Restore uncredited purchase
internal static let title = L10n.tr("Localizable", "account.restore.title")
internal enum Failure {
/// No redeemable purchase was found for renewal.
internal static let message = L10n.tr("Localizable", "account.restore.failure.message")
......@@ -86,12 +78,10 @@ internal enum L10n {
internal static let title = L10n.tr("Localizable", "account.restore.failure.title")
}
}
internal enum Reveal {
/// Authenticate to reveal
internal static let prompt = L10n.tr("Localizable", "account.reveal.prompt")
}
internal enum Save {
/// Update
internal static let item = L10n.tr("Localizable", "account.save.item")
......@@ -100,7 +90,6 @@ internal enum L10n {
/// Your email address has been saved.
internal static let success = L10n.tr("Localizable", "account.save.success")
}
internal enum Username {
/// Username
internal static let caption = L10n.tr("Localizable", "account.username.caption")
......@@ -110,7 +99,6 @@ internal enum L10n {
internal enum ContentBlocker {
/// Content Blocker
internal static let title = L10n.tr("Localizable", "content_blocker.title")
internal enum Body {
/// Please note: You do not need to be connected to the VPN for this Content Blocker to work, but it will only work while browsing with Safari.
internal static let footer = L10n.tr("Localizable", "content_blocker.body.footer")
......@@ -122,16 +110,13 @@ internal enum L10n {
internal enum Dashboard {
/// Status
internal static let status = L10n.tr("Localizable", "dashboard.status")
internal enum Connection {
internal enum Ip {
/// PUBLIC IP
internal static let caption = L10n.tr("Localizable", "dashboard.connection.ip.caption")
/// Internet unreachable
internal static let unreachable = L10n.tr("Localizable", "dashboard.connection.ip.unreachable")
}
internal enum Region {
/// CURRENT REGION
internal static let caption = L10n.tr("Localizable", "dashboard.connection.region.caption")
......@@ -139,15 +124,12 @@ internal enum L10n {
internal static let change = L10n.tr("Localizable", "dashboard.connection.region.change")
}
}
internal enum ContentBlocker {
internal enum Intro {
/// This version replaces MACE with our Safari Content Blocker.\n\nCheck it out in the 'Settings' section.
internal static let message = L10n.tr("Localizable", "dashboard.content_blocker.intro.message")
}
}
internal enum Vpn {
/// Changing region...
internal static let changingRegion = L10n.tr("Localizable", "dashboard.vpn.changing_region")
......@@ -183,7 +165,6 @@ internal enum L10n {
}
internal enum Menu {
internal enum Accessibility {
/// Menu
internal static let item = L10n.tr("Localizable", "menu.accessibility.item")
......@@ -192,7 +173,6 @@ internal enum L10n {
return L10n.tr("Localizable", "menu.accessibility.logged_as", p1)
}
}
internal enum Expiration {
/// %d days
internal static func days(_ p1: Int) -> String {
......@@ -209,7 +189,6 @@ internal enum L10n {
/// UPGRADE ACCOUNT
internal static let upgrade = L10n.tr("Localizable", "menu.expiration.upgrade")
}
internal enum Item {
/// About
internal static let about = L10n.tr("Localizable", "menu.item.about")
......@@ -221,7 +200,6 @@ internal enum L10n {
internal static let region = L10n.tr("Localizable", "menu.item.region")
/// Settings
internal static let settings = L10n.tr("Localizable", "menu.item.settings")
internal enum Web {
/// Home page
internal static let home = L10n.tr("Localizable", "menu.item.web.home")
......@@ -231,7 +209,6 @@ internal enum L10n {
internal static let support = L10n.tr("Localizable", "menu.item.web.support")
}
}
internal enum Logout {
/// Log out
internal static let confirm = L10n.tr("Localizable", "menu.logout.confirm")
......@@ -240,7 +217,6 @@ internal enum L10n {
/// Log out
internal static let title = L10n.tr("Localizable", "menu.logout.title")
}
internal enum Renewal {
/// Purchase
internal static let purchase = L10n.tr("Localizable", "menu.renewal.purchase")
......@@ -248,7 +224,6 @@ internal enum L10n {
internal static let renew = L10n.tr("Localizable", "menu.renewal.renew")
/// Renewal
internal static let title = L10n.tr("Localizable", "menu.renewal.title")
internal enum Message {
/// Trial accounts are not eligible for renewal. Please purchase a new account upon expiry to continue service.
internal static let trial = L10n.tr("Localizable", "menu.renewal.message.trial")
......@@ -261,7 +236,6 @@ internal enum L10n {
}
internal enum Notifications {
internal enum Disabled {
/// Enable notifications to get a reminder to renew your subscription before it expires.
internal static let message = L10n.tr("Localizable", "notifications.disabled.message")
......@@ -273,12 +247,10 @@ internal enum L10n {
}
internal enum Renewal {
internal enum Failure {
/// Your purchase receipt couldn't be submitted, please retry at a later time.
internal static let message = L10n.tr("Localizable", "renewal.failure.message")
}
internal enum Success {
/// Your account was successfully renewed.
internal static let message = L10n.tr("Localizable", "renewal.success.message")
......@@ -288,29 +260,24 @@ internal enum L10n {
}
internal enum Settings {
internal enum ApplicationInformation {
/// APPLICATION INFORMATION
internal static let title = L10n.tr("Localizable", "settings.application_information.title")
internal enum Debug {
/// Send debug to support
internal static let title = L10n.tr("Localizable", "settings.application_information.debug.title")
internal enum Empty {
/// Debug information is empty, please attempt a connection before retrying submission.
internal static let message = L10n.tr("Localizable", "settings.application_information.debug.empty.message")
/// Empty debug information
internal static let title = L10n.tr("Localizable", "settings.application_information.debug.empty.title")
}
internal enum Failure {
/// Debug information could not be submitted. Please disconnect from the VPN and retry.
internal static let message = L10n.tr("Localizable", "settings.application_information.debug.failure.message")
/// Error during submission
internal static let title = L10n.tr("Localizable", "settings.application_information.debug.failure.title")
}
internal enum Success {
/// Debug information successfully submitted.\nID: %@\nPlease note this ID, as our support team will require this to locate your submission.
internal static func message(_ p1: String) -> String {
......@@ -321,23 +288,19 @@ internal enum L10n {
}
}
}
internal enum ApplicationSettings {
/// APPLICATION SETTINGS
internal static let title = L10n.tr("Localizable", "settings.application_settings.title")
internal enum DarkTheme {
/// Dark theme
internal static let title = L10n.tr("Localizable", "settings.application_settings.dark_theme.title")
}
internal enum KillSwitch {
/// The VPN kill switch prevents access to the Internet if the VPN connection is reconnecting. This excludes disconnecting manually.
internal static let footer = L10n.tr("Localizable", "settings.application_settings.kill_switch.footer")
/// VPN kill switch
internal static let title = L10n.tr("Localizable", "settings.application_settings.kill_switch.title")
}
internal enum Mace {
/// PIA MACE™ blocks ads, trackers, and malware while you're connected to the VPN.
internal static let footer = L10n.tr("Localizable", "settings.application_settings.mace.footer")
......@@ -345,16 +308,13 @@ internal enum L10n {
internal static let title = L10n.tr("Localizable", "settings.application_settings.mace.title")
}
}
internal enum Commit {
internal enum Buttons {
/// Later
internal static let later = L10n.tr("Localizable", "settings.commit.buttons.later")
/// Reconnect
internal static let reconnect = L10n.tr("Localizable", "settings.commit.buttons.reconnect")
}
internal enum Messages {
/// The VPN must reconnect for some changes to take effect.
internal static let mustDisconnect = L10n.tr("Localizable", "settings.commit.messages.must_disconnect")
......@@ -362,74 +322,60 @@ internal enum L10n {
internal static let shouldReconnect = L10n.tr("Localizable", "settings.commit.messages.should_reconnect")
}
}
internal enum Connection {
/// CONNECTION
internal static let title = L10n.tr("Localizable", "settings.connection.title")
internal enum RemotePort {
/// Remote port
internal static let title = L10n.tr("Localizable", "settings.connection.remote_port.title")
}
internal enum SocketProtocol {
/// Socket
internal static let title = L10n.tr("Localizable", "settings.connection.socket_protocol.title")
}
internal enum VpnProtocol {
/// Protocol
internal static let title = L10n.tr("Localizable", "settings.connection.vpn_protocol.title")
}
}
internal enum ContentBlocker {
/// To enable or disable Content Blocker go to Settings > Safari > Content Blockers and toggle PIA VPN.
internal static let footer = L10n.tr("Localizable", "settings.content_blocker.footer")
/// Safari Content Blocker
internal static let title = L10n.tr("Localizable", "settings.content_blocker.title")
internal enum Refresh {
/// Refresh block list
internal static let title = L10n.tr("Localizable", "settings.content_blocker.refresh.title")
}
internal enum State {
/// Current state
internal static let title = L10n.tr("Localizable", "settings.content_blocker.state.title")
}
}
internal enum Encryption {
/// ENCRYPTION
internal static let title = L10n.tr("Localizable", "settings.encryption.title")
internal enum Cipher {
/// Data encryption
internal static let title = L10n.tr("Localizable", "settings.encryption.cipher.title")
}
internal enum Digest {
/// Data authentication
internal static let title = L10n.tr("Localizable", "settings.encryption.digest.title")
}
internal enum Handshake {
/// Handshake
internal static let title = L10n.tr("Localizable", "settings.encryption.handshake.title")
}
}
internal enum Reset {
/// This will reset all of the above settings to default.
internal static let footer = L10n.tr("Localizable", "settings.reset.footer")
/// RESET
internal static let title = L10n.tr("Localizable", "settings.reset.title")
internal enum Defaults {
/// Reset to default settings
internal static let title = L10n.tr("Localizable", "settings.reset.defaults.title")
internal enum Confirm {
/// Reset
internal static let button = L10n.tr("Localizable", "settings.reset.defaults.confirm.button")
......@@ -454,7 +400,6 @@ internal enum L10n {
internal enum VpnPermission {
/// PIA
internal static let title = L10n.tr("Localizable", "vpn_permission.title")
internal enum Body {
/// We don’t monitor, filter or log any network activity.
internal static let footer = L10n.tr("Localizable", "vpn_permission.body.footer")
......@@ -465,11 +410,9 @@ internal enum L10n {
/// PIA needs access to your VPN profiles to secure your traffic
internal static let title = L10n.tr("Localizable", "vpn_permission.body.title")
}
internal enum Disallow {
/// Contact
internal static let contact = L10n.tr("Localizable", "vpn_permission.disallow.contact")