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 {
|
2021-02-24 12:08:30 +01:00
|
|
|
|
internal enum Alerts {
|
2021-03-04 11:53:29 +01:00
|
|
|
|
internal enum Common {
|
|
|
|
|
/// Please try again.
|
|
|
|
|
internal static let pleaseTryAgain = L10n.tr("Localizable", "Common.Alerts.Common.PleaseTryAgain")
|
|
|
|
|
/// Please try again later.
|
|
|
|
|
internal static let pleaseTryAgainLater = L10n.tr("Localizable", "Common.Alerts.Common.PleaseTryAgainLater")
|
|
|
|
|
}
|
2021-03-15 06:42:46 +01:00
|
|
|
|
internal enum DiscardPostContent {
|
|
|
|
|
/// Confirm discard composed post content.
|
|
|
|
|
internal static let message = L10n.tr("Localizable", "Common.Alerts.DiscardPostContent.Message")
|
|
|
|
|
/// Discard Publish
|
|
|
|
|
internal static let title = L10n.tr("Localizable", "Common.Alerts.DiscardPostContent.Title")
|
2021-03-12 08:57:58 +01:00
|
|
|
|
}
|
2021-02-24 12:08:30 +01:00
|
|
|
|
internal enum ServerError {
|
|
|
|
|
/// Server Error
|
|
|
|
|
internal static let title = L10n.tr("Localizable", "Common.Alerts.ServerError.Title")
|
|
|
|
|
}
|
|
|
|
|
internal enum SignUpFailure {
|
|
|
|
|
/// Sign Up Failure
|
|
|
|
|
internal static let title = L10n.tr("Localizable", "Common.Alerts.SignUpFailure.Title")
|
|
|
|
|
}
|
2021-03-04 11:53:29 +01:00
|
|
|
|
internal enum VoteFailure {
|
|
|
|
|
/// The poll has expired
|
|
|
|
|
internal static let pollExpired = L10n.tr("Localizable", "Common.Alerts.VoteFailure.PollExpired")
|
|
|
|
|
/// Vote Failure
|
|
|
|
|
internal static let title = L10n.tr("Localizable", "Common.Alerts.VoteFailure.Title")
|
|
|
|
|
}
|
2021-02-24 12:08:30 +01:00
|
|
|
|
}
|
2021-02-03 06:01:50 +01:00
|
|
|
|
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")
|
2021-02-25 09:04:14 +01:00
|
|
|
|
/// Back
|
|
|
|
|
internal static let back = L10n.tr("Localizable", "Common.Controls.Actions.Back")
|
2021-02-22 09:20:44 +01:00
|
|
|
|
/// 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")
|
2021-03-12 08:57:58 +01:00
|
|
|
|
/// Discard
|
|
|
|
|
internal static let discard = L10n.tr("Localizable", "Common.Controls.Actions.Discard")
|
2021-02-22 09:20:44 +01:00
|
|
|
|
/// 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")
|
2021-02-26 11:27:47 +01:00
|
|
|
|
/// Sign In
|
2021-02-22 09:20:44 +01:00
|
|
|
|
internal static let signIn = L10n.tr("Localizable", "Common.Controls.Actions.SignIn")
|
2021-02-26 11:27:47 +01:00
|
|
|
|
/// Sign Up
|
2021-02-22 09:20:44 +01:00
|
|
|
|
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-25 06:47:30 +01:00
|
|
|
|
/// Tap to reveal that may be sensitive
|
|
|
|
|
internal static let mediaContentWarning = L10n.tr("Localizable", "Common.Controls.Status.MediaContentWarning")
|
2021-02-24 08:29:16 +01:00
|
|
|
|
/// Show Post
|
|
|
|
|
internal static let showPost = L10n.tr("Localizable", "Common.Controls.Status.ShowPost")
|
2021-02-25 06:47:30 +01:00
|
|
|
|
/// content warning
|
|
|
|
|
internal static let statusContentWarning = L10n.tr("Localizable", "Common.Controls.Status.StatusContentWarning")
|
2021-03-15 06:42:46 +01:00
|
|
|
|
/// %@ reblogged
|
|
|
|
|
internal static func userReblogged(_ p1: Any) -> String {
|
|
|
|
|
return L10n.tr("Localizable", "Common.Controls.Status.UserReblogged", String(describing: p1))
|
2021-02-23 08:16:55 +01:00
|
|
|
|
}
|
2021-03-02 12:33:33 +01:00
|
|
|
|
internal enum Poll {
|
2021-03-03 12:34:29 +01:00
|
|
|
|
/// Closed
|
|
|
|
|
internal static let closed = L10n.tr("Localizable", "Common.Controls.Status.Poll.Closed")
|
2021-03-02 12:33:33 +01:00
|
|
|
|
/// %@ left
|
|
|
|
|
internal static func timeLeft(_ p1: Any) -> String {
|
|
|
|
|
return L10n.tr("Localizable", "Common.Controls.Status.Poll.TimeLeft", String(describing: p1))
|
|
|
|
|
}
|
2021-03-03 09:12:48 +01:00
|
|
|
|
/// Vote
|
|
|
|
|
internal static let vote = L10n.tr("Localizable", "Common.Controls.Status.Poll.Vote")
|
2021-03-02 12:33:33 +01:00
|
|
|
|
internal enum VoteCount {
|
|
|
|
|
/// %d votes
|
|
|
|
|
internal static func multiple(_ p1: Int) -> String {
|
|
|
|
|
return L10n.tr("Localizable", "Common.Controls.Status.Poll.VoteCount.Multiple", p1)
|
|
|
|
|
}
|
|
|
|
|
/// %d vote
|
|
|
|
|
internal static func single(_ p1: Int) -> String {
|
|
|
|
|
return L10n.tr("Localizable", "Common.Controls.Status.Poll.VoteCount.Single", p1)
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-03-03 09:12:48 +01:00
|
|
|
|
internal enum VoterCount {
|
|
|
|
|
/// %d voters
|
|
|
|
|
internal static func multiple(_ p1: Int) -> String {
|
|
|
|
|
return L10n.tr("Localizable", "Common.Controls.Status.Poll.VoterCount.Multiple", p1)
|
|
|
|
|
}
|
|
|
|
|
/// %d voter
|
|
|
|
|
internal static func single(_ p1: Int) -> String {
|
|
|
|
|
return L10n.tr("Localizable", "Common.Controls.Status.Poll.VoterCount.Single", p1)
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-03-02 12:33:33 +01:00
|
|
|
|
}
|
2021-02-23 08:16:55 +01:00
|
|
|
|
}
|
2021-02-03 06:01:50 +01:00
|
|
|
|
internal enum Timeline {
|
2021-03-16 12:28:52 +01:00
|
|
|
|
internal enum Loader {
|
|
|
|
|
/// Loading missing posts...
|
|
|
|
|
internal static let loadingMissingPosts = L10n.tr("Localizable", "Common.Controls.Timeline.Loader.LoadingMissingPosts")
|
|
|
|
|
/// Load missing posts
|
|
|
|
|
internal static let loadMissingPosts = L10n.tr("Localizable", "Common.Controls.Timeline.Loader.LoadMissingPosts")
|
|
|
|
|
}
|
2021-02-03 06:01:50 +01:00
|
|
|
|
}
|
|
|
|
|
}
|
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-03-11 08:41:27 +01:00
|
|
|
|
internal enum Compose {
|
2021-03-15 06:42:46 +01:00
|
|
|
|
/// Publish
|
2021-03-12 07:18:07 +01:00
|
|
|
|
internal static let composeAction = L10n.tr("Localizable", "Scene.Compose.ComposeAction")
|
|
|
|
|
/// Type or paste what's on your mind
|
|
|
|
|
internal static let contentInputPlaceholder = L10n.tr("Localizable", "Scene.Compose.ContentInputPlaceholder")
|
2021-03-18 08:16:35 +01:00
|
|
|
|
internal enum Attachment {
|
|
|
|
|
/// This %@ is broken and can't be\nuploaded to Mastodon.
|
|
|
|
|
internal static func attachmentBroken(_ p1: Any) -> String {
|
|
|
|
|
return L10n.tr("Localizable", "Scene.Compose.Attachment.AttachmentBroken", String(describing: p1))
|
|
|
|
|
}
|
2021-03-18 10:33:07 +01:00
|
|
|
|
/// Describe photo for low vision people...
|
|
|
|
|
internal static let descriptionPhoto = L10n.tr("Localizable", "Scene.Compose.Attachment.DescriptionPhoto")
|
|
|
|
|
/// Describe what’s happening for low vision people...
|
|
|
|
|
internal static let descriptionVideo = L10n.tr("Localizable", "Scene.Compose.Attachment.DescriptionVideo")
|
2021-03-18 08:16:35 +01:00
|
|
|
|
/// photo
|
|
|
|
|
internal static let photo = L10n.tr("Localizable", "Scene.Compose.Attachment.Photo")
|
|
|
|
|
/// video
|
|
|
|
|
internal static let video = L10n.tr("Localizable", "Scene.Compose.Attachment.Video")
|
|
|
|
|
}
|
2021-03-19 12:49:48 +01:00
|
|
|
|
internal enum MediaSelection {
|
|
|
|
|
/// Browse
|
|
|
|
|
internal static let browse = L10n.tr("Localizable", "Scene.Compose.MediaSelection.Browse")
|
|
|
|
|
/// Take Photo
|
|
|
|
|
internal static let camera = L10n.tr("Localizable", "Scene.Compose.MediaSelection.Camera")
|
|
|
|
|
/// Photo Library
|
|
|
|
|
internal static let photoLibrary = L10n.tr("Localizable", "Scene.Compose.MediaSelection.PhotoLibrary")
|
|
|
|
|
}
|
2021-03-11 08:41:27 +01:00
|
|
|
|
internal enum Title {
|
2021-03-15 06:42:46 +01:00
|
|
|
|
/// New Post
|
|
|
|
|
internal static let newPost = L10n.tr("Localizable", "Scene.Compose.Title.NewPost")
|
2021-03-11 08:41:27 +01:00
|
|
|
|
/// New Reply
|
|
|
|
|
internal static let newReply = L10n.tr("Localizable", "Scene.Compose.Title.NewReply")
|
|
|
|
|
}
|
|
|
|
|
}
|
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")
|
2021-02-25 08:44:14 +01:00
|
|
|
|
/// Open Email App
|
2021-02-23 08:38:05 +01:00
|
|
|
|
internal static let openEmailApp = L10n.tr("Localizable", "Scene.ConfirmEmail.Button.OpenEmailApp")
|
|
|
|
|
}
|
|
|
|
|
internal enum DontReceiveEmail {
|
2021-02-25 08:44:14 +01:00
|
|
|
|
/// Check if your email address is correct as well as your junk folder if you haven’t.
|
2021-02-25 08:39:48 +01:00
|
|
|
|
internal static let description = L10n.tr("Localizable", "Scene.ConfirmEmail.DontReceiveEmail.Description")
|
2021-02-26 11:27:47 +01:00
|
|
|
|
/// Resend Email
|
2021-02-25 08:39:48 +01:00
|
|
|
|
internal static let resendEmail = L10n.tr("Localizable", "Scene.ConfirmEmail.DontReceiveEmail.ResendEmail")
|
2021-02-25 08:44:14 +01:00
|
|
|
|
/// Check your email
|
2021-02-25 08:39:48 +01:00
|
|
|
|
internal static let title = L10n.tr("Localizable", "Scene.ConfirmEmail.DontReceiveEmail.Title")
|
2021-02-23 08:38:05 +01:00
|
|
|
|
}
|
|
|
|
|
internal enum OpenEmailApp {
|
2021-02-25 08:44:14 +01:00
|
|
|
|
/// We just sent you an email. Check your junk folder if you haven’t.
|
2021-02-25 08:39:48 +01:00
|
|
|
|
internal static let description = L10n.tr("Localizable", "Scene.ConfirmEmail.OpenEmailApp.Description")
|
2021-02-24 03:49:50 +01:00
|
|
|
|
/// Mail
|
|
|
|
|
internal static let mail = L10n.tr("Localizable", "Scene.ConfirmEmail.OpenEmailApp.Mail")
|
2021-02-25 08:39:48 +01:00
|
|
|
|
/// Open Email Client
|
|
|
|
|
internal static let openEmailClient = L10n.tr("Localizable", "Scene.ConfirmEmail.OpenEmailApp.OpenEmailClient")
|
|
|
|
|
/// Check your inbox.
|
|
|
|
|
internal static let title = L10n.tr("Localizable", "Scene.ConfirmEmail.OpenEmailApp.Title")
|
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")
|
2021-03-15 13:03:40 +01:00
|
|
|
|
internal enum NavigationBarState {
|
|
|
|
|
/// See new posts
|
|
|
|
|
internal static let newPosts = L10n.tr("Localizable", "Scene.HomeTimeline.NavigationBarState.NewPosts")
|
|
|
|
|
/// Offline
|
|
|
|
|
internal static let offline = L10n.tr("Localizable", "Scene.HomeTimeline.NavigationBarState.Offline")
|
|
|
|
|
/// Published!
|
|
|
|
|
internal static let published = L10n.tr("Localizable", "Scene.HomeTimeline.NavigationBarState.Published")
|
|
|
|
|
/// Publishing post...
|
|
|
|
|
internal static let publishing = L10n.tr("Localizable", "Scene.HomeTimeline.NavigationBarState.Publishing")
|
|
|
|
|
}
|
2021-02-22 09:20:44 +01:00
|
|
|
|
}
|
|
|
|
|
internal enum PublicTimeline {
|
|
|
|
|
/// Public
|
|
|
|
|
internal static let title = L10n.tr("Localizable", "Scene.PublicTimeline.Title")
|
|
|
|
|
}
|
|
|
|
|
internal enum Register {
|
|
|
|
|
/// Tell us about you.
|
|
|
|
|
internal static let title = L10n.tr("Localizable", "Scene.Register.Title")
|
2021-03-04 08:29:46 +01:00
|
|
|
|
internal enum Error {
|
|
|
|
|
internal enum Item {
|
|
|
|
|
/// Agreement
|
|
|
|
|
internal static let agreement = L10n.tr("Localizable", "Scene.Register.Error.Item.Agreement")
|
|
|
|
|
/// Email
|
|
|
|
|
internal static let email = L10n.tr("Localizable", "Scene.Register.Error.Item.Email")
|
|
|
|
|
/// Locale
|
|
|
|
|
internal static let locale = L10n.tr("Localizable", "Scene.Register.Error.Item.Locale")
|
|
|
|
|
/// Password
|
|
|
|
|
internal static let password = L10n.tr("Localizable", "Scene.Register.Error.Item.Password")
|
|
|
|
|
/// Reason
|
|
|
|
|
internal static let reason = L10n.tr("Localizable", "Scene.Register.Error.Item.Reason")
|
|
|
|
|
/// Username
|
|
|
|
|
internal static let username = L10n.tr("Localizable", "Scene.Register.Error.Item.Username")
|
|
|
|
|
}
|
|
|
|
|
internal enum Reason {
|
2021-03-04 09:42:43 +01:00
|
|
|
|
/// %@ must be accepted
|
2021-03-04 08:29:46 +01:00
|
|
|
|
internal static func accepted(_ p1: Any) -> String {
|
|
|
|
|
return L10n.tr("Localizable", "Scene.Register.Error.Reason.Accepted", String(describing: p1))
|
|
|
|
|
}
|
2021-03-04 09:42:43 +01:00
|
|
|
|
/// %@ is required
|
2021-03-04 08:29:46 +01:00
|
|
|
|
internal static func blank(_ p1: Any) -> String {
|
|
|
|
|
return L10n.tr("Localizable", "Scene.Register.Error.Reason.Blank", String(describing: p1))
|
|
|
|
|
}
|
2021-03-04 09:42:43 +01:00
|
|
|
|
/// %@ contains a disallowed e-mail provider
|
2021-03-04 08:29:46 +01:00
|
|
|
|
internal static func blocked(_ p1: Any) -> String {
|
|
|
|
|
return L10n.tr("Localizable", "Scene.Register.Error.Reason.Blocked", String(describing: p1))
|
|
|
|
|
}
|
2021-03-04 09:42:43 +01:00
|
|
|
|
/// %@ is not a supported value
|
2021-03-04 08:29:46 +01:00
|
|
|
|
internal static func inclusion(_ p1: Any) -> String {
|
|
|
|
|
return L10n.tr("Localizable", "Scene.Register.Error.Reason.Inclusion", String(describing: p1))
|
|
|
|
|
}
|
2021-03-04 09:42:43 +01:00
|
|
|
|
/// %@ is invalid
|
2021-03-04 08:29:46 +01:00
|
|
|
|
internal static func invalid(_ p1: Any) -> String {
|
|
|
|
|
return L10n.tr("Localizable", "Scene.Register.Error.Reason.Invalid", String(describing: p1))
|
|
|
|
|
}
|
2021-03-04 09:42:43 +01:00
|
|
|
|
/// %@ is a reserved keyword
|
2021-03-04 08:29:46 +01:00
|
|
|
|
internal static func reserved(_ p1: Any) -> String {
|
|
|
|
|
return L10n.tr("Localizable", "Scene.Register.Error.Reason.Reserved", String(describing: p1))
|
|
|
|
|
}
|
2021-03-04 09:42:43 +01:00
|
|
|
|
/// %@ is already in use
|
2021-03-04 08:29:46 +01:00
|
|
|
|
internal static func taken(_ p1: Any) -> String {
|
|
|
|
|
return L10n.tr("Localizable", "Scene.Register.Error.Reason.Taken", String(describing: p1))
|
|
|
|
|
}
|
2021-03-04 09:42:43 +01:00
|
|
|
|
/// %@ is too long
|
2021-03-04 08:29:46 +01:00
|
|
|
|
internal static func tooLong(_ p1: Any) -> String {
|
|
|
|
|
return L10n.tr("Localizable", "Scene.Register.Error.Reason.TooLong", String(describing: p1))
|
|
|
|
|
}
|
2021-03-04 09:42:43 +01:00
|
|
|
|
/// %@ is too short
|
2021-03-04 08:29:46 +01:00
|
|
|
|
internal static func tooShort(_ p1: Any) -> String {
|
|
|
|
|
return L10n.tr("Localizable", "Scene.Register.Error.Reason.TooShort", String(describing: p1))
|
|
|
|
|
}
|
2021-03-04 09:42:43 +01:00
|
|
|
|
/// %@ does not seem to exist
|
2021-03-04 08:29:46 +01:00
|
|
|
|
internal static func unreachable(_ p1: Any) -> String {
|
|
|
|
|
return L10n.tr("Localizable", "Scene.Register.Error.Reason.Unreachable", String(describing: p1))
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
internal enum Special {
|
2021-03-04 09:42:43 +01:00
|
|
|
|
/// This is not a valid e-mail address
|
2021-03-04 08:29:46 +01:00
|
|
|
|
internal static let emailInvalid = L10n.tr("Localizable", "Scene.Register.Error.Special.EmailInvalid")
|
2021-03-04 09:42:43 +01:00
|
|
|
|
/// Password is too short (must be at least 8 characters)
|
|
|
|
|
internal static let passwordTooShort = L10n.tr("Localizable", "Scene.Register.Error.Special.PasswordTooShort")
|
|
|
|
|
/// Username must only contain alphanumeric characters and underscores
|
2021-03-04 08:29:46 +01:00
|
|
|
|
internal static let usernameInvalid = L10n.tr("Localizable", "Scene.Register.Error.Special.UsernameInvalid")
|
2021-03-04 09:42:43 +01:00
|
|
|
|
/// Username is too long (can't be longer than 30 characters)
|
2021-03-04 08:29:46 +01:00
|
|
|
|
internal static let usernameTooLong = L10n.tr("Localizable", "Scene.Register.Error.Special.UsernameTooLong")
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-02-22 09:20:44 +01:00
|
|
|
|
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")
|
|
|
|
|
}
|
2021-02-26 05:52:37 +01:00
|
|
|
|
internal enum Invite {
|
|
|
|
|
/// Why do you want to join?
|
|
|
|
|
internal static let registrationUserInviteRequest = L10n.tr("Localizable", "Scene.Register.Input.Invite.RegistrationUserInviteRequest")
|
|
|
|
|
}
|
2021-02-22 09:20:44 +01:00
|
|
|
|
internal enum Password {
|
2021-03-04 08:29:46 +01:00
|
|
|
|
/// Your password needs at least eight characters
|
2021-03-02 10:24:04 +01:00
|
|
|
|
internal static let hint = L10n.tr("Localizable", "Scene.Register.Input.Password.Hint")
|
2021-02-22 09:20:44 +01:00
|
|
|
|
/// password
|
|
|
|
|
internal static let placeholder = L10n.tr("Localizable", "Scene.Register.Input.Password.Placeholder")
|
|
|
|
|
}
|
|
|
|
|
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")
|
2021-02-23 15:14:10 +01:00
|
|
|
|
internal enum Button {
|
2021-02-25 09:38:24 +01:00
|
|
|
|
/// See Less
|
2021-03-15 06:42:46 +01:00
|
|
|
|
internal static let seeLess = L10n.tr("Localizable", "Scene.ServerPicker.Button.SeeLess")
|
2021-02-24 15:47:42 +01:00
|
|
|
|
/// See More
|
2021-03-15 06:42:46 +01:00
|
|
|
|
internal static let seeMore = L10n.tr("Localizable", "Scene.ServerPicker.Button.SeeMore")
|
2021-02-23 15:14:10 +01:00
|
|
|
|
internal enum Category {
|
|
|
|
|
/// All
|
|
|
|
|
internal static let all = L10n.tr("Localizable", "Scene.ServerPicker.Button.Category.All")
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-03-06 05:55:52 +01:00
|
|
|
|
internal enum EmptyState {
|
|
|
|
|
/// Something went wrong while loading data. Check your internet connection.
|
|
|
|
|
internal static let badNetwork = L10n.tr("Localizable", "Scene.ServerPicker.EmptyState.BadNetwork")
|
|
|
|
|
/// Finding available servers...
|
|
|
|
|
internal static let findingServers = L10n.tr("Localizable", "Scene.ServerPicker.EmptyState.FindingServers")
|
|
|
|
|
}
|
2021-02-22 09:20:44 +01:00
|
|
|
|
internal enum Input {
|
|
|
|
|
/// Find a server or join your own...
|
|
|
|
|
internal static let placeholder = L10n.tr("Localizable", "Scene.ServerPicker.Input.Placeholder")
|
|
|
|
|
}
|
2021-02-24 15:47:42 +01:00
|
|
|
|
internal enum Label {
|
|
|
|
|
/// CATEGORY
|
|
|
|
|
internal static let category = L10n.tr("Localizable", "Scene.ServerPicker.Label.Category")
|
|
|
|
|
/// LANGUAGE
|
|
|
|
|
internal static let language = L10n.tr("Localizable", "Scene.ServerPicker.Label.Language")
|
|
|
|
|
/// USERS
|
|
|
|
|
internal static let users = L10n.tr("Localizable", "Scene.ServerPicker.Label.Users")
|
|
|
|
|
}
|
2021-02-22 09:20:44 +01:00
|
|
|
|
}
|
|
|
|
|
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 {
|
|
|
|
|
/// Social networking\nback in your hands.
|
|
|
|
|
internal static let slogan = L10n.tr("Localizable", "Scene.Welcome.Slogan")
|
|
|
|
|
}
|
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
|