Update localization and hide new features

This commit is contained in:
Isaac
2024-01-14 22:13:41 +04:00
parent c27cb4f532
commit df1e522519
35 changed files with 219 additions and 516 deletions

View File

@@ -111,8 +111,7 @@ extension ChatControllerImpl {
if canAddMessageReactions(message: topMessage), let allowedReactions = allowedReactions, !topReactions.isEmpty {
actions.reactionItems = topReactions.map(ReactionContextItem.reaction)
if message.areReactionsTags(accountPeerId: self.context.account.peerId) {
//TODO:localize
actions.reactionsTitle = "Tag the message with an emoji for quick access later"
actions.reactionsTitle = presentationData.strings.Chat_ContextMenuTagsTitle
actions.allPresetReactionsAreAvailable = true
}
actions.selectedReactionItems = selectedReactions.reactions