From 0813755034d4bf5ce1bb7f8324bf37d148d6813f Mon Sep 17 00:00:00 2001 From: Charlie Scheer Date: Fri, 26 Jul 2024 15:28:01 -0600 Subject: [PATCH] Updated button and header strings for auth --- Simplenote/AuthenticationMode.swift | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/Simplenote/AuthenticationMode.swift b/Simplenote/AuthenticationMode.swift index f107467c1..988cd9c0f 100644 --- a/Simplenote/AuthenticationMode.swift +++ b/Simplenote/AuthenticationMode.swift @@ -207,11 +207,9 @@ extension AuthenticationMode { // MARK: - Localization // private enum LoginStrings { - static let primaryAction = NSLocalizedString("Log In", comment: "Title of button for logging in") - static let primaryAnimationText = NSLocalizedString("Logging In...", comment: "Title of button for logging in") - static let secondaryAction = NSLocalizedString("Forgot your Password?", comment: "Forgot Password Button") - static let switchAction = NSLocalizedString("Sign Up", comment: "Title of button for signing up") - static let switchTip = NSLocalizedString("Need an account?", comment: "Link to create an account") + static let primaryAction = NSLocalizedString("Log in", comment: "Title of button for logging in") + static let primaryAnimationText = NSLocalizedString("Logging in...", comment: "Title of button for logging in") + static let secondaryAction = NSLocalizedString("Forgot your password?", comment: "Forgot Password Button") static let wordpressAction = NSLocalizedString("Log in with WordPress.com", comment: "Title to use wordpress login instead of email") static let loginWithEmailEmailHeader = NSLocalizedString("Enter the password for the account {{EMAIL}}", comment: "Header for Login With Password. Please preserve the {{EMAIL}} substring") static let loginWithEmailLimitHeader = NSLocalizedString("Log in with email failed, please enter the password for {{EMAIL}}", comment: "Header for Enter Password UI, when the user performed too many requests") @@ -221,14 +219,10 @@ private enum LoginStrings { private enum MagicLinkStrings { static let primaryAction = NSLocalizedString("Log in with email", comment: "Title of button for logging in") static let primaryAnimationText = NSLocalizedString("Requesting email...", comment: "Title of button for logging in") - static let secondaryAction = NSLocalizedString("Continue with Password", comment: "Continue with Password Action") - static let switchAction = NSLocalizedString("Sign Up", comment: "Title of button for signing up") - static let switchTip = NSLocalizedString("Need an account?", comment: "Link to create an account") + static let secondaryAction = NSLocalizedString("Continue with password", comment: "Continue with Password Action") } private enum SignupStrings { - static let primaryAction = NSLocalizedString("Sign Up", comment: "Title of button for signing up") - static let primaryAnimationText = NSLocalizedString("Signing Up...", comment: "Title of button for logging in") - static let switchAction = NSLocalizedString("Log In", comment: "Title of button for logging in up") - static let switchTip = NSLocalizedString("Already have an account?", comment: "Link to sign in to an account") + static let primaryAction = NSLocalizedString("Sign up", comment: "Title of button for signing up") + static let primaryAnimationText = NSLocalizedString("Signing up...", comment: "Title of button for logging in") }