Update localization

This commit is contained in:
Isaac
2024-04-23 13:37:42 +04:00
parent 1f4297e0db
commit 3b719ede86
8 changed files with 137 additions and 102 deletions

View File

@@ -2243,12 +2243,11 @@ public final class ChatHistoryListNodeImpl: ListView, ChatHistoryNode, ChatHisto
switch nextChannelToRead.location {
case .same:
if let controllerNode = self.controllerInteraction.chatControllerNode() as? ChatControllerNode, let chatController = controllerNode.interfaceInteraction?.chatController() as? ChatControllerImpl, chatController.customChatNavigationStack != nil {
//TODO:localize
swipeText = ("Pull up to go to the next channel", [])
releaseText = ("Release to go to the next channel", [])
swipeText = (self.currentPresentationData.strings.Chat_NextSuggestedChannelSwipeProgress, [])
releaseText = (self.currentPresentationData.strings.Chat_NextSuggestedChannelSwipeAction, [])
} else if nextChannelToRead.threadData != nil {
swipeText = ("Pull up to go to the next topic", [])
releaseText = ("Release to go to the next topic", [])
swipeText = (self.currentPresentationData.strings.Chat_NextUnreadTopicSwipeProgress, [])
releaseText = (self.currentPresentationData.strings.Chat_NextUnreadTopicSwipeAction, [])
} else {
swipeText = (self.currentPresentationData.strings.Chat_NextChannelSameLocationSwipeProgress, [])
releaseText = (self.currentPresentationData.strings.Chat_NextChannelSameLocationSwipeAction, [])