mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 11:23:48 +00:00
Localize phone number check tip link
This commit is contained in:
parent
f273b88122
commit
3450418ad2
@ -4289,6 +4289,7 @@ Unused sets are archived when you add more.";
|
||||
"Settings.CheckPhoneNumberText" = "Keep your number up to date to ensure you can always log in to Telegram. [Learn more]()";
|
||||
"Settings.KeepPhoneNumber" = "Keep %@";
|
||||
"Settings.ChangePhoneNumber" = "Change Number";
|
||||
"Settings.CheckPhoneNumberFAQAnchor" = "q-i-have-a-new-phone-number-what-do-i-do";
|
||||
|
||||
"Undo.ChatDeletedForBothSides" = "Chat deleted for both sides";
|
||||
|
||||
|
@ -701,7 +701,7 @@ private func settingsItems(data: PeerInfoScreenData?, context: AccountContext, p
|
||||
let phoneNumber = formatPhoneNumber(peer.phone ?? "")
|
||||
items[.phone]!.append(PeerInfoScreenInfoItem(id: 0, title: presentationData.strings.Settings_CheckPhoneNumberTitle(phoneNumber).string, text: .markdown(presentationData.strings.Settings_CheckPhoneNumberText), linkAction: { link in
|
||||
if case .tap = link {
|
||||
interaction.openFaq("q-i-have-a-new-phone-number-what-do-i-do")
|
||||
interaction.openFaq(presentationData.strings.Settings_CheckPhoneNumberFAQAnchor)
|
||||
}
|
||||
}))
|
||||
items[.phone]!.append(PeerInfoScreenActionItem(id: 1, text: presentationData.strings.Settings_KeepPhoneNumber(phoneNumber).string, action: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user