From 116472e2cf1eed87411c0a6646ddbb9e0257fcf0 Mon Sep 17 00:00:00 2001 From: Ali <> Date: Fri, 8 Apr 2022 00:35:56 +0400 Subject: [PATCH] Add missing key --- Telegram/Telegram-iOS/en.lproj/Localizable.strings | 2 ++ .../TelegramUI/Sources/ChatInterfaceStateContextMenus.swift | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Telegram/Telegram-iOS/en.lproj/Localizable.strings b/Telegram/Telegram-iOS/en.lproj/Localizable.strings index 86a0d3cf96..ec69b9d777 100644 --- a/Telegram/Telegram-iOS/en.lproj/Localizable.strings +++ b/Telegram/Telegram-iOS/en.lproj/Localizable.strings @@ -7501,3 +7501,5 @@ Sorry for the inconvenience."; "PeerInfo.DeleteChannelTitle" = "Delete for All"; "PeerInfo.DeleteChannelText" = "Are you sure you want to delete the channel **%@** and all of its messages for all subscribers of the channel?"; + +"Chat.SaveForNotifications" = "Save for Notifications"; diff --git a/submodules/TelegramUI/Sources/ChatInterfaceStateContextMenus.swift b/submodules/TelegramUI/Sources/ChatInterfaceStateContextMenus.swift index a5233c5822..4125b0e0e3 100644 --- a/submodules/TelegramUI/Sources/ChatInterfaceStateContextMenus.swift +++ b/submodules/TelegramUI/Sources/ChatInterfaceStateContextMenus.swift @@ -692,7 +692,7 @@ func contextMenuForChatPresentationInterfaceState(chatPresentationInterfaceState } if !isAlreadyAdded { - actions.append(.action(ContextMenuActionItem(text: "Save for Notifications", icon: { theme in + actions.append(.action(ContextMenuActionItem(text: presentationData.strings.Chat_SaveForNotifications, icon: { theme in return generateTintedImage(image: UIImage(bundleImageName: "Chat/Context Menu/DownloadTone"), color: theme.actionSheet.primaryTextColor) }, action: { _, f in f(.default)