2021-01-22 07:27:37 +01:00
|
|
|
|
// swiftlint:disable all
|
|
|
|
|
// Generated using SwiftGen — https://github.com/SwiftGen/SwiftGen
|
|
|
|
|
|
|
|
|
|
import Foundation
|
|
|
|
|
|
|
|
|
|
// swiftlint:disable superfluous_disable_command file_length implicit_return
|
|
|
|
|
|
|
|
|
|
// MARK: - Strings
|
|
|
|
|
|
|
|
|
|
// swiftlint:disable explicit_type_interface function_parameter_count identifier_name line_length
|
|
|
|
|
// swiftlint:disable nesting type_body_length type_name vertical_whitespace_opening_braces
|
|
|
|
|
internal enum L10n {
|
2021-02-03 06:01:50 +01:00
|
|
|
|
|
|
|
|
|
internal enum Common {
|
|
|
|
|
internal enum Controls {
|
2021-02-22 09:20:44 +01:00
|
|
|
|
internal enum Actions {
|
|
|
|
|
/// Add
|
|
|
|
|
internal static let add = L10n.tr("Localizable", "Common.Controls.Actions.Add")
|
|
|
|
|
/// Cancel
|
|
|
|
|
internal static let cancel = L10n.tr("Localizable", "Common.Controls.Actions.Cancel")
|
|
|
|
|
/// Confirm
|
|
|
|
|
internal static let confirm = L10n.tr("Localizable", "Common.Controls.Actions.Confirm")
|
|
|
|
|
/// Continue
|
|
|
|
|
internal static let `continue` = L10n.tr("Localizable", "Common.Controls.Actions.Continue")
|
|
|
|
|
/// Edit
|
|
|
|
|
internal static let edit = L10n.tr("Localizable", "Common.Controls.Actions.Edit")
|
|
|
|
|
/// OK
|
|
|
|
|
internal static let ok = L10n.tr("Localizable", "Common.Controls.Actions.Ok")
|
|
|
|
|
/// Open in Safari
|
|
|
|
|
internal static let openInSafari = L10n.tr("Localizable", "Common.Controls.Actions.OpenInSafari")
|
|
|
|
|
/// Preview
|
|
|
|
|
internal static let preview = L10n.tr("Localizable", "Common.Controls.Actions.Preview")
|
|
|
|
|
/// Remove
|
|
|
|
|
internal static let remove = L10n.tr("Localizable", "Common.Controls.Actions.Remove")
|
|
|
|
|
/// Save
|
|
|
|
|
internal static let save = L10n.tr("Localizable", "Common.Controls.Actions.Save")
|
|
|
|
|
/// Save photo
|
|
|
|
|
internal static let savePhoto = L10n.tr("Localizable", "Common.Controls.Actions.SavePhoto")
|
|
|
|
|
/// See More
|
|
|
|
|
internal static let seeMore = L10n.tr("Localizable", "Common.Controls.Actions.SeeMore")
|
|
|
|
|
/// Sign in
|
|
|
|
|
internal static let signIn = L10n.tr("Localizable", "Common.Controls.Actions.SignIn")
|
|
|
|
|
/// Sign up
|
|
|
|
|
internal static let signUp = L10n.tr("Localizable", "Common.Controls.Actions.SignUp")
|
|
|
|
|
/// Take photo
|
|
|
|
|
internal static let takePhoto = L10n.tr("Localizable", "Common.Controls.Actions.TakePhoto")
|
|
|
|
|
}
|
2021-02-23 08:16:55 +01:00
|
|
|
|
internal enum Status {
|
2021-02-24 08:29:16 +01:00
|
|
|
|
/// content warning
|
|
|
|
|
internal static let contentWarning = L10n.tr("Localizable", "Common.Controls.Status.ContentWarning")
|
|
|
|
|
/// Show Post
|
|
|
|
|
internal static let showPost = L10n.tr("Localizable", "Common.Controls.Status.ShowPost")
|
2021-02-23 08:16:55 +01:00
|
|
|
|
/// %@ boosted
|
2021-02-24 08:29:16 +01:00
|
|
|
|
internal static func userBoosted(_ p1: Any) -> String {
|
|
|
|
|
return L10n.tr("Localizable", "Common.Controls.Status.UserBoosted", String(describing: p1))
|
2021-02-23 08:16:55 +01:00
|
|
|
|
}
|
|
|
|
|
}
|
2021-02-03 06:01:50 +01:00
|
|
|
|
internal enum Timeline {
|
|
|
|
|
/// Load More
|
|
|
|
|
internal static let loadMore = L10n.tr("Localizable", "Common.Controls.Timeline.LoadMore")
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-02-22 09:20:44 +01:00
|
|
|
|
internal enum Countable {
|
|
|
|
|
internal enum Photo {
|
|
|
|
|
/// photos
|
|
|
|
|
internal static let multiple = L10n.tr("Localizable", "Common.Countable.Photo.Multiple")
|
|
|
|
|
/// photo
|
|
|
|
|
internal static let single = L10n.tr("Localizable", "Common.Countable.Photo.Single")
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
internal enum Scene {
|
2021-02-23 08:38:05 +01:00
|
|
|
|
internal enum ConfirmEmail {
|
|
|
|
|
/// We just sent an email to %@,\ntap the link to confirm your account.
|
|
|
|
|
internal static func subtitle(_ p1: Any) -> String {
|
|
|
|
|
return L10n.tr("Localizable", "Scene.ConfirmEmail.Subtitle", String(describing: p1))
|
|
|
|
|
}
|
|
|
|
|
/// One last thing.
|
|
|
|
|
internal static let title = L10n.tr("Localizable", "Scene.ConfirmEmail.Title")
|
|
|
|
|
internal enum Button {
|
|
|
|
|
/// I never got an email
|
|
|
|
|
internal static let dontReceiveEmail = L10n.tr("Localizable", "Scene.ConfirmEmail.Button.DontReceiveEmail")
|
|
|
|
|
/// Open email app
|
|
|
|
|
internal static let openEmailApp = L10n.tr("Localizable", "Scene.ConfirmEmail.Button.OpenEmailApp")
|
|
|
|
|
}
|
|
|
|
|
internal enum DontReceiveEmail {
|
2021-02-24 13:06:28 +01:00
|
|
|
|
/// Give our servers another n seconds before sending another email.\nCheck if your email address is correct as well as your junk folder if you haven’t.
|
2021-02-24 03:49:50 +01:00
|
|
|
|
internal static let alertDescription = L10n.tr("Localizable", "Scene.ConfirmEmail.DontReceiveEmail.AlertDescription")
|
2021-02-23 08:38:05 +01:00
|
|
|
|
/// It’s too soon to tell.
|
2021-02-24 03:49:50 +01:00
|
|
|
|
internal static let alertTitle = L10n.tr("Localizable", "Scene.ConfirmEmail.DontReceiveEmail.AlertTitle")
|
2021-02-23 08:38:05 +01:00
|
|
|
|
}
|
|
|
|
|
internal enum OpenEmailApp {
|
|
|
|
|
/// We just sent you another email. Check your junk folder if you haven’t.
|
2021-02-24 03:49:50 +01:00
|
|
|
|
internal static let alertDescription = L10n.tr("Localizable", "Scene.ConfirmEmail.OpenEmailApp.AlertDescription")
|
2021-02-23 08:38:05 +01:00
|
|
|
|
/// Check your inbox.
|
2021-02-24 03:49:50 +01:00
|
|
|
|
internal static let alertTitle = L10n.tr("Localizable", "Scene.ConfirmEmail.OpenEmailApp.AlertTitle")
|
|
|
|
|
/// Mail
|
|
|
|
|
internal static let mail = L10n.tr("Localizable", "Scene.ConfirmEmail.OpenEmailApp.Mail")
|
2021-02-23 08:38:05 +01:00
|
|
|
|
}
|
|
|
|
|
}
|
2021-02-22 09:20:44 +01:00
|
|
|
|
internal enum HomeTimeline {
|
|
|
|
|
/// Home
|
|
|
|
|
internal static let title = L10n.tr("Localizable", "Scene.HomeTimeline.Title")
|
|
|
|
|
}
|
|
|
|
|
internal enum PublicTimeline {
|
|
|
|
|
/// Public
|
|
|
|
|
internal static let title = L10n.tr("Localizable", "Scene.PublicTimeline.Title")
|
|
|
|
|
}
|
|
|
|
|
internal enum Register {
|
2021-02-24 13:06:28 +01:00
|
|
|
|
/// Regsiter request sent. Please check your email.
|
|
|
|
|
internal static let checkEmail = L10n.tr("Localizable", "Scene.Register.CheckEmail")
|
|
|
|
|
/// Success
|
|
|
|
|
internal static let success = L10n.tr("Localizable", "Scene.Register.Success")
|
2021-02-22 09:20:44 +01:00
|
|
|
|
/// Tell us about you.
|
|
|
|
|
internal static let title = L10n.tr("Localizable", "Scene.Register.Title")
|
|
|
|
|
internal enum Input {
|
|
|
|
|
internal enum DisplayName {
|
|
|
|
|
/// display name
|
|
|
|
|
internal static let placeholder = L10n.tr("Localizable", "Scene.Register.Input.DisplayName.Placeholder")
|
|
|
|
|
}
|
|
|
|
|
internal enum Email {
|
|
|
|
|
/// email
|
|
|
|
|
internal static let placeholder = L10n.tr("Localizable", "Scene.Register.Input.Email.Placeholder")
|
|
|
|
|
}
|
|
|
|
|
internal enum Password {
|
|
|
|
|
/// password
|
|
|
|
|
internal static let placeholder = L10n.tr("Localizable", "Scene.Register.Input.Password.Placeholder")
|
|
|
|
|
/// Your password needs at least:
|
|
|
|
|
internal static let prompt = L10n.tr("Localizable", "Scene.Register.Input.Password.Prompt")
|
|
|
|
|
/// Eight characters
|
|
|
|
|
internal static let promptEightCharacters = L10n.tr("Localizable", "Scene.Register.Input.Password.PromptEightCharacters")
|
|
|
|
|
}
|
|
|
|
|
internal enum Username {
|
|
|
|
|
/// This username is taken.
|
|
|
|
|
internal static let duplicatePrompt = L10n.tr("Localizable", "Scene.Register.Input.Username.DuplicatePrompt")
|
|
|
|
|
/// username
|
|
|
|
|
internal static let placeholder = L10n.tr("Localizable", "Scene.Register.Input.Username.Placeholder")
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
internal enum ServerPicker {
|
|
|
|
|
/// Pick a Server,\nany server.
|
|
|
|
|
internal static let title = L10n.tr("Localizable", "Scene.ServerPicker.Title")
|
|
|
|
|
internal enum Input {
|
|
|
|
|
/// Find a server or join your own...
|
|
|
|
|
internal static let placeholder = L10n.tr("Localizable", "Scene.ServerPicker.Input.Placeholder")
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
internal enum ServerRules {
|
|
|
|
|
/// By continuing, you're subject to the terms of service and privacy policy for %@.
|
|
|
|
|
internal static func prompt(_ p1: Any) -> String {
|
|
|
|
|
return L10n.tr("Localizable", "Scene.ServerRules.Prompt", String(describing: p1))
|
|
|
|
|
}
|
|
|
|
|
/// These rules are set by the admins of %@.
|
|
|
|
|
internal static func subtitle(_ p1: Any) -> String {
|
|
|
|
|
return L10n.tr("Localizable", "Scene.ServerRules.Subtitle", String(describing: p1))
|
|
|
|
|
}
|
|
|
|
|
/// Some ground rules.
|
|
|
|
|
internal static let title = L10n.tr("Localizable", "Scene.ServerRules.Title")
|
|
|
|
|
internal enum Button {
|
|
|
|
|
/// I Agree
|
|
|
|
|
internal static let confirm = L10n.tr("Localizable", "Scene.ServerRules.Button.Confirm")
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
internal enum Welcome {
|
2021-02-20 06:56:24 +01:00
|
|
|
|
/// Social networking\nback in your hands.
|
2021-02-22 09:20:44 +01:00
|
|
|
|
internal static let slogan = L10n.tr("Localizable", "Scene.Welcome.Slogan")
|
2021-02-20 06:56:24 +01:00
|
|
|
|
}
|
2021-02-03 06:01:50 +01:00
|
|
|
|
}
|
2021-01-22 07:27:37 +01:00
|
|
|
|
}
|
|
|
|
|
// swiftlint:enable explicit_type_interface function_parameter_count identifier_name line_length
|
|
|
|
|
// swiftlint:enable nesting type_body_length type_name vertical_whitespace_opening_braces
|
|
|
|
|
|
|
|
|
|
// MARK: - Implementation Details
|
|
|
|
|
|
|
|
|
|
extension L10n {
|
|
|
|
|
private static func tr(_ table: String, _ key: String, _ args: CVarArg...) -> String {
|
|
|
|
|
let format = BundleToken.bundle.localizedString(forKey: key, value: nil, table: table)
|
|
|
|
|
return String(format: format, locale: Locale.current, arguments: args)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// swiftlint:disable convenience_type
|
|
|
|
|
private final class BundleToken {
|
2021-01-27 09:01:20 +01:00
|
|
|
|
static let bundle: Bundle = {
|
|
|
|
|
#if SWIFT_PACKAGE
|
|
|
|
|
return Bundle.module
|
|
|
|
|
#else
|
|
|
|
|
return Bundle(for: BundleToken.self)
|
|
|
|
|
#endif
|
|
|
|
|
}()
|
2021-01-22 07:27:37 +01:00
|
|
|
|
}
|
|
|
|
|
// swiftlint:enable convenience_type
|