Skip to content

Commit 69c8e26

Browse files
committed
Update localization
1 parent aec6a54 commit 69c8e26

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

‎Telegram/Telegram-iOS/en.lproj/Localizable.strings‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff 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.";

‎submodules/TelegramUI/Components/Chat/ChatMessageDisableCopyProtectionBubbleContentNode/Sources/ChatMessageDisableCopyProtectionBubbleContentNode.swift‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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\nsaving photos and videos\ncopying messages\ntaking 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(

0 commit comments

Comments
 (0)