passepartout-apple/Passepartout/Library/Sources/UILibrary/L10n/Strings+Unlocalized.swift

148 lines
3.8 KiB
Swift
Raw Normal View History

2024-09-23 13:02:26 +00:00
//
// Strings+Unlocalized.swift
// Passepartout
//
// Created by Davide De Rosa on 7/2/24.
// Copyright (c) 2024 Davide De Rosa. All rights reserved.
//
// https://github.com/passepartoutvpn
//
// This file is part of Passepartout.
//
// Passepartout is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Passepartout is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Passepartout. If not, see <http://www.gnu.org/licenses/>.
//
import Foundation
import PassepartoutKit
extension Strings {
public enum Unlocalized {
public enum OpenVPN {
public enum XOR: String {
2024-09-23 13:02:26 +00:00
case xormask
case xorptrpos
case reverse
case obfuscate
}
public static let compLZO = "--comp-lzo"
2024-09-23 13:02:26 +00:00
public static let compress = "--compress"
2024-09-23 13:02:26 +00:00
public static let lzo = "LZO"
2024-09-23 13:02:26 +00:00
}
public enum Placeholders {
public static let hostname = "example.com"
2024-09-23 13:02:26 +00:00
public static let dohURL = "https://1.2.3.4/some-query"
2024-09-23 13:02:26 +00:00
public static let dotHostname = "dns-hostname.com"
2024-09-23 13:02:26 +00:00
public static let ipV4DNS = "1.1.1.1"
2024-09-23 13:02:26 +00:00
public static func ipDestination(forFamily family: Address.Family) -> String {
2024-09-23 13:02:26 +00:00
switch family {
case .v4:
return "192.168.15.0/24"
case .v6:
return "fdbd:dcf8:d811:af73::/64"
}
}
public static func ipGateway(forFamily family: Address.Family) -> String {
2024-09-23 13:02:26 +00:00
switch family {
case .v4:
return "192.168.15.1"
case .v6:
return "fdbd:dcf8:d811:af73::1"
}
}
public static let mtu = "1500"
2024-09-23 13:02:26 +00:00
public static let proxyIPv4Address = "192.168.1.1"
2024-09-23 13:02:26 +00:00
public static let proxyPort = "1080"
2024-09-23 13:02:26 +00:00
public static let pacURL = "http://proxy.com/pac.url"
2024-09-23 13:02:26 +00:00
}
public enum Issues {
public static let subject = "\(appName) - Report issue"
2024-09-23 13:02:26 +00:00
public static let attachmentMimeType = "text/plain"
2024-09-23 13:02:26 +00:00
public static let appLogFilename = "app.log"
2024-09-23 13:02:26 +00:00
public static let tunnelLogFilename = "tunnel.log"
2024-09-23 13:02:26 +00:00
}
public static let appName = "Passepartout"
2024-09-23 13:02:26 +00:00
public static let appleTV = "Apple TV"
public static let ca = "CA"
2024-09-23 13:02:26 +00:00
public static let dns = "DNS"
2024-09-23 13:02:26 +00:00
public static let faq = "FAQ"
2024-09-23 13:02:26 +00:00
public static let http = "HTTP"
2024-09-23 13:02:26 +00:00
public static let https = "HTTPS"
2024-09-23 13:02:26 +00:00
public static let httpProxy = "HTTP Proxy"
2024-09-23 13:02:26 +00:00
public static let iCloud = "iCloud"
public static let ip = "IP"
2024-09-23 13:02:26 +00:00
public static let ipv4 = "IPv4"
2024-09-23 13:02:26 +00:00
public static let ipv6 = "IPv6"
2024-09-23 13:02:26 +00:00
public static let longDash = ""
public static let mtu = "MTU"
2024-09-23 13:02:26 +00:00
public static let openVPN = "OpenVPN"
2024-09-23 13:02:26 +00:00
public static let otp = "OTP"
2024-09-23 13:02:26 +00:00
public static let pac = "PAC"
2024-09-23 13:02:26 +00:00
public static let proxy = "Proxy"
2024-09-23 13:02:26 +00:00
public static let reddit = "Reddit"
public static let tls = "TLS"
2024-09-23 13:02:26 +00:00
public static let url = "URL"
2024-09-23 13:02:26 +00:00
public static let uuid = "UUID"
2024-09-23 13:02:26 +00:00
public static let wifi = "Wi-Fi"
2024-09-23 13:02:26 +00:00
public static let wireGuard = "WireGuard"
2024-09-23 13:02:26 +00:00
public static let xor = "XOR"
2024-09-23 13:02:26 +00:00
}
}