SwiftGen+Strings.swift 12.6 KB
Newer Older
1
// swiftlint:disable all
Davide De Rosa's avatar
Davide De Rosa committed
2 3 4 5 6 7 8
// Generated using SwiftGen, by O.Halligon — https://github.com/SwiftGen/SwiftGen

import Foundation

// swiftlint:disable superfluous_disable_command
// swiftlint:disable file_length

9 10 11 12
// MARK: - Strings

// swiftlint:disable explicit_type_interface function_parameter_count identifier_name line_length
// swiftlint:disable nesting type_body_length type_name
ueshiba's avatar
ueshiba committed
13
internal enum L10n {
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
  internal enum Signup {
    internal enum Failure {
      /// We're unable to create an account at this time. Please try again later. Reopening the app will re-attempt to create an account.
      internal static let message = L10n.tr("Signup", "failure.message")
      /// GO BACK
      internal static let submit = L10n.tr("Signup", "failure.submit")
      /// Account creation failed
      internal static let title = L10n.tr("Signup", "failure.title")
      /// Sign-up failed
      internal static let vcTitle = L10n.tr("Signup", "failure.vc_title")
      internal enum Redeem {
        internal enum Claimed {
          /// Looks like this card has already been claimed by another account. You can try entering a different PIN.
          internal static let message = L10n.tr("Signup", "failure.redeem.claimed.message")
          /// Card claimed already
          internal static let title = L10n.tr("Signup", "failure.redeem.claimed.title")
        }
        internal enum Invalid {
          /// Looks like you entered an invalid card PIN. Please try again.
          internal static let message = L10n.tr("Signup", "failure.redeem.invalid.message")
          /// Invalid card PIN
          internal static let title = L10n.tr("Signup", "failure.redeem.invalid.title")
        }
      }
    }
    internal enum InProgress {
      /// We're confirming your purchase with our system. It could take a moment so hang in there.
      internal static let message = L10n.tr("Signup", "in_progress.message")
      /// Confirm sign-up
      internal static let title = L10n.tr("Signup", "in_progress.title")
      internal enum Redeem {
        /// We're confirming your card PIN with our system. It could take a moment so hang in there.
        internal static let message = L10n.tr("Signup", "in_progress.redeem.message")
      }
    }
    internal enum Success {
      /// Thank you for signing up with us. We have sent your account username and password at your email address at %@
      internal static func messageFormat(_ p1: String) -> String {
        return L10n.tr("Signup", "success.message_format", p1)
      }
      /// GET STARTED
      internal static let submit = L10n.tr("Signup", "success.submit")
      /// Purchase complete
      internal static let title = L10n.tr("Signup", "success.title")
      internal enum Password {
        /// Password
        internal static let caption = L10n.tr("Signup", "success.password.caption")
      }
      internal enum Redeem {
63
        /// You will receive an email shortly with your username and password.\n\nYour login details
64
        internal static let message = L10n.tr("Signup", "success.redeem.message")
65
        /// Card redeemed successfully
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
        internal static let title = L10n.tr("Signup", "success.redeem.title")
      }
      internal enum Username {
        /// Username
        internal static let caption = L10n.tr("Signup", "success.username.caption")
      }
    }
    internal enum Unreachable {
      /// No internet connection found. Please confirm that you have an internet connection and hit retry below.\n\nYou can come back to the app later to finish the process.
      internal static let message = L10n.tr("Signup", "unreachable.message")
      /// TRY AGAIN
      internal static let submit = L10n.tr("Signup", "unreachable.submit")
      /// Whoops!
      internal static let title = L10n.tr("Signup", "unreachable.title")
      /// Error
      internal static let vcTitle = L10n.tr("Signup", "unreachable.vc_title")
    }
  }
  internal enum Ui {
    internal enum Global {
      /// Cancel
      internal static let cancel = L10n.tr("UI", "global.cancel")
      /// Close
      internal static let close = L10n.tr("UI", "global.close")
      /// OK
      internal static let ok = L10n.tr("UI", "global.ok")
      internal enum Version {
        /// Version %@ (%@)
        internal static func format(_ p1: String, _ p2: String) -> String {
          return L10n.tr("UI", "global.version.format", p1, p2)
        }
      }
    }
  }
ueshiba's avatar
ueshiba committed
100 101
  internal enum Welcome {
    internal enum Agreement {
102
      /// Signing up constitutes acceptance of the $1 and the $2.
ueshiba's avatar
ueshiba committed
103 104
      internal static let message = L10n.tr("Welcome", "agreement.message")
      internal enum Message {
105
        /// Privacy Policy
ueshiba's avatar
ueshiba committed
106
        internal static let privacy = L10n.tr("Welcome", "agreement.message.privacy")
107
        /// Terms of Service
ueshiba's avatar
ueshiba committed
108
        internal static let tos = L10n.tr("Welcome", "agreement.message.tos")
109
      }
110
    }
ueshiba's avatar
ueshiba committed
111 112 113 114 115 116 117 118 119 120 121 122 123 124
    internal enum Camera {
      internal enum Access {
        internal enum Denied {
          /// Enable camera access so you can scan QR codes to redeem a gift card.
          internal static let message = L10n.tr("Welcome", "camera.access.denied.message")
        }
        internal enum Error {
          /// Your device does not support scanning QR codes. Please use a device with a camera.
          internal static let message = L10n.tr("Welcome", "camera.access.error.message")
          /// Camera not available
          internal static let title = L10n.tr("Welcome", "camera.access.error.title")
        }
      }
    }
Jose Blaya's avatar
Jose Blaya committed
125 126 127 128 129 130
    internal enum Getstarted {
      internal enum Buttons {
        /// Buy account
        internal static let buyaccount = L10n.tr("Welcome", "getstarted.buttons.buyaccount")
      }
    }
ueshiba's avatar
ueshiba committed
131 132
    internal enum Iap {
      internal enum Error {
Davide De Rosa's avatar
Davide De Rosa committed
133
        /// Error
ueshiba's avatar
ueshiba committed
134 135
        internal static let title = L10n.tr("Welcome", "iap.error.title")
        internal enum Message {
Davide De Rosa's avatar
Davide De Rosa committed
136
          /// Apple servers currently unavailable. Please try again later.
ueshiba's avatar
ueshiba committed
137
          internal static let unavailable = L10n.tr("Welcome", "iap.error.message.unavailable")
Davide De Rosa's avatar
Davide De Rosa committed
138 139 140
        }
      }
    }
ueshiba's avatar
ueshiba committed
141
    internal enum Login {
Davide De Rosa's avatar
Davide De Rosa committed
142
      /// LOGIN
ueshiba's avatar
ueshiba committed
143
      internal static let submit = L10n.tr("Welcome", "login.submit")
Davide De Rosa's avatar
Davide De Rosa committed
144
      /// Sign in to your account
ueshiba's avatar
ueshiba committed
145 146
      internal static let title = L10n.tr("Welcome", "login.title")
      internal enum Error {
Davide De Rosa's avatar
Davide De Rosa committed
147
        /// Too many failed login attempts with this username. Please try again later.
ueshiba's avatar
ueshiba committed
148
        internal static let throttled = L10n.tr("Welcome", "login.error.throttled")
Davide De Rosa's avatar
Davide De Rosa committed
149
        /// Log in
ueshiba's avatar
ueshiba committed
150
        internal static let title = L10n.tr("Welcome", "login.error.title")
Davide De Rosa's avatar
Davide De Rosa committed
151
        /// Your username or password is incorrect.
ueshiba's avatar
ueshiba committed
152
        internal static let unauthorized = L10n.tr("Welcome", "login.error.unauthorized")
ueshiba's avatar
ueshiba committed
153
        /// You must enter a username and password.
ueshiba's avatar
ueshiba committed
154
        internal static let validation = L10n.tr("Welcome", "login.error.validation")
Davide De Rosa's avatar
Davide De Rosa committed
155
      }
ueshiba's avatar
ueshiba committed
156
      internal enum Password {
Davide De Rosa's avatar
Davide De Rosa committed
157
        /// Password
ueshiba's avatar
ueshiba committed
158
        internal static let placeholder = L10n.tr("Welcome", "login.password.placeholder")
Davide De Rosa's avatar
Davide De Rosa committed
159
      }
ueshiba's avatar
ueshiba committed
160
      internal enum Restore {
Davide De Rosa's avatar
Davide De Rosa committed
161
        /// Couldn't get your plan?
ueshiba's avatar
ueshiba committed
162
        internal static let button = L10n.tr("Welcome", "login.restore.button")
Davide De Rosa's avatar
Davide De Rosa committed
163
      }
ueshiba's avatar
ueshiba committed
164
      internal enum Username {
Davide De Rosa's avatar
Davide De Rosa committed
165
        /// Username (p1234567)
ueshiba's avatar
ueshiba committed
166
        internal static let placeholder = L10n.tr("Welcome", "login.username.placeholder")
Davide De Rosa's avatar
Davide De Rosa committed
167 168
      }
    }
ueshiba's avatar
ueshiba committed
169
    internal enum Plan {
Davide De Rosa's avatar
Davide De Rosa committed
170
      /// Best value
ueshiba's avatar
ueshiba committed
171
      internal static let bestValue = L10n.tr("Welcome", "plan.best_value")
Davide De Rosa's avatar
Davide De Rosa committed
172
      /// %@/mo
ueshiba's avatar
ueshiba committed
173
      internal static func priceFormat(_ p1: String) -> String {
Davide De Rosa's avatar
Davide De Rosa committed
174 175
        return L10n.tr("Welcome", "plan.price_format", p1)
      }
ueshiba's avatar
ueshiba committed
176
      internal enum Accessibility {
Davide De Rosa's avatar
Davide De Rosa committed
177
        /// per month
ueshiba's avatar
ueshiba committed
178
        internal static let perMonth = L10n.tr("Welcome", "plan.accessibility.per_month")
Davide De Rosa's avatar
Davide De Rosa committed
179
      }
ueshiba's avatar
ueshiba committed
180
      internal enum Monthly {
Davide De Rosa's avatar
Davide De Rosa committed
181
        /// Monthly
ueshiba's avatar
ueshiba committed
182
        internal static let title = L10n.tr("Welcome", "plan.monthly.title")
Davide De Rosa's avatar
Davide De Rosa committed
183
      }
ueshiba's avatar
ueshiba committed
184
      internal enum Yearly {
Davide De Rosa's avatar
Davide De Rosa committed
185
        /// %@%@ per year
ueshiba's avatar
ueshiba committed
186
        internal static func detailFormat(_ p1: String, _ p2: String) -> String {
Davide De Rosa's avatar
Davide De Rosa committed
187 188 189
          return L10n.tr("Welcome", "plan.yearly.detail_format", p1, p2)
        }
        /// Yearly
ueshiba's avatar
ueshiba committed
190
        internal static let title = L10n.tr("Welcome", "plan.yearly.title")
Davide De Rosa's avatar
Davide De Rosa committed
191 192
      }
    }
ueshiba's avatar
ueshiba committed
193
    internal enum Purchase {
Jose Blaya's avatar
Jose Blaya committed
194
      /// Continue
Jose Blaya's avatar
Jose Blaya committed
195 196
      internal static let `continue` = L10n.tr("Welcome", "purchase.continue")
      /// Submit
ueshiba's avatar
ueshiba committed
197
      internal static let submit = L10n.tr("Welcome", "purchase.submit")
Davide De Rosa's avatar
Davide De Rosa committed
198
      /// 7-day money back guarantee
ueshiba's avatar
ueshiba committed
199
      internal static let subtitle = L10n.tr("Welcome", "purchase.subtitle")
Davide De Rosa's avatar
Davide De Rosa committed
200
      /// Select a VPN plan
ueshiba's avatar
ueshiba committed
201
      internal static let title = L10n.tr("Welcome", "purchase.title")
Jose Blaya's avatar
Jose Blaya committed
202 203 204 205 206 207 208 209 210 211
      internal enum Confirm {
        /// Your are purchasing the %@ plan
        internal static func plan(_ p1: String) -> String {
          return L10n.tr("Welcome", "purchase.confirm.plan", p1)
        }
        internal enum Form {
          /// Enter your email address
          internal static let email = L10n.tr("Welcome", "purchase.confirm.form.email")
        }
      }
ueshiba's avatar
ueshiba committed
212
      internal enum Email {
Davide De Rosa's avatar
Davide De Rosa committed
213
        /// Email address
ueshiba's avatar
ueshiba committed
214
        internal static let placeholder = L10n.tr("Welcome", "purchase.email.placeholder")
Davide De Rosa's avatar
Davide De Rosa committed
215
      }
ueshiba's avatar
ueshiba committed
216
      internal enum Error {
Davide De Rosa's avatar
Davide De Rosa committed
217
        /// Purchase
ueshiba's avatar
ueshiba committed
218
        internal static let title = L10n.tr("Welcome", "purchase.error.title")
Davide De Rosa's avatar
Davide De Rosa committed
219
        /// You must enter an email address.
ueshiba's avatar
ueshiba committed
220 221 222 223 224 225 226
        internal static let validation = L10n.tr("Welcome", "purchase.error.validation")
        internal enum Connectivity {
          /// We are unable to reach Private Internet Access. This may due to poor internet or our service is blocked in your country.
          internal static let description = L10n.tr("Welcome", "purchase.error.connectivity.description")
          /// Connection Failure
          internal static let title = L10n.tr("Welcome", "purchase.error.connectivity.title")
        }
Davide De Rosa's avatar
Davide De Rosa committed
227
      }
ueshiba's avatar
ueshiba committed
228 229 230
      internal enum Login {
        /// Sign in
        internal static let button = L10n.tr("Welcome", "purchase.login.button")
Davide De Rosa's avatar
Davide De Rosa committed
231
        /// Already have an account?
ueshiba's avatar
ueshiba committed
232
        internal static let footer = L10n.tr("Welcome", "purchase.login.footer")
Davide De Rosa's avatar
Davide De Rosa committed
233 234
      }
    }
ueshiba's avatar
ueshiba committed
235
    internal enum Redeem {
Jose Blaya's avatar
Jose Blaya committed
236 237
      /// Scan QR
      internal static let scanqr = L10n.tr("Welcome", "redeem.scanqr")
238
      /// SUBMIT
ueshiba's avatar
ueshiba committed
239
      internal static let submit = L10n.tr("Welcome", "redeem.submit")
240
      /// Type in your email address and the %lu digit PIN from your gift card or trial card below.
ueshiba's avatar
ueshiba committed
241
      internal static func subtitle(_ p1: Int) -> String {
242 243
        return L10n.tr("Welcome", "redeem.subtitle", p1)
      }
244
      /// Redeem gift card
ueshiba's avatar
ueshiba committed
245
      internal static let title = L10n.tr("Welcome", "redeem.title")
Jose Blaya's avatar
wip  
Jose Blaya committed
246 247 248 249
      internal enum Accessibility {
        /// Back
        internal static let back = L10n.tr("Welcome", "redeem.accessibility.back")
      }
ueshiba's avatar
ueshiba committed
250
      internal enum Email {
251
        /// Email address
ueshiba's avatar
ueshiba committed
252
        internal static let placeholder = L10n.tr("Welcome", "redeem.email.placeholder")
253
      }
ueshiba's avatar
ueshiba committed
254
      internal enum Error {
255 256
        /// Please type in your email and card PIN.
        internal static let allfields = L10n.tr("Welcome", "redeem.error.allfields")
257
        /// Code must be %lu numeric digits.
ueshiba's avatar
ueshiba committed
258
        internal static func code(_ p1: Int) -> String {
259 260
          return L10n.tr("Welcome", "redeem.error.code", p1)
        }
261
        /// Redeem
ueshiba's avatar
ueshiba committed
262 263 264 265
        internal static let title = L10n.tr("Welcome", "redeem.error.title")
        internal enum Qrcode {
          /// Invalid QR code sequence. Please try again.
          internal static let invalid = L10n.tr("Welcome", "redeem.error.qrcode.invalid")
ueshiba's avatar
WIP  
ueshiba committed
266
        }
267
      }
268 269 270 271
      internal enum Giftcard {
        /// Gift card PIN
        internal static let placeholder = L10n.tr("Welcome", "redeem.giftcard.placeholder")
      }
272
    }
ueshiba's avatar
ueshiba committed
273
    internal enum Restore {
Davide De Rosa's avatar
Davide De Rosa committed
274
      /// CONFIRM
ueshiba's avatar
ueshiba committed
275
      internal static let submit = L10n.tr("Welcome", "restore.submit")
Jose Blaya's avatar
Jose Blaya committed
276
      /// If you purchased a plan through this app and didn't receive your credentials, you can send them again from here. You will not be charged during this process.
ueshiba's avatar
ueshiba committed
277
      internal static let subtitle = L10n.tr("Welcome", "restore.subtitle")
Davide De Rosa's avatar
Davide De Rosa committed
278
      /// Restore uncredited purchase
ueshiba's avatar
ueshiba committed
279 280
      internal static let title = L10n.tr("Welcome", "restore.title")
      internal enum Email {
Davide De Rosa's avatar
Davide De Rosa committed
281
        /// Email address
ueshiba's avatar
ueshiba committed
282
        internal static let placeholder = L10n.tr("Welcome", "restore.email.placeholder")
Davide De Rosa's avatar
Davide De Rosa committed
283
      }
ueshiba's avatar
WIP  
ueshiba committed
284
    }
Davide De Rosa's avatar
Davide De Rosa committed
285 286
  }
}
287 288 289 290
// swiftlint:enable explicit_type_interface function_parameter_count identifier_name line_length
// swiftlint:enable nesting type_body_length type_name

// MARK: - Implementation Details
Davide De Rosa's avatar
Davide De Rosa committed
291 292 293 294 295 296 297 298 299

extension L10n {
  private static func tr(_ table: String, _ key: String, _ args: CVarArg...) -> String {
    let format = NSLocalizedString(key, tableName: table, bundle: Bundle(for: BundleToken.self), comment: "")
    return String(format: format, locale: Locale.current, arguments: args)
  }
}

private final class BundleToken {}