Set new title for account-creation (#690)

This commit is contained in:
Nathan Mattes 2022-12-18 01:52:48 +01:00
parent fe53fc409e
commit 669716208e
5 changed files with 6 additions and 15 deletions

View File

@ -312,8 +312,7 @@
}
}
"register": {
"title": "Lets get you set up on %s",
"lets_get_you_set_up_on_domain": "Lets get you set up on %s",
"title": "Create account",
"input": {
"avatar": {
"delete": "Delete"

View File

@ -140,7 +140,7 @@ extension MastodonRegisterViewController {
// }
// .store(in: &disposeBag)
title = L10n.Scene.Register.title(viewModel.domain)
title = L10n.Scene.Register.title
}
override func viewDidAppear(_ animated: Bool) {

View File

@ -924,14 +924,8 @@ public enum L10n {
public static let title = L10n.tr("Localizable", "Scene.RebloggedBy.Title", fallback: "Reblogged By")
}
public enum Register {
/// Lets get you set up on %@
public static func letsGetYouSetUpOnDomain(_ p1: Any) -> String {
return L10n.tr("Localizable", "Scene.Register.LetsGetYouSetUpOnDomain", String(describing: p1), fallback: "Lets get you set up on %@")
}
/// Lets get you set up on %@
public static func title(_ p1: Any) -> String {
return L10n.tr("Localizable", "Scene.Register.Title", String(describing: p1), fallback: "Lets get you set up on %@")
}
/// Create account
public static let title = L10n.tr("Localizable", "Scene.Register.Title", fallback: "Create account")
public enum Error {
public enum Item {
/// Agreement

View File

@ -350,8 +350,7 @@ uploaded to Mastodon.";
"Scene.Register.Input.Password.Require" = "Your password needs at least:";
"Scene.Register.Input.Username.DuplicatePrompt" = "This username is taken.";
"Scene.Register.Input.Username.Placeholder" = "username";
"Scene.Register.LetsGetYouSetUpOnDomain" = "Lets get you set up on %@";
"Scene.Register.Title" = "Lets get you set up on %@";
"Scene.Register.Title" = "Create account";
"Scene.Report.Content1" = "Are there any other posts youd like to add to the report?";
"Scene.Report.Content2" = "Is there anything the moderators should know about this report?";
"Scene.Report.ReportSentTitle" = "Thanks for reporting, well look into this.";

View File

@ -341,8 +341,7 @@ uploaded to Mastodon.";
"Scene.Register.Input.Password.Require" = "Your password needs at least:";
"Scene.Register.Input.Username.DuplicatePrompt" = "This username is taken.";
"Scene.Register.Input.Username.Placeholder" = "username";
"Scene.Register.LetsGetYouSetUpOnDomain" = "Lets get you set up on %@";
"Scene.Register.Title" = "Lets get you set up on %@";
"Scene.Register.Title" = "Create account";
"Scene.Report.Content1" = "Are there any other posts youd like to add to the report?";
"Scene.Report.Content2" = "Is there anything the moderators should know about this report?";
"Scene.Report.ReportSentTitle" = "Thanks for reporting, well look into this.";