SwiftGen+Strings.swift 13.1 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 161 162
      internal enum Purchase {
        /// Buy now
        internal static let button = L10n.tr("Welcome", "login.purchase.button")
Davide De Rosa's avatar
Davide De Rosa committed
163
        /// Don’t have an account?
ueshiba's avatar
ueshiba committed
164
        internal static let footer = L10n.tr("Welcome", "login.purchase.footer")
Davide De Rosa's avatar
Davide De Rosa committed
165
      }
ueshiba's avatar
ueshiba committed
166 167 168
      internal enum Redeem {
        /// Redeem now
        internal static let button = L10n.tr("Welcome", "login.redeem.button")
Davide De Rosa's avatar
Davide De Rosa committed
169
        /// Have a gift card or trial card?
ueshiba's avatar
ueshiba committed
170
        internal static let footer = L10n.tr("Welcome", "login.redeem.footer")
Davide De Rosa's avatar
Davide De Rosa committed
171
      }
ueshiba's avatar
ueshiba committed
172
      internal enum Restore {
Davide De Rosa's avatar
Davide De Rosa committed
173
        /// Couldn't get your plan?
ueshiba's avatar
ueshiba committed
174
        internal static let button = L10n.tr("Welcome", "login.restore.button")
Davide De Rosa's avatar
Davide De Rosa committed
175
      }
ueshiba's avatar
ueshiba committed
176
      internal enum Username {
Davide De Rosa's avatar
Davide De Rosa committed
177
        /// Username (p1234567)
ueshiba's avatar
ueshiba committed
178
        internal static let placeholder = L10n.tr("Welcome", "login.username.placeholder")
Davide De Rosa's avatar
Davide De Rosa committed
179 180
      }
    }
ueshiba's avatar
ueshiba committed
181
    internal enum Plan {
Davide De Rosa's avatar
Davide De Rosa committed
182
      /// Best value
ueshiba's avatar
ueshiba committed
183
      internal static let bestValue = L10n.tr("Welcome", "plan.best_value")
Davide De Rosa's avatar
Davide De Rosa committed
184
      /// %@/mo
ueshiba's avatar
ueshiba committed
185
      internal static func priceFormat(_ p1: String) -> String {
Davide De Rosa's avatar
Davide De Rosa committed
186 187
        return L10n.tr("Welcome", "plan.price_format", p1)
      }
ueshiba's avatar
ueshiba committed
188
      internal enum Accessibility {
Davide De Rosa's avatar
Davide De Rosa committed
189
        /// per month
ueshiba's avatar
ueshiba committed
190
        internal static let perMonth = L10n.tr("Welcome", "plan.accessibility.per_month")
Davide De Rosa's avatar
Davide De Rosa committed
191
      }
ueshiba's avatar
ueshiba committed
192
      internal enum Monthly {
Davide De Rosa's avatar
Davide De Rosa committed
193
        /// Monthly
ueshiba's avatar
ueshiba committed
194
        internal static let title = L10n.tr("Welcome", "plan.monthly.title")
Davide De Rosa's avatar
Davide De Rosa committed
195
      }
ueshiba's avatar
ueshiba committed
196
      internal enum Yearly {
Davide De Rosa's avatar
Davide De Rosa committed
197
        /// %@%@ per year
ueshiba's avatar
ueshiba committed
198
        internal static func detailFormat(_ p1: String, _ p2: String) -> String {
Davide De Rosa's avatar
Davide De Rosa committed
199 200 201
          return L10n.tr("Welcome", "plan.yearly.detail_format", p1, p2)
        }
        /// Yearly
ueshiba's avatar
ueshiba committed
202
        internal static let title = L10n.tr("Welcome", "plan.yearly.title")
Davide De Rosa's avatar
Davide De Rosa committed
203 204
      }
    }
ueshiba's avatar
ueshiba committed
205
    internal enum Purchase {
Jose Blaya's avatar
Jose Blaya committed
206
      /// Continue
Jose Blaya's avatar
Jose Blaya committed
207 208
      internal static let `continue` = L10n.tr("Welcome", "purchase.continue")
      /// Submit
ueshiba's avatar
ueshiba committed
209
      internal static let submit = L10n.tr("Welcome", "purchase.submit")
Davide De Rosa's avatar
Davide De Rosa committed
210
      /// 7-day money back guarantee
ueshiba's avatar
ueshiba committed
211
      internal static let subtitle = L10n.tr("Welcome", "purchase.subtitle")
Davide De Rosa's avatar
Davide De Rosa committed
212
      /// Select a VPN plan
ueshiba's avatar
ueshiba committed
213
      internal static let title = L10n.tr("Welcome", "purchase.title")
Jose Blaya's avatar
Jose Blaya committed
214 215 216 217 218 219 220 221 222 223
      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
224
      internal enum Email {
Davide De Rosa's avatar
Davide De Rosa committed
225
        /// Email address
ueshiba's avatar
ueshiba committed
226
        internal static let placeholder = L10n.tr("Welcome", "purchase.email.placeholder")
Davide De Rosa's avatar
Davide De Rosa committed
227
      }
ueshiba's avatar
ueshiba committed
228
      internal enum Error {
Davide De Rosa's avatar
Davide De Rosa committed
229
        /// Purchase
ueshiba's avatar
ueshiba committed
230
        internal static let title = L10n.tr("Welcome", "purchase.error.title")
Davide De Rosa's avatar
Davide De Rosa committed
231
        /// You must enter an email address.
ueshiba's avatar
ueshiba committed
232 233 234 235 236 237 238
        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
239
      }
ueshiba's avatar
ueshiba committed
240 241 242
      internal enum Login {
        /// Sign in
        internal static let button = L10n.tr("Welcome", "purchase.login.button")
Davide De Rosa's avatar
Davide De Rosa committed
243
        /// Already have an account?
ueshiba's avatar
ueshiba committed
244
        internal static let footer = L10n.tr("Welcome", "purchase.login.footer")
Davide De Rosa's avatar
Davide De Rosa committed
245 246
      }
    }
ueshiba's avatar
ueshiba committed
247
    internal enum Redeem {
Jose Blaya's avatar
Jose Blaya committed
248 249
      /// Scan QR
      internal static let scanqr = L10n.tr("Welcome", "redeem.scanqr")
250
      /// SUBMIT
ueshiba's avatar
ueshiba committed
251
      internal static let submit = L10n.tr("Welcome", "redeem.submit")
252
      /// Type in your email address and the %lu digit PIN from your gift card or trial card below.
ueshiba's avatar
ueshiba committed
253
      internal static func subtitle(_ p1: Int) -> String {
254 255
        return L10n.tr("Welcome", "redeem.subtitle", p1)
      }
256
      /// Redeem gift card
ueshiba's avatar
ueshiba committed
257
      internal static let title = L10n.tr("Welcome", "redeem.title")
Jose Blaya's avatar
wip  
Jose Blaya committed
258 259 260 261
      internal enum Accessibility {
        /// Back
        internal static let back = L10n.tr("Welcome", "redeem.accessibility.back")
      }
ueshiba's avatar
ueshiba committed
262
      internal enum Email {
263
        /// Email address
ueshiba's avatar
ueshiba committed
264
        internal static let placeholder = L10n.tr("Welcome", "redeem.email.placeholder")
265
      }
ueshiba's avatar
ueshiba committed
266
      internal enum Error {
267 268
        /// Please type in your email and card PIN.
        internal static let allfields = L10n.tr("Welcome", "redeem.error.allfields")
269
        /// Code must be %lu numeric digits.
ueshiba's avatar
ueshiba committed
270
        internal static func code(_ p1: Int) -> String {
271 272
          return L10n.tr("Welcome", "redeem.error.code", p1)
        }
273
        /// Redeem
ueshiba's avatar
ueshiba committed
274 275 276 277
        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
278
        }
279
      }
280 281 282 283
      internal enum Giftcard {
        /// Gift card PIN
        internal static let placeholder = L10n.tr("Welcome", "redeem.giftcard.placeholder")
      }
284
    }
ueshiba's avatar
ueshiba committed
285
    internal enum Restore {
Davide De Rosa's avatar
Davide De Rosa committed
286
      /// CONFIRM
ueshiba's avatar
ueshiba committed
287
      internal static let submit = L10n.tr("Welcome", "restore.submit")
Davide De Rosa's avatar
Davide De Rosa committed
288
      /// If you purchased a plan through this app and didn't receive your credentials, you can send them again from here.\nYou will not be charged during this process.
ueshiba's avatar
ueshiba committed
289
      internal static let subtitle = L10n.tr("Welcome", "restore.subtitle")
Davide De Rosa's avatar
Davide De Rosa committed
290
      /// Restore uncredited purchase
ueshiba's avatar
ueshiba committed
291 292
      internal static let title = L10n.tr("Welcome", "restore.title")
      internal enum Email {
Davide De Rosa's avatar
Davide De Rosa committed
293
        /// Email address
ueshiba's avatar
ueshiba committed
294
        internal static let placeholder = L10n.tr("Welcome", "restore.email.placeholder")
Davide De Rosa's avatar
Davide De Rosa committed
295
      }
ueshiba's avatar
WIP  
ueshiba committed
296
    }
Davide De Rosa's avatar
Davide De Rosa committed
297 298
  }
}
299 300 301 302
// 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
303 304 305 306 307 308 309 310 311

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 {}