mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Update localization
This commit is contained in:
parent
af9a417798
commit
aa1b009cea
@ -364,7 +364,7 @@
|
|||||||
"Login.HaveNotReceivedCodeInternal" = "Haven't received the code?";
|
"Login.HaveNotReceivedCodeInternal" = "Haven't received the code?";
|
||||||
"Login.CodeSentSms" = "We have sent you an SMS with the code";
|
"Login.CodeSentSms" = "We have sent you an SMS with the code";
|
||||||
"Login.Code" = "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.CallRequestState2" = "Requesting a call from Telegram...";
|
||||||
"Login.CallRequestState3" = "Telegram dialed your number\n[Didn't get the code?]";
|
"Login.CallRequestState3" = "Telegram dialed your number\n[Didn't get the code?]";
|
||||||
"Login.EmailNotConfiguredError" = "Please set up an email account.";
|
"Login.EmailNotConfiguredError" = "Please set up an email account.";
|
||||||
@ -2073,7 +2073,7 @@
|
|||||||
|
|
||||||
"Login.CodeSentCall" = "We are calling your phone to dictate a code.";
|
"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.SmsRequestState2" = "Requesting an SMS from Telegram...";
|
||||||
"Login.SmsRequestState3" = "Telegram sent you an SMS\n[Didn't get the code?]";
|
"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.";
|
"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.CheckOtherSessionMessages" = "Check your Telegram messages";
|
||||||
"Login.SendCodeViaSms" = "Send the code as an SMS";
|
"Login.SendCodeViaSms" = "Get the code via SMS";
|
||||||
"Login.SendCodeViaCall" = "Get code on my phone";
|
"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.CancelPhoneVerification" = "Do you want to stop the phone number verification process?";
|
||||||
"Login.CancelPhoneVerificationStop" = "Stop";
|
"Login.CancelPhoneVerificationStop" = "Stop";
|
||||||
"Login.CancelPhoneVerificationContinue" = "Continue";
|
"Login.CancelPhoneVerificationContinue" = "Continue";
|
||||||
|
@ -48,8 +48,10 @@ public func authorizationNextOptionText(currentType: SentAuthorizationCodeType,
|
|||||||
switch nextType {
|
switch nextType {
|
||||||
case .sms:
|
case .sms:
|
||||||
return (NSAttributedString(string: strings.Login_SendCodeViaSms, font: Font.regular(16.0), textColor: accentColor, paragraphAlignment: .center), true)
|
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)
|
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:
|
case .none:
|
||||||
return (NSAttributedString(string: strings.Login_HaveNotReceivedCodeInternal, font: Font.regular(16.0), textColor: accentColor, paragraphAlignment: .center), true)
|
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 {
|
switch nextType {
|
||||||
case .sms:
|
case .sms:
|
||||||
return (NSAttributedString(string: strings.Login_SendCodeViaSms, font: Font.regular(16.0), textColor: accentColor, paragraphAlignment: .center), true)
|
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)
|
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:
|
case .none:
|
||||||
return (NSAttributedString(string: strings.Login_HaveNotReceivedCodeInternal, font: Font.regular(16.0), textColor: accentColor, paragraphAlignment: .center), true)
|
return (NSAttributedString(string: strings.Login_HaveNotReceivedCodeInternal, font: Font.regular(16.0), textColor: accentColor, paragraphAlignment: .center), true)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user