mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Update localization
This commit is contained in:
parent
aec6a54b5d
commit
69c8e2634b
2 changed files with 7 additions and 4 deletions
|
|
@ -15815,6 +15815,9 @@ Error: %8$@";
|
|||
"Notification.CopyProtection.StillEnabled" = "Sharing in this chat is still disabled";
|
||||
"Notification.CopyProtection.Request" = "%@ would like to enable sharing in this chat";
|
||||
"Notification.CopyProtection.RequestYou" = "You suggested enabling sharing in this chat";
|
||||
"Notification.CopyProtection.RequestChat" = "%@ would like to enable sharing in this chat, which includes:";
|
||||
"Notification.CopyProtection.RequestChatYou" = "You suggested enabling sharing in this chat, which includes:";
|
||||
"Notification.CopyProtection.RequestChatInfo" = "forwarding messages\nsaving photos and videos\ncopying messages\ntaking screenshots";
|
||||
|
||||
"Gallery.CreateSticker" = "Create Sticker";
|
||||
|
||||
|
|
@ -15838,7 +15841,7 @@ Error: %8$@";
|
|||
"TextFormat.Date" = "Date";
|
||||
|
||||
"Gift.Craft.UnavailableBlockchain.Title" = "Crafting Unavailable";
|
||||
"Gift.Craft.UnavailableBlockchain.Text" = "This gift can be selected as the main gift of crafting.";
|
||||
"Gift.Craft.UnavailableBlockchain.Text" = "This gift can't be used as the first one in crafting because it has been recorded on the blockchain.";
|
||||
|
||||
"AuthConfirmation.Emoji.Title" = "Tap the emoji shown\non your other device";
|
||||
"AuthConfirmation.Emoji.Description" = "Telegram wants to make sure it's really you.";
|
||||
|
|
|
|||
|
|
@ -131,12 +131,12 @@ public class ChatMessageDisableCopyProtectionBubbleContentNode: ChatMessageBubbl
|
|||
|
||||
let peerName = item.message.peers[item.message.id.peerId].flatMap { EnginePeer($0) }?.compactDisplayTitle ?? ""
|
||||
if incoming {
|
||||
text = "**\(peerName)** would like to enable sharing in this chat, which includes:"
|
||||
text = item.presentationData.strings.Notification_CopyProtection_RequestChat(peerName).string
|
||||
} else {
|
||||
text = "You suggested enabling sharing in this chat, which includes:"
|
||||
text = item.presentationData.strings.Notification_CopyProtection_RequestChatYou
|
||||
}
|
||||
|
||||
var infoText = "forwarding messages\nsaving photos and videos\ncopying messages\ntaking screenshots"
|
||||
var infoText = item.presentationData.strings.Notification_CopyProtection_RequestChatInfo
|
||||
infoText = " # \(infoText.replacingOccurrences(of: "\n", with: "\n # "))"
|
||||
|
||||
let attributedText = parseMarkdownIntoAttributedString(text, attributes: MarkdownAttributes(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue