diff --git a/Telegram/Telegram-iOS/en.lproj/Localizable.strings b/Telegram/Telegram-iOS/en.lproj/Localizable.strings index 5172360dfa..458fbaf998 100644 --- a/Telegram/Telegram-iOS/en.lproj/Localizable.strings +++ b/Telegram/Telegram-iOS/en.lproj/Localizable.strings @@ -11585,3 +11585,6 @@ to respond to messages faster."; "ChatbotSetup.BotAddAction" = "ADD"; "ChatbotSetup.BotNotFoundStatus" = "Chatbot not found"; + +"Chat.QuickReply.ServiceHeader1" = "To edit or delete your quick reply, tap an hold on it."; +"Chat.QuickReply.ServiceHeader2" = "To use this quick reply in a chat, type / and select the shortcut from the list."; diff --git a/submodules/TelegramUI/Sources/ChatHistoryEntriesForView.swift b/submodules/TelegramUI/Sources/ChatHistoryEntriesForView.swift index 4cd3cca329..2992442788 100644 --- a/submodules/TelegramUI/Sources/ChatHistoryEntriesForView.swift +++ b/submodules/TelegramUI/Sources/ChatHistoryEntriesForView.swift @@ -519,7 +519,7 @@ func chatHistoryEntriesForView( if let subject = associatedData.subject, case let .customChatContents(customChatContents) = subject, case let .quickReplyMessageInput(_, shortcutType) = customChatContents.kind, case .generic = shortcutType { if !view.isLoading && view.laterId == nil && !view.entries.isEmpty { for i in 0 ..< 2 { - let string = i == 1 ? "To edit or delete your quick reply, tap an hold on it." : "To use this quick reply in a chat, type / and select the shortcut from the list." + let string = i == 1 ? presentationData.strings.Chat_QuickReply_ServiceHeader1 : presentationData.strings.Chat_QuickReply_ServiceHeader2 let formattedString = parseMarkdownIntoAttributedString( string, attributes: MarkdownAttributes(