From 69c8e2634ba9e0ef198d0a13fbd0e98a31123ae3 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Tue, 24 Feb 2026 19:33:42 +0400 Subject: [PATCH] Update localization --- Telegram/Telegram-iOS/en.lproj/Localizable.strings | 5 ++++- .../ChatMessageDisableCopyProtectionBubbleContentNode.swift | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Telegram/Telegram-iOS/en.lproj/Localizable.strings b/Telegram/Telegram-iOS/en.lproj/Localizable.strings index 5191eb298c..9801752150 100644 --- a/Telegram/Telegram-iOS/en.lproj/Localizable.strings +++ b/Telegram/Telegram-iOS/en.lproj/Localizable.strings @@ -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."; diff --git a/submodules/TelegramUI/Components/Chat/ChatMessageDisableCopyProtectionBubbleContentNode/Sources/ChatMessageDisableCopyProtectionBubbleContentNode.swift b/submodules/TelegramUI/Components/Chat/ChatMessageDisableCopyProtectionBubbleContentNode/Sources/ChatMessageDisableCopyProtectionBubbleContentNode.swift index 931bddad9d..6e62509490 100644 --- a/submodules/TelegramUI/Components/Chat/ChatMessageDisableCopyProtectionBubbleContentNode/Sources/ChatMessageDisableCopyProtectionBubbleContentNode.swift +++ b/submodules/TelegramUI/Components/Chat/ChatMessageDisableCopyProtectionBubbleContentNode/Sources/ChatMessageDisableCopyProtectionBubbleContentNode.swift @@ -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(