From 1cbe623bd415e582722bee63e4b5953953892a81 Mon Sep 17 00:00:00 2001 From: Nathan Mattes Date: Wed, 21 Dec 2022 23:33:34 +0100 Subject: [PATCH] Add strings for signup-speed (#690) --- Localization/app.json | 6 ++++++ .../MastodonLocalization/Generated/Strings.swift | 10 ++++++++++ .../Resources/Base.lproj/Localizable.strings | 4 ++++ .../Resources/en.lproj/Localizable.strings | 4 ++++ 4 files changed, 24 insertions(+) diff --git a/Localization/app.json b/Localization/app.json index afd2a4f34..8e9a58e58 100644 --- a/Localization/app.json +++ b/Localization/app.json @@ -268,6 +268,7 @@ "title": "Pick Server", "button": { "language": "Language", + "signup_speed": "Sign-up Speed", "category": { "all": "All", "all_accessiblity_description": "Category: All", @@ -299,6 +300,11 @@ "finding_servers": "Finding available servers...", "bad_network": "Something went wrong while loading the data. Check your internet connection.", "no_results": "No results" + }, + "signup_speed": { + "all": "All", + "instant": "Instant Sign-up", + "manually_reviewed" = "Manual Review" } }, "privacy": { diff --git a/MastodonSDK/Sources/MastodonLocalization/Generated/Strings.swift b/MastodonSDK/Sources/MastodonLocalization/Generated/Strings.swift index 5a089fbec..cfa6b5959 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Generated/Strings.swift +++ b/MastodonSDK/Sources/MastodonLocalization/Generated/Strings.swift @@ -1211,6 +1211,8 @@ public enum L10n { public static let seeLess = L10n.tr("Localizable", "Scene.ServerPicker.Button.SeeLess", fallback: "See Less") /// See More public static let seeMore = L10n.tr("Localizable", "Scene.ServerPicker.Button.SeeMore", fallback: "See More") + /// Sign-up Speed + public static let signupSpeed = L10n.tr("Localizable", "Scene.ServerPicker.Button.SignupSpeed", fallback: "Sign-up Speed") public enum Category { /// academia public static let academia = L10n.tr("Localizable", "Scene.ServerPicker.Button.Category.Academia", fallback: "academia") @@ -1262,6 +1264,14 @@ public enum L10n { /// USERS public static let users = L10n.tr("Localizable", "Scene.ServerPicker.Label.Users", fallback: "USERS") } + public enum SignupSpeed { + /// All + public static let all = L10n.tr("Localizable", "Scene.ServerPicker.SignupSpeed.All", fallback: "All") + /// Instant Sign-up + public static let instant = L10n.tr("Localizable", "Scene.ServerPicker.SignupSpeed.Instant", fallback: "Instant Sign-up") + /// Manual Review + public static let manuallyReviewed = L10n.tr("Localizable", "Scene.ServerPicker.SignupSpeed.ManuallyReviewed", fallback: "Manual Review") + } } public enum ServerRules { /// privacy policy diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/Base.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/Base.lproj/Localizable.strings index 95a87842a..726ddac7c 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/Base.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/Base.lproj/Localizable.strings @@ -429,6 +429,7 @@ uploaded to Mastodon."; "Scene.ServerPicker.Button.SeeLess" = "See Less"; "Scene.ServerPicker.Button.SeeMore" = "See More"; "Scene.ServerPicker.Button.Language" = "Language"; +"Scene.ServerPicker.Button.SignupSpeed" = "Sign-up Speed"; "Scene.ServerPicker.EmptyState.BadNetwork" = "Something went wrong while loading the data. Check your internet connection."; "Scene.ServerPicker.EmptyState.FindingServers" = "Finding available servers..."; "Scene.ServerPicker.EmptyState.NoResults" = "No results"; @@ -438,6 +439,9 @@ uploaded to Mastodon."; "Scene.ServerPicker.Label.Users" = "USERS"; "Scene.ServerPicker.Title" = "Pick server"; "Scene.ServerPicker.NoServerSelectedHint" = "We’ll pick a server based on your language if you continue without making a selection."; +"Scene.ServerPicker.SignupSpeed.All" = "All"; +"Scene.ServerPicker.SignupSpeed.Instant" = "Instant Sign-up"; +"Scene.ServerPicker.SignupSpeed.ManuallyReviewed" = "Manual Review"; "Scene.ServerRules.Button.Confirm" = "I Agree"; "Scene.ServerRules.PrivacyPolicy" = "privacy policy"; "Scene.ServerRules.Prompt" = "By continuing, you’re subject to the terms of service and privacy policy for %@."; diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/en.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/en.lproj/Localizable.strings index 27bae4fbf..2d3680362 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/en.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/en.lproj/Localizable.strings @@ -420,6 +420,7 @@ uploaded to Mastodon."; "Scene.ServerPicker.Button.SeeLess" = "See Less"; "Scene.ServerPicker.Button.SeeMore" = "See More"; "Scene.ServerPicker.Button.Language" = "Language"; +"Scene.ServerPicker.Button.SignupSpeed" = "Sign-up Speed"; "Scene.ServerPicker.EmptyState.BadNetwork" = "Something went wrong while loading the data. Check your internet connection."; "Scene.ServerPicker.EmptyState.FindingServers" = "Finding available servers..."; "Scene.ServerPicker.EmptyState.NoResults" = "No results"; @@ -429,6 +430,9 @@ uploaded to Mastodon."; "Scene.ServerPicker.Label.Users" = "USERS"; "Scene.ServerPicker.Title" = "Pick server"; "Scene.ServerPicker.NoServerSelectedHint" = "We’ll pick a server based on your language if you continue without making a selection."; +"Scene.ServerPicker.SignupSpeed.All" = "All"; +"Scene.ServerPicker.SignupSpeed.Instant" = "Instant Sign-up"; +"Scene.ServerPicker.SignupSpeed.ManuallyReviewed" = "Manual Review"; "Scene.ServerRules.Button.Confirm" = "I Agree"; "Scene.ServerRules.PrivacyPolicy" = "privacy policy"; "Scene.ServerRules.Prompt" = "By continuing, you’re subject to the terms of service and privacy policy for %@.";