File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Telegram/Telegram-iOS/en.lproj
submodules/TelegramUI/Components/Chat/ChatMessageDisableCopyProtectionBubbleContentNode/Sources Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -15815,6 +15815,9 @@ Error: %8$@";
1581515815"Notification.CopyProtection.StillEnabled" = "Sharing in this chat is still disabled";
1581615816"Notification.CopyProtection.Request" = "%@ would like to enable sharing in this chat";
1581715817"Notification.CopyProtection.RequestYou" = "You suggested enabling sharing in this chat";
15818+ "Notification.CopyProtection.RequestChat" = "%@ would like to enable sharing in this chat, which includes:";
15819+ "Notification.CopyProtection.RequestChatYou" = "You suggested enabling sharing in this chat, which includes:";
15820+ "Notification.CopyProtection.RequestChatInfo" = "forwarding messages\nsaving photos and videos\ncopying messages\ntaking screenshots";
1581815821
1581915822"Gallery.CreateSticker" = "Create Sticker";
1582015823
@@ -15838,7 +15841,7 @@ Error: %8$@";
1583815841"TextFormat.Date" = "Date";
1583915842
1584015843"Gift.Craft.UnavailableBlockchain.Title" = "Crafting Unavailable";
15841- "Gift.Craft.UnavailableBlockchain.Text" = "This gift can be selected as the main gift of crafting.";
15844+ "Gift.Craft.UnavailableBlockchain.Text" = "This gift can't be used as the first one in crafting because it has been recorded on the blockchain .";
1584215845
1584315846"AuthConfirmation.Emoji.Title" = "Tap the emoji shown\non your other device";
1584415847"AuthConfirmation.Emoji.Description" = "Telegram wants to make sure it's really you.";
Original file line number Diff line number Diff line change @@ -131,12 +131,12 @@ public class ChatMessageDisableCopyProtectionBubbleContentNode: ChatMessageBubbl
131131
132132 let peerName = item. message. peers [ item. message. id. peerId] . flatMap { EnginePeer ( $0) } ? . compactDisplayTitle ?? " "
133133 if incoming {
134- text = " ** \ ( peerName) ** would like to enable sharing in this chat, which includes: "
134+ text = item . presentationData . strings . Notification_CopyProtection_RequestChat ( peerName) . string
135135 } else {
136- text = " You suggested enabling sharing in this chat, which includes: "
136+ text = item . presentationData . strings . Notification_CopyProtection_RequestChatYou
137137 }
138138
139- var infoText = " forwarding messages \n saving photos and videos \n copying messages \n taking screenshots "
139+ var infoText = item . presentationData . strings . Notification_CopyProtection_RequestChatInfo
140140 infoText = " # \( infoText. replacingOccurrences ( of: " \n " , with: " \n # " ) ) "
141141
142142 let attributedText = parseMarkdownIntoAttributedString ( text, attributes: MarkdownAttributes (
You can’t perform that action at this time.
0 commit comments