diff --git a/Telegram/Telegram-iOS/en.lproj/Localizable.strings b/Telegram/Telegram-iOS/en.lproj/Localizable.strings index 3ae20ff1c7..179fb30bd3 100644 --- a/Telegram/Telegram-iOS/en.lproj/Localizable.strings +++ b/Telegram/Telegram-iOS/en.lproj/Localizable.strings @@ -364,7 +364,7 @@ "Login.HaveNotReceivedCodeInternal" = "Haven't received the code?"; "Login.CodeSentSms" = "We have sent you an SMS with the code"; "Login.Code" = "Code"; -"Login.WillCallYou" = "Telegram will call you in %@"; +"Login.WillCallYou" = "You can request a voice call in %@"; "Login.CallRequestState2" = "Requesting a call from Telegram..."; "Login.CallRequestState3" = "Telegram dialed your number\n[Didn't get the code?]"; "Login.EmailNotConfiguredError" = "Please set up an email account."; @@ -2073,7 +2073,7 @@ "Login.CodeSentCall" = "We are calling your phone to dictate a code."; -"Login.WillSendSms" = "Telegram will send you an SMS in %@"; +"Login.WillSendSms" = "You can request an SMS in %@"; "Login.SmsRequestState2" = "Requesting an SMS from Telegram..."; "Login.SmsRequestState3" = "Telegram sent you an SMS\n[Didn't get the code?]"; @@ -3764,8 +3764,9 @@ Unused sets are archived when you add more."; "AuthCode.Alert" = "Your login code is %@. Enter it in the Telegram app where you are trying to log in.\n\nDo not give this code to anyone."; "Login.CheckOtherSessionMessages" = "Check your Telegram messages"; -"Login.SendCodeViaSms" = "Send the code as an SMS"; -"Login.SendCodeViaCall" = "Get code on my phone"; +"Login.SendCodeViaSms" = "Get the code via SMS"; +"Login.SendCodeViaCall" = "Call me to dictate the code"; +"Login.SendCodeViaFlashCall" = "Get the code via phone call"; "Login.CancelPhoneVerification" = "Do you want to stop the phone number verification process?"; "Login.CancelPhoneVerificationStop" = "Stop"; "Login.CancelPhoneVerificationContinue" = "Continue"; diff --git a/submodules/AuthorizationUI/Sources/AuthorizationOptionText.swift b/submodules/AuthorizationUI/Sources/AuthorizationOptionText.swift index 78251b1c14..da9faf84d3 100644 --- a/submodules/AuthorizationUI/Sources/AuthorizationOptionText.swift +++ b/submodules/AuthorizationUI/Sources/AuthorizationOptionText.swift @@ -48,8 +48,10 @@ public func authorizationNextOptionText(currentType: SentAuthorizationCodeType, switch nextType { case .sms: return (NSAttributedString(string: strings.Login_SendCodeViaSms, font: Font.regular(16.0), textColor: accentColor, paragraphAlignment: .center), true) - case .call, .flashCall, .missedCall: + case .call: return (NSAttributedString(string: strings.Login_SendCodeViaCall, font: Font.regular(16.0), textColor: accentColor, paragraphAlignment: .center), true) + case .flashCall, .missedCall: + return (NSAttributedString(string: strings.Login_SendCodeViaFlashCall, font: Font.regular(16.0), textColor: accentColor, paragraphAlignment: .center), true) case .none: return (NSAttributedString(string: strings.Login_HaveNotReceivedCodeInternal, font: Font.regular(16.0), textColor: accentColor, paragraphAlignment: .center), true) } @@ -57,8 +59,10 @@ public func authorizationNextOptionText(currentType: SentAuthorizationCodeType, switch nextType { case .sms: return (NSAttributedString(string: strings.Login_SendCodeViaSms, font: Font.regular(16.0), textColor: accentColor, paragraphAlignment: .center), true) - case .call, .flashCall, .missedCall: + case .call: return (NSAttributedString(string: strings.Login_SendCodeViaCall, font: Font.regular(16.0), textColor: accentColor, paragraphAlignment: .center), true) + case .flashCall, .missedCall: + return (NSAttributedString(string: strings.Login_SendCodeViaFlashCall, font: Font.regular(16.0), textColor: accentColor, paragraphAlignment: .center), true) case .none: return (NSAttributedString(string: strings.Login_HaveNotReceivedCodeInternal, font: Font.regular(16.0), textColor: accentColor, paragraphAlignment: .center), true) }