From 98de1f903fbac55484b7bf03ceb5594ef4bef8ed Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Fri, 14 Dec 2018 22:40:34 +0400 Subject: [PATCH] Added galleries for web search results --- TelegramUI.xcodeproj/project.pbxproj | 8 + TelegramUI/CallRatingController.swift | 22 +- TelegramUI/ChatBotInfoItem.swift | 4 +- TelegramUI/ChatController.swift | 60 +- TelegramUI/ChatListNode.swift | 12 +- .../ChatListSearchRecentPeersNode.swift | 89 +- TelegramUI/ChatMessageActionItemNode.swift | 6 +- .../ChatMessageAttachedContentNode.swift | 2 +- TelegramUI/ChatMessageBubbleContentNode.swift | 2 +- TelegramUI/ChatMessageBubbleItemNode.swift | 6 +- .../ChatMessageCallBubbleContentNode.swift | 2 +- .../ChatMessageContactBubbleContentNode.swift | 2 +- ...entLogPreviousDescriptionContentNode.swift | 2 +- ...ssageEventLogPreviousLinkContentNode.swift | 2 +- ...geEventLogPreviousMessageContentNode.swift | 4 +- .../ChatMessageGameBubbleContentNode.swift | 2 +- .../ChatMessageInteractiveFileNode.swift | 6 +- .../ChatMessageInvoiceBubbleContentNode.swift | 2 +- .../ChatMessageMapBubbleContentNode.swift | 2 +- .../ChatMessageMediaBubbleContentNode.swift | 2 +- TelegramUI/ChatMessageStickerItemNode.swift | 2 +- .../ChatMessageTextBubbleContentNode.swift | 2 +- .../ChatMessageWebpageBubbleContentNode.swift | 4 +- TelegramUI/ComposeControllerNode.swift | 2 +- TelegramUI/ContactListNode.swift | 36 +- TelegramUI/GridMessageItem.swift | 9 +- TelegramUI/HorizontalPeerItem.swift | 48 +- TelegramUI/LegacyAttachmentMenu.swift | 41 +- TelegramUI/LegacyMediaPickers.swift | 4 +- TelegramUI/LegacyWebSearchGallery.swift | 329 ++ TelegramUI/ListMessageFileItemNode.swift | 15 +- TelegramUI/NativeVideoContent.swift | 9 + TelegramUI/OpenChatMessage.swift | 10 +- TelegramUI/OpenResolvedUrl.swift | 2 +- .../PeerMediaCollectionController.swift | 199 +- TelegramUI/PermissionInfoItem.swift | 26 +- TelegramUI/PhotoResources.swift | 2 +- TelegramUI/PresentationResourceKey.swift | 3 + .../PresentationResourcesChatList.swift | 13 + .../PresentationResourcesItemList.swift | 18 + TelegramUI/PresentationStrings.swift | 3287 +++++++++-------- .../Resources/PresentationStrings.mapping | Bin 91156 -> 91201 bytes TelegramUI/WebSearchController.swift | 33 +- TelegramUI/WebSearchControllerNode.swift | 101 +- TelegramUI/WebSearchGalleryController.swift | 254 ++ TelegramUI/WebSearchItem.swift | 125 +- 46 files changed, 2874 insertions(+), 1937 deletions(-) create mode 100644 TelegramUI/LegacyWebSearchGallery.swift create mode 100644 TelegramUI/WebSearchGalleryController.swift diff --git a/TelegramUI.xcodeproj/project.pbxproj b/TelegramUI.xcodeproj/project.pbxproj index a635eafae1..52ebd88c78 100644 --- a/TelegramUI.xcodeproj/project.pbxproj +++ b/TelegramUI.xcodeproj/project.pbxproj @@ -90,6 +90,8 @@ 09DD88F321BF907C000766BC /* WebSearchRecentQueryItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 09DD88F221BF907C000766BC /* WebSearchRecentQueryItem.swift */; }; 09DD88F521BF9730000766BC /* WebSearchRecentQueries.swift in Sources */ = {isa = PBXBuildFile; fileRef = 09DD88F421BF9730000766BC /* WebSearchRecentQueries.swift */; }; 09DD88FA21BFD70B000766BC /* ThemedTextAlertController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 09DD88F921BFD70B000766BC /* ThemedTextAlertController.swift */; }; + 09F799FA21C3542D00820234 /* LegacyWebSearchGallery.swift in Sources */ = {isa = PBXBuildFile; fileRef = 09F799F921C3542D00820234 /* LegacyWebSearchGallery.swift */; }; + 09F799FC21C3FF3000820234 /* WebSearchGalleryController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 09F799FB21C3FF3000820234 /* WebSearchGalleryController.swift */; }; 09FE756D2153F5F900A3120F /* CallRouteActionSheetItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 09FE756C2153F5F900A3120F /* CallRouteActionSheetItem.swift */; }; 9F06830921A404AB001D8EDB /* NotificationExceptionControllerNode.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9F06830821A404AB001D8EDB /* NotificationExceptionControllerNode.swift */; }; 9F06830B21A404C4001D8EDB /* NotificationExcetionSettingsController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9F06830A21A404C4001D8EDB /* NotificationExcetionSettingsController.swift */; }; @@ -1178,6 +1180,8 @@ 09DD88F221BF907C000766BC /* WebSearchRecentQueryItem.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WebSearchRecentQueryItem.swift; sourceTree = ""; }; 09DD88F421BF9730000766BC /* WebSearchRecentQueries.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WebSearchRecentQueries.swift; sourceTree = ""; }; 09DD88F921BFD70B000766BC /* ThemedTextAlertController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ThemedTextAlertController.swift; sourceTree = ""; }; + 09F799F921C3542D00820234 /* LegacyWebSearchGallery.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LegacyWebSearchGallery.swift; sourceTree = ""; }; + 09F799FB21C3FF3000820234 /* WebSearchGalleryController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WebSearchGalleryController.swift; sourceTree = ""; }; 09FE756C2153F5F900A3120F /* CallRouteActionSheetItem.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CallRouteActionSheetItem.swift; sourceTree = ""; }; 9F06830821A404AB001D8EDB /* NotificationExceptionControllerNode.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NotificationExceptionControllerNode.swift; sourceTree = ""; }; 9F06830A21A404C4001D8EDB /* NotificationExcetionSettingsController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NotificationExcetionSettingsController.swift; sourceTree = ""; }; @@ -2360,6 +2364,7 @@ 0962E67E21BA786A00245FD9 /* WebSearchItem.swift */, 09DD88F221BF907C000766BC /* WebSearchRecentQueryItem.swift */, 09DD88F421BF9730000766BC /* WebSearchRecentQueries.swift */, + 09F799FB21C3FF3000820234 /* WebSearchGalleryController.swift */, ); name = "Web Search"; sourceTree = ""; @@ -3171,6 +3176,7 @@ D07ABBAA202A1BD1003671DE /* LegacyWallpaperEditor.swift */, D0380DAC204ED434000414AB /* LegacyLiveUploadInterface.swift */, D097C26B20DD1EA5007BB4B8 /* OverlayStatusController.swift */, + 09F799F921C3542D00820234 /* LegacyWebSearchGallery.swift */, ); name = "Legacy Components"; sourceTree = ""; @@ -5035,6 +5041,7 @@ D01776B51F1D6CCC0044446D /* RadialStatusContentNode.swift in Sources */, D02F4AF01FD4C46D004DFBAE /* SystemVideoContent.swift in Sources */, D0477D1F1F619E0700412B44 /* GalleryVideoDecoration.swift in Sources */, + 09F799FA21C3542D00820234 /* LegacyWebSearchGallery.swift in Sources */, D01C99781F4F382C00DCFAF6 /* InstantPageSettingsItemTheme.swift in Sources */, D0CAD8FB20AE1D1B00ACD96E /* ChannelMemberCategoryListContext.swift in Sources */, D0EC6CC21EB9F58800EBF1C3 /* LegacyEmptyController.swift in Sources */, @@ -5585,6 +5592,7 @@ D0EC6DD41EB9F58900EBF1C3 /* CommandChatInputContextPanelNode.swift in Sources */, D0EC6DD51EB9F58900EBF1C3 /* CommandChatInputPanelItem.swift in Sources */, D0EC6DD61EB9F58900EBF1C3 /* VerticalListContextResultsChatInputContextPanelNode.swift in Sources */, + 09F799FC21C3FF3000820234 /* WebSearchGalleryController.swift in Sources */, D0EC6DD71EB9F58900EBF1C3 /* VerticalListContextResultsChatInputPanelItem.swift in Sources */, D0EC6DD81EB9F58900EBF1C3 /* VerticalListContextResultsChatInputPanelButtonItem.swift in Sources */, D04281F4200E5AB0009DDE36 /* ChatRecentActionsController.swift in Sources */, diff --git a/TelegramUI/CallRatingController.swift b/TelegramUI/CallRatingController.swift index 60a75d7d59..11b9bdb640 100644 --- a/TelegramUI/CallRatingController.swift +++ b/TelegramUI/CallRatingController.swift @@ -2,6 +2,7 @@ import Foundation import SwiftSignalKit import AsyncDisplayKit import Display +import Postbox import TelegramCore private final class CallRatingContentActionNode: HighlightableButtonNode { @@ -320,8 +321,19 @@ private final class CallRatingAlertContentNode: AlertContentNode { } } -private func rateCallAndSendLogs(account: Account, report: ReportCallRating, starsCount: Int, comment: String, includeLogs: Bool) { - let _ = rateCall(account: account, report: report, starsCount: Int32(starsCount), comment: comment).start() +private func rateCallAndSendLogs(account: Account, report: ReportCallRating, starsCount: Int, comment: String, includeLogs: Bool) -> Signal { + var signal = rateCall(account: account, report: report, starsCount: Int32(starsCount), comment: comment) + if includeLogs { + let peerId = PeerId(namespace: Namespaces.Peer.CloudUser, id: 4244000) +// signal = signal +// |> then( +// enqueueMessages(account: account, peerId: peerId, messages: EnqueueMessage.message(text: "", attributes: [], mediaReference: nil, replyToMessageId: nil, localGroupingKey: nil)) +// |> map { _ -> Void in +// +// } +// ) + } + return signal } func callRatingController(account: Account, report: ReportCallRating, present: @escaping (ViewController) -> Void) -> AlertController { @@ -338,13 +350,13 @@ func callRatingController(account: Account, report: ReportCallRating, present: @ if let contentNode = contentNode, let rating = contentNode.rating { if rating < 4 { let controller = textAlertController(account: account, title: strings.Call_ReportIncludeLog, text: strings.Call_ReportIncludeLogDescription, actions: [TextAlertAction(type: .genericAction, title: presentationData.strings.Call_ReportSkip, action: { - rateCallAndSendLogs(account: account, report: report, starsCount: rating, comment: contentNode.comment, includeLogs: false) + let _ = rateCallAndSendLogs(account: account, report: report, starsCount: rating, comment: contentNode.comment, includeLogs: false).start() }), TextAlertAction(type: .defaultAction, title: presentationData.strings.Call_ReportSend, action: { - rateCallAndSendLogs(account: account, report: report, starsCount: rating, comment: contentNode.comment, includeLogs: true) + let _ = rateCallAndSendLogs(account: account, report: report, starsCount: rating, comment: contentNode.comment, includeLogs: true).start() })]) present(controller) } else { - rateCallAndSendLogs(account: account, report: report, starsCount: rating, comment: contentNode.comment, includeLogs: false) + let _ = rateCallAndSendLogs(account: account, report: report, starsCount: rating, comment: contentNode.comment, includeLogs: false).start } } })] diff --git a/TelegramUI/ChatBotInfoItem.swift b/TelegramUI/ChatBotInfoItem.swift index 9fb2dc3b34..9a88c692e6 100644 --- a/TelegramUI/ChatBotInfoItem.swift +++ b/TelegramUI/ChatBotInfoItem.swift @@ -177,7 +177,7 @@ final class ChatBotInfoItemNode: ListViewItemNode { self.layer.animateAlpha(from: 1.0, to: 0.0, duration: duration * 0.5, removeOnCompletion: false) } - func tapActionAtPoint(_ point: CGPoint) -> ChatMessageBubbleContentTapAction { + func tapActionAtPoint(_ point: CGPoint, gesture: TapLongTapOrDoubleTapGesture) -> ChatMessageBubbleContentTapAction { let textNodeFrame = self.textNode.frame if let (index, attributes) = self.textNode.attributesAtPoint(CGPoint(x: point.x - textNodeFrame.minX, y: point.y - textNodeFrame.minY)) { if let url = attributes[NSAttributedStringKey(rawValue: TelegramTextAttributes.URL)] as? String { @@ -206,7 +206,7 @@ final class ChatBotInfoItemNode: ListViewItemNode { switch recognizer.state { case .ended: var foundTapAction = false - let tapAction = self.tapActionAtPoint(recognizer.location(in: self.view)) + let tapAction = self.tapActionAtPoint(recognizer.location(in: self.view), gesture: .tap) switch tapAction { case .none: break diff --git a/TelegramUI/ChatController.swift b/TelegramUI/ChatController.swift index 71a67f619c..1375ea29ec 100644 --- a/TelegramUI/ChatController.swift +++ b/TelegramUI/ChatController.swift @@ -7,6 +7,7 @@ import AsyncDisplayKit import TelegramCore import SafariServices import MobileCoreServices +import LegacyComponents public enum ChatControllerPeekActions { case standard @@ -3747,11 +3748,12 @@ public final class ChatController: TelegramController, KeyShortcutResponder, Gal } private func presentMediaPicker(fileMode: Bool, editingMedia: Bool, completion: @escaping ([Any]) -> Void) { - let _ = (self.account.postbox.transaction { transaction -> GeneratedMediaStoreSettings in + let _ = (self.account.postbox.transaction { transaction -> (GeneratedMediaStoreSettings, SearchBotsConfiguration) in let entry = transaction.getPreferencesEntry(key: ApplicationSpecificPreferencesKeys.generatedMediaStoreSettings) as? GeneratedMediaStoreSettings - return entry ?? GeneratedMediaStoreSettings.defaultSettings + let configuration = currentSearchBotsConfiguration(transaction: transaction) + return (entry ?? GeneratedMediaStoreSettings.defaultSettings, configuration) } - |> deliverOnMainQueue).start(next: { [weak self] settings in + |> deliverOnMainQueue).start(next: { [weak self] settings, searchBotsConfiguration in guard let strongSelf = self, let peer = strongSelf.presentationInterfaceState.renderedPeer?.peer else { return } @@ -3766,7 +3768,14 @@ public final class ChatController: TelegramController, KeyShortcutResponder, Gal legacyController.bind(controller: controller) legacyController.deferScreenEdgeGestures = [.top] - configureLegacyAssetPicker(controller, account: strongSelf.account, peer: peer) + configureLegacyAssetPicker(controller, account: strongSelf.account, peer: peer, presentWebSearch: { [weak self] in + if let strongSelf = self { + let controller = WebSearchController(account: strongSelf.account, chatLocation: .peer(peer.id), configuration: searchBotsConfiguration, sendSelected: { (resuls, collection, editingContext) in + + }) + strongSelf.present(controller, in: .window(.root), with: ViewControllerPresentationArguments(presentationAnimation: .modalSheet)) + } + }) controller.descriptionGenerator = legacyAssetPickerItemGenerator() controller.completionBlock = { [weak legacyController] signals in if let legacyController = legacyController { @@ -3800,19 +3809,45 @@ public final class ChatController: TelegramController, KeyShortcutResponder, Gal } |> deliverOnMainQueue).start(next: { [weak self] configuration in if let strongSelf = self { - let controller = WebSearchController(account: strongSelf.account, chatLocation: strongSelf.chatLocation, configuration: configuration, sendSelected: { [weak self] ids, collection in + let controller = WebSearchController(account: strongSelf.account, chatLocation: strongSelf.chatLocation, configuration: configuration, sendSelected: { [weak self] ids, collection, editingContext in if let strongSelf = self { + var results: [ChatContextResult] = [] for id in ids { var result: ChatContextResult? for r in collection.results { if r.id == id { result = r + results.append(r) break } } - if let result = result { - strongSelf.enqueueChatContextResult(collection, result, includeViaBot: false) + } + + if !results.isEmpty { + var signals: [Any] = [] + for result in results { + let editableItem = LegacyWebSearchItem(result: result, dimensions: CGSize(), thumbnailImage: .complete(), originalImage: .complete()) + if editingContext.adjustments(for: editableItem) != nil { + if let imageSignal = editingContext.imageSignal(for: editableItem) { + let signal = imageSignal.map { image -> Any in + if let image = image as? UIImage { + let dict: [AnyHashable: Any] = [ + "type": "editedPhoto", + "image": image + ] + return legacyAssetPickerItemGenerator()(dict, nil, nil, nil) + } else { + return SSignal.complete() + } + } + signals.append(signal) + } + } else { + strongSelf.enqueueChatContextResult(collection, result, includeViaBot: false) + } } + + strongSelf.enqueueMediaMessages(signals: signals) } } }) @@ -4027,11 +4062,14 @@ public final class ChatController: TelegramController, KeyShortcutResponder, Gal } |> deliverOnMainQueue).start(next: { [weak self] settings in if let strongSelf = self, let peer = strongSelf.presentationInterfaceState.renderedPeer?.peer { - let controller = legacyPasteMenu(account: strongSelf.account, peer: peer, saveEditedPhotos: settings.storeEditedPhotos, allowGrouping: true, theme: strongSelf.presentationData.theme, strings: strongSelf.presentationData.strings, images: images, sendMessagesWithSignals: { signals in - self?.enqueueMediaMessages(signals: signals) - }) strongSelf.chatDisplayNode.dismissInput() - strongSelf.present(controller, in: .window(.root)) + let _ = presentLegacyPasteMenu(account: strongSelf.account, peer: peer, saveEditedPhotos: settings.storeEditedPhotos, allowGrouping: true, theme: strongSelf.presentationData.theme, strings: strongSelf.presentationData.strings, images: images, sendMessagesWithSignals: { signals in + self?.enqueueMediaMessages(signals: signals) + }, present: { [weak self] controller, arguments in + if let strongSelf = self { + strongSelf.present(controller, in: .window(.root), with: arguments) + } + }, initialLayout: strongSelf.validLayout) } }) } diff --git a/TelegramUI/ChatListNode.swift b/TelegramUI/ChatListNode.swift index 1c8c796df7..f49fcbe229 100644 --- a/TelegramUI/ChatListNode.swift +++ b/TelegramUI/ChatListNode.swift @@ -544,14 +544,15 @@ final class ChatListNode: ListView { if previousState.editing != state.editing { disableAnimations = false } else { - var previousPinnedCount = 0 - var updatedPinnedCount = 0 + var previousPinnedChats: [PeerId] = [] + var updatedPinnedChats: [PeerId] = [] + var didIncludeRemovingPeerId = false if let previous = previousView { for entry in previous.filteredEntries { if case let .PeerEntry(index, _, _, _, _, _, _, _, _, _, _, _, _) = entry { if index.pinningIndex != nil { - previousPinnedCount += 1 + previousPinnedChats.append(index.messageIndex.id.peerId) } if index.messageIndex.id.peerId == removingPeerId { didIncludeRemovingPeerId = true @@ -563,14 +564,14 @@ final class ChatListNode: ListView { for entry in processedView.filteredEntries { if case let .PeerEntry(index, _, _, _, _, _, _, _, _, _, _, _, _) = entry { if index.pinningIndex != nil { - updatedPinnedCount += 1 + updatedPinnedChats.append(index.messageIndex.id.peerId) } if index.messageIndex.id.peerId == removingPeerId { doesIncludeRemovingPeerId = true } } } - if previousPinnedCount != updatedPinnedCount { + if previousPinnedChats != updatedPinnedChats { disableAnimations = false } if previousState.selectedPeerIds != state.selectedPeerIds { @@ -580,6 +581,7 @@ final class ChatListNode: ListView { disableAnimations = false } } + var searchMode = false if case .peers = mode { diff --git a/TelegramUI/ChatListSearchRecentPeersNode.swift b/TelegramUI/ChatListSearchRecentPeersNode.swift index e69855dc07..38abcbac1c 100644 --- a/TelegramUI/ChatListSearchRecentPeersNode.swift +++ b/TelegramUI/ChatListSearchRecentPeersNode.swift @@ -29,16 +29,16 @@ enum UnreadSearchBadge : Equatable { var count: Int32 { switch self { - case let .muted(count), let .unmuted(count): - return count + case let .muted(count), let .unmuted(count): + return count } } var isMuted: Bool { switch self { - case .muted: - return true - case .unmuted: - return false + case .muted: + return true + case .unmuted: + return false } } } @@ -46,6 +46,7 @@ enum UnreadSearchBadge : Equatable { private struct ChatListSearchRecentPeersEntry: Comparable, Identifiable { let index: Int let peer: Peer + let presence: PeerPresence? let unreadBadge: UnreadSearchBadge? let itemCustomWidth: CGFloat? var stableId: PeerId { @@ -62,6 +63,13 @@ private struct ChatListSearchRecentPeersEntry: Comparable, Identifiable { if !lhs.peer.isEqual(rhs.peer) { return false } + if let lhsPresence = lhs.presence, let rhsPresence = rhs.presence { + if !lhsPresence.isEqual(to: rhsPresence) { + return false + } + } else if (lhs.presence != nil) != (rhs.presence != nil) { + return false + } if lhs.unreadBadge != rhs.unreadBadge { return false } @@ -73,7 +81,7 @@ private struct ChatListSearchRecentPeersEntry: Comparable, Identifiable { } func item(account: Account, theme: PresentationTheme, strings: PresentationStrings, mode: HorizontalPeerItemMode, peerSelected: @escaping (Peer) -> Void, peerLongTapped: @escaping (Peer) -> Void, isPeerSelected: @escaping (PeerId) -> Bool) -> ListViewItem { - return HorizontalPeerItem(theme: theme, strings: strings, mode: mode, account: account, peer: self.peer, unreadBadge: self.unreadBadge, action: peerSelected, longTapAction: { peer in + return HorizontalPeerItem(theme: theme, strings: strings, mode: mode, account: account, peer: self.peer, presence: self.presence, unreadBadge: self.unreadBadge, action: peerSelected, longTapAction: { peer in peerLongTapped(peer) }, isPeerSelected: isPeerSelected, customWidth: itemCustomWidth) } @@ -114,7 +122,7 @@ final class ChatListSearchRecentPeersNode: ASDisplayNode { private let isPeerSelected: (PeerId) -> Bool private let disposable = MetaDisposable() - private let itemCustomWidthValuePromise:ValuePromise = ValuePromise(nil, ignoreRepeated: true) + private let itemCustomWidthValuePromise: ValuePromise = ValuePromise(nil, ignoreRepeated: true) private var items: [ListViewItem] = [] private var queuedTransitions: [ChatListSearchRecentNodeTransition] = [] @@ -140,8 +148,7 @@ final class ChatListSearchRecentPeersNode: ASDisplayNode { let peersDisposable = DisposableSet() - - let recent: Signal<([Peer], [PeerId : UnreadSearchBadge]), NoError> = recentPeers(account: account) + let recent: Signal<([Peer], [PeerId: UnreadSearchBadge], [PeerId : PeerPresence]), NoError> = recentPeers(account: account) |> filter { value -> Bool in switch value { case .disabled: @@ -151,47 +158,51 @@ final class ChatListSearchRecentPeersNode: ASDisplayNode { } } |> mapToSignal { recent in switch recent { - case .disabled: - return .single(([], [:])) - case let .peers(peers): - return combineLatest(peers.filter { !$0.isDeleted }.map {account.postbox.peerView(id: $0.id)}) |> mapToSignal { peerViews -> Signal<([Peer], [PeerId: UnreadSearchBadge]), NoError> in - return account.postbox.unreadMessageCountsView(items: peerViews.map {.peer($0.peerId)}) |> map { values in - - var peers:[Peer] = [] - var unread:[PeerId: UnreadSearchBadge] = [:] - for peerView in peerViews { - if let peer = peerViewMainPeer(peerView) { - var isMuted: Bool = false - if let notificationSettings = peerView.notificationSettings as? TelegramPeerNotificationSettings { - switch notificationSettings.muteState { - case .muted: - isMuted = true - default: - break + case .disabled: + return .single(([], [:], [:])) + case let .peers(peers): + return combineLatest(peers.filter { !$0.isDeleted }.map {account.postbox.peerView(id: $0.id)}) |> mapToSignal { peerViews -> Signal<([Peer], [PeerId: UnreadSearchBadge], [PeerId: PeerPresence]), NoError> in + return account.postbox.unreadMessageCountsView(items: peerViews.map {.peer($0.peerId)}) |> map { values in + var peers: [Peer] = [] + var unread: [PeerId: UnreadSearchBadge] = [:] + var presences: [PeerId: PeerPresence] = [:] + for peerView in peerViews { + if let peer = peerViewMainPeer(peerView) { + var isMuted: Bool = false + if let notificationSettings = peerView.notificationSettings as? TelegramPeerNotificationSettings { + switch notificationSettings.muteState { + case .muted: + isMuted = true + default: + break + } } + + let unreadCount = values.count(for: .peer(peerView.peerId)) + if let unreadCount = unreadCount, unreadCount > 0 { + unread[peerView.peerId] = isMuted ? .muted(unreadCount) : .unmuted(unreadCount) + } + + if let presence = peerView.peerPresences[peer.id] { + presences[peer.id] = presence + } + + peers.append(peer) } - - let unreadCount = values.count(for: .peer(peerView.peerId)) - if let unreadCount = unreadCount, unreadCount > 0 { - unread[peerView.peerId] = isMuted ? .muted(unreadCount) : .unmuted(unreadCount) - } - - peers.append(peer) } + return (peers, unread, presences) } - return (peers, unread) } - } } } let previous: Atomic<[ChatListSearchRecentPeersEntry]> = Atomic(value: []) let firstTime:Atomic = Atomic(value: true) - peersDisposable.add(combineLatest(recent |> deliverOnMainQueue, itemCustomWidthValuePromise.get() |> deliverOnMainQueue).start(next: { [weak self] peers, itemCustomWidth in + peersDisposable.add((combineLatest(recent, self.itemCustomWidthValuePromise.get()) |> deliverOnMainQueue).start(next: { [weak self] peers, itemCustomWidth in if let strongSelf = self { var entries: [ChatListSearchRecentPeersEntry] = [] for peer in peers.0 { - entries.append(ChatListSearchRecentPeersEntry(index: entries.count, peer: peer, unreadBadge: peers.1[peer.id], itemCustomWidth: itemCustomWidth)) + entries.append(ChatListSearchRecentPeersEntry(index: entries.count, peer: peer, presence: peers.2[peer.id], unreadBadge: peers.1[peer.id], itemCustomWidth: itemCustomWidth)) } let animated = !firstTime.swap(false) @@ -265,7 +276,7 @@ final class ChatListSearchRecentPeersNode: ASDisplayNode { self.listView.bounds = CGRect(x: 0.0, y: 0.0, width: 92.0, height: size.width) self.listView.position = CGPoint(x: size.width / 2.0, y: 92.0 / 2.0 + 29.0) self.listView.transaction(deleteIndices: [], insertIndicesAndItems: [], updateIndicesAndItems: [], options: [.Synchronous], scrollToItem: nil, updateSizeAndInsets: ListViewUpdateSizeAndInsets(size: CGSize(width: 92.0, height: size.width), insets: insets, duration: 0.0, curve: .Default(duration: nil)), stationaryItemRange: nil, updateOpaqueState: nil, completion: { _ in }) - itemCustomWidthValuePromise.set(itemCustomWidth) + self.itemCustomWidthValuePromise.set(itemCustomWidth) } func viewAndPeerAtPoint(_ point: CGPoint) -> (UIView, PeerId)? { diff --git a/TelegramUI/ChatMessageActionItemNode.swift b/TelegramUI/ChatMessageActionItemNode.swift index 108a2b64b2..2ff24f1387 100644 --- a/TelegramUI/ChatMessageActionItemNode.swift +++ b/TelegramUI/ChatMessageActionItemNode.swift @@ -377,7 +377,7 @@ private func universalServiceMessageString(theme: ChatPresentationThemeData?, st } attributedString = NSAttributedString(string: titleString, font: titleFont, textColor: primaryTextColor) case let .customText(text, entities): - attributedString = stringWithAppliedEntities(text, entities: entities, baseColor: primaryTextColor, linkColor: primaryTextColor, baseFont: titleFont, linkFont: titleBoldFont, boldFont: titleBoldFont, italicFont: titleFont, fixedFont: titleFont) + attributedString = stringWithAppliedEntities(text, entities: entities, baseColor: primaryTextColor, linkColor: primaryTextColor, baseFont: titleFont, linkFont: titleBoldFont, boldFont: titleBoldFont, italicFont: titleFont, fixedFont: titleFont, underlineLinks: false) case let .botDomainAccessGranted(domain): attributedString = NSAttributedString(string: strings.AuthSessions_Message(domain).0, font: titleFont, textColor: primaryTextColor) case let .botSentSecureValues(types): @@ -656,9 +656,9 @@ class ChatMessageActionBubbleContentNode: ChatMessageBubbleContentNode { } } - override func tapActionAtPoint(_ point: CGPoint) -> ChatMessageBubbleContentTapAction { + override func tapActionAtPoint(_ point: CGPoint, gesture: TapLongTapOrDoubleTapGesture) -> ChatMessageBubbleContentTapAction { let textNodeFrame = self.labelNode.frame - if let (index, attributes) = self.labelNode.attributesAtPoint(CGPoint(x: point.x - textNodeFrame.minX, y: point.y - textNodeFrame.minY - 10.0)) { + if let (index, attributes) = self.labelNode.attributesAtPoint(CGPoint(x: point.x - textNodeFrame.minX, y: point.y - textNodeFrame.minY - 10.0)), gesture == .tap { if let url = attributes[NSAttributedStringKey(rawValue: TelegramTextAttributes.URL)] as? String { var concealed = true if let attributeText = self.labelNode.attributeSubstring(name: TelegramTextAttributes.URL, index: index) { diff --git a/TelegramUI/ChatMessageAttachedContentNode.swift b/TelegramUI/ChatMessageAttachedContentNode.swift index 7c2fa5752b..c7bf3ba604 100644 --- a/TelegramUI/ChatMessageAttachedContentNode.swift +++ b/TelegramUI/ChatMessageAttachedContentNode.swift @@ -906,7 +906,7 @@ final class ChatMessageAttachedContentNode: ASDisplayNode { return false } - func tapActionAtPoint(_ point: CGPoint) -> ChatMessageBubbleContentTapAction { + func tapActionAtPoint(_ point: CGPoint, gesture: TapLongTapOrDoubleTapGesture) -> ChatMessageBubbleContentTapAction { let textNodeFrame = self.textNode.frame if let (index, attributes) = self.textNode.attributesAtPoint(CGPoint(x: point.x - textNodeFrame.minX, y: point.y - textNodeFrame.minY)) { if let url = attributes[NSAttributedStringKey(rawValue: TelegramTextAttributes.URL)] as? String { diff --git a/TelegramUI/ChatMessageBubbleContentNode.swift b/TelegramUI/ChatMessageBubbleContentNode.swift index 5686218d93..7a74e454b9 100644 --- a/TelegramUI/ChatMessageBubbleContentNode.swift +++ b/TelegramUI/ChatMessageBubbleContentNode.swift @@ -143,7 +143,7 @@ class ChatMessageBubbleContentNode: ASDisplayNode { func updateAutomaticMediaDownloadSettings(_ settings: AutomaticMediaDownloadSettings) { } - func tapActionAtPoint(_ point: CGPoint) -> ChatMessageBubbleContentTapAction { + func tapActionAtPoint(_ point: CGPoint, gesture: TapLongTapOrDoubleTapGesture) -> ChatMessageBubbleContentTapAction { return .none } diff --git a/TelegramUI/ChatMessageBubbleItemNode.swift b/TelegramUI/ChatMessageBubbleItemNode.swift index 500e8d10f3..729fb5421e 100644 --- a/TelegramUI/ChatMessageBubbleItemNode.swift +++ b/TelegramUI/ChatMessageBubbleItemNode.swift @@ -221,7 +221,7 @@ class ChatMessageBubbleItemNode: ChatMessageItemView { return .waitForSingleTap } for contentNode in strongSelf.contentNodes { - let tapAction = contentNode.tapActionAtPoint(CGPoint(x: point.x - contentNode.frame.minX, y: point.y - contentNode.frame.minY)) + let tapAction = contentNode.tapActionAtPoint(CGPoint(x: point.x - contentNode.frame.minX, y: point.y - contentNode.frame.minY), gesture: .tap) switch tapAction { case .none: break @@ -1570,7 +1570,7 @@ class ChatMessageBubbleItemNode: ChatMessageItemView { } var foundTapAction = false loop: for contentNode in self.contentNodes { - let tapAction = contentNode.tapActionAtPoint(CGPoint(x: location.x - contentNode.frame.minX, y: location.y - contentNode.frame.minY)) + let tapAction = contentNode.tapActionAtPoint(CGPoint(x: location.x - contentNode.frame.minX, y: location.y - contentNode.frame.minY), gesture: gesture) switch tapAction { case .none, .ignore: break @@ -1629,7 +1629,7 @@ class ChatMessageBubbleItemNode: ChatMessageItemView { selectAll = true } tapMessage = contentNode.item?.message - let tapAction = contentNode.tapActionAtPoint(CGPoint(x: location.x - contentNode.frame.minX, y: location.y - contentNode.frame.minY)) + let tapAction = contentNode.tapActionAtPoint(CGPoint(x: location.x - contentNode.frame.minX, y: location.y - contentNode.frame.minY), gesture: gesture) switch tapAction { case .none, .ignore: break diff --git a/TelegramUI/ChatMessageCallBubbleContentNode.swift b/TelegramUI/ChatMessageCallBubbleContentNode.swift index 339f6df553..4a12e251ee 100644 --- a/TelegramUI/ChatMessageCallBubbleContentNode.swift +++ b/TelegramUI/ChatMessageCallBubbleContentNode.swift @@ -210,7 +210,7 @@ class ChatMessageCallBubbleContentNode: ChatMessageBubbleContentNode { } } - override func tapActionAtPoint(_ point: CGPoint) -> ChatMessageBubbleContentTapAction { + override func tapActionAtPoint(_ point: CGPoint, gesture: TapLongTapOrDoubleTapGesture) -> ChatMessageBubbleContentTapAction { if self.buttonNode.frame.contains(point) { return .ignore } else if self.bounds.contains(point), let item = self.item { diff --git a/TelegramUI/ChatMessageContactBubbleContentNode.swift b/TelegramUI/ChatMessageContactBubbleContentNode.swift index e8a2f0cb39..2b01bd1754 100644 --- a/TelegramUI/ChatMessageContactBubbleContentNode.swift +++ b/TelegramUI/ChatMessageContactBubbleContentNode.swift @@ -312,7 +312,7 @@ class ChatMessageContactBubbleContentNode: ChatMessageBubbleContentNode { self.layer.animateAlpha(from: 1.0, to: 0.0, duration: 0.2, removeOnCompletion: false) } - override func tapActionAtPoint(_ point: CGPoint) -> ChatMessageBubbleContentTapAction { + override func tapActionAtPoint(_ point: CGPoint, gesture: TapLongTapOrDoubleTapGesture) -> ChatMessageBubbleContentTapAction { if self.buttonNode.frame.contains(point) { return .openMessage } diff --git a/TelegramUI/ChatMessageEventLogPreviousDescriptionContentNode.swift b/TelegramUI/ChatMessageEventLogPreviousDescriptionContentNode.swift index 350e53845e..74a7a300cb 100644 --- a/TelegramUI/ChatMessageEventLogPreviousDescriptionContentNode.swift +++ b/TelegramUI/ChatMessageEventLogPreviousDescriptionContentNode.swift @@ -82,7 +82,7 @@ final class ChatMessageEventLogPreviousDescriptionContentNode: ChatMessageBubble self.layer.animateAlpha(from: 0.0, to: 1.0, duration: 0.25) } - override func tapActionAtPoint(_ point: CGPoint) -> ChatMessageBubbleContentTapAction { + override func tapActionAtPoint(_ point: CGPoint, gesture: TapLongTapOrDoubleTapGesture) -> ChatMessageBubbleContentTapAction { if self.bounds.contains(point) { /*if let webPage = self.webPage, case let .Loaded(content) = webPage.content { if content.instantPage != nil { diff --git a/TelegramUI/ChatMessageEventLogPreviousLinkContentNode.swift b/TelegramUI/ChatMessageEventLogPreviousLinkContentNode.swift index 0567078752..eb8385c302 100644 --- a/TelegramUI/ChatMessageEventLogPreviousLinkContentNode.swift +++ b/TelegramUI/ChatMessageEventLogPreviousLinkContentNode.swift @@ -77,7 +77,7 @@ final class ChatMessageEventLogPreviousLinkContentNode: ChatMessageBubbleContent self.layer.animateAlpha(from: 0.0, to: 1.0, duration: 0.25) } - override func tapActionAtPoint(_ point: CGPoint) -> ChatMessageBubbleContentTapAction { + override func tapActionAtPoint(_ point: CGPoint, gesture: TapLongTapOrDoubleTapGesture) -> ChatMessageBubbleContentTapAction { if self.bounds.contains(point) { /*if let webPage = self.webPage, case let .Loaded(content) = webPage.content { if content.instantPage != nil { diff --git a/TelegramUI/ChatMessageEventLogPreviousMessageContentNode.swift b/TelegramUI/ChatMessageEventLogPreviousMessageContentNode.swift index da16f09755..68e5a0e9bd 100644 --- a/TelegramUI/ChatMessageEventLogPreviousMessageContentNode.swift +++ b/TelegramUI/ChatMessageEventLogPreviousMessageContentNode.swift @@ -82,10 +82,10 @@ final class ChatMessageEventLogPreviousMessageContentNode: ChatMessageBubbleCont self.layer.animateAlpha(from: 0.0, to: 1.0, duration: 0.25) } - override func tapActionAtPoint(_ point: CGPoint) -> ChatMessageBubbleContentTapAction { + override func tapActionAtPoint(_ point: CGPoint, gesture: TapLongTapOrDoubleTapGesture) -> ChatMessageBubbleContentTapAction { if self.bounds.contains(point) { let contentNodeFrame = self.contentNode.frame - return self.contentNode.tapActionAtPoint(point.offsetBy(dx: -contentNodeFrame.minX, dy: -contentNodeFrame.minY)) + return self.contentNode.tapActionAtPoint(point.offsetBy(dx: -contentNodeFrame.minX, dy: -contentNodeFrame.minY), gesture: gesture) } return .none } diff --git a/TelegramUI/ChatMessageGameBubbleContentNode.swift b/TelegramUI/ChatMessageGameBubbleContentNode.swift index 93cf7d9aef..c9edbc381a 100644 --- a/TelegramUI/ChatMessageGameBubbleContentNode.swift +++ b/TelegramUI/ChatMessageGameBubbleContentNode.swift @@ -110,7 +110,7 @@ final class ChatMessageGameBubbleContentNode: ChatMessageBubbleContentNode { self.layer.animateAlpha(from: 0.0, to: 1.0, duration: 0.25) } - override func tapActionAtPoint(_ point: CGPoint) -> ChatMessageBubbleContentTapAction { + override func tapActionAtPoint(_ point: CGPoint, gesture: TapLongTapOrDoubleTapGesture) -> ChatMessageBubbleContentTapAction { if self.bounds.contains(point) { /*if let webPage = self.webPage, case let .Loaded(content) = webPage.content { if content.instantPage != nil { diff --git a/TelegramUI/ChatMessageInteractiveFileNode.swift b/TelegramUI/ChatMessageInteractiveFileNode.swift index f8da004fdd..1b5e00a854 100644 --- a/TelegramUI/ChatMessageInteractiveFileNode.swift +++ b/TelegramUI/ChatMessageInteractiveFileNode.swift @@ -449,10 +449,14 @@ final class ChatMessageInteractiveFileNode: ASDisplayNode { statusFrame = CGRect(origin: CGPoint(x: boundingWidth - statusSize.width, y: fittedLayoutSize.height - statusSize.height + 10.0), size: statusSize) } - if let statusFrameValue = statusFrame, descriptionFrame.intersects(statusFrameValue) { + if let statusFrameValue = statusFrame, descriptionFrame.intersects(statusFrameValue) { fittedLayoutSize.height += 10.0 statusFrame = statusFrameValue.offsetBy(dx: 0.0, dy: 10.0) } + if let statusFrameValue = statusFrame, let iconFrame = iconFrame, iconFrame.intersects(statusFrameValue) { + fittedLayoutSize.height += 15.0 + statusFrame = statusFrameValue.offsetBy(dx: 0.0, dy: 15.0) + } if isAudio && !isVoice { streamingCacheStatusFrame = CGRect(origin: CGPoint(x: fittedLayoutSize.width + 6.0, y: 8.0), size: CGSize(width: streamingProgressDiameter, height: streamingProgressDiameter)) diff --git a/TelegramUI/ChatMessageInvoiceBubbleContentNode.swift b/TelegramUI/ChatMessageInvoiceBubbleContentNode.swift index ac1e6f9f63..bb6d65f238 100644 --- a/TelegramUI/ChatMessageInvoiceBubbleContentNode.swift +++ b/TelegramUI/ChatMessageInvoiceBubbleContentNode.swift @@ -111,7 +111,7 @@ final class ChatMessageInvoiceBubbleContentNode: ChatMessageBubbleContentNode { self.layer.animateAlpha(from: 0.0, to: 1.0, duration: 0.25) } - override func tapActionAtPoint(_ point: CGPoint) -> ChatMessageBubbleContentTapAction { + override func tapActionAtPoint(_ point: CGPoint, gesture: TapLongTapOrDoubleTapGesture) -> ChatMessageBubbleContentTapAction { if self.bounds.contains(point) { /*if let webPage = self.webPage, case let .Loaded(content) = webPage.content { if content.instantPage != nil { diff --git a/TelegramUI/ChatMessageMapBubbleContentNode.swift b/TelegramUI/ChatMessageMapBubbleContentNode.swift index 0c9bb9fa1c..a6f5968f14 100644 --- a/TelegramUI/ChatMessageMapBubbleContentNode.swift +++ b/TelegramUI/ChatMessageMapBubbleContentNode.swift @@ -445,7 +445,7 @@ class ChatMessageMapBubbleContentNode: ChatMessageBubbleContentNode { return mediaHidden } - override func tapActionAtPoint(_ point: CGPoint) -> ChatMessageBubbleContentTapAction { + override func tapActionAtPoint(_ point: CGPoint, gesture: TapLongTapOrDoubleTapGesture) -> ChatMessageBubbleContentTapAction { return .none } diff --git a/TelegramUI/ChatMessageMediaBubbleContentNode.swift b/TelegramUI/ChatMessageMediaBubbleContentNode.swift index cef98a3da7..ddbbc1a008 100644 --- a/TelegramUI/ChatMessageMediaBubbleContentNode.swift +++ b/TelegramUI/ChatMessageMediaBubbleContentNode.swift @@ -260,7 +260,7 @@ class ChatMessageMediaBubbleContentNode: ChatMessageBubbleContentNode { return mediaHidden } - override func tapActionAtPoint(_ point: CGPoint) -> ChatMessageBubbleContentTapAction { + override func tapActionAtPoint(_ point: CGPoint, gesture: TapLongTapOrDoubleTapGesture) -> ChatMessageBubbleContentTapAction { return .none } diff --git a/TelegramUI/ChatMessageStickerItemNode.swift b/TelegramUI/ChatMessageStickerItemNode.swift index d8dcbede48..a30b0294ad 100644 --- a/TelegramUI/ChatMessageStickerItemNode.swift +++ b/TelegramUI/ChatMessageStickerItemNode.swift @@ -234,7 +234,7 @@ class ChatMessageStickerItemNode: ChatMessageItemView { // } } - let dateText = stringForMessageTimestampStatus(message: item.message, dateTimeFormat: item.presentationData.dateTimeFormat, nameDisplayOrder: item.presentationData.nameDisplayOrder, strings: item.presentationData.strings, format: .minimal) + let dateText = stringForMessageTimestampStatus(message: item.message, dateTimeFormat: item.presentationData.dateTimeFormat, nameDisplayOrder: item.presentationData.nameDisplayOrder, strings: item.presentationData.strings, format: .regular) let (dateAndStatusSize, dateAndStatusApply) = makeDateAndStatusLayout(item.presentationData.theme, item.presentationData.strings, edited && !sentViaBot, viewCount, dateText, statusType, CGSize(width: params.width, height: CGFloat.greatestFiniteMagnitude)) diff --git a/TelegramUI/ChatMessageTextBubbleContentNode.swift b/TelegramUI/ChatMessageTextBubbleContentNode.swift index 7a7c813849..438dc40166 100644 --- a/TelegramUI/ChatMessageTextBubbleContentNode.swift +++ b/TelegramUI/ChatMessageTextBubbleContentNode.swift @@ -277,7 +277,7 @@ class ChatMessageTextBubbleContentNode: ChatMessageBubbleContentNode { self.statusNode.layer.animateAlpha(from: 1.0, to: 0.0, duration: 0.2, removeOnCompletion: false) } - override func tapActionAtPoint(_ point: CGPoint) -> ChatMessageBubbleContentTapAction { + override func tapActionAtPoint(_ point: CGPoint, gesture: TapLongTapOrDoubleTapGesture) -> ChatMessageBubbleContentTapAction { let textNodeFrame = self.textNode.frame if let (index, attributes) = self.textNode.attributesAtPoint(CGPoint(x: point.x - textNodeFrame.minX, y: point.y - textNodeFrame.minY)) { if let url = attributes[NSAttributedStringKey(rawValue: TelegramTextAttributes.URL)] as? String { diff --git a/TelegramUI/ChatMessageWebpageBubbleContentNode.swift b/TelegramUI/ChatMessageWebpageBubbleContentNode.swift index 6c17de3ef5..d2ee0fd89c 100644 --- a/TelegramUI/ChatMessageWebpageBubbleContentNode.swift +++ b/TelegramUI/ChatMessageWebpageBubbleContentNode.swift @@ -308,10 +308,10 @@ final class ChatMessageWebpageBubbleContentNode: ChatMessageBubbleContentNode { self.layer.animateAlpha(from: 0.0, to: 1.0, duration: 0.25) } - override func tapActionAtPoint(_ point: CGPoint) -> ChatMessageBubbleContentTapAction { + override func tapActionAtPoint(_ point: CGPoint, gesture: TapLongTapOrDoubleTapGesture) -> ChatMessageBubbleContentTapAction { if self.bounds.contains(point) { let contentNodeFrame = self.contentNode.frame - let result = self.contentNode.tapActionAtPoint(point.offsetBy(dx: -contentNodeFrame.minX, dy: -contentNodeFrame.minY)) + let result = self.contentNode.tapActionAtPoint(point.offsetBy(dx: -contentNodeFrame.minX, dy: -contentNodeFrame.minY), gesture: gesture) switch result { case .none: break diff --git a/TelegramUI/ComposeControllerNode.swift b/TelegramUI/ComposeControllerNode.swift index 53f357a189..4f684849ab 100644 --- a/TelegramUI/ComposeControllerNode.swift +++ b/TelegramUI/ComposeControllerNode.swift @@ -44,7 +44,7 @@ final class ComposeControllerNode: ASDisplayNode { ContactListAdditionalOption(title: self.presentationData.strings.Compose_NewChannel, icon: generateTintedImage(image: UIImage(bundleImageName: "Contact List/CreateChannelActionIcon"), color: presentationData.theme.list.itemAccentColor), action: { openCreateNewChannelImpl?() }) - ])) + ]), displayPermissionPlaceholder: false) super.init() diff --git a/TelegramUI/ContactListNode.swift b/TelegramUI/ContactListNode.swift index 96931c967a..7875a8059b 100644 --- a/TelegramUI/ContactListNode.swift +++ b/TelegramUI/ContactListNode.swift @@ -683,11 +683,13 @@ final class ContactListNode: ASDisplayNode { private var authorizationDisposable: Disposable? private var authorizationNode: PermissionContentNode + private let displayPermissionPlaceholder: Bool - init(account: Account, presentation: ContactListPresentation, filters: [ContactListFilter] = [.excludeSelf], selectionState: ContactListNodeGroupSelectionState? = nil) { + init(account: Account, presentation: ContactListPresentation, filters: [ContactListFilter] = [.excludeSelf], selectionState: ContactListNodeGroupSelectionState? = nil, displayPermissionPlaceholder: Bool = true) { self.account = account self.presentation = presentation self.filters = filters + self.displayPermissionPlaceholder = displayPermissionPlaceholder self.presentationData = account.telegramApplicationContext.currentPresentationData.with { $0 } @@ -1005,21 +1007,19 @@ final class ContactListNode: ASDisplayNode { fixSearchableListNodeScrolling(strongSelf.listNode) } - authorizeImpl = { [weak self] in - if let strongSelf = self { - let _ = (DeviceAccess.authorizationStatus(account: account, subject: .contacts) - |> take(1) - |> deliverOnMainQueue).start(next: { status in - switch status { - case .notDetermined: - DeviceAccess.authorizeAccess(to: .contacts) - case .denied, .restricted: - account.telegramApplicationContext.applicationBindings.openSettings() - default: - break - } - }) - } + authorizeImpl = { + let _ = (DeviceAccess.authorizationStatus(account: account, subject: .contacts) + |> take(1) + |> deliverOnMainQueue).start(next: { status in + switch status { + case .notDetermined: + DeviceAccess.authorizeAccess(to: .contacts) + case .denied, .restricted: + account.telegramApplicationContext.applicationBindings.openSettings() + default: + break + } + }) } openPrivacyPolicyImpl = { [weak self] in @@ -1133,8 +1133,8 @@ final class ContactListNode: ASDisplayNode { } }) - self.listNode.isHidden = transition.isEmpty - self.authorizationNode.isHidden = !transition.isEmpty + self.listNode.isHidden = self.displayPermissionPlaceholder && transition.isEmpty + self.authorizationNode.isHidden = !transition.isEmpty || !self.displayPermissionPlaceholder } } } diff --git a/TelegramUI/GridMessageItem.swift b/TelegramUI/GridMessageItem.swift index 372302bf52..ec86b2a1b7 100644 --- a/TelegramUI/GridMessageItem.swift +++ b/TelegramUI/GridMessageItem.swift @@ -230,20 +230,19 @@ final class GridMessageItemNode: GridItemNode { self.statusNode.transitionToState(.none, completion: { [weak self] in self?.statusNode.isHidden = true }) - videoAccessoryNode.isHidden = true + self.videoAccessoryNode.isHidden = true self.resourceStatus = nil } else if let file = media as? TelegramMediaFile, file.isVideo { mediaDimensions = file.dimensions self.imageNode.setSignal(mediaGridMessageVideo(postbox: account.postbox, videoReference: .message(message: MessageReference(item.message), media: file))) if let duration = file.duration { - videoAccessoryNode.setup(stringForDuration(duration)) - videoAccessoryNode.isHidden = false + self.videoAccessoryNode.setup(stringForDuration(duration)) + self.videoAccessoryNode.isHidden = false } else { - videoAccessoryNode.isHidden = true + self.videoAccessoryNode.isHidden = true } - self.resourceStatus = nil self.fetchStatusDisposable.set((messageMediaFileStatus(account: account, messageId: messageId, file: file) |> deliverOnMainQueue).start(next: { [weak self] status in if let strongSelf = self { diff --git a/TelegramUI/HorizontalPeerItem.swift b/TelegramUI/HorizontalPeerItem.swift index ba7695ff1b..dfe1f6954e 100644 --- a/TelegramUI/HorizontalPeerItem.swift +++ b/TelegramUI/HorizontalPeerItem.swift @@ -22,8 +22,9 @@ final class HorizontalPeerItem: ListViewItem { let longTapAction: (Peer) -> Void let isPeerSelected: (PeerId) -> Bool let customWidth: CGFloat? + let presence: PeerPresence? let unreadBadge: UnreadSearchBadge? - init(theme: PresentationTheme, strings: PresentationStrings, mode: HorizontalPeerItemMode, account: Account, peer: Peer, unreadBadge: UnreadSearchBadge?, action: @escaping (Peer) -> Void, longTapAction: @escaping (Peer) -> Void, isPeerSelected: @escaping (PeerId) -> Bool, customWidth: CGFloat?) { + init(theme: PresentationTheme, strings: PresentationStrings, mode: HorizontalPeerItemMode, account: Account, peer: Peer, presence: PeerPresence?, unreadBadge: UnreadSearchBadge?, action: @escaping (Peer) -> Void, longTapAction: @escaping (Peer) -> Void, isPeerSelected: @escaping (PeerId) -> Bool, customWidth: CGFloat?) { self.theme = theme self.strings = strings self.mode = mode @@ -33,15 +34,14 @@ final class HorizontalPeerItem: ListViewItem { self.longTapAction = longTapAction self.isPeerSelected = isPeerSelected self.customWidth = customWidth + self.presence = presence self.unreadBadge = unreadBadge } func nodeConfiguredForParams(async: @escaping (@escaping () -> Void) -> Void, params: ListViewItemLayoutParams, synchronousLoads: Bool, previousItem: ListViewItem?, nextItem: ListViewItem?, completion: @escaping (ListViewItemNode, @escaping () -> (Signal?, (ListViewItemApply) -> Void)) -> Void) { async { let node = HorizontalPeerItemNode() - let (nodeLayout, apply) = node.asyncLayout()(self, params) - node.insets = nodeLayout.insets node.contentSize = nodeLayout.contentSize @@ -77,6 +77,7 @@ final class HorizontalPeerItemNode: ListViewItemNode { private(set) var peerNode: SelectablePeerNode let badgeBackgroundNode: ASImageNode let badgeTextNode: TextNode + let statusNode: ASImageNode private(set) var item: HorizontalPeerItem? init() { @@ -86,16 +87,22 @@ final class HorizontalPeerItemNode: ListViewItemNode { self.badgeBackgroundNode.displaysAsynchronously = false self.badgeBackgroundNode.displayWithoutProcessing = true - self.badgeTextNode = TextNode() self.badgeTextNode.isUserInteractionEnabled = false self.badgeTextNode.displaysAsynchronously = true + self.statusNode = ASImageNode() + self.statusNode.isLayerBacked = true + self.statusNode.displaysAsynchronously = false + self.statusNode.displayWithoutProcessing = true + self.statusNode.isHidden = true + super.init(layerBacked: false, dynamicBounce: false) self.addSubnode(self.peerNode) - addSubnode(badgeBackgroundNode) - addSubnode(badgeTextNode) + self.addSubnode(self.badgeBackgroundNode) + self.addSubnode(self.badgeTextNode) + self.addSubnode(self.statusNode) self.peerNode.toggleSelection = { [weak self] in if let item = self?.item { item.action(item.peer) @@ -106,7 +113,6 @@ final class HorizontalPeerItemNode: ListViewItemNode { item.longTapAction(item.peer) } } - } override func didLoad() { @@ -157,13 +163,28 @@ final class HorizontalPeerItemNode: ListViewItemNode { badgeAttributedString = NSAttributedString() } + let currentStatusImage: UIImage? + let timestamp = CFAbsoluteTimeGetCurrent() + NSTimeIntervalSince1970 + if let presence = item.presence as? TelegramUserPresence { + let relativeStatus = relativeUserPresenceStatus(presence, relativeTo: Int32(timestamp)) + switch relativeStatus { + case .online: + currentStatusImage = PresentationResourcesChatList.recentStatusOnlineIcon(item.theme) + default: + currentStatusImage = nil + } + + } else { + currentStatusImage = nil + } + let (badgeLayout, badgeApply) = badgeTextLayout(TextNodeLayoutArguments(attributedString: badgeAttributedString, backgroundColor: nil, maximumNumberOfLines: 1, truncationType: .end, constrainedSize: CGSize(width: 50.0, height: CGFloat.greatestFiniteMagnitude), alignment: .natural, cutout: nil, insets: UIEdgeInsets())) var badgeSize: CGFloat = 0.0 if let currentBadgeBackgroundImage = currentBadgeBackgroundImage { badgeSize += max(currentBadgeBackgroundImage.size.width, badgeLayout.size.width + 10.0) + 5.0 } - + return (itemLayout, { animated in if let strongSelf = self { strongSelf.item = item @@ -189,6 +210,17 @@ final class HorizontalPeerItemNode: ListViewItemNode { strongSelf.badgeBackgroundNode.isHidden = true } + if let currentStatusImage = currentStatusImage { + strongSelf.statusNode.image = currentStatusImage + strongSelf.statusNode.isHidden = false + + let statusSize = currentStatusImage.size + strongSelf.statusNode.frame = CGRect(x: itemLayout.size.width - statusSize.width - 18.0, y: itemLayout.size.height - statusSize.height - 18.0, width: statusSize.width, height: statusSize.height) + } else { + strongSelf.statusNode.isHidden = true + } + + let _ = badgeApply() } }) diff --git a/TelegramUI/LegacyAttachmentMenu.swift b/TelegramUI/LegacyAttachmentMenu.swift index 0a07723710..124cdd34df 100644 --- a/TelegramUI/LegacyAttachmentMenu.swift +++ b/TelegramUI/LegacyAttachmentMenu.swift @@ -143,15 +143,18 @@ func legacyMenuPaletteFromTheme(_ theme: PresentationTheme) -> TGMenuSheetPallet return TGMenuSheetPallete(dark: theme.overallDarkAppearance, backgroundColor: sheetTheme.opaqueItemBackgroundColor, selectionColor: sheetTheme.opaqueItemHighlightedBackgroundColor, separatorColor: sheetTheme.opaqueItemSeparatorColor, accentColor: sheetTheme.controlAccentColor, destructiveColor: sheetTheme.destructiveActionTextColor, textColor: sheetTheme.primaryTextColor, secondaryTextColor: sheetTheme.secondaryTextColor, spinnerColor: sheetTheme.secondaryTextColor, badgeTextColor: sheetTheme.controlAccentColor, badgeImage: nil, cornersImage: generateStretchableFilledCircleImage(diameter: 11.0, color: nil, strokeColor: nil, strokeWidth: nil, backgroundColor: sheetTheme.opaqueItemBackgroundColor)) } -func legacyPasteMenu(account: Account, peer: Peer, saveEditedPhotos: Bool, allowGrouping: Bool, theme: PresentationTheme, strings: PresentationStrings, images: [UIImage], sendMessagesWithSignals: @escaping ([Any]?) -> Void) -> ViewController { - - let legacyController = LegacyController(presentation: .custom, theme: theme) - legacyController.statusBar.statusBarStyle = .Hide +func presentLegacyPasteMenu(account: Account, peer: Peer, saveEditedPhotos: Bool, allowGrouping: Bool, theme: PresentationTheme, strings: PresentationStrings, images: [UIImage], sendMessagesWithSignals: @escaping ([Any]?) -> Void, present: (ViewController, Any?) -> Void, initialLayout: ContainerViewLayout? = nil) -> ViewController { + let legacyController = LegacyController(presentation: .custom, theme: theme, initialLayout: initialLayout) + legacyController.statusBar.statusBarStyle = .Ignore legacyController.controllerLoaded = { [weak legacyController] in legacyController?.view.disablesInteractiveTransitionGestureRecognizer = true } - let baseController = TGViewController(context: legacyController.context)! - legacyController.bind(controller: baseController) + + let emptyController = LegacyEmptyController(context: legacyController.context)! + let navigationController = makeLegacyNavigationController(rootController: emptyController) + navigationController.setNavigationBarHidden(true, animated: false) + legacyController.bind(controller: navigationController) + var hasTimer = false if (peer is TelegramUser) && peer.id != account.peerId { hasTimer = true @@ -159,20 +162,15 @@ func legacyPasteMenu(account: Account, peer: Peer, saveEditedPhotos: Bool, allow let recipientName = peer.displayTitle legacyController.enableSizeClassSignal = true - legacyController.presentationCompleted = { [weak legacyController, weak baseController] in - if let strongLegacyController = legacyController, let baseController = baseController { - let controller = TGClipboardMenu.present(inParentController: baseController, context: strongLegacyController.context, images: images, hasCaption: true, hasTimer: hasTimer, recipientName: recipientName, completed: { selectionContext, editingContext, currentItem in - let signals = TGClipboardMenu.resultSignals(for: selectionContext, editingContext: editingContext, currentItem: currentItem, descriptionGenerator: legacyAssetPickerItemGenerator()) - sendMessagesWithSignals(signals) - }, dismissed: { - if let strongLegacyController = legacyController { - strongLegacyController.dismiss() - } - }, sourceView: baseController.view, sourceRect: nil) - controller?.customRemoveFromParentViewController = { [weak legacyController] in - legacyController?.dismiss() - } - } + + let controller = TGClipboardMenu.present(inParentController: emptyController, context: legacyController.context, images: images, hasCaption: true, hasTimer: hasTimer, recipientName: recipientName, completed: { selectionContext, editingContext, currentItem in + let signals = TGClipboardMenu.resultSignals(for: selectionContext, editingContext: editingContext, currentItem: currentItem, descriptionGenerator: legacyAssetPickerItemGenerator()) + sendMessagesWithSignals(signals) + }, dismissed: { [weak legacyController] in + legacyController?.dismiss() + }, sourceView: emptyController.view, sourceRect: nil)! + controller.customRemoveFromParentViewController = { [weak legacyController] in + legacyController?.dismiss() } let presentationDisposable = account.telegramApplicationContext.presentationData.start(next: { [weak legacyController] presentationData in @@ -182,5 +180,8 @@ func legacyPasteMenu(account: Account, peer: Peer, saveEditedPhotos: Bool, allow }) legacyController.disposables.add(presentationDisposable) + present(legacyController, nil) + controller.present(in: emptyController, sourceView: nil, animated: true) + return legacyController } diff --git a/TelegramUI/LegacyMediaPickers.swift b/TelegramUI/LegacyMediaPickers.swift index 566da6c682..eae1ca6f9c 100644 --- a/TelegramUI/LegacyMediaPickers.swift +++ b/TelegramUI/LegacyMediaPickers.swift @@ -13,7 +13,7 @@ func guessMimeTypeByFileExtension(_ ext: String) -> String { return TGMimeTypeMap.mimeType(forExtension: ext) ?? "application/binary" } -func configureLegacyAssetPicker(_ controller: TGMediaAssetsController, account: Account, peer: Peer, captionsEnabled: Bool = true, storeCreatedAssets: Bool = true, showFileTooltip: Bool = false) { +func configureLegacyAssetPicker(_ controller: TGMediaAssetsController, account: Account, peer: Peer, captionsEnabled: Bool = true, storeCreatedAssets: Bool = true, showFileTooltip: Bool = false, presentWebSearch: (() -> Void)?) { controller.captionsEnabled = captionsEnabled controller.inhibitDocumentCaptions = false controller.suggestionContext = legacySuggestionContext(account: account, peerId: peer.id) @@ -21,11 +21,11 @@ func configureLegacyAssetPicker(_ controller: TGMediaAssetsController, account: controller.hasTimer = true } controller.dismissalBlock = { - } controller.localMediaCacheEnabled = false controller.shouldStoreAssets = storeCreatedAssets controller.shouldShowFileTipIfNeeded = showFileTooltip + controller.requestSearchController = presentWebSearch } func legacyAssetPicker(applicationContext: TelegramApplicationContext, presentationData: PresentationData, editingMedia: Bool, fileMode: Bool, peer: Peer?, saveEditedPhotos: Bool, allowGrouping: Bool) -> Signal<(LegacyComponentsContext) -> TGMediaAssetsController, Void> { diff --git a/TelegramUI/LegacyWebSearchGallery.swift b/TelegramUI/LegacyWebSearchGallery.swift new file mode 100644 index 0000000000..0f9362ecfe --- /dev/null +++ b/TelegramUI/LegacyWebSearchGallery.swift @@ -0,0 +1,329 @@ +import Foundation +import LegacyComponents +import SwiftSignalKit +import TelegramCore +import Postbox +import SSignalKit +import UIKit +import Display + +class LegacyWebSearchItem: NSObject, TGMediaEditableItem, TGMediaSelectableItem { + var isVideo: Bool { + return false + } + + var uniqueIdentifier: String! { + return self.result.id + } + + let result: ChatContextResult + let dimensions: CGSize + let thumbnailImage: Signal + let originalImage: Signal + + init(result: ChatContextResult, dimensions: CGSize, thumbnailImage: Signal, originalImage: Signal) { + self.result = result + self.dimensions = dimensions + self.thumbnailImage = thumbnailImage + self.originalImage = originalImage + } + + var originalSize: CGSize { + return self.dimensions + } + + func thumbnailImageSignal() -> SSignal! { + return SSignal(generator: { subscriber -> SDisposable? in + let disposable = self.thumbnailImage.start(next: { image in + subscriber?.putNext(image) + subscriber?.putCompletion() + }) + + return SBlockDisposable(block: { + disposable.dispose() + }) + }) + } + + func screenImageSignal(_ position: TimeInterval) -> SSignal! { + return self.originalImageSignal(position) + } + + func originalImageSignal(_ position: TimeInterval) -> SSignal! { + return SSignal(generator: { subscriber -> SDisposable? in + let disposable = self.originalImage.start(next: { image in + subscriber?.putNext(image) + subscriber?.putCompletion() + }) + + return SBlockDisposable(block: { + disposable.dispose() + }) + }) + } +} + +private class LegacyWebSearchGalleryItem: TGModernGalleryImageItem, TGModernGalleryEditableItem, TGModernGallerySelectableItem { + var selectionContext: TGMediaSelectionContext! + + var editingContext: TGMediaEditingContext! + let item: LegacyWebSearchItem + + init(item: LegacyWebSearchItem) { + self.item = item + super.init() + } + + func editableMediaItem() -> TGMediaEditableItem! { + return self.item + } + + func selectableMediaItem() -> TGMediaSelectableItem! { + return self.item + } + + func toolbarTabs() -> TGPhotoEditorTab { + return [.cropTab, .paintTab, .toolsTab] + } + + func uniqueId() -> String! { + return self.item.uniqueIdentifier + } + + override func viewClass() -> AnyClass! { + return LegacyWebSearchGalleryItemView.self + } +} + +private class LegacyWebSearchGalleryItemView: TGModernGalleryImageItemView, TGModernGalleryEditableItemView +{ + func setHiddenAsBeingEdited(_ hidden: Bool) { + self.imageView.isHidden = hidden + } + + override func setItem(_ item: TGModernGalleryItem!, synchronously: Bool) { + if let item = item as? LegacyWebSearchGalleryItem { + self._setItem(item) + self.imageSize = TGFitSize(item.editableMediaItem().originalSize!, CGSize(width: 1600, height: 1600)) + + let signal = item.editingContext.imageSignal(for: item.editableMediaItem())?.map(toSignal: { result -> SSignal? in + if let image = result as? UIImage { + return SSignal.single(image) + } else if result == nil, let mediaItem = item.editableMediaItem() as? LegacyWebSearchItem { + return mediaItem.originalImageSignal(0.0) + } else { + return SSignal.complete() + } + }) + + self.imageView.setSignal(signal?.deliver(on: SQueue.main())?.afterNext({ [weak self] next in + if let strongSelf = self, let image = next as? UIImage { + strongSelf.imageSize = image.size + strongSelf.reset() + } + })) + + self.reset() + } else { + self.imageView.setSignal(nil) + super.setItem(item, synchronously: synchronously) + } + } + + override func contentView() -> UIView! { + return self.imageView + } + + override func transitionContentView() -> UIView! { + return self.contentView() + } + + override func transitionViewContentRect() -> CGRect { + let contentView = self.transitionContentView()! + return contentView.convert(contentView.bounds, to: self.transitionView()) + } +} + +private func galleryItems(account: Account, results: [ChatContextResult], current: ChatContextResult, selectionContext: TGMediaSelectionContext, editingContext: TGMediaEditingContext) -> ([TGModernGalleryItem], TGModernGalleryItem?) { + var focusItem: TGModernGalleryItem? + var galleryItems: [TGModernGalleryItem] = [] + for result in results { + var thumbnailDimensions: CGSize? + var thumbnailResource: TelegramMediaResource? + var imageResource: TelegramMediaResource? + var imageDimensions = CGSize() + + let thumbnailSignal: Signal + let originalSignal: Signal + switch result { + case let .externalReference(_, _, _, _, _, _, content, thumbnail, _): + if let content = content { + imageResource = content.resource + } + if let thumbnail = thumbnail { + thumbnailResource = thumbnail.resource + thumbnailDimensions = thumbnail.dimensions + } + if let dimensions = content?.dimensions { + imageDimensions = dimensions + } +// if let imageResource = imageResource { +// updatedStatusSignal = item.account.postbox.mediaBox.resourceStatus(imageResource) +// } + case let .internalReference(_, _, _, _, _, image, _, _): + if let image = image { + if let largestRepresentation = largestImageRepresentation(image.representations) { + imageDimensions = largestRepresentation.dimensions + imageResource = imageRepresentationLargerThan(image.representations, size: CGSize(width: 1000.0, height: 800.0))?.resource + } + if let thumbnailRepresentation = imageRepresentationLargerThan(image.representations, size: CGSize(width: 200.0, height: 100.0)) { + thumbnailDimensions = thumbnailRepresentation.dimensions + thumbnailResource = thumbnailRepresentation.resource + } + } + } + + if let imageResource = imageResource { + var representations: [TelegramMediaImageRepresentation] = [] + if let thumbnailResource = thumbnailResource, let thumbnailDimensions = thumbnailDimensions { + representations.append(TelegramMediaImageRepresentation(dimensions: thumbnailDimensions, resource: thumbnailResource)) + } + representations.append(TelegramMediaImageRepresentation(dimensions: imageDimensions, resource: imageResource)) + let tmpImage = TelegramMediaImage(imageId: MediaId(namespace: 0, id: 0), representations: representations, reference: nil, partialReference: nil) + thumbnailSignal = chatMessagePhotoDatas(postbox: account.postbox, photoReference: .standalone(media: tmpImage), autoFetchFullSize: true) + |> mapToSignal { (thumbnailData, fullSizeData, fullSizeComplete) -> Signal in + if let data = fullSizeData, let image = UIImage(data: data) { + return .single(image) + } else { + return .complete() + } + } + originalSignal = thumbnailSignal + + let item = LegacyWebSearchItem(result: result, dimensions: imageDimensions, thumbnailImage: thumbnailSignal, originalImage: originalSignal) + let galleryItem = LegacyWebSearchGalleryItem(item: item) + galleryItem.selectionContext = selectionContext + galleryItem.editingContext = editingContext + if result.id == current.id { + focusItem = galleryItem + } + galleryItems.append(galleryItem) + } + } + return (galleryItems, focusItem) +} + +func presentLegacyWebSearchGallery(account: Account, peer: Peer?, theme: PresentationTheme, results: [ChatContextResult], current: ChatContextResult, selectionContext: TGMediaSelectionContext, editingContext: TGMediaEditingContext, updateHiddenMedia: @escaping (String?) -> Void, transitionHostView: @escaping () -> UIView?, transitionView: @escaping (ChatContextResult) -> UIView?, completed: @escaping (ChatContextResult) -> Void, present: (ViewController, Any?) -> Void) { + let legacyController = LegacyController(presentation: .custom, theme: theme) + legacyController.statusBar.statusBarStyle = .Ignore + + let controller = TGModernGalleryController(context: legacyController.context)! + legacyController.bind(controller: controller) + + let (items, focusItem) = galleryItems(account: account, results: results, current: current, selectionContext: selectionContext, editingContext: editingContext) + + let model = TGMediaPickerGalleryModel(context: legacyController.context, items: items, focus: focusItem, selectionContext: selectionContext, editingContext: editingContext, hasCaptions: true, allowCaptionEntities: true, hasTimer: false, onlyCrop: false, inhibitDocumentCaptions: false, hasSelectionPanel: false, hasCamera: false, recipientName: peer?.displayTitle)! + if let peer = peer { + model.suggestionContext = legacySuggestionContext(account: account, peerId: peer.id) + } + controller.model = model + model.controller = controller + model.externalSelectionCount = { + return 0 + } + model.useGalleryImageAsEditableItemImage = true + model.storeOriginalImageForItem = { item, image in + editingContext.setOriginalImage(image, for: item, synchronous: false) + } + model.willFinishEditingItem = { item, adjustments, representation, hasChanges in + if hasChanges { + editingContext.setAdjustments(adjustments, for: item) + } + editingContext.setTemporaryRep(representation, for: item) + //if let selectionContext = selectionContext, { + // selectionContex + //} + } + model.didFinishEditingItem = { item, adjustments, result, thumbnail in + editingContext.setImage(result, thumbnailImage: thumbnail, for: item, synchronous: true) + } + model.saveItemCaption = { item, caption, entities in + editingContext.setCaption(caption, entities: entities, for: item) + } + //[model.interfaceView updateSelectionInterface:[self totalSelectionCount] counterVisible:([self totalSelectionCount] > 0) animated:false]; + model.interfaceView.donePressed = { item in + if let item = item as? LegacyWebSearchGalleryItem { + controller.dismissWhenReady(animated: false) + completed(item.item.result) + } + } + controller.transitionHost = { + return transitionHostView() + } + controller.itemFocused = { item in + if let item = item as? LegacyWebSearchGalleryItem { + updateHiddenMedia(item.item.result.id) + } + } + controller.beginTransitionIn = { item, _ in + if let item = item as? LegacyWebSearchGalleryItem { + return transitionView(item.item.result) + } else { + return nil + } + } + controller.beginTransitionOut = { item, _ in + if let item = item as? LegacyWebSearchGalleryItem { + return transitionView(item.item.result) + } else { + return nil + } + } + controller.completedTransitionOut = { [weak legacyController] in + updateHiddenMedia(nil) + legacyController?.dismiss() + } + present(legacyController, nil) + + + + +// if (item.selectionContext != nil && adjustments != nil && [editableItem conformsToProtocol:@protocol(TGMediaSelectableItem)]) +// [item.selectionContext setItem:(id)editableItem selected:true]; +// }; + + +// model.interfaceView.donePressed = ^(id item) +// { +// __strong TGWebSearchController *strongSelf = weakSelf; +// if (strongSelf == nil) +// return; +// +// NSMutableArray *selectedItems = [strongSelf selectedItems]; +// +// if (selectedItems.count == 0) +// [selectedItems addObject:[item webSearchResult]]; +// +// strongSelf->_selectedItems = selectedItems; +// [strongSelf complete]; +// }; +// _galleryModel = model; +// modernGallery.model = model; +// +// __weak TGModernGalleryController *weakGallery = modernGallery; +// modernGallery.itemFocused = ^(id item) +// { +// __strong TGWebSearchController *strongSelf = weakSelf; +// __strong TGModernGalleryController *strongGallery = weakGallery; +// if (strongSelf != nil) +// { +// if (strongGallery.previewMode) +// return; +// +// id listItem = [strongSelf listItemForSearchResult:[item webSearchResult]]; +// strongSelf->_hiddenItem = listItem; +// [strongSelf updateHiddenItemAnimated:false]; +// } +// }; +// +} diff --git a/TelegramUI/ListMessageFileItemNode.swift b/TelegramUI/ListMessageFileItemNode.swift index 500e69af22..c03ef3e4ef 100644 --- a/TelegramUI/ListMessageFileItemNode.swift +++ b/TelegramUI/ListMessageFileItemNode.swift @@ -173,7 +173,7 @@ final class ListMessageFileItemNode: ListMessageNode { private var appliedItem: ListMessageItem? private var layoutParams: ListViewItemLayoutParams? private var contentSizeValue: CGSize? - private var currentLeftOffet: CGFloat = 0.0 + private var currentLeftOffset: CGFloat = 0.0 override var canBeLongTapped: Bool { return true @@ -305,7 +305,7 @@ final class ListMessageFileItemNode: ListMessageNode { updatedTheme = item.theme } - var leftInset: CGFloat = 60.0 + params.leftInset + var leftInset: CGFloat = 65.0 + params.leftInset let rightInset: CGFloat = 8.0 + params.rightInset var leftOffset: CGFloat = 0.0 @@ -483,7 +483,7 @@ final class ListMessageFileItemNode: ListMessageNode { insets.top += header.height } - let nodeLayout = ListViewItemNodeLayout(contentSize: CGSize(width: params.width, height: isAudio ? 56.0 : 52.0), insets: insets) + let nodeLayout = ListViewItemNodeLayout(contentSize: CGSize(width: params.width, height: 56.0), insets: insets) return (nodeLayout, { animation in if let strongSelf = self { @@ -500,7 +500,7 @@ final class ListMessageFileItemNode: ListMessageNode { strongSelf.appliedItem = item strongSelf.layoutParams = params strongSelf.contentSizeValue = nodeLayout.contentSize - strongSelf.currentLeftOffet = leftOffset + strongSelf.currentLeftOffset = leftOffset if let _ = updatedTheme { strongSelf.separatorNode.backgroundColor = item.theme.list.itemPlainSeparatorColor @@ -508,7 +508,6 @@ final class ListMessageFileItemNode: ListMessageNode { strongSelf.progressNode.updateTheme(RadialProgressTheme(backgroundColor: item.theme.list.itemAccentColor, foregroundColor: item.theme.list.plainBackgroundColor, icon: nil)) strongSelf.linearProgressNode.backgroundColor = item.theme.list.itemAccentColor - } if let (selectionWidth, selectionApply) = selectionNodeWidthAndApply { @@ -552,7 +551,7 @@ final class ListMessageFileItemNode: ListMessageNode { } } - transition.updateFrame(node: strongSelf.descriptionNode, frame: CGRect(origin: CGPoint(x: leftOffset + leftInset + descriptionOffset, y: isAudio ? 32.0 : 29.0), size: descriptionNodeLayout.size)) + transition.updateFrame(node: strongSelf.descriptionNode, frame: CGRect(origin: CGPoint(x: leftOffset + leftInset + descriptionOffset, y: 32.0), size: descriptionNodeLayout.size)) let _ = descriptionNodeApply() let iconFrame: CGRect @@ -565,7 +564,7 @@ final class ListMessageFileItemNode: ListMessageNode { } transition.updateFrame(node: strongSelf.extensionIconNode, frame: iconFrame) strongSelf.extensionIconNode.image = extensionIconImage - transition.updateFrame(node: strongSelf.extensionIconText, frame: CGRect(origin: CGPoint(x: leftOffset + 9.0 + floor((42.0 - extensionTextLayout.size.width) / 2.0), y: 5.0 + floor((42.0 - extensionTextLayout.size.height) / 2.0)), size: extensionTextLayout.size)) + transition.updateFrame(node: strongSelf.extensionIconText, frame: CGRect(origin: CGPoint(x: leftOffset + 12.0 + floor((42.0 - extensionTextLayout.size.width) / 2.0), y: 5.0 + floor((42.0 - extensionTextLayout.size.height) / 2.0)), size: extensionTextLayout.size)) let _ = extensionTextApply() @@ -787,7 +786,7 @@ final class ListMessageFileItemNode: ListMessageNode { switch maybeFetchStatus { case let .Fetching(_, progress): - let progressFrame = CGRect(x: self.currentLeftOffet + leftInset + 65.0, y: size.height - 2.0, width: floor((size.width - 65.0 - leftInset - rightInset) * CGFloat(progress)), height: 2.0) + let progressFrame = CGRect(x: self.currentLeftOffset + leftInset + 65.0, y: size.height - 2.0, width: floor((size.width - 65.0 - leftInset - rightInset) * CGFloat(progress)), height: 2.0) if self.linearProgressNode.supernode == nil { self.addSubnode(self.linearProgressNode) } diff --git a/TelegramUI/NativeVideoContent.swift b/TelegramUI/NativeVideoContent.swift index 02f05c7e2d..83fd9dbb61 100644 --- a/TelegramUI/NativeVideoContent.swift +++ b/TelegramUI/NativeVideoContent.swift @@ -8,6 +8,7 @@ import TelegramCore enum NativeVideoContentId: Hashable { case message(MessageId, UInt32, MediaId) case instantPage(MediaId, MediaId) + case contextResult(Int64, String) static func ==(lhs: NativeVideoContentId, rhs: NativeVideoContentId) -> Bool { switch lhs { @@ -23,6 +24,12 @@ enum NativeVideoContentId: Hashable { } else { return false } + case let .contextResult(queryId, resultId): + if case .contextResult(queryId, resultId) = rhs { + return true + } else { + return false + } } } @@ -32,6 +39,8 @@ enum NativeVideoContentId: Hashable { return messageId.hashValue &* 31 &+ mediaId.hashValue case let .instantPage(pageId, mediaId): return pageId.hashValue &* 31 &+ mediaId.hashValue + case let .contextResult(queryId, resultId): + return queryId.hashValue &* 31 &+ resultId.hashValue } } } diff --git a/TelegramUI/OpenChatMessage.swift b/TelegramUI/OpenChatMessage.swift index e7039a372a..06233af06f 100644 --- a/TelegramUI/OpenChatMessage.swift +++ b/TelegramUI/OpenChatMessage.swift @@ -43,10 +43,12 @@ private func chatMessageGalleryControllerData(account: Account, message: Message } else if let image = media as? TelegramMediaImage { galleryMedia = image } else if let webpage = media as? TelegramMediaWebpage, case let .Loaded(content) = webpage.content, !excludeWebPageMedia { - if let file = content.file { - galleryMedia = file - } else if let image = content.image { - galleryMedia = image + if ["photo", "document", "video", "gif", "audio", "voice"].contains(content.type) { + if let file = content.file { + galleryMedia = file + } else if let image = content.image { + galleryMedia = image + } } if let instantPage = content.instantPage, let galleryMedia = galleryMedia { switch instantPageType(of: content) { diff --git a/TelegramUI/OpenResolvedUrl.swift b/TelegramUI/OpenResolvedUrl.swift index fbaf8ed8c2..805c4c83fe 100644 --- a/TelegramUI/OpenResolvedUrl.swift +++ b/TelegramUI/OpenResolvedUrl.swift @@ -136,7 +136,7 @@ func openResolvedUrl(_ resolvedUrl: ResolvedUrl, account: Account, context: Open let textInputState: ChatTextInputState if let text = text, !text.isEmpty { - let urlString = NSMutableAttributedString(string: "\(text)\n") + let urlString = NSMutableAttributedString(string: "\(url)\n") let textString = NSAttributedString(string: "\(text)") let selectionRange: Range = urlString.length ..< (urlString.length + textString.length) urlString.append(textString) diff --git a/TelegramUI/PeerMediaCollectionController.swift b/TelegramUI/PeerMediaCollectionController.swift index 6eb255411f..a980455c17 100644 --- a/TelegramUI/PeerMediaCollectionController.swift +++ b/TelegramUI/PeerMediaCollectionController.swift @@ -115,6 +115,9 @@ public class PeerMediaCollectionController: TelegramController { } }, openPeerMention: { _ in }, openMessageContextMenu: { [weak self] message, _, _, _ in + var messageIds = Set() + messageIds.insert(message.id) + if let strongSelf = self, strongSelf.isNodeLoaded { if let message = strongSelf.mediaCollectionDisplayNode.messageForGallery(message.id)?.message { let actionSheet = ActionSheetController(presentationTheme: strongSelf.presentationData.theme) @@ -124,6 +127,18 @@ public class PeerMediaCollectionController: TelegramController { if let strongSelf = self, let navigationController = strongSelf.navigationController as? NavigationController { navigateToChatController(navigationController: navigationController, account: strongSelf.account, chatLocation: .peer(strongSelf.peerId), messageId: message.id) } + }), + ActionSheetButtonItem(title: strongSelf.presentationData.strings.Conversation_ContextMenuForward, color: .accent, action: { [weak actionSheet] in + actionSheet?.dismissAnimated() + if let strongSelf = self { + strongSelf.forwardMessages(messageIds) + } + }), + ActionSheetButtonItem(title: strongSelf.presentationData.strings.Conversation_ContextMenuDelete, color: .destructive, action: { [weak actionSheet] in + actionSheet?.dismissAnimated() + if let strongSelf = self { + strongSelf.deleteMessages(messageIds) + } }) ]), ActionSheetItemGroup(items: [ ActionSheetButtonItem(title: strongSelf.presentationData.strings.Common_Cancel, color: .accent, action: { [weak actionSheet] in @@ -244,63 +259,8 @@ public class PeerMediaCollectionController: TelegramController { }, setupEditMessage: { _ in }, beginMessageSelection: { _ in }, deleteSelectedMessages: { [weak self] in - if let strongSelf = self { - if let messageIds = strongSelf.interfaceState.selectionState?.selectedIds, !messageIds.isEmpty { - strongSelf.messageContextDisposable.set((combineLatest(chatAvailableMessageActions(postbox: strongSelf.account.postbox, accountPeerId: strongSelf.account.peerId, messageIds: messageIds), strongSelf.peer.get() |> take(1)) |> deliverOnMainQueue).start(next: { actions, peer in - if let strongSelf = self, let peer = peer, !actions.options.isEmpty { - let actionSheet = ActionSheetController(presentationTheme: strongSelf.presentationData.theme) - var items: [ActionSheetItem] = [] - var personalPeerName: String? - var isChannel = false - if let user = peer as? TelegramUser { - personalPeerName = user.compactDisplayTitle - } else if let channel = peer as? TelegramChannel, case .broadcast = channel.info { - isChannel = true - } - - if actions.options.contains(.deleteGlobally) { - let globalTitle: String - if isChannel { - globalTitle = strongSelf.presentationData.strings.Conversation_DeleteMessagesForMe - } else if let personalPeerName = personalPeerName { - globalTitle = strongSelf.presentationData.strings.Conversation_DeleteMessagesFor(personalPeerName).0 - } else { - globalTitle = strongSelf.presentationData.strings.Conversation_DeleteMessagesForEveryone - } - items.append(ActionSheetButtonItem(title: globalTitle, color: .destructive, action: { [weak actionSheet] in - actionSheet?.dismissAnimated() - if let strongSelf = self { - strongSelf.updateInterfaceState(animated: true, { $0.withoutSelectionState() }) - let _ = deleteMessagesInteractively(postbox: strongSelf.account.postbox, messageIds: Array(messageIds), type: .forEveryone).start() - } - })) - } - if actions.options.contains(.deleteLocally) { - var localOptionText = strongSelf.presentationData.strings.Conversation_DeleteMessagesForMe - if strongSelf.account.peerId == strongSelf.peerId { - if messageIds.count == 1 { - localOptionText = strongSelf.presentationData.strings.Conversation_Moderate_Delete - } else { - localOptionText = strongSelf.presentationData.strings.Conversation_DeleteManyMessages - } - } - items.append(ActionSheetButtonItem(title: localOptionText, color: .destructive, action: { [weak actionSheet] in - actionSheet?.dismissAnimated() - if let strongSelf = self { - strongSelf.updateInterfaceState(animated: true, { $0.withoutSelectionState() }) - let _ = deleteMessagesInteractively(postbox: strongSelf.account.postbox, messageIds: Array(messageIds), type: .forLocalPeer).start() - } - })) - } - actionSheet.setItemGroups([ActionSheetItemGroup(items: items), ActionSheetItemGroup(items: [ - ActionSheetButtonItem(title: strongSelf.presentationData.strings.Common_Cancel, color: .accent, action: { [weak actionSheet] in - actionSheet?.dismissAnimated() - }) - ])]) - strongSelf.present(actionSheet, in: .window(.root)) - } - })) - } + if let strongSelf = self, let messageIds = strongSelf.interfaceState.selectionState?.selectedIds { + strongSelf.deleteMessages(messageIds) } }, reportSelectedMessages: { [weak self] in if let strongSelf = self, let messageIds = strongSelf.interfaceState.selectionState?.selectedIds, !messageIds.isEmpty { @@ -313,37 +273,7 @@ public class PeerMediaCollectionController: TelegramController { }, forwardSelectedMessages: { [weak self] in if let strongSelf = self { if let forwardMessageIdsSet = strongSelf.interfaceState.selectionState?.selectedIds { - let forwardMessageIds = Array(forwardMessageIdsSet).sorted() - - let controller = PeerSelectionController(account: strongSelf.account) - controller.peerSelected = { [weak controller] peerId in - if let strongSelf = self, let _ = controller { - let _ = (strongSelf.account.postbox.transaction({ transaction -> Void in - transaction.updatePeerChatInterfaceState(peerId, update: { currentState in - if let currentState = currentState as? ChatInterfaceState { - return currentState.withUpdatedForwardMessageIds(forwardMessageIds) - } else { - return ChatInterfaceState().withUpdatedForwardMessageIds(forwardMessageIds) - } - }) - }) |> deliverOnMainQueue).start(completed: { - if let strongSelf = self { - strongSelf.updateInterfaceState(animated: false, { $0.withoutSelectionState() }) - - let ready = ValuePromise() - - strongSelf.messageContextDisposable.set((ready.get() |> take(1) |> deliverOnMainQueue).start(next: { _ in - if let strongController = controller { - strongController.dismiss() - } - })) - - (strongSelf.navigationController as? NavigationController)?.replaceTopController(ChatController(account: strongSelf.account, chatLocation: .peer(peerId)), animated: false, ready: ready) - } - }) - } - } - strongSelf.present(controller, in: .window(.root)) + strongSelf.forwardMessages(forwardMessageIdsSet) } } }, forwardMessages: { _ in @@ -646,4 +576,97 @@ public class PeerMediaCollectionController: TelegramController { } })) } + + func forwardMessages(_ messageIds: Set) { + let forwardMessageIds = Array(messageIds).sorted() + + let controller = PeerSelectionController(account: self.account) + controller.peerSelected = { [weak self, weak controller] peerId in + if let strongSelf = self, let _ = controller { + let _ = (strongSelf.account.postbox.transaction({ transaction -> Void in + transaction.updatePeerChatInterfaceState(peerId, update: { currentState in + if let currentState = currentState as? ChatInterfaceState { + return currentState.withUpdatedForwardMessageIds(forwardMessageIds) + } else { + return ChatInterfaceState().withUpdatedForwardMessageIds(forwardMessageIds) + } + }) + }) |> deliverOnMainQueue).start(completed: { + if let strongSelf = self { + strongSelf.updateInterfaceState(animated: false, { $0.withoutSelectionState() }) + + let ready = ValuePromise() + + strongSelf.messageContextDisposable.set((ready.get() |> take(1) |> deliverOnMainQueue).start(next: { _ in + if let strongController = controller { + strongController.dismiss() + } + })) + + (strongSelf.navigationController as? NavigationController)?.replaceTopController(ChatController(account: strongSelf.account, chatLocation: .peer(peerId)), animated: false, ready: ready) + } + }) + } + } + self.present(controller, in: .window(.root)) + } + + func deleteMessages(_ messageIds: Set) { + if !messageIds.isEmpty { + self.messageContextDisposable.set((combineLatest(chatAvailableMessageActions(postbox: self.account.postbox, accountPeerId: self.account.peerId, messageIds: messageIds), self.peer.get() |> take(1)) |> deliverOnMainQueue).start(next: { [weak self] actions, peer in + if let strongSelf = self, let peer = peer, !actions.options.isEmpty { + let actionSheet = ActionSheetController(presentationTheme: strongSelf.presentationData.theme) + var items: [ActionSheetItem] = [] + var personalPeerName: String? + var isChannel = false + if let user = peer as? TelegramUser { + personalPeerName = user.compactDisplayTitle + } else if let channel = peer as? TelegramChannel, case .broadcast = channel.info { + isChannel = true + } + + if actions.options.contains(.deleteGlobally) { + let globalTitle: String + if isChannel { + globalTitle = strongSelf.presentationData.strings.Conversation_DeleteMessagesForMe + } else if let personalPeerName = personalPeerName { + globalTitle = strongSelf.presentationData.strings.Conversation_DeleteMessagesFor(personalPeerName).0 + } else { + globalTitle = strongSelf.presentationData.strings.Conversation_DeleteMessagesForEveryone + } + items.append(ActionSheetButtonItem(title: globalTitle, color: .destructive, action: { [weak actionSheet] in + actionSheet?.dismissAnimated() + if let strongSelf = self { + strongSelf.updateInterfaceState(animated: true, { $0.withoutSelectionState() }) + let _ = deleteMessagesInteractively(postbox: strongSelf.account.postbox, messageIds: Array(messageIds), type: .forEveryone).start() + } + })) + } + if actions.options.contains(.deleteLocally) { + var localOptionText = strongSelf.presentationData.strings.Conversation_DeleteMessagesForMe + if strongSelf.account.peerId == strongSelf.peerId { + if messageIds.count == 1 { + localOptionText = strongSelf.presentationData.strings.Conversation_Moderate_Delete + } else { + localOptionText = strongSelf.presentationData.strings.Conversation_DeleteManyMessages + } + } + items.append(ActionSheetButtonItem(title: localOptionText, color: .destructive, action: { [weak actionSheet] in + actionSheet?.dismissAnimated() + if let strongSelf = self { + strongSelf.updateInterfaceState(animated: true, { $0.withoutSelectionState() }) + let _ = deleteMessagesInteractively(postbox: strongSelf.account.postbox, messageIds: Array(messageIds), type: .forLocalPeer).start() + } + })) + } + actionSheet.setItemGroups([ActionSheetItemGroup(items: items), ActionSheetItemGroup(items: [ + ActionSheetButtonItem(title: strongSelf.presentationData.strings.Common_Cancel, color: .accent, action: { [weak actionSheet] in + actionSheet?.dismissAnimated() + }) + ])]) + strongSelf.present(actionSheet, in: .window(.root)) + } + })) + } + } } diff --git a/TelegramUI/PermissionInfoItem.swift b/TelegramUI/PermissionInfoItem.swift index fd05e1b191..e058354e60 100644 --- a/TelegramUI/PermissionInfoItem.swift +++ b/TelegramUI/PermissionInfoItem.swift @@ -104,7 +104,8 @@ class PermissionInfoItemNode: ListViewItemNode { private let backgroundNode: ASDisplayNode private let topStripeNode: ASDisplayNode private let bottomStripeNode: ASDisplayNode - + private let closeButton: HighlightableButtonNode + let badgeNode: ASImageNode let labelNode: TextNode let titleNode: TextNode @@ -140,6 +141,10 @@ class PermissionInfoItemNode: ListViewItemNode { self.textNode = TextNode() self.textNode.isUserInteractionEnabled = false + + self.closeButton = HighlightableButtonNode() + self.closeButton.hitTestSlop = UIEdgeInsetsMake(-8.0, -8.0, -8.0, -8.0) + self.closeButton.displaysAsynchronously = false super.init(layerBacked: false, dynamicBounce: false) @@ -147,6 +152,7 @@ class PermissionInfoItemNode: ListViewItemNode { self.addSubnode(self.labelNode) self.addSubnode(self.titleNode) self.addSubnode(self.textNode) + self.addSubnode(self.closeButton) } func asyncLayout() -> (_ item: PermissionInfoItem, _ params: ListViewItemLayoutParams, _ insets: ItemListNeighbors?) -> (ListViewItemNodeLayout, () -> Void) { @@ -163,10 +169,13 @@ class PermissionInfoItemNode: ListViewItemNode { var updatedTheme: PresentationTheme? var updatedBadgeImage: UIImage? + var updatedCloseIcon: UIImage? + let badgeDiameter: CGFloat = 20.0 if currentItem?.theme !== item.theme { updatedTheme = item.theme updatedBadgeImage = generateStretchableFilledCircleImage(diameter: badgeDiameter, color: item.theme.list.itemDestructiveColor) + updatedCloseIcon = PresentationResourcesItemList.itemListCloseIconImage(item.theme) } let insets: UIEdgeInsets @@ -256,6 +265,15 @@ class PermissionInfoItemNode: ListViewItemNode { bottomStripeInset = leftInset } + if let item = strongSelf.item { + switch (item.subject, item.type) { + case (.contacts, _), (.notifications, .unreachable): + strongSelf.closeButton.isHidden = false + default: + strongSelf.closeButton.isHidden = true + } + } + strongSelf.backgroundNode.frame = CGRect(origin: CGPoint(x: 0.0, y: -min(insets.top, separatorHeight)), size: CGSize(width: params.width, height: contentSize.height + min(insets.top, separatorHeight) + min(insets.bottom, separatorHeight))) strongSelf.topStripeNode.frame = CGRect(origin: CGPoint(x: 0.0, y: -min(insets.top, separatorHeight)), size: CGSize(width: params.width, height: separatorHeight)) strongSelf.bottomStripeNode.frame = CGRect(origin: CGPoint(x: bottomStripeInset, y: contentSize.height - separatorHeight), size: CGSize(width: params.width - bottomStripeInset, height: separatorHeight)) @@ -267,6 +285,10 @@ class PermissionInfoItemNode: ListViewItemNode { strongSelf.badgeNode.image = updateBadgeImage } + if let updatedCloseIcon = updatedCloseIcon { + strongSelf.closeButton.setImage(updatedCloseIcon, for: []) + } + strongSelf.badgeNode.frame = CGRect(origin: CGPoint(x: leftInset, y: 16.0), size: CGSize(width: badgeDiameter, height: badgeDiameter)) strongSelf.labelNode.frame = CGRect(origin: CGPoint(x: strongSelf.badgeNode.frame.midX - labelLayout.size.width / 2.0, y: strongSelf.badgeNode.frame.minY + 1.0), size: labelLayout.size) @@ -274,6 +296,8 @@ class PermissionInfoItemNode: ListViewItemNode { strongSelf.titleNode.frame = CGRect(origin: CGPoint(x: strongSelf.badgeNode.frame.maxX + 8.0, y: 16.0), size: titleLayout.size) strongSelf.textNode.frame = CGRect(origin: CGPoint(x: leftInset, y: strongSelf.titleNode.frame.maxY + 9.0), size: textLayout.size) + + strongSelf.closeButton.frame = CGRect(x: params.width - rightInset - 20.0, y: 2.0, width: 32.0, height: 32.0) } }) } diff --git a/TelegramUI/PhotoResources.swift b/TelegramUI/PhotoResources.swift index 015097e427..e4a09bed4f 100644 --- a/TelegramUI/PhotoResources.swift +++ b/TelegramUI/PhotoResources.swift @@ -16,7 +16,7 @@ public func largestRepresentationForPhoto(_ photo: TelegramMediaImage) -> Telegr return photo.representationForDisplayAtSize(CGSize(width: 1280.0, height: 1280.0)) } -private func chatMessagePhotoDatas(postbox: Postbox, photoReference: ImageMediaReference, fullRepresentationSize: CGSize = CGSize(width: 1280.0, height: 1280.0), autoFetchFullSize: Bool = false, tryAdditionalRepresentations: Bool = false, synchronousLoad: Bool = false) -> Signal<(Data?, Data?, Bool), NoError> { +func chatMessagePhotoDatas(postbox: Postbox, photoReference: ImageMediaReference, fullRepresentationSize: CGSize = CGSize(width: 1280.0, height: 1280.0), autoFetchFullSize: Bool = false, tryAdditionalRepresentations: Bool = false, synchronousLoad: Bool = false) -> Signal<(Data?, Data?, Bool), NoError> { if let smallestRepresentation = smallestImageRepresentation(photoReference.media.representations), let largestRepresentation = photoReference.media.representationForDisplayAtSize(fullRepresentationSize) { let maybeFullSize = postbox.mediaBox.resourceData(largestRepresentation.resource, option: .complete(waitUntilFetchStatus: false), attemptSynchronously: synchronousLoad) diff --git a/TelegramUI/PresentationResourceKey.swift b/TelegramUI/PresentationResourceKey.swift index b3a45332f6..828d6d5fba 100644 --- a/TelegramUI/PresentationResourceKey.swift +++ b/TelegramUI/PresentationResourceKey.swift @@ -52,6 +52,8 @@ enum PresentationResourceKey: Int32 { case itemListCloudFetchIcon + case itemListCloseIconImage + case chatListLockTopLockedImage case chatListLockBottomLockedImage case chatListLockTopUnlockedImage @@ -66,6 +68,7 @@ enum PresentationResourceKey: Int32 { case chatListMutedIcon case chatListVerifiedIcon case chatListSecretIcon + case chatListRecentStatusOnlineIcon case chatTitleLockIcon case chatTitleMuteIcon diff --git a/TelegramUI/PresentationResourcesChatList.swift b/TelegramUI/PresentationResourcesChatList.swift index 1b32a8cc86..500c707197 100644 --- a/TelegramUI/PresentationResourcesChatList.swift +++ b/TelegramUI/PresentationResourcesChatList.swift @@ -111,6 +111,19 @@ struct PresentationResourcesChatList { }) } + static func recentStatusOnlineIcon(_ theme: PresentationTheme) -> UIImage? { + return theme.image(PresentationResourceKey.chatListRecentStatusOnlineIcon.rawValue, { theme in + return generateImage(CGSize(width: 14.0, height: 14.0), rotatedContext: { size, context in + let bounds = CGRect(origin: CGPoint(), size: size) + context.clear(bounds) + context.setFillColor(theme.chatList.backgroundColor.cgColor) + context.fillEllipse(in: bounds) + context.setFillColor(theme.chatList.unreadBadgeActiveBackgroundColor.cgColor) + context.fillEllipse(in: bounds.insetBy(dx: 2.0, dy: 2.0)) + }) + }) + } + static func badgeBackgroundActive(_ theme: PresentationTheme) -> UIImage? { return theme.image(PresentationResourceKey.chatListBadgeBackgroundActive.rawValue, { theme in return generateBadgeBackgroundImage(theme: theme, active: true) diff --git a/TelegramUI/PresentationResourcesItemList.swift b/TelegramUI/PresentationResourcesItemList.swift index c716bbbc2d..983c909595 100644 --- a/TelegramUI/PresentationResourcesItemList.swift +++ b/TelegramUI/PresentationResourcesItemList.swift @@ -135,4 +135,22 @@ struct PresentationResourcesItemList { generateTintedImage(image: UIImage(bundleImageName: "Chat/Message/FileCloudFetch"), color: theme.list.itemAccentColor) }) } + + static func itemListCloseIconImage(_ theme: PresentationTheme) -> UIImage? { + return theme.image(PresentationResourceKey.itemListCloseIconImage.rawValue, { theme in + return generateImage(CGSize(width: 12.0, height: 12.0), contextGenerator: { size, context in + context.clear(CGRect(origin: CGPoint(), size: size)) + context.setBlendMode(.copy) + context.setStrokeColor(theme.list.disclosureArrowColor.cgColor) + context.setLineWidth(2.0) + context.setLineCap(.round) + context.move(to: CGPoint(x: 1.0, y: 1.0)) + context.addLine(to: CGPoint(x: size.width - 1.0, y: size.height - 1.0)) + context.strokePath() + context.move(to: CGPoint(x: size.width - 1.0, y: 1.0)) + context.addLine(to: CGPoint(x: 1.0, y: size.height - 1.0)) + context.strokePath() + }) + }) + } } diff --git a/TelegramUI/PresentationStrings.swift b/TelegramUI/PresentationStrings.swift index a92c939b1b..dc7e9abf02 100644 --- a/TelegramUI/PresentationStrings.swift +++ b/TelegramUI/PresentationStrings.swift @@ -1149,2100 +1149,2101 @@ public final class PresentationStrings { public var ChannelMembers_WhoCanAddMembers_Admins: String { return self._s[919]! } public var FastTwoStepSetup_EmailPlaceholder: String { return self._s[920]! } public var Passport_Language_pt: String { return self._s[921]! } - public var NotificationsSound_Popcorn: String { return self._s[924]! } - public var AutoNightTheme_Disabled: String { return self._s[925]! } - public var BlockedUsers_LeavePrefix: String { return self._s[926]! } + public var WebSearch_RecentSearchPlaceholder: String { return self._s[924]! } + public var NotificationsSound_Popcorn: String { return self._s[925]! } + public var AutoNightTheme_Disabled: String { return self._s[926]! } + public var BlockedUsers_LeavePrefix: String { return self._s[927]! } public func CancelResetAccount_TextSMS(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[927]!, self._r[927]!, [_0]) + return formatWithArgumentRanges(self._s[928]!, self._r[928]!, [_0]) } - public var CheckoutInfo_ErrorNameInvalid: String { return self._s[928]! } - public var SocksProxySetup_UseForCalls: String { return self._s[929]! } - public var Passport_DeleteDocumentConfirmation: String { return self._s[930]! } + public var CheckoutInfo_ErrorNameInvalid: String { return self._s[929]! } + public var SocksProxySetup_UseForCalls: String { return self._s[930]! } + public var Passport_DeleteDocumentConfirmation: String { return self._s[931]! } public func Conversation_Megabytes(_ _0: Float) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[931]!, self._r[931]!, ["\(_0)"]) + return formatWithArgumentRanges(self._s[932]!, self._r[932]!, ["\(_0)"]) } - public var SocksProxySetup_Hostname: String { return self._s[933]! } - public var Compose_NewEncryptedChat: String { return self._s[934]! } - public var Login_CodeFloodError: String { return self._s[935]! } - public var Calls_TabTitle: String { return self._s[936]! } - public var Passport_Language_he: String { return self._s[937]! } + public var SocksProxySetup_Hostname: String { return self._s[934]! } + public var Compose_NewEncryptedChat: String { return self._s[935]! } + public var Login_CodeFloodError: String { return self._s[936]! } + public var Calls_TabTitle: String { return self._s[937]! } + public var Passport_Language_he: String { return self._s[938]! } public func Channel_AdminLog_MessageGroupPreHistoryHidden(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[938]!, self._r[938]!, [_0]) + return formatWithArgumentRanges(self._s[939]!, self._r[939]!, [_0]) } - public var Tour_Text1: String { return self._s[939]! } - public var Month_ShortFebruary: String { return self._s[940]! } - public var TwoStepAuth_EmailSkip: String { return self._s[941]! } - public var NotificationsSound_Glass: String { return self._s[942]! } - public var Appearance_ThemeNightBlue: String { return self._s[943]! } - public var CheckoutInfo_Pay: String { return self._s[944]! } - public var Invite_LargeRecipientsCountWarning: String { return self._s[946]! } - public var Call_CallAgain: String { return self._s[948]! } - public var AttachmentMenu_SendAsFile: String { return self._s[949]! } - public var Watch_Message_Game: String { return self._s[950]! } - public var AccessDenied_MicrophoneRestricted: String { return self._s[951]! } - public var Passport_InvalidPasswordError: String { return self._s[952]! } + public var Tour_Text1: String { return self._s[940]! } + public var Month_ShortFebruary: String { return self._s[941]! } + public var TwoStepAuth_EmailSkip: String { return self._s[942]! } + public var NotificationsSound_Glass: String { return self._s[943]! } + public var Appearance_ThemeNightBlue: String { return self._s[944]! } + public var CheckoutInfo_Pay: String { return self._s[945]! } + public var Invite_LargeRecipientsCountWarning: String { return self._s[947]! } + public var Call_CallAgain: String { return self._s[949]! } + public var AttachmentMenu_SendAsFile: String { return self._s[950]! } + public var Watch_Message_Game: String { return self._s[951]! } + public var AccessDenied_MicrophoneRestricted: String { return self._s[952]! } + public var Passport_InvalidPasswordError: String { return self._s[953]! } public func PINNED_PHOTO(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[953]!, self._r[953]!, [_1]) + return formatWithArgumentRanges(self._s[954]!, self._r[954]!, [_1]) } - public var Stickers_Install: String { return self._s[954]! } - public var PrivacyLastSeenSettings_NeverShareWith: String { return self._s[955]! } - public var Passport_Identity_ResidenceCountry: String { return self._s[957]! } - public var Notifications_GroupNotificationsHelp: String { return self._s[958]! } - public var AuthSessions_OtherSessions: String { return self._s[959]! } - public var Channel_Username_Help: String { return self._s[960]! } - public var Camera_Title: String { return self._s[961]! } - public var GroupInfo_SetGroupPhotoDelete: String { return self._s[963]! } - public var Channel_AdminLog_TitleAllEvents: String { return self._s[964]! } - public var Contacts_MemberSearchSectionTitleGroup: String { return self._s[965]! } - public var Conversation_RestrictedStickers: String { return self._s[966]! } - public var Notifications_ExceptionsResetToDefaults: String { return self._s[968]! } - public var UserInfo_TelegramCall: String { return self._s[970]! } - public var TwoStepAuth_SetupResendEmailCode: String { return self._s[971]! } - public var Privacy_GroupsAndChannels_AlwaysAllow_Title: String { return self._s[972]! } - public var Passport_Identity_EditPersonalDetails: String { return self._s[973]! } + public var Stickers_Install: String { return self._s[955]! } + public var PrivacyLastSeenSettings_NeverShareWith: String { return self._s[956]! } + public var Passport_Identity_ResidenceCountry: String { return self._s[958]! } + public var Notifications_GroupNotificationsHelp: String { return self._s[959]! } + public var AuthSessions_OtherSessions: String { return self._s[960]! } + public var Channel_Username_Help: String { return self._s[961]! } + public var Camera_Title: String { return self._s[962]! } + public var GroupInfo_SetGroupPhotoDelete: String { return self._s[964]! } + public var Channel_AdminLog_TitleAllEvents: String { return self._s[965]! } + public var Contacts_MemberSearchSectionTitleGroup: String { return self._s[966]! } + public var Conversation_RestrictedStickers: String { return self._s[967]! } + public var Notifications_ExceptionsResetToDefaults: String { return self._s[969]! } + public var UserInfo_TelegramCall: String { return self._s[971]! } + public var TwoStepAuth_SetupResendEmailCode: String { return self._s[972]! } + public var Privacy_GroupsAndChannels_AlwaysAllow_Title: String { return self._s[973]! } + public var Passport_Identity_EditPersonalDetails: String { return self._s[974]! } public func Time_PreciseDate_m1(_ _1: String, _ _2: String, _ _3: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[974]!, self._r[974]!, [_1, _2, _3]) + return formatWithArgumentRanges(self._s[975]!, self._r[975]!, [_1, _2, _3]) } - public var Settings_SaveEditedPhotos: String { return self._s[975]! } - public var TwoStepAuth_ConfirmationTitle: String { return self._s[976]! } - public var Privacy_GroupsAndChannels_NeverAllow_Title: String { return self._s[977]! } - public var Conversation_MessageDialogRetry: String { return self._s[978]! } - public var Conversation_DiscardVoiceMessageAction: String { return self._s[979]! } - public var Group_Setup_TypeHeader: String { return self._s[980]! } - public var Paint_RecentStickers: String { return self._s[981]! } - public var PhotoEditor_GrainTool: String { return self._s[982]! } - public var CheckoutInfo_ShippingInfoState: String { return self._s[983]! } - public var Watch_AuthRequired: String { return self._s[985]! } + public var Settings_SaveEditedPhotos: String { return self._s[976]! } + public var TwoStepAuth_ConfirmationTitle: String { return self._s[977]! } + public var Privacy_GroupsAndChannels_NeverAllow_Title: String { return self._s[978]! } + public var Conversation_MessageDialogRetry: String { return self._s[979]! } + public var Conversation_DiscardVoiceMessageAction: String { return self._s[980]! } + public var Group_Setup_TypeHeader: String { return self._s[981]! } + public var Paint_RecentStickers: String { return self._s[982]! } + public var PhotoEditor_GrainTool: String { return self._s[983]! } + public var CheckoutInfo_ShippingInfoState: String { return self._s[984]! } + public var Watch_AuthRequired: String { return self._s[986]! } public func Passport_Email_UseTelegramEmail(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[986]!, self._r[986]!, [_0]) + return formatWithArgumentRanges(self._s[987]!, self._r[987]!, [_0]) } public func CHANNEL_MESSAGE_PHOTOS(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[987]!, self._r[987]!, [_1, _2]) + return formatWithArgumentRanges(self._s[988]!, self._r[988]!, [_1, _2]) } - public var Conversation_EncryptedDescriptionTitle: String { return self._s[988]! } - public var ChannelIntro_Text: String { return self._s[989]! } - public var DialogList_DeleteBotConfirmation: String { return self._s[990]! } - public var Calls_AddTab: String { return self._s[991]! } - public var Message_ReplyActionButtonShowReceipt: String { return self._s[992]! } - public var Channel_AdminLog_EmptyFilterText: String { return self._s[993]! } - public var Notification_MessageLifetime1d: String { return self._s[994]! } - public var Notifications_ChannelNotificationsExceptionsHelp: String { return self._s[995]! } - public var Channel_BanUser_PermissionsHeader: String { return self._s[996]! } - public var Passport_Identity_GenderFemale: String { return self._s[997]! } - public var BlockedUsers_BlockTitle: String { return self._s[998]! } + public var Conversation_EncryptedDescriptionTitle: String { return self._s[989]! } + public var ChannelIntro_Text: String { return self._s[990]! } + public var DialogList_DeleteBotConfirmation: String { return self._s[991]! } + public var Calls_AddTab: String { return self._s[992]! } + public var Message_ReplyActionButtonShowReceipt: String { return self._s[993]! } + public var Channel_AdminLog_EmptyFilterText: String { return self._s[994]! } + public var Notification_MessageLifetime1d: String { return self._s[995]! } + public var Notifications_ChannelNotificationsExceptionsHelp: String { return self._s[996]! } + public var Channel_BanUser_PermissionsHeader: String { return self._s[997]! } + public var Passport_Identity_GenderFemale: String { return self._s[998]! } + public var BlockedUsers_BlockTitle: String { return self._s[999]! } public func MESSAGE_AUDIO(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[999]!, self._r[999]!, [_1]) + return formatWithArgumentRanges(self._s[1000]!, self._r[1000]!, [_1]) } - public var Weekday_Yesterday: String { return self._s[1000]! } - public var AutoNightTheme_Scheduled: String { return self._s[1001]! } - public var PrivacyPolicy_DeclineDeleteNow: String { return self._s[1002]! } - public var Channel_Members_AddBannedErrorAdmin: String { return self._s[1003]! } + public var Weekday_Yesterday: String { return self._s[1001]! } + public var AutoNightTheme_Scheduled: String { return self._s[1002]! } + public var PrivacyPolicy_DeclineDeleteNow: String { return self._s[1003]! } + public var Channel_Members_AddBannedErrorAdmin: String { return self._s[1004]! } public func Notification_CallFormat(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1004]!, self._r[1004]!, [_1, _2]) + return formatWithArgumentRanges(self._s[1005]!, self._r[1005]!, [_1, _2]) } - public var Checkout_ErrorProviderAccountInvalid: String { return self._s[1005]! } - public var Notifications_InAppNotificationsSounds: String { return self._s[1006]! } - public var Preview_OpenInInstagram: String { return self._s[1007]! } - public var Notification_MessageLifetimeRemovedOutgoing: String { return self._s[1008]! } + public var Checkout_ErrorProviderAccountInvalid: String { return self._s[1006]! } + public var Notifications_InAppNotificationsSounds: String { return self._s[1007]! } + public var Preview_OpenInInstagram: String { return self._s[1008]! } + public var Notification_MessageLifetimeRemovedOutgoing: String { return self._s[1009]! } public func Passport_PrivacyPolicy(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1009]!, self._r[1009]!, [_1, _2]) + return formatWithArgumentRanges(self._s[1010]!, self._r[1010]!, [_1, _2]) } - public var Channel_AdminLog_InfoPanelAlertTitle: String { return self._s[1010]! } - public var NetworkUsageSettings_TotalSection: String { return self._s[1011]! } - public var Channel_Setup_TypePrivateHelp: String { return self._s[1012]! } - public var Wallpaper_PhotoLibrary: String { return self._s[1014]! } - public var Privacy_GroupsAndChannels_NeverAllow_Placeholder: String { return self._s[1015]! } - public var FastTwoStepSetup_HintSection: String { return self._s[1016]! } - public var TwoStepAuth_SetupResendEmailCodeAlert: String { return self._s[1017]! } - public var Watch_LastSeen_WithinAMonth: String { return self._s[1018]! } - public var GroupInfo_ActionPromote: String { return self._s[1019]! } - public var PasscodeSettings_SimplePasscode: String { return self._s[1020]! } - public var Permissions_ContactsText_v0: String { return self._s[1021]! } - public var PrivacySettings_DataSettingsHelp: String { return self._s[1024]! } - public var Passport_FieldEmailHelp: String { return self._s[1025]! } - public var Passport_Identity_GenderPlaceholder: String { return self._s[1026]! } - public var Weekday_ShortSaturday: String { return self._s[1027]! } - public var ContactInfo_PhoneLabelMain: String { return self._s[1028]! } - public var Watch_Conversation_UserInfo: String { return self._s[1029]! } - public var CheckoutInfo_ShippingInfoCityPlaceholder: String { return self._s[1030]! } - public var PrivacyLastSeenSettings_Title: String { return self._s[1031]! } - public var Conversation_ShareBotLocationConfirmation: String { return self._s[1032]! } - public var PhotoEditor_VignetteTool: String { return self._s[1033]! } - public var Passport_Address_Street1Placeholder: String { return self._s[1034]! } - public var Passport_Language_et: String { return self._s[1035]! } - public var Passport_Language_bg: String { return self._s[1036]! } - public var Stickers_NoStickersFound: String { return self._s[1038]! } - public var Settings_About: String { return self._s[1039]! } + public var Channel_AdminLog_InfoPanelAlertTitle: String { return self._s[1011]! } + public var NetworkUsageSettings_TotalSection: String { return self._s[1012]! } + public var Channel_Setup_TypePrivateHelp: String { return self._s[1013]! } + public var Wallpaper_PhotoLibrary: String { return self._s[1015]! } + public var Privacy_GroupsAndChannels_NeverAllow_Placeholder: String { return self._s[1016]! } + public var FastTwoStepSetup_HintSection: String { return self._s[1017]! } + public var TwoStepAuth_SetupResendEmailCodeAlert: String { return self._s[1018]! } + public var Watch_LastSeen_WithinAMonth: String { return self._s[1019]! } + public var GroupInfo_ActionPromote: String { return self._s[1020]! } + public var PasscodeSettings_SimplePasscode: String { return self._s[1021]! } + public var Permissions_ContactsText_v0: String { return self._s[1022]! } + public var PrivacySettings_DataSettingsHelp: String { return self._s[1025]! } + public var Passport_FieldEmailHelp: String { return self._s[1026]! } + public var Passport_Identity_GenderPlaceholder: String { return self._s[1027]! } + public var Weekday_ShortSaturday: String { return self._s[1028]! } + public var ContactInfo_PhoneLabelMain: String { return self._s[1029]! } + public var Watch_Conversation_UserInfo: String { return self._s[1030]! } + public var CheckoutInfo_ShippingInfoCityPlaceholder: String { return self._s[1031]! } + public var PrivacyLastSeenSettings_Title: String { return self._s[1032]! } + public var Conversation_ShareBotLocationConfirmation: String { return self._s[1033]! } + public var PhotoEditor_VignetteTool: String { return self._s[1034]! } + public var Passport_Address_Street1Placeholder: String { return self._s[1035]! } + public var Passport_Language_et: String { return self._s[1036]! } + public var Passport_Language_bg: String { return self._s[1037]! } + public var Stickers_NoStickersFound: String { return self._s[1039]! } + public var Settings_About: String { return self._s[1040]! } public func Channel_AdminLog_MessageRestricted(_ _0: String, _ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1040]!, self._r[1040]!, [_0, _1, _2]) + return formatWithArgumentRanges(self._s[1041]!, self._r[1041]!, [_0, _1, _2]) } - public var KeyCommand_NewMessage: String { return self._s[1042]! } - public var Group_ErrorAddBlocked: String { return self._s[1043]! } + public var KeyCommand_NewMessage: String { return self._s[1043]! } + public var Group_ErrorAddBlocked: String { return self._s[1044]! } public func Message_PaymentSent(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1044]!, self._r[1044]!, [_0]) + return formatWithArgumentRanges(self._s[1045]!, self._r[1045]!, [_0]) } - public var Map_LocationTitle: String { return self._s[1045]! } - public var CallSettings_UseLessDataLongDescription: String { return self._s[1046]! } - public var Cache_ClearProgress: String { return self._s[1047]! } + public var Map_LocationTitle: String { return self._s[1046]! } + public var CallSettings_UseLessDataLongDescription: String { return self._s[1047]! } + public var Cache_ClearProgress: String { return self._s[1048]! } public func Channel_Management_ErrorNotMember(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1048]!, self._r[1048]!, [_0]) + return formatWithArgumentRanges(self._s[1049]!, self._r[1049]!, [_0]) } - public var Passport_UpdateRequiredError: String { return self._s[1049]! } - public var Passport_Identity_MainPageHelp: String { return self._s[1051]! } - public var Conversation_StatusKickedFromGroup: String { return self._s[1052]! } - public var Passport_Language_ka: String { return self._s[1053]! } - public var Call_Decline: String { return self._s[1054]! } - public var SocksProxySetup_ProxyEnabled: String { return self._s[1055]! } + public var Passport_UpdateRequiredError: String { return self._s[1050]! } + public var Passport_Identity_MainPageHelp: String { return self._s[1052]! } + public var Conversation_StatusKickedFromGroup: String { return self._s[1053]! } + public var Passport_Language_ka: String { return self._s[1054]! } + public var Call_Decline: String { return self._s[1055]! } + public var SocksProxySetup_ProxyEnabled: String { return self._s[1056]! } public func AuthCode_Alert(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1058]!, self._r[1058]!, [_0]) + return formatWithArgumentRanges(self._s[1059]!, self._r[1059]!, [_0]) } public func Channel_AdminLog_MessagePromotedNameUsername(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1059]!, self._r[1059]!, [_1, _2]) + return formatWithArgumentRanges(self._s[1060]!, self._r[1060]!, [_1, _2]) } - public var Passport_Phone_UseTelegramNumberHelp: String { return self._s[1060]! } - public var Passport_DeletePassport: String { return self._s[1062]! } - public var Privacy_Calls_P2PAlways: String { return self._s[1063]! } - public var Month_ShortDecember: String { return self._s[1064]! } - public var Channel_AdminLog_CanEditMessages: String { return self._s[1066]! } + public var Passport_Phone_UseTelegramNumberHelp: String { return self._s[1061]! } + public var Passport_DeletePassport: String { return self._s[1063]! } + public var Privacy_Calls_P2PAlways: String { return self._s[1064]! } + public var Month_ShortDecember: String { return self._s[1065]! } + public var Channel_AdminLog_CanEditMessages: String { return self._s[1067]! } public func Contacts_AccessDeniedHelpLandscape(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1067]!, self._r[1067]!, [_0]) + return formatWithArgumentRanges(self._s[1068]!, self._r[1068]!, [_0]) } - public var Channel_Stickers_Searching: String { return self._s[1068]! } - public var Conversation_EncryptedDescription1: String { return self._s[1069]! } - public var Conversation_EncryptedDescription2: String { return self._s[1070]! } - public var Conversation_EncryptedDescription3: String { return self._s[1071]! } - public var PhotoEditor_SharpenTool: String { return self._s[1072]! } + public var Channel_Stickers_Searching: String { return self._s[1069]! } + public var Conversation_EncryptedDescription1: String { return self._s[1070]! } + public var Conversation_EncryptedDescription2: String { return self._s[1071]! } + public var Conversation_EncryptedDescription3: String { return self._s[1072]! } + public var PhotoEditor_SharpenTool: String { return self._s[1073]! } public func ENCRYPTED_MESSAGE(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1073]!, self._r[1073]!, [_1]) + return formatWithArgumentRanges(self._s[1074]!, self._r[1074]!, [_1]) } - public var Conversation_EncryptedDescription4: String { return self._s[1075]! } - public var Channel_Members_AddMembers: String { return self._s[1076]! } - public var Weekday_Friday: String { return self._s[1077]! } - public var Privacy_ContactsSync: String { return self._s[1078]! } - public var ApplyLanguage_ChangeLanguageAction: String { return self._s[1079]! } + public var Conversation_EncryptedDescription4: String { return self._s[1076]! } + public var Channel_Members_AddMembers: String { return self._s[1077]! } + public var Weekday_Friday: String { return self._s[1078]! } + public var Privacy_ContactsSync: String { return self._s[1079]! } + public var ApplyLanguage_ChangeLanguageAction: String { return self._s[1080]! } public func Channel_Management_RestrictedBy(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1080]!, self._r[1080]!, [_0]) + return formatWithArgumentRanges(self._s[1081]!, self._r[1081]!, [_0]) } - public var Passport_Identity_GenderMale: String { return self._s[1081]! } + public var Passport_Identity_GenderMale: String { return self._s[1082]! } public func Call_StatusBar(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1082]!, self._r[1082]!, [_0]) + return formatWithArgumentRanges(self._s[1083]!, self._r[1083]!, [_0]) } - public var Conversation_JumpToDate: String { return self._s[1083]! } - public var Contacts_GlobalSearch: String { return self._s[1084]! } - public var AutoDownloadSettings_ResetHelp: String { return self._s[1085]! } - public var Profile_MessageLifetime1d: String { return self._s[1086]! } + public var Conversation_JumpToDate: String { return self._s[1084]! } + public var Contacts_GlobalSearch: String { return self._s[1085]! } + public var AutoDownloadSettings_ResetHelp: String { return self._s[1086]! } + public var Profile_MessageLifetime1d: String { return self._s[1087]! } public func MESSAGE_INVOICE(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1087]!, self._r[1087]!, [_1, _2]) + return formatWithArgumentRanges(self._s[1088]!, self._r[1088]!, [_1, _2]) } - public var StickerPack_BuiltinPackName: String { return self._s[1090]! } - public var Passport_InfoTitle: String { return self._s[1092]! } - public var Notifications_PermissionsUnreachableText: String { return self._s[1093]! } + public var StickerPack_BuiltinPackName: String { return self._s[1091]! } + public var Passport_InfoTitle: String { return self._s[1093]! } + public var Notifications_PermissionsUnreachableText: String { return self._s[1094]! } public func NetworkUsageSettings_CellularUsageSince(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1097]!, self._r[1097]!, [_0]) + return formatWithArgumentRanges(self._s[1098]!, self._r[1098]!, [_0]) } - public var Passport_Address_TypePassportRegistrationUploadScan: String { return self._s[1098]! } - public var Profile_BotInfo: String { return self._s[1099]! } - public var Watch_Compose_CreateMessage: String { return self._s[1100]! } - public var Month_ShortNovember: String { return self._s[1101]! } + public var Passport_Address_TypePassportRegistrationUploadScan: String { return self._s[1099]! } + public var Profile_BotInfo: String { return self._s[1100]! } + public var Watch_Compose_CreateMessage: String { return self._s[1101]! } + public var Month_ShortNovember: String { return self._s[1102]! } public func PHONE_CALL_REQUEST(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1102]!, self._r[1102]!, [_1]) - } - public func ENCRYPTION_REQUEST(_ _1: String) -> (String, [(Int, NSRange)]) { return formatWithArgumentRanges(self._s[1103]!, self._r[1103]!, [_1]) } - public var Passport_Identity_TranslationsHelp: String { return self._s[1104]! } - public var NotificationsSound_Chime: String { return self._s[1105]! } - public var Passport_Language_ko: String { return self._s[1107]! } - public var InviteText_URL: String { return self._s[1108]! } - public var TextFormat_Monospace: String { return self._s[1109]! } + public func ENCRYPTION_REQUEST(_ _1: String) -> (String, [(Int, NSRange)]) { + return formatWithArgumentRanges(self._s[1104]!, self._r[1104]!, [_1]) + } + public var Passport_Identity_TranslationsHelp: String { return self._s[1105]! } + public var NotificationsSound_Chime: String { return self._s[1106]! } + public var Passport_Language_ko: String { return self._s[1108]! } + public var InviteText_URL: String { return self._s[1109]! } + public var TextFormat_Monospace: String { return self._s[1110]! } public func Time_PreciseDate_m11(_ _1: String, _ _2: String, _ _3: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1110]!, self._r[1110]!, [_1, _2, _3]) + return formatWithArgumentRanges(self._s[1111]!, self._r[1111]!, [_1, _2, _3]) } public func Login_WillSendSms(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1111]!, self._r[1111]!, [_0]) + return formatWithArgumentRanges(self._s[1112]!, self._r[1112]!, [_0]) } public func Watch_Time_ShortWeekdayAt(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1112]!, self._r[1112]!, [_1, _2]) + return formatWithArgumentRanges(self._s[1113]!, self._r[1113]!, [_1, _2]) } - public var Passport_InfoLearnMore: String { return self._s[1114]! } - public var TwoStepAuth_EmailPlaceholder: String { return self._s[1115]! } - public var Passport_Identity_AddIdentityCard: String { return self._s[1116]! } - public var Your_card_has_expired: String { return self._s[1117]! } - public var StickerPacksSettings_StickerPacksSection: String { return self._s[1118]! } - public var GroupInfo_InviteLink_Help: String { return self._s[1119]! } - public var Conversation_Report: String { return self._s[1122]! } - public var Notifications_MessageNotificationsSound: String { return self._s[1123]! } - public var Notification_MessageLifetime1m: String { return self._s[1124]! } - public var Privacy_ContactsTitle: String { return self._s[1125]! } - public var Conversation_ShareMyContactInfo: String { return self._s[1126]! } - public var ChannelMembers_WhoCanAddMembersAdminsHelp: String { return self._s[1127]! } - public var Channel_Members_Title: String { return self._s[1128]! } - public var Map_OpenInWaze: String { return self._s[1129]! } - public var Login_PhoneBannedError: String { return self._s[1130]! } + public var Passport_InfoLearnMore: String { return self._s[1115]! } + public var TwoStepAuth_EmailPlaceholder: String { return self._s[1116]! } + public var Passport_Identity_AddIdentityCard: String { return self._s[1117]! } + public var Your_card_has_expired: String { return self._s[1118]! } + public var StickerPacksSettings_StickerPacksSection: String { return self._s[1119]! } + public var GroupInfo_InviteLink_Help: String { return self._s[1120]! } + public var Conversation_Report: String { return self._s[1123]! } + public var Notifications_MessageNotificationsSound: String { return self._s[1124]! } + public var Notification_MessageLifetime1m: String { return self._s[1125]! } + public var Privacy_ContactsTitle: String { return self._s[1126]! } + public var Conversation_ShareMyContactInfo: String { return self._s[1127]! } + public var ChannelMembers_WhoCanAddMembersAdminsHelp: String { return self._s[1128]! } + public var Channel_Members_Title: String { return self._s[1129]! } + public var Map_OpenInWaze: String { return self._s[1130]! } + public var Login_PhoneBannedError: String { return self._s[1131]! } public func LiveLocationUpdated_YesterdayAt(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1131]!, self._r[1131]!, [_0]) + return formatWithArgumentRanges(self._s[1132]!, self._r[1132]!, [_0]) } public func MESSAGE_PHOTO(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1132]!, self._r[1132]!, [_1]) + return formatWithArgumentRanges(self._s[1133]!, self._r[1133]!, [_1]) } - public var Group_Management_AddModeratorHelp: String { return self._s[1133]! } - public var Common_OK: String { return self._s[1134]! } - public var Passport_Address_TypeBankStatementUploadScan: String { return self._s[1135]! } - public var Cache_Music: String { return self._s[1136]! } - public var PasscodeSettings_UnlockWithTouchId: String { return self._s[1137]! } - public var TwoStepAuth_HintPlaceholder: String { return self._s[1138]! } + public var Group_Management_AddModeratorHelp: String { return self._s[1134]! } + public var Common_OK: String { return self._s[1135]! } + public var Passport_Address_TypeBankStatementUploadScan: String { return self._s[1136]! } + public var Cache_Music: String { return self._s[1137]! } + public var PasscodeSettings_UnlockWithTouchId: String { return self._s[1138]! } + public var TwoStepAuth_HintPlaceholder: String { return self._s[1139]! } public func Passport_RequestHeader(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1139]!, self._r[1139]!, [_0]) + return formatWithArgumentRanges(self._s[1140]!, self._r[1140]!, [_0]) } - public var Watch_MessageView_ViewOnPhone: String { return self._s[1141]! } - public var Privacy_Calls_CustomShareHelp: String { return self._s[1142]! } - public var ChangePhoneNumberNumber_Title: String { return self._s[1144]! } - public var State_ConnectingToProxyInfo: String { return self._s[1145]! } - public var Message_VideoMessage: String { return self._s[1147]! } - public var ChannelInfo_DeleteChannel: String { return self._s[1148]! } - public var ContactInfo_PhoneLabelOther: String { return self._s[1149]! } - public var Channel_EditAdmin_CannotEdit: String { return self._s[1150]! } - public var Passport_DeleteAddressConfirmation: String { return self._s[1151]! } - public var Activity_RecordingAudio: String { return self._s[1152]! } - public var PasscodeSettings_TryAgainIn1Minute: String { return self._s[1153]! } + public var Watch_MessageView_ViewOnPhone: String { return self._s[1142]! } + public var Privacy_Calls_CustomShareHelp: String { return self._s[1143]! } + public var ChangePhoneNumberNumber_Title: String { return self._s[1145]! } + public var State_ConnectingToProxyInfo: String { return self._s[1146]! } + public var Message_VideoMessage: String { return self._s[1148]! } + public var ChannelInfo_DeleteChannel: String { return self._s[1149]! } + public var ContactInfo_PhoneLabelOther: String { return self._s[1150]! } + public var Channel_EditAdmin_CannotEdit: String { return self._s[1151]! } + public var Passport_DeleteAddressConfirmation: String { return self._s[1152]! } + public var Activity_RecordingAudio: String { return self._s[1153]! } + public var PasscodeSettings_TryAgainIn1Minute: String { return self._s[1154]! } public func Notification_ChangedGroupName(_ _0: String, _ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1155]!, self._r[1155]!, [_0, _1]) + return formatWithArgumentRanges(self._s[1156]!, self._r[1156]!, [_0, _1]) } - public var Conversation_ApplyLocalization: String { return self._s[1158]! } - public var UserInfo_AddPhone: String { return self._s[1159]! } - public var Map_ShareLiveLocationHelp: String { return self._s[1160]! } + public var Conversation_ApplyLocalization: String { return self._s[1159]! } + public var UserInfo_AddPhone: String { return self._s[1160]! } + public var Map_ShareLiveLocationHelp: String { return self._s[1161]! } public func Passport_Identity_NativeNameGenericHelp(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1161]!, self._r[1161]!, [_0]) + return formatWithArgumentRanges(self._s[1162]!, self._r[1162]!, [_0]) } - public var Passport_Scans: String { return self._s[1163]! } - public var BlockedUsers_Unblock: String { return self._s[1164]! } - public var Channel_Management_LabelCreator: String { return self._s[1165]! } - public var Passport_Identity_NativeNameGenericTitle: String { return self._s[1166]! } + public var Passport_Scans: String { return self._s[1164]! } + public var BlockedUsers_Unblock: String { return self._s[1165]! } + public var Channel_Management_LabelCreator: String { return self._s[1166]! } + public var Passport_Identity_NativeNameGenericTitle: String { return self._s[1167]! } public func Login_EmailPhoneBody(_ _0: String, _ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1167]!, self._r[1167]!, [_0, _1, _2]) + return formatWithArgumentRanges(self._s[1168]!, self._r[1168]!, [_0, _1, _2]) } - public var Login_PhoneNumberHelp: String { return self._s[1168]! } - public var LastSeen_ALongTimeAgo: String { return self._s[1169]! } - public var Channel_AdminLog_CanPinMessages: String { return self._s[1170]! } - public var ChannelIntro_CreateChannel: String { return self._s[1171]! } - public var Conversation_UnreadMessages: String { return self._s[1172]! } - public var Channel_AdminLog_EmptyText: String { return self._s[1173]! } - public var Notification_GroupActivated: String { return self._s[1174]! } + public var Login_PhoneNumberHelp: String { return self._s[1169]! } + public var LastSeen_ALongTimeAgo: String { return self._s[1170]! } + public var Channel_AdminLog_CanPinMessages: String { return self._s[1171]! } + public var ChannelIntro_CreateChannel: String { return self._s[1172]! } + public var Conversation_UnreadMessages: String { return self._s[1173]! } + public var Channel_AdminLog_EmptyText: String { return self._s[1174]! } + public var Notification_GroupActivated: String { return self._s[1175]! } public func Notification_PinnedContactMessage(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1175]!, self._r[1175]!, [_0]) + return formatWithArgumentRanges(self._s[1176]!, self._r[1176]!, [_0]) } public func DownloadingStatus(_ _0: String, _ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1176]!, self._r[1176]!, [_0, _1]) + return formatWithArgumentRanges(self._s[1177]!, self._r[1177]!, [_0, _1]) } - public var GroupInfo_ConvertToSupergroup: String { return self._s[1178]! } + public var GroupInfo_ConvertToSupergroup: String { return self._s[1179]! } public func PrivacyPolicy_AgeVerificationMessage(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1179]!, self._r[1179]!, [_0]) + return formatWithArgumentRanges(self._s[1180]!, self._r[1180]!, [_0]) } - public var Document_TargetConfirmationFormat: String { return self._s[1180]! } + public var Document_TargetConfirmationFormat: String { return self._s[1181]! } public func Call_StatusOngoing(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1181]!, self._r[1181]!, [_0]) + return formatWithArgumentRanges(self._s[1182]!, self._r[1182]!, [_0]) } public func CHAT_MESSAGE_INVOICE(_ _1: String, _ _2: String, _ _3: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1183]!, self._r[1183]!, [_1, _2, _3]) + return formatWithArgumentRanges(self._s[1184]!, self._r[1184]!, [_1, _2, _3]) } - public var Conversation_ClearSelfHistory: String { return self._s[1184]! } - public var Checkout_NewCard_PostcodePlaceholder: String { return self._s[1185]! } - public var Stickers_SuggestNone: String { return self._s[1186]! } - public var Settings_SaveIncomingPhotos: String { return self._s[1187]! } - public var Media_ShareThisPhoto: String { return self._s[1188]! } - public var InfoPlist_NSContactsUsageDescription: String { return self._s[1189]! } - public var Conversation_ContextMenuCopyLink: String { return self._s[1190]! } - public var PrivacyPolicy_AgeVerificationTitle: String { return self._s[1191]! } - public var TwoStepAuth_SetupPasswordEnterPasswordNew: String { return self._s[1192]! } - public var Permissions_CellularDataTitle_v0: String { return self._s[1193]! } - public var Map_OpenIn: String { return self._s[1194]! } + public var Conversation_ClearSelfHistory: String { return self._s[1185]! } + public var Checkout_NewCard_PostcodePlaceholder: String { return self._s[1186]! } + public var Stickers_SuggestNone: String { return self._s[1187]! } + public var Settings_SaveIncomingPhotos: String { return self._s[1188]! } + public var Media_ShareThisPhoto: String { return self._s[1189]! } + public var InfoPlist_NSContactsUsageDescription: String { return self._s[1190]! } + public var Conversation_ContextMenuCopyLink: String { return self._s[1191]! } + public var PrivacyPolicy_AgeVerificationTitle: String { return self._s[1192]! } + public var TwoStepAuth_SetupPasswordEnterPasswordNew: String { return self._s[1193]! } + public var Permissions_CellularDataTitle_v0: String { return self._s[1194]! } + public var Map_OpenIn: String { return self._s[1195]! } public func ChannelInfo_AddParticipantConfirmation(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1197]!, self._r[1197]!, [_0]) + return formatWithArgumentRanges(self._s[1198]!, self._r[1198]!, [_0]) } - public var Passport_Identity_MiddleNamePlaceholder: String { return self._s[1199]! } - public var UserInfo_FirstNamePlaceholder: String { return self._s[1200]! } - public var PrivacyLastSeenSettings_WhoCanSeeMyTimestamp: String { return self._s[1201]! } - public var Login_SelectCountry_Title: String { return self._s[1202]! } - public var Channel_EditAdmin_PermissionBanUsers: String { return self._s[1203]! } - public var Watch_Suggestion_BRB: String { return self._s[1204]! } - public var Contacts_PermissionsTitle: String { return self._s[1205]! } - public var Passport_Identity_EditIdentityCard: String { return self._s[1206]! } - public var Conversation_RestrictedInline: String { return self._s[1207]! } - public var StickerPack_ViewPack: String { return self._s[1209]! } + public var Passport_Identity_MiddleNamePlaceholder: String { return self._s[1200]! } + public var UserInfo_FirstNamePlaceholder: String { return self._s[1201]! } + public var PrivacyLastSeenSettings_WhoCanSeeMyTimestamp: String { return self._s[1202]! } + public var Login_SelectCountry_Title: String { return self._s[1203]! } + public var Channel_EditAdmin_PermissionBanUsers: String { return self._s[1204]! } + public var Watch_Suggestion_BRB: String { return self._s[1205]! } + public var Contacts_PermissionsTitle: String { return self._s[1206]! } + public var Passport_Identity_EditIdentityCard: String { return self._s[1207]! } + public var Conversation_RestrictedInline: String { return self._s[1208]! } + public var StickerPack_ViewPack: String { return self._s[1210]! } public func Update_AppVersion(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1210]!, self._r[1210]!, [_0]) + return formatWithArgumentRanges(self._s[1211]!, self._r[1211]!, [_0]) } - public var Compose_NewChannel: String { return self._s[1212]! } - public var Channel_Info_Stickers: String { return self._s[1216]! } - public var AutoNightTheme_PreferredTheme: String { return self._s[1217]! } - public var PrivacyPolicy_AgeVerificationAgree: String { return self._s[1218]! } - public var Passport_DeletePersonalDetails: String { return self._s[1219]! } - public var Conversation_SearchNoResults: String { return self._s[1221]! } - public var Channel_Members_AddAdminErrorNotAMember: String { return self._s[1222]! } - public var Login_Code: String { return self._s[1223]! } - public var Watch_Suggestion_WhatsUp: String { return self._s[1224]! } - public var Weekday_ShortThursday: String { return self._s[1225]! } - public var Resolve_ErrorNotFound: String { return self._s[1226]! } - public var LastSeen_Offline: String { return self._s[1227]! } - public var Privacy_Calls_AlwaysAllow_Title: String { return self._s[1228]! } - public var Channel_AdminLog_CanChangeInviteLink: String { return self._s[1229]! } - public var GroupInfo_Title: String { return self._s[1230]! } - public var NotificationsSound_Note: String { return self._s[1231]! } - public var Conversation_EditingMessagePanelTitle: String { return self._s[1232]! } - public var Privacy_Calls: String { return self._s[1233]! } - public var Month_ShortAugust: String { return self._s[1234]! } - public var TwoStepAuth_SetPasswordHelp: String { return self._s[1235]! } - public var Notifications_Reset: String { return self._s[1236]! } - public var Conversation_Pin: String { return self._s[1237]! } - public var Passport_Language_lv: String { return self._s[1238]! } - public var BlockedUsers_Info: String { return self._s[1239]! } - public var Watch_Conversation_Unblock: String { return self._s[1242]! } + public var Compose_NewChannel: String { return self._s[1213]! } + public var Channel_Info_Stickers: String { return self._s[1217]! } + public var AutoNightTheme_PreferredTheme: String { return self._s[1218]! } + public var PrivacyPolicy_AgeVerificationAgree: String { return self._s[1219]! } + public var Passport_DeletePersonalDetails: String { return self._s[1220]! } + public var Conversation_SearchNoResults: String { return self._s[1222]! } + public var Channel_Members_AddAdminErrorNotAMember: String { return self._s[1223]! } + public var Login_Code: String { return self._s[1224]! } + public var Watch_Suggestion_WhatsUp: String { return self._s[1225]! } + public var Weekday_ShortThursday: String { return self._s[1226]! } + public var Resolve_ErrorNotFound: String { return self._s[1227]! } + public var LastSeen_Offline: String { return self._s[1228]! } + public var Privacy_Calls_AlwaysAllow_Title: String { return self._s[1229]! } + public var Channel_AdminLog_CanChangeInviteLink: String { return self._s[1230]! } + public var GroupInfo_Title: String { return self._s[1231]! } + public var NotificationsSound_Note: String { return self._s[1232]! } + public var Conversation_EditingMessagePanelTitle: String { return self._s[1233]! } + public var Privacy_Calls: String { return self._s[1234]! } + public var Month_ShortAugust: String { return self._s[1235]! } + public var TwoStepAuth_SetPasswordHelp: String { return self._s[1236]! } + public var Notifications_Reset: String { return self._s[1237]! } + public var Conversation_Pin: String { return self._s[1238]! } + public var Passport_Language_lv: String { return self._s[1239]! } + public var BlockedUsers_Info: String { return self._s[1240]! } + public var Watch_Conversation_Unblock: String { return self._s[1243]! } public func Time_MonthOfYear_m9(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1243]!, self._r[1243]!, [_0]) + return formatWithArgumentRanges(self._s[1244]!, self._r[1244]!, [_0]) } - public var CloudStorage_Title: String { return self._s[1244]! } - public var GroupInfo_DeleteAndExitConfirmation: String { return self._s[1245]! } - public var TwoStepAuth_RecoveryEmailTitle: String { return self._s[1246]! } + public var CloudStorage_Title: String { return self._s[1245]! } + public var GroupInfo_DeleteAndExitConfirmation: String { return self._s[1246]! } + public var TwoStepAuth_RecoveryEmailTitle: String { return self._s[1247]! } public func NetworkUsageSettings_WifiUsageSince(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1247]!, self._r[1247]!, [_0]) + return formatWithArgumentRanges(self._s[1248]!, self._r[1248]!, [_0]) } - public var Watch_Suggestion_OnMyWay: String { return self._s[1248]! } - public var Channel_AdminLogFilter_AdminsTitle: String { return self._s[1249]! } - public var Passport_Address_EditBankStatement: String { return self._s[1250]! } - public var ChatSettings_DownloadInBackgroundInfo: String { return self._s[1251]! } - public var ShareMenu_Comment: String { return self._s[1252]! } - public var Permissions_ContactsTitle_v0: String { return self._s[1253]! } - public var Notifications_PermissionsTitle: String { return self._s[1254]! } - public var Settings_Support: String { return self._s[1255]! } - public var Notifications_ChannelNotificationsSound: String { return self._s[1256]! } - public var Channel_AdminLog_BanSendGifs: String { return self._s[1257]! } - public var Watch_Stickers_StickerPacks: String { return self._s[1258]! } - public var Common_Select: String { return self._s[1260]! } - public var CheckoutInfo_ErrorEmailInvalid: String { return self._s[1261]! } - public var ChatAdmins_AllMembersAreAdminsOffHelp: String { return self._s[1263]! } - public var PasscodeSettings_AutoLock_IfAwayFor_5hours: String { return self._s[1264]! } - public var Appearance_PreviewReplyAuthor: String { return self._s[1265]! } - public var TwoStepAuth_RecoveryTitle: String { return self._s[1266]! } - public var Widget_AuthRequired: String { return self._s[1267]! } - public var Camera_FlashOn: String { return self._s[1268]! } - public var Channel_Stickers_NotFoundHelp: String { return self._s[1269]! } - public var Watch_Suggestion_OK: String { return self._s[1270]! } + public var Watch_Suggestion_OnMyWay: String { return self._s[1249]! } + public var Channel_AdminLogFilter_AdminsTitle: String { return self._s[1250]! } + public var Passport_Address_EditBankStatement: String { return self._s[1251]! } + public var ChatSettings_DownloadInBackgroundInfo: String { return self._s[1252]! } + public var ShareMenu_Comment: String { return self._s[1253]! } + public var Permissions_ContactsTitle_v0: String { return self._s[1254]! } + public var Notifications_PermissionsTitle: String { return self._s[1255]! } + public var Settings_Support: String { return self._s[1256]! } + public var Notifications_ChannelNotificationsSound: String { return self._s[1257]! } + public var Channel_AdminLog_BanSendGifs: String { return self._s[1258]! } + public var Watch_Stickers_StickerPacks: String { return self._s[1259]! } + public var Common_Select: String { return self._s[1261]! } + public var CheckoutInfo_ErrorEmailInvalid: String { return self._s[1262]! } + public var ChatAdmins_AllMembersAreAdminsOffHelp: String { return self._s[1264]! } + public var PasscodeSettings_AutoLock_IfAwayFor_5hours: String { return self._s[1265]! } + public var Appearance_PreviewReplyAuthor: String { return self._s[1266]! } + public var TwoStepAuth_RecoveryTitle: String { return self._s[1267]! } + public var Widget_AuthRequired: String { return self._s[1268]! } + public var Camera_FlashOn: String { return self._s[1269]! } + public var Channel_Stickers_NotFoundHelp: String { return self._s[1270]! } + public var Watch_Suggestion_OK: String { return self._s[1271]! } public func Username_LinkHint(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1272]!, self._r[1272]!, [_0]) - } - public func Notification_PinnedLiveLocationMessage(_ _0: String) -> (String, [(Int, NSRange)]) { return formatWithArgumentRanges(self._s[1273]!, self._r[1273]!, [_0]) } - public var DialogList_AdLabel: String { return self._s[1274]! } - public var WatchRemote_NotificationText: String { return self._s[1275]! } - public var Conversation_ReportSpam: String { return self._s[1276]! } - public var Settings_LogoutConfirmationTitle: String { return self._s[1278]! } - public var PhoneLabel_Title: String { return self._s[1279]! } - public var Passport_Address_EditRentalAgreement: String { return self._s[1280]! } - public var Notifications_ExceptionsTitle: String { return self._s[1281]! } + public func Notification_PinnedLiveLocationMessage(_ _0: String) -> (String, [(Int, NSRange)]) { + return formatWithArgumentRanges(self._s[1274]!, self._r[1274]!, [_0]) + } + public var DialogList_AdLabel: String { return self._s[1275]! } + public var WatchRemote_NotificationText: String { return self._s[1276]! } + public var Conversation_ReportSpam: String { return self._s[1277]! } + public var Settings_LogoutConfirmationTitle: String { return self._s[1279]! } + public var PhoneLabel_Title: String { return self._s[1280]! } + public var Passport_Address_EditRentalAgreement: String { return self._s[1281]! } + public var Notifications_ExceptionsTitle: String { return self._s[1282]! } public func CHANNEL_MESSAGE_PHOTO(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1282]!, self._r[1282]!, [_1]) + return formatWithArgumentRanges(self._s[1283]!, self._r[1283]!, [_1]) } - public var Notifications_AlertTones: String { return self._s[1283]! } - public var Call_ReportIncludeLogDescription: String { return self._s[1284]! } + public var Notifications_AlertTones: String { return self._s[1284]! } + public var Call_ReportIncludeLogDescription: String { return self._s[1285]! } public func CHAT_ADD_MEMBER(_ _1: String, _ _2: String, _ _3: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1285]!, self._r[1285]!, [_1, _2, _3]) + return formatWithArgumentRanges(self._s[1286]!, self._r[1286]!, [_1, _2, _3]) } - public var AutoDownloadSettings_PrivateChats: String { return self._s[1286]! } - public var TwoStepAuth_AddHintTitle: String { return self._s[1288]! } - public var ReportPeer_ReasonOther: String { return self._s[1289]! } - public var KeyCommand_ScrollDown: String { return self._s[1291]! } + public var AutoDownloadSettings_PrivateChats: String { return self._s[1287]! } + public var TwoStepAuth_AddHintTitle: String { return self._s[1289]! } + public var ReportPeer_ReasonOther: String { return self._s[1290]! } + public var KeyCommand_ScrollDown: String { return self._s[1292]! } public func Login_BannedPhoneSubject(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1292]!, self._r[1292]!, [_0]) + return formatWithArgumentRanges(self._s[1293]!, self._r[1293]!, [_0]) } - public var NetworkUsageSettings_MediaVideoDataSection: String { return self._s[1293]! } - public var ChannelInfo_DeleteGroupConfirmation: String { return self._s[1294]! } - public var AuthSessions_LogOut: String { return self._s[1295]! } - public var Passport_Identity_TypeInternalPassport: String { return self._s[1296]! } - public var ChatSettings_AutoDownloadVoiceMessages: String { return self._s[1297]! } + public var NetworkUsageSettings_MediaVideoDataSection: String { return self._s[1294]! } + public var ChannelInfo_DeleteGroupConfirmation: String { return self._s[1295]! } + public var AuthSessions_LogOut: String { return self._s[1296]! } + public var Passport_Identity_TypeInternalPassport: String { return self._s[1297]! } + public var ChatSettings_AutoDownloadVoiceMessages: String { return self._s[1298]! } public func CHAT_MESSAGE_DOC(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1298]!, self._r[1298]!, [_1, _2]) + return formatWithArgumentRanges(self._s[1299]!, self._r[1299]!, [_1, _2]) } - public var Passport_Phone_Title: String { return self._s[1299]! } - public var Settings_PhoneNumber: String { return self._s[1300]! } - public var NotificationsSound_Alert: String { return self._s[1301]! } - public var PhotoEditor_CurvesTool: String { return self._s[1303]! } - public var Checkout_PaymentMethod: String { return self._s[1305]! } - public var Contacts_AccessDeniedError: String { return self._s[1306]! } - public var Camera_PhotoMode: String { return self._s[1309]! } - public var Passport_Address_AddUtilityBill: String { return self._s[1310]! } - public var CallSettings_OnMobile: String { return self._s[1311]! } - public var Tour_Text2: String { return self._s[1312]! } - public var Permissions_Skip: String { return self._s[1314]! } - public var DialogList_EncryptionProcessing: String { return self._s[1315]! } - public var SecretImage_Title: String { return self._s[1316]! } - public var Watch_MessageView_Title: String { return self._s[1317]! } + public var Passport_Phone_Title: String { return self._s[1300]! } + public var Settings_PhoneNumber: String { return self._s[1301]! } + public var NotificationsSound_Alert: String { return self._s[1302]! } + public var PhotoEditor_CurvesTool: String { return self._s[1304]! } + public var Checkout_PaymentMethod: String { return self._s[1306]! } + public var Contacts_AccessDeniedError: String { return self._s[1307]! } + public var Camera_PhotoMode: String { return self._s[1310]! } + public var Passport_Address_AddUtilityBill: String { return self._s[1311]! } + public var CallSettings_OnMobile: String { return self._s[1312]! } + public var Tour_Text2: String { return self._s[1313]! } + public var Permissions_Skip: String { return self._s[1315]! } + public var DialogList_EncryptionProcessing: String { return self._s[1316]! } + public var SecretImage_Title: String { return self._s[1317]! } + public var Watch_MessageView_Title: String { return self._s[1318]! } public func Notification_GroupInviter(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1318]!, self._r[1318]!, [_0]) + return formatWithArgumentRanges(self._s[1319]!, self._r[1319]!, [_0]) } - public var Notification_CallCanceled: String { return self._s[1319]! } - public var Privacy_PaymentsClear_PaymentInfo: String { return self._s[1320]! } + public var Notification_CallCanceled: String { return self._s[1320]! } + public var Privacy_PaymentsClear_PaymentInfo: String { return self._s[1321]! } public func MESSAGE_SCREENSHOT(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1321]!, self._r[1321]!, [_1]) + return formatWithArgumentRanges(self._s[1322]!, self._r[1322]!, [_1]) } - public var Settings_ProxyConnecting: String { return self._s[1322]! } - public var Profile_MessageLifetime5s: String { return self._s[1324]! } - public var Username_InvalidCharacters: String { return self._s[1325]! } - public var AutoDownloadSettings_LimitBySize: String { return self._s[1326]! } - public var Notification_CreatedChannel: String { return self._s[1328]! } - public var Passcode_AppLockedAlert: String { return self._s[1330]! } - public var Contacts_TopSection: String { return self._s[1331]! } + public var Settings_ProxyConnecting: String { return self._s[1323]! } + public var Profile_MessageLifetime5s: String { return self._s[1325]! } + public var Username_InvalidCharacters: String { return self._s[1326]! } + public var AutoDownloadSettings_LimitBySize: String { return self._s[1327]! } + public var Notification_CreatedChannel: String { return self._s[1329]! } + public var Passcode_AppLockedAlert: String { return self._s[1331]! } + public var Contacts_TopSection: String { return self._s[1332]! } public func Time_MonthOfYear_m6(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1332]!, self._r[1332]!, [_0]) + return formatWithArgumentRanges(self._s[1333]!, self._r[1333]!, [_0]) } - public var ReportPeer_ReasonSpam: String { return self._s[1333]! } - public var UserInfo_TapToCall: String { return self._s[1334]! } - public var Common_Search: String { return self._s[1336]! } - public var AuthSessions_IncompleteAttemptsInfo: String { return self._s[1337]! } - public var Message_InvoiceLabel: String { return self._s[1338]! } - public var Conversation_InputTextPlaceholder: String { return self._s[1339]! } - public var NetworkUsageSettings_MediaImageDataSection: String { return self._s[1340]! } + public var ReportPeer_ReasonSpam: String { return self._s[1334]! } + public var UserInfo_TapToCall: String { return self._s[1335]! } + public var Common_Search: String { return self._s[1337]! } + public var AuthSessions_IncompleteAttemptsInfo: String { return self._s[1338]! } + public var Message_InvoiceLabel: String { return self._s[1339]! } + public var Conversation_InputTextPlaceholder: String { return self._s[1340]! } + public var NetworkUsageSettings_MediaImageDataSection: String { return self._s[1341]! } public func Passport_Address_UploadOneOfScan(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1341]!, self._r[1341]!, [_0]) + return formatWithArgumentRanges(self._s[1342]!, self._r[1342]!, [_0]) } public func MESSAGE_DOC(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1342]!, self._r[1342]!, [_1]) + return formatWithArgumentRanges(self._s[1343]!, self._r[1343]!, [_1]) } - public var Conversation_Info: String { return self._s[1343]! } - public var Login_InfoDeletePhoto: String { return self._s[1344]! } - public var Passport_Language_vi: String { return self._s[1346]! } - public var Conversation_Search: String { return self._s[1347]! } - public var DialogList_DeleteBotConversationConfirmation: String { return self._s[1348]! } - public var ReportPeer_ReasonPornography: String { return self._s[1349]! } - public var AutoDownloadSettings_PhotosTitle: String { return self._s[1350]! } - public var Conversation_SendMessageErrorGroupRestricted: String { return self._s[1351]! } - public var Map_LiveLocationGroupDescription: String { return self._s[1352]! } - public var Channel_Setup_TypeHeader: String { return self._s[1353]! } - public var AuthSessions_LoggedIn: String { return self._s[1354]! } - public var Login_SmsRequestState3: String { return self._s[1355]! } - public var Passport_Address_EditUtilityBill: String { return self._s[1356]! } - public var Appearance_ReduceMotionInfo: String { return self._s[1357]! } - public var Channel_Edit_LinkItem: String { return self._s[1358]! } - public var Privacy_Calls_P2PNever: String { return self._s[1359]! } - public var Conversation_AddToReadingList: String { return self._s[1361]! } + public var Conversation_Info: String { return self._s[1344]! } + public var Login_InfoDeletePhoto: String { return self._s[1345]! } + public var Passport_Language_vi: String { return self._s[1347]! } + public var Conversation_Search: String { return self._s[1348]! } + public var DialogList_DeleteBotConversationConfirmation: String { return self._s[1349]! } + public var ReportPeer_ReasonPornography: String { return self._s[1350]! } + public var AutoDownloadSettings_PhotosTitle: String { return self._s[1351]! } + public var Conversation_SendMessageErrorGroupRestricted: String { return self._s[1352]! } + public var Map_LiveLocationGroupDescription: String { return self._s[1353]! } + public var Channel_Setup_TypeHeader: String { return self._s[1354]! } + public var AuthSessions_LoggedIn: String { return self._s[1355]! } + public var Login_SmsRequestState3: String { return self._s[1356]! } + public var Passport_Address_EditUtilityBill: String { return self._s[1357]! } + public var Appearance_ReduceMotionInfo: String { return self._s[1358]! } + public var Channel_Edit_LinkItem: String { return self._s[1359]! } + public var Privacy_Calls_P2PNever: String { return self._s[1360]! } + public var Conversation_AddToReadingList: String { return self._s[1362]! } public func MESSAGE_GEO(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1362]!, self._r[1362]!, [_1]) + return formatWithArgumentRanges(self._s[1363]!, self._r[1363]!, [_1]) } - public var Message_Animation: String { return self._s[1363]! } - public var Map_Unknown: String { return self._s[1364]! } - public var Call_StatusRequesting: String { return self._s[1365]! } + public var Message_Animation: String { return self._s[1364]! } + public var Map_Unknown: String { return self._s[1365]! } + public var Call_StatusRequesting: String { return self._s[1366]! } public func Passport_FieldOneOf_Or(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1366]!, self._r[1366]!, [_1, _2]) + return formatWithArgumentRanges(self._s[1367]!, self._r[1367]!, [_1, _2]) } - public var Conversation_SecretChatContextBotAlert: String { return self._s[1367]! } - public var SocksProxySetup_ProxyStatusChecking: String { return self._s[1368]! } + public var Conversation_SecretChatContextBotAlert: String { return self._s[1368]! } + public var SocksProxySetup_ProxyStatusChecking: String { return self._s[1369]! } public func MESSAGE_PHOTO_SECRET(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1369]!, self._r[1369]!, [_1]) + return formatWithArgumentRanges(self._s[1370]!, self._r[1370]!, [_1]) } - public var Weekday_Monday: String { return self._s[1370]! } - public var Update_Skip: String { return self._s[1371]! } - public var Group_Username_RemoveExistingUsernamesInfo: String { return self._s[1372]! } - public var BlockedUsers_Title: String { return self._s[1373]! } + public var Weekday_Monday: String { return self._s[1371]! } + public var Update_Skip: String { return self._s[1372]! } + public var Group_Username_RemoveExistingUsernamesInfo: String { return self._s[1373]! } + public var BlockedUsers_Title: String { return self._s[1374]! } public func Notification_PinnedLocationMessage(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1374]!, self._r[1374]!, [_0]) + return formatWithArgumentRanges(self._s[1375]!, self._r[1375]!, [_0]) } - public var Username_CheckingUsername: String { return self._s[1375]! } - public var NotificationsSound_Bell: String { return self._s[1376]! } - public var Conversation_SendMessageErrorFlood: String { return self._s[1377]! } - public var ChannelMembers_ChannelAdminsTitle: String { return self._s[1378]! } - public var ChatSettings_Groups: String { return self._s[1379]! } - public var Your_card_was_declined: String { return self._s[1380]! } - public var TwoStepAuth_EnterPasswordHelp: String { return self._s[1382]! } + public var Username_CheckingUsername: String { return self._s[1376]! } + public var NotificationsSound_Bell: String { return self._s[1377]! } + public var Conversation_SendMessageErrorFlood: String { return self._s[1378]! } + public var ChannelMembers_ChannelAdminsTitle: String { return self._s[1379]! } + public var ChatSettings_Groups: String { return self._s[1380]! } + public var Your_card_was_declined: String { return self._s[1381]! } + public var TwoStepAuth_EnterPasswordHelp: String { return self._s[1383]! } public func PINNED_GEO(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1383]!, self._r[1383]!, [_1]) + return formatWithArgumentRanges(self._s[1384]!, self._r[1384]!, [_1]) } - public var PhotoEditor_CurvesAll: String { return self._s[1384]! } - public var Weekday_ShortTuesday: String { return self._s[1385]! } - public var DialogList_Read: String { return self._s[1386]! } + public var PhotoEditor_CurvesAll: String { return self._s[1385]! } + public var Weekday_ShortTuesday: String { return self._s[1386]! } + public var DialogList_Read: String { return self._s[1387]! } public func PINNED_TEXT(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1387]!, self._r[1387]!, [_1, _2]) + return formatWithArgumentRanges(self._s[1388]!, self._r[1388]!, [_1, _2]) } - public var ChannelMembers_WhoCanAddMembers_AllMembers: String { return self._s[1388]! } - public var Passport_Identity_Gender: String { return self._s[1389]! } + public var ChannelMembers_WhoCanAddMembers_AllMembers: String { return self._s[1389]! } + public var Passport_Identity_Gender: String { return self._s[1390]! } public func Target_ShareGameConfirmationPrivate(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1390]!, self._r[1390]!, [_0]) + return formatWithArgumentRanges(self._s[1391]!, self._r[1391]!, [_0]) } - public var Target_SelectGroup: String { return self._s[1391]! } + public var Target_SelectGroup: String { return self._s[1392]! } public func DialogList_EncryptedChatStartedIncoming(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1393]!, self._r[1393]!, [_0]) + return formatWithArgumentRanges(self._s[1394]!, self._r[1394]!, [_0]) } - public var Passport_Language_en: String { return self._s[1394]! } - public var Channel_Username_CreatePublicLinkHelp: String { return self._s[1395]! } - public var Login_CancelPhoneVerificationContinue: String { return self._s[1396]! } + public var Passport_Language_en: String { return self._s[1395]! } + public var Channel_Username_CreatePublicLinkHelp: String { return self._s[1396]! } + public var Login_CancelPhoneVerificationContinue: String { return self._s[1397]! } public func AUTH_REGION(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1397]!, self._r[1397]!, [_1, _2]) + return formatWithArgumentRanges(self._s[1398]!, self._r[1398]!, [_1, _2]) } - public var Checkout_NewCard_PaymentCard: String { return self._s[1399]! } - public var Login_InfoHelp: String { return self._s[1400]! } - public var SocksProxySetup_AddProxy: String { return self._s[1403]! } - public var PasscodeSettings_SimplePasscodeHelp: String { return self._s[1404]! } - public var UserInfo_GroupsInCommon: String { return self._s[1405]! } - public var Call_AudioRouteHide: String { return self._s[1406]! } - public var ContactInfo_PhoneLabelMobile: String { return self._s[1408]! } - public var TextFormat_Bold: String { return self._s[1409]! } - public var FastTwoStepSetup_EmailSection: String { return self._s[1410]! } - public var Notifications_Title: String { return self._s[1411]! } - public var Group_Username_InvalidTooShort: String { return self._s[1412]! } - public var Channel_ErrorAddTooMuch: String { return self._s[1413]! } + public var Checkout_NewCard_PaymentCard: String { return self._s[1400]! } + public var Login_InfoHelp: String { return self._s[1401]! } + public var SocksProxySetup_AddProxy: String { return self._s[1404]! } + public var PasscodeSettings_SimplePasscodeHelp: String { return self._s[1405]! } + public var UserInfo_GroupsInCommon: String { return self._s[1406]! } + public var Call_AudioRouteHide: String { return self._s[1407]! } + public var ContactInfo_PhoneLabelMobile: String { return self._s[1409]! } + public var TextFormat_Bold: String { return self._s[1410]! } + public var FastTwoStepSetup_EmailSection: String { return self._s[1411]! } + public var Notifications_Title: String { return self._s[1412]! } + public var Group_Username_InvalidTooShort: String { return self._s[1413]! } + public var Channel_ErrorAddTooMuch: String { return self._s[1414]! } public func DialogList_MultipleTypingSuffix(_ _0: Int) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1414]!, self._r[1414]!, ["\(_0)"]) + return formatWithArgumentRanges(self._s[1415]!, self._r[1415]!, ["\(_0)"]) } - public var Stickers_SuggestAdded: String { return self._s[1416]! } - public var Login_CountryCode: String { return self._s[1417]! } - public var Map_GetDirections: String { return self._s[1418]! } - public var Login_PhoneFloodError: String { return self._s[1419]! } + public var Stickers_SuggestAdded: String { return self._s[1417]! } + public var Login_CountryCode: String { return self._s[1418]! } + public var Map_GetDirections: String { return self._s[1419]! } + public var Login_PhoneFloodError: String { return self._s[1420]! } public func Time_MonthOfYear_m3(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1420]!, self._r[1420]!, [_0]) + return formatWithArgumentRanges(self._s[1421]!, self._r[1421]!, [_0]) } - public var Settings_SetUsername: String { return self._s[1422]! } - public var Notification_GroupInviterSelf: String { return self._s[1423]! } - public var InstantPage_TapToOpenLink: String { return self._s[1424]! } + public var Settings_SetUsername: String { return self._s[1423]! } + public var Notification_GroupInviterSelf: String { return self._s[1424]! } + public var InstantPage_TapToOpenLink: String { return self._s[1425]! } public func Notification_ChannelInviter(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1425]!, self._r[1425]!, [_0]) + return formatWithArgumentRanges(self._s[1426]!, self._r[1426]!, [_0]) } - public var Watch_Suggestion_TalkLater: String { return self._s[1426]! } - public var SecretChat_Title: String { return self._s[1427]! } - public var Group_UpgradeNoticeText1: String { return self._s[1428]! } - public var AuthSessions_Title: String { return self._s[1429]! } - public var PhotoEditor_CropAuto: String { return self._s[1430]! } - public var Channel_About_Title: String { return self._s[1431]! } - public var FastTwoStepSetup_EmailHelp: String { return self._s[1432]! } + public var Watch_Suggestion_TalkLater: String { return self._s[1427]! } + public var SecretChat_Title: String { return self._s[1428]! } + public var Group_UpgradeNoticeText1: String { return self._s[1429]! } + public var AuthSessions_Title: String { return self._s[1430]! } + public var PhotoEditor_CropAuto: String { return self._s[1431]! } + public var Channel_About_Title: String { return self._s[1432]! } + public var FastTwoStepSetup_EmailHelp: String { return self._s[1433]! } public func CHAT_ADD_YOU(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1433]!, self._r[1433]!, [_1, _2]) + return formatWithArgumentRanges(self._s[1434]!, self._r[1434]!, [_1, _2]) } public func Conversation_Bytes(_ _0: Int) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1434]!, self._r[1434]!, ["\(_0)"]) + return formatWithArgumentRanges(self._s[1435]!, self._r[1435]!, ["\(_0)"]) } - public var Conversation_PinMessageAlert_OnlyPin: String { return self._s[1437]! } - public var Group_Setup_HistoryVisibleHelp: String { return self._s[1438]! } + public var Conversation_PinMessageAlert_OnlyPin: String { return self._s[1438]! } + public var Group_Setup_HistoryVisibleHelp: String { return self._s[1439]! } public func SharedMedia_SearchNoResultsDescription(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1440]!, self._r[1440]!, [_0]) - } - public func TwoStepAuth_RecoveryEmailUnavailable(_ _0: String) -> (String, [(Int, NSRange)]) { return formatWithArgumentRanges(self._s[1441]!, self._r[1441]!, [_0]) } - public var Privacy_PaymentsClearInfoHelp: String { return self._s[1442]! } - public var Presence_online: String { return self._s[1444]! } - public var PasscodeSettings_Title: String { return self._s[1445]! } - public var Passport_Identity_ExpiryDatePlaceholder: String { return self._s[1446]! } - public var Web_OpenExternal: String { return self._s[1447]! } - public func AutoNightTheme_AutomaticHelp(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1448]!, self._r[1448]!, [_0]) + public func TwoStepAuth_RecoveryEmailUnavailable(_ _0: String) -> (String, [(Int, NSRange)]) { + return formatWithArgumentRanges(self._s[1442]!, self._r[1442]!, [_0]) } - public var FastTwoStepSetup_PasswordConfirmationPlaceholder: String { return self._s[1449]! } - public var Map_YouAreHere: String { return self._s[1450]! } + public var Privacy_PaymentsClearInfoHelp: String { return self._s[1443]! } + public var Presence_online: String { return self._s[1445]! } + public var PasscodeSettings_Title: String { return self._s[1446]! } + public var Passport_Identity_ExpiryDatePlaceholder: String { return self._s[1447]! } + public var Web_OpenExternal: String { return self._s[1448]! } + public func AutoNightTheme_AutomaticHelp(_ _0: String) -> (String, [(Int, NSRange)]) { + return formatWithArgumentRanges(self._s[1449]!, self._r[1449]!, [_0]) + } + public var FastTwoStepSetup_PasswordConfirmationPlaceholder: String { return self._s[1450]! } + public var Map_YouAreHere: String { return self._s[1451]! } public func MESSAGE_GIF(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1451]!, self._r[1451]!, [_1]) + return formatWithArgumentRanges(self._s[1452]!, self._r[1452]!, [_1]) } public func AuthSessions_Message(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1452]!, self._r[1452]!, [_0]) + return formatWithArgumentRanges(self._s[1453]!, self._r[1453]!, [_0]) } - public var PrivacyLastSeenSettings_AlwaysShareWith: String { return self._s[1453]! } - public var Target_InviteToGroupErrorAlreadyInvited: String { return self._s[1454]! } + public var PrivacyLastSeenSettings_AlwaysShareWith: String { return self._s[1454]! } + public var Target_InviteToGroupErrorAlreadyInvited: String { return self._s[1455]! } public func AuthSessions_AppUnofficial(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1455]!, self._r[1455]!, [_0]) - } - public func DialogList_LiveLocationSharingTo(_ _0: String) -> (String, [(Int, NSRange)]) { return formatWithArgumentRanges(self._s[1456]!, self._r[1456]!, [_0]) } - public var SocksProxySetup_Username: String { return self._s[1457]! } - public var Bot_Start: String { return self._s[1458]! } - public func Channel_AdminLog_EmptyFilterQueryText(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1459]!, self._r[1459]!, [_0]) + public func DialogList_LiveLocationSharingTo(_ _0: String) -> (String, [(Int, NSRange)]) { + return formatWithArgumentRanges(self._s[1457]!, self._r[1457]!, [_0]) } - public func Channel_AdminLog_MessagePinned(_ _0: String) -> (String, [(Int, NSRange)]) { + public var SocksProxySetup_Username: String { return self._s[1458]! } + public var Bot_Start: String { return self._s[1459]! } + public func Channel_AdminLog_EmptyFilterQueryText(_ _0: String) -> (String, [(Int, NSRange)]) { return formatWithArgumentRanges(self._s[1460]!, self._r[1460]!, [_0]) } + public func Channel_AdminLog_MessagePinned(_ _0: String) -> (String, [(Int, NSRange)]) { + return formatWithArgumentRanges(self._s[1461]!, self._r[1461]!, [_0]) + } public func PINNED_GEOLIVE(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1462]!, self._r[1462]!, [_1]) + return formatWithArgumentRanges(self._s[1463]!, self._r[1463]!, [_1]) } - public var Conversation_DiscardVoiceMessageTitle: String { return self._s[1463]! } + public var Conversation_DiscardVoiceMessageTitle: String { return self._s[1464]! } public func PrivacySettings_LastSeenContactsMinus(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1464]!, self._r[1464]!, [_0]) + return formatWithArgumentRanges(self._s[1465]!, self._r[1465]!, [_0]) } - public var Passport_Email_EnterOtherEmail: String { return self._s[1465]! } - public var Login_InfoAvatarPhoto: String { return self._s[1466]! } - public var Privacy_PaymentsClear_ShippingInfo: String { return self._s[1467]! } - public var Tour_Title4: String { return self._s[1468]! } - public var Passport_Identity_Translation: String { return self._s[1469]! } - public var Login_TermsOfServiceLabel: String { return self._s[1471]! } - public var Passport_Language_it: String { return self._s[1472]! } - public var KeyCommand_JumpToNextUnreadChat: String { return self._s[1473]! } - public var Passport_Identity_SelfieHelp: String { return self._s[1474]! } - public var Conversation_ClearAll: String { return self._s[1476]! } + public var Passport_Email_EnterOtherEmail: String { return self._s[1466]! } + public var Login_InfoAvatarPhoto: String { return self._s[1467]! } + public var Privacy_PaymentsClear_ShippingInfo: String { return self._s[1468]! } + public var Tour_Title4: String { return self._s[1469]! } + public var Passport_Identity_Translation: String { return self._s[1470]! } + public var Login_TermsOfServiceLabel: String { return self._s[1472]! } + public var Passport_Language_it: String { return self._s[1473]! } + public var KeyCommand_JumpToNextUnreadChat: String { return self._s[1474]! } + public var Passport_Identity_SelfieHelp: String { return self._s[1475]! } + public var Conversation_ClearAll: String { return self._s[1477]! } public func MESSAGE_PHOTOS(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1478]!, self._r[1478]!, [_1, _2]) + return formatWithArgumentRanges(self._s[1479]!, self._r[1479]!, [_1, _2]) } - public var TwoStepAuth_FloodError: String { return self._s[1479]! } - public var Paint_Delete: String { return self._s[1480]! } + public var TwoStepAuth_FloodError: String { return self._s[1480]! } + public var Paint_Delete: String { return self._s[1481]! } public func Passport_AcceptHelp(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1481]!, self._r[1481]!, [_1, _2]) + return formatWithArgumentRanges(self._s[1482]!, self._r[1482]!, [_1, _2]) } - public var Message_PinnedAudioMessage: String { return self._s[1482]! } + public var Message_PinnedAudioMessage: String { return self._s[1483]! } public func Watch_Time_ShortTodayAt(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1483]!, self._r[1483]!, [_0]) + return formatWithArgumentRanges(self._s[1484]!, self._r[1484]!, [_0]) } - public var Notification_Mute1hMin: String { return self._s[1484]! } - public var Notifications_GroupNotificationsSound: String { return self._s[1485]! } - public var SocksProxySetup_ShareProxyList: String { return self._s[1486]! } - public var Conversation_MessageEditedLabel: String { return self._s[1487]! } - public var Notification_Exceptions_AlwaysOff: String { return self._s[1488]! } + public var Notification_Mute1hMin: String { return self._s[1485]! } + public var Notifications_GroupNotificationsSound: String { return self._s[1486]! } + public var SocksProxySetup_ShareProxyList: String { return self._s[1487]! } + public var Conversation_MessageEditedLabel: String { return self._s[1488]! } + public var Notification_Exceptions_AlwaysOff: String { return self._s[1489]! } public func Channel_AdminLog_MessageAdmin(_ _0: String, _ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1489]!, self._r[1489]!, [_0, _1, _2]) + return formatWithArgumentRanges(self._s[1490]!, self._r[1490]!, [_0, _1, _2]) } - public var NetworkUsageSettings_ResetStats: String { return self._s[1490]! } - public var AccessDenied_LocationTracking: String { return self._s[1491]! } - public var Month_GenOctober: String { return self._s[1492]! } - public var GroupInfo_InviteLink_RevokeAlert_Revoke: String { return self._s[1493]! } - public var EnterPasscode_EnterPasscode: String { return self._s[1494]! } - public var MediaPicker_TimerTooltip: String { return self._s[1496]! } - public var SharedMedia_TitleAll: String { return self._s[1497]! } - public var Conversation_RestrictedMedia: String { return self._s[1499]! } - public var AccessDenied_PhotosRestricted: String { return self._s[1500]! } - public var ChangePhoneNumberCode_Called: String { return self._s[1502]! } + public var NetworkUsageSettings_ResetStats: String { return self._s[1491]! } + public var AccessDenied_LocationTracking: String { return self._s[1492]! } + public var Month_GenOctober: String { return self._s[1493]! } + public var GroupInfo_InviteLink_RevokeAlert_Revoke: String { return self._s[1494]! } + public var EnterPasscode_EnterPasscode: String { return self._s[1495]! } + public var MediaPicker_TimerTooltip: String { return self._s[1497]! } + public var SharedMedia_TitleAll: String { return self._s[1498]! } + public var Conversation_RestrictedMedia: String { return self._s[1500]! } + public var AccessDenied_PhotosRestricted: String { return self._s[1501]! } + public var ChangePhoneNumberCode_Called: String { return self._s[1503]! } public func Notification_PinnedDocumentMessage(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1503]!, self._r[1503]!, [_0]) + return formatWithArgumentRanges(self._s[1504]!, self._r[1504]!, [_0]) } - public var Conversation_SavedMessages: String { return self._s[1506]! } - public var Your_cards_expiration_month_is_invalid: String { return self._s[1508]! } - public var FastTwoStepSetup_PasswordPlaceholder: String { return self._s[1509]! } + public var Conversation_SavedMessages: String { return self._s[1507]! } + public var Your_cards_expiration_month_is_invalid: String { return self._s[1509]! } + public var FastTwoStepSetup_PasswordPlaceholder: String { return self._s[1510]! } public func Target_ShareGameConfirmationGroup(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1511]!, self._r[1511]!, [_0]) + return formatWithArgumentRanges(self._s[1512]!, self._r[1512]!, [_0]) } - public var ReportPeer_AlertSuccess: String { return self._s[1512]! } + public var ReportPeer_AlertSuccess: String { return self._s[1513]! } public func InstantPage_RelatedArticleAuthorAndDateTitle(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1513]!, self._r[1513]!, [_1, _2]) + return formatWithArgumentRanges(self._s[1514]!, self._r[1514]!, [_1, _2]) } - public var PhotoEditor_CropAspectRatioOriginal: String { return self._s[1514]! } - public var Checkout_PasswordEntry_Title: String { return self._s[1515]! } - public var PhotoEditor_FadeTool: String { return self._s[1516]! } - public var Privacy_ContactsReset: String { return self._s[1517]! } + public var PhotoEditor_CropAspectRatioOriginal: String { return self._s[1515]! } + public var Checkout_PasswordEntry_Title: String { return self._s[1516]! } + public var PhotoEditor_FadeTool: String { return self._s[1517]! } + public var Privacy_ContactsReset: String { return self._s[1518]! } public func Channel_AdminLog_MessageRestrictedUntil(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1519]!, self._r[1519]!, [_0]) + return formatWithArgumentRanges(self._s[1520]!, self._r[1520]!, [_0]) } - public var Message_PinnedVideoMessage: String { return self._s[1520]! } - public var Permissions_CellularDataText_v0: String { return self._s[1521]! } - public var ShareMenu_SelectChats: String { return self._s[1523]! } - public var MusicPlayer_VoiceNote: String { return self._s[1524]! } - public var Conversation_RestrictedText: String { return self._s[1525]! } - public var TwoStepAuth_DisableSuccess: String { return self._s[1526]! } - public var Cache_Videos: String { return self._s[1527]! } - public var FeatureDisabled_Oops: String { return self._s[1529]! } - public var Passport_Address_PostcodePlaceholder: String { return self._s[1530]! } + public var Message_PinnedVideoMessage: String { return self._s[1521]! } + public var Permissions_CellularDataText_v0: String { return self._s[1522]! } + public var ShareMenu_SelectChats: String { return self._s[1524]! } + public var MusicPlayer_VoiceNote: String { return self._s[1525]! } + public var Conversation_RestrictedText: String { return self._s[1526]! } + public var TwoStepAuth_DisableSuccess: String { return self._s[1527]! } + public var Cache_Videos: String { return self._s[1528]! } + public var FeatureDisabled_Oops: String { return self._s[1530]! } + public var Passport_Address_PostcodePlaceholder: String { return self._s[1531]! } public func CHAT_MESSAGE_VIDEO(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1531]!, self._r[1531]!, [_1, _2]) + return formatWithArgumentRanges(self._s[1532]!, self._r[1532]!, [_1, _2]) } - public var Stickers_GroupStickersHelp: String { return self._s[1532]! } - public var Message_VideoExpired: String { return self._s[1534]! } - public var Notifications_Badge: String { return self._s[1535]! } - public var GroupInfo_GroupHistoryVisible: String { return self._s[1536]! } - public var Username_InvalidTooShort: String { return self._s[1537]! } - public var EnterPasscode_EnterNewPasscodeChange: String { return self._s[1538]! } + public var Stickers_GroupStickersHelp: String { return self._s[1533]! } + public var Message_VideoExpired: String { return self._s[1535]! } + public var Notifications_Badge: String { return self._s[1536]! } + public var GroupInfo_GroupHistoryVisible: String { return self._s[1537]! } + public var Username_InvalidTooShort: String { return self._s[1538]! } + public var EnterPasscode_EnterNewPasscodeChange: String { return self._s[1539]! } public func Notification_MessageLifetimeRemoved(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1539]!, self._r[1539]!, [_1]) + return formatWithArgumentRanges(self._s[1540]!, self._r[1540]!, [_1]) } - public var Permissions_SiriAllowInSettings_v0: String { return self._s[1540]! } - public var SharedMedia_CategoryDocs: String { return self._s[1543]! } + public var Permissions_SiriAllowInSettings_v0: String { return self._s[1541]! } + public var SharedMedia_CategoryDocs: String { return self._s[1544]! } public func Notification_MessageLifetimeChangedOutgoing(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1545]!, self._r[1545]!, [_1]) + return formatWithArgumentRanges(self._s[1546]!, self._r[1546]!, [_1]) } - public var CheckoutInfo_ErrorShippingNotAvailable: String { return self._s[1546]! } + public var CheckoutInfo_ErrorShippingNotAvailable: String { return self._s[1547]! } public func Time_MonthOfYear_m12(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1547]!, self._r[1547]!, [_0]) + return formatWithArgumentRanges(self._s[1548]!, self._r[1548]!, [_0]) } - public var ChatSettings_PrivateChats: String { return self._s[1548]! } - public var Channel_UpdatePhotoItem: String { return self._s[1549]! } - public var GroupInfo_LeftStatus: String { return self._s[1550]! } - public var Watch_MessageView_Forward: String { return self._s[1552]! } - public var ReportPeer_ReasonChildAbuse: String { return self._s[1553]! } - public var Cache_ClearEmpty: String { return self._s[1555]! } - public var Localization_LanguageName: String { return self._s[1556]! } - public var WebSearch_GIFs: String { return self._s[1557]! } - public var Notifications_DisplayNamesOnLockScreenInfoWithLink: String { return self._s[1558]! } - public var Username_InvalidStartsWithNumber: String { return self._s[1559]! } - public var Common_Back: String { return self._s[1560]! } - public var Passport_Identity_DateOfBirthPlaceholder: String { return self._s[1561]! } + public var ChatSettings_PrivateChats: String { return self._s[1549]! } + public var Channel_UpdatePhotoItem: String { return self._s[1550]! } + public var GroupInfo_LeftStatus: String { return self._s[1551]! } + public var Watch_MessageView_Forward: String { return self._s[1553]! } + public var ReportPeer_ReasonChildAbuse: String { return self._s[1554]! } + public var Cache_ClearEmpty: String { return self._s[1556]! } + public var Localization_LanguageName: String { return self._s[1557]! } + public var WebSearch_GIFs: String { return self._s[1558]! } + public var Notifications_DisplayNamesOnLockScreenInfoWithLink: String { return self._s[1559]! } + public var Username_InvalidStartsWithNumber: String { return self._s[1560]! } + public var Common_Back: String { return self._s[1561]! } + public var Passport_Identity_DateOfBirthPlaceholder: String { return self._s[1562]! } public func CHANNEL_MESSAGE_AUDIO(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1562]!, self._r[1562]!, [_1]) - } - public func CHANNEL_MESSAGE_ROUND(_ _1: String) -> (String, [(Int, NSRange)]) { return formatWithArgumentRanges(self._s[1563]!, self._r[1563]!, [_1]) } - public var Passport_Email_Help: String { return self._s[1564]! } - public var Watch_Conversation_Reply: String { return self._s[1565]! } - public var Conversation_EditingMessageMediaChange: String { return self._s[1567]! } - public var Passport_Identity_IssueDatePlaceholder: String { return self._s[1568]! } - public var Channel_BanUser_Unban: String { return self._s[1570]! } - public var Channel_EditAdmin_PermissionPostMessages: String { return self._s[1571]! } - public var Group_Username_CreatePublicLinkHelp: String { return self._s[1572]! } - public var TwoStepAuth_ConfirmEmailCodePlaceholder: String { return self._s[1573]! } - public var Passport_Identity_Name: String { return self._s[1575]! } - public var Conversation_BlockUser: String { return self._s[1576]! } - public var Month_GenJanuary: String { return self._s[1577]! } - public var ChatSettings_TextSize: String { return self._s[1578]! } - public var Notification_PassportValuePhone: String { return self._s[1579]! } - public var Passport_Language_ne: String { return self._s[1580]! } - public var Notification_CallBack: String { return self._s[1581]! } - public var TwoStepAuth_EmailHelp: String { return self._s[1582]! } + public func CHANNEL_MESSAGE_ROUND(_ _1: String) -> (String, [(Int, NSRange)]) { + return formatWithArgumentRanges(self._s[1564]!, self._r[1564]!, [_1]) + } + public var Passport_Email_Help: String { return self._s[1565]! } + public var Watch_Conversation_Reply: String { return self._s[1566]! } + public var Conversation_EditingMessageMediaChange: String { return self._s[1568]! } + public var Passport_Identity_IssueDatePlaceholder: String { return self._s[1569]! } + public var Channel_BanUser_Unban: String { return self._s[1571]! } + public var Channel_EditAdmin_PermissionPostMessages: String { return self._s[1572]! } + public var Group_Username_CreatePublicLinkHelp: String { return self._s[1573]! } + public var TwoStepAuth_ConfirmEmailCodePlaceholder: String { return self._s[1574]! } + public var Passport_Identity_Name: String { return self._s[1576]! } + public var Conversation_BlockUser: String { return self._s[1577]! } + public var Month_GenJanuary: String { return self._s[1578]! } + public var ChatSettings_TextSize: String { return self._s[1579]! } + public var Notification_PassportValuePhone: String { return self._s[1580]! } + public var Passport_Language_ne: String { return self._s[1581]! } + public var Notification_CallBack: String { return self._s[1582]! } + public var TwoStepAuth_EmailHelp: String { return self._s[1583]! } public func Time_YesterdayAt(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1583]!, self._r[1583]!, [_0]) + return formatWithArgumentRanges(self._s[1584]!, self._r[1584]!, [_0]) } - public var Channel_Info_Management: String { return self._s[1584]! } - public var Passport_FieldIdentityUploadHelp: String { return self._s[1585]! } - public var Stickers_FrequentlyUsed: String { return self._s[1586]! } - public var Channel_BanUser_PermissionSendMessages: String { return self._s[1587]! } - public var Passport_Address_OneOfTypeUtilityBill: String { return self._s[1589]! } - public var Passport_Address_EditResidentialAddress: String { return self._s[1590]! } - public var PrivacyPolicy_DeclineTitle: String { return self._s[1591]! } + public var Channel_Info_Management: String { return self._s[1585]! } + public var Passport_FieldIdentityUploadHelp: String { return self._s[1586]! } + public var Stickers_FrequentlyUsed: String { return self._s[1587]! } + public var Channel_BanUser_PermissionSendMessages: String { return self._s[1588]! } + public var Passport_Address_OneOfTypeUtilityBill: String { return self._s[1590]! } + public var Passport_Address_EditResidentialAddress: String { return self._s[1591]! } + public var PrivacyPolicy_DeclineTitle: String { return self._s[1592]! } public func Checkout_SavePasswordTimeoutAndTouchId(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1592]!, self._r[1592]!, [_0]) + return formatWithArgumentRanges(self._s[1593]!, self._r[1593]!, [_0]) } - public var PhotoEditor_QualityMedium: String { return self._s[1593]! } - public var InfoPlist_NSMicrophoneUsageDescription: String { return self._s[1594]! } + public var PhotoEditor_QualityMedium: String { return self._s[1594]! } + public var InfoPlist_NSMicrophoneUsageDescription: String { return self._s[1595]! } public func Conversation_RestrictedInlineTimed(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1595]!, self._r[1595]!, [_0]) + return formatWithArgumentRanges(self._s[1596]!, self._r[1596]!, [_0]) } - public var Conversation_StatusKickedFromChannel: String { return self._s[1596]! } - public var CheckoutInfo_ReceiverInfoName: String { return self._s[1597]! } - public var Group_ErrorSendRestrictedStickers: String { return self._s[1598]! } - public var Conversation_LinkDialogOpen: String { return self._s[1600]! } - public var Settings_Username: String { return self._s[1601]! } - public var Wallpaper_Wallpaper: String { return self._s[1603]! } + public var Conversation_StatusKickedFromChannel: String { return self._s[1597]! } + public var CheckoutInfo_ReceiverInfoName: String { return self._s[1598]! } + public var Group_ErrorSendRestrictedStickers: String { return self._s[1599]! } + public var Conversation_LinkDialogOpen: String { return self._s[1601]! } + public var Settings_Username: String { return self._s[1602]! } + public var Wallpaper_Wallpaper: String { return self._s[1604]! } public func PINNED_GIF(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1605]!, self._r[1605]!, [_1]) + return formatWithArgumentRanges(self._s[1606]!, self._r[1606]!, [_1]) } - public var SocksProxySetup_UseProxy: String { return self._s[1606]! } - public var UserInfo_ShareMyContactInfo: String { return self._s[1607]! } - public var MessageTimer_Forever: String { return self._s[1608]! } - public var Privacy_Calls_WhoCanCallMe: String { return self._s[1609]! } - public var PhotoEditor_DiscardChanges: String { return self._s[1610]! } - public var AuthSessions_TerminateOtherSessionsHelp: String { return self._s[1611]! } - public var Passport_Language_da: String { return self._s[1612]! } - public var SocksProxySetup_PortPlaceholder: String { return self._s[1613]! } + public var SocksProxySetup_UseProxy: String { return self._s[1607]! } + public var UserInfo_ShareMyContactInfo: String { return self._s[1608]! } + public var MessageTimer_Forever: String { return self._s[1609]! } + public var Privacy_Calls_WhoCanCallMe: String { return self._s[1610]! } + public var PhotoEditor_DiscardChanges: String { return self._s[1611]! } + public var AuthSessions_TerminateOtherSessionsHelp: String { return self._s[1612]! } + public var Passport_Language_da: String { return self._s[1613]! } + public var SocksProxySetup_PortPlaceholder: String { return self._s[1614]! } public func SecretGIF_NotViewedYet(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1614]!, self._r[1614]!, [_0]) + return formatWithArgumentRanges(self._s[1615]!, self._r[1615]!, [_0]) } - public var Passport_Address_EditPassportRegistration: String { return self._s[1615]! } + public var Passport_Address_EditPassportRegistration: String { return self._s[1616]! } public func Channel_AdminLog_MessageChangedGroupAbout(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1617]!, self._r[1617]!, [_0]) + return formatWithArgumentRanges(self._s[1618]!, self._r[1618]!, [_0]) } - public var Passport_Identity_ResidenceCountryPlaceholder: String { return self._s[1619]! } - public var Conversation_SearchByName_Prefix: String { return self._s[1620]! } + public var Passport_Identity_ResidenceCountryPlaceholder: String { return self._s[1620]! } + public var Conversation_SearchByName_Prefix: String { return self._s[1621]! } public func PINNED_AUDIO(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1621]!, self._r[1621]!, [_1]) + return formatWithArgumentRanges(self._s[1622]!, self._r[1622]!, [_1]) } - public var Conversation_EmptyGifPanelPlaceholder: String { return self._s[1622]! } - public var Cache_ByPeerHeader: String { return self._s[1623]! } + public var Conversation_EmptyGifPanelPlaceholder: String { return self._s[1623]! } + public var Cache_ByPeerHeader: String { return self._s[1624]! } public func Conversation_EncryptedPlaceholderTitleIncoming(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1624]!, self._r[1624]!, [_0]) + return formatWithArgumentRanges(self._s[1625]!, self._r[1625]!, [_0]) } - public var ChatSettings_AutoDownloadDocuments: String { return self._s[1625]! } - public var Notification_PinnedMessage: String { return self._s[1628]! } - public var Call_EncryptionKey_Title: String { return self._s[1631]! } - public var Watch_UserInfo_Service: String { return self._s[1632]! } - public var Conversation_Unpin: String { return self._s[1635]! } - public var CancelResetAccount_Title: String { return self._s[1636]! } - public var Map_LiveLocationFor15Minutes: String { return self._s[1637]! } + public var ChatSettings_AutoDownloadDocuments: String { return self._s[1626]! } + public var Notification_PinnedMessage: String { return self._s[1629]! } + public var Call_EncryptionKey_Title: String { return self._s[1632]! } + public var Watch_UserInfo_Service: String { return self._s[1633]! } + public var Conversation_Unpin: String { return self._s[1636]! } + public var CancelResetAccount_Title: String { return self._s[1637]! } + public var Map_LiveLocationFor15Minutes: String { return self._s[1638]! } public func Time_PreciseDate_m8(_ _1: String, _ _2: String, _ _3: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1639]!, self._r[1639]!, [_1, _2, _3]) + return formatWithArgumentRanges(self._s[1640]!, self._r[1640]!, [_1, _2, _3]) } - public var Group_Members_AddMemberBotErrorNotAllowed: String { return self._s[1640]! } - public var CallSettings_Title: String { return self._s[1641]! } - public var PasscodeSettings_EncryptDataHelp: String { return self._s[1643]! } - public var AutoDownloadSettings_Contacts: String { return self._s[1644]! } - public var Passport_Identity_DocumentDetails: String { return self._s[1645]! } - public var LoginPassword_PasswordHelp: String { return self._s[1646]! } - public var PrivacyLastSeenSettings_CustomShareSettings_Delete: String { return self._s[1647]! } - public var Checkout_TotalPaidAmount: String { return self._s[1648]! } + public var Group_Members_AddMemberBotErrorNotAllowed: String { return self._s[1641]! } + public var CallSettings_Title: String { return self._s[1642]! } + public var PasscodeSettings_EncryptDataHelp: String { return self._s[1644]! } + public var AutoDownloadSettings_Contacts: String { return self._s[1645]! } + public var Passport_Identity_DocumentDetails: String { return self._s[1646]! } + public var LoginPassword_PasswordHelp: String { return self._s[1647]! } + public var PrivacyLastSeenSettings_CustomShareSettings_Delete: String { return self._s[1648]! } + public var Checkout_TotalPaidAmount: String { return self._s[1649]! } public func FileSize_KB(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1649]!, self._r[1649]!, [_0]) + return formatWithArgumentRanges(self._s[1650]!, self._r[1650]!, [_0]) } - public var PasscodeSettings_ChangePasscode: String { return self._s[1650]! } - public var Conversation_SecretLinkPreviewAlert: String { return self._s[1652]! } - public var Privacy_SecretChatsLinkPreviews: String { return self._s[1653]! } - public var Contacts_InviteFriends: String { return self._s[1655]! } - public var Map_ChooseLocationTitle: String { return self._s[1656]! } - public var Calls_RatingFeedback: String { return self._s[1658]! } - public var GroupInfo_BroadcastListNamePlaceholder: String { return self._s[1659]! } - public var NotificationsSound_Pulse: String { return self._s[1660]! } - public var Watch_LastSeen_Lately: String { return self._s[1661]! } - public var Widget_NoUsers: String { return self._s[1664]! } - public var NotificationsSound_Circles: String { return self._s[1666]! } - public var PrivacyLastSeenSettings_AlwaysShareWith_Title: String { return self._s[1668]! } + public var PasscodeSettings_ChangePasscode: String { return self._s[1651]! } + public var Conversation_SecretLinkPreviewAlert: String { return self._s[1653]! } + public var Privacy_SecretChatsLinkPreviews: String { return self._s[1654]! } + public var Contacts_InviteFriends: String { return self._s[1656]! } + public var Map_ChooseLocationTitle: String { return self._s[1657]! } + public var Calls_RatingFeedback: String { return self._s[1659]! } + public var GroupInfo_BroadcastListNamePlaceholder: String { return self._s[1660]! } + public var NotificationsSound_Pulse: String { return self._s[1661]! } + public var Watch_LastSeen_Lately: String { return self._s[1662]! } + public var Widget_NoUsers: String { return self._s[1665]! } + public var NotificationsSound_Circles: String { return self._s[1667]! } + public var PrivacyLastSeenSettings_AlwaysShareWith_Title: String { return self._s[1669]! } public func CHANNEL_MESSAGE_GEOLIVE(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1669]!, self._r[1669]!, [_1]) + return formatWithArgumentRanges(self._s[1670]!, self._r[1670]!, [_1]) } - public var TwoStepAuth_RecoveryCodeExpired: String { return self._s[1670]! } + public var TwoStepAuth_RecoveryCodeExpired: String { return self._s[1671]! } public func CHAT_MESSAGE_GIF(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1671]!, self._r[1671]!, [_1, _2]) + return formatWithArgumentRanges(self._s[1672]!, self._r[1672]!, [_1, _2]) } - public var Passport_Identity_CountryPlaceholder: String { return self._s[1673]! } - public var Conversation_FileDropbox: String { return self._s[1675]! } - public var Notifications_ExceptionsUnmuted: String { return self._s[1676]! } - public var Tour_Text3: String { return self._s[1678]! } - public var Login_ResetAccountProtected_Title: String { return self._s[1680]! } - public var ChatAdmins_AllMembersAreAdminsOnHelp: String { return self._s[1681]! } + public var Passport_Identity_CountryPlaceholder: String { return self._s[1674]! } + public var Conversation_FileDropbox: String { return self._s[1676]! } + public var Notifications_ExceptionsUnmuted: String { return self._s[1677]! } + public var Tour_Text3: String { return self._s[1679]! } + public var Login_ResetAccountProtected_Title: String { return self._s[1681]! } + public var ChatAdmins_AllMembersAreAdminsOnHelp: String { return self._s[1682]! } public func Conversation_LiveLocationYouAnd(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1683]!, self._r[1683]!, [_0]) + return formatWithArgumentRanges(self._s[1684]!, self._r[1684]!, [_0]) } - public var GroupInfo_AddParticipantTitle: String { return self._s[1684]! } - public var Checkout_ShippingOption_Title: String { return self._s[1685]! } - public var ChatSettings_AutoDownloadTitle: String { return self._s[1686]! } + public var GroupInfo_AddParticipantTitle: String { return self._s[1685]! } + public var Checkout_ShippingOption_Title: String { return self._s[1686]! } + public var ChatSettings_AutoDownloadTitle: String { return self._s[1687]! } public func DialogList_SingleTypingSuffix(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1687]!, self._r[1687]!, [_0]) + return formatWithArgumentRanges(self._s[1688]!, self._r[1688]!, [_0]) } public func CHAT_MESSAGE_ROUND(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1688]!, self._r[1688]!, [_1, _2]) + return formatWithArgumentRanges(self._s[1689]!, self._r[1689]!, [_1, _2]) } - public var PrivacyLastSeenSettings_NeverShareWith_Placeholder: String { return self._s[1689]! } - public var Appearance_PreviewIncomingText: String { return self._s[1691]! } - public var ChannelInfo_ConfirmLeave: String { return self._s[1692]! } - public var MediaPicker_MomentsDateRangeSameMonthYearFormat: String { return self._s[1693]! } - public var Passport_Identity_DocumentNumberPlaceholder: String { return self._s[1694]! } - public var Channel_AdminLogFilter_EventsNewMembers: String { return self._s[1695]! } - public var PasscodeSettings_AutoLock_IfAwayFor_5minutes: String { return self._s[1696]! } - public var GroupInfo_SetGroupPhotoStop: String { return self._s[1697]! } - public var Notification_SecretChatScreenshot: String { return self._s[1698]! } - public var Passport_Address_City: String { return self._s[1700]! } - public var InfoPlist_NSPhotoLibraryAddUsageDescription: String { return self._s[1701]! } - public var SocksProxySetup_SecretPlaceholder: String { return self._s[1702]! } - public var AccessDenied_LocationDisabled: String { return self._s[1703]! } - public var SocksProxySetup_HostnamePlaceholder: String { return self._s[1705]! } - public var GroupInfo_Sound: String { return self._s[1706]! } - public var Stickers_RemoveFromFavorites: String { return self._s[1707]! } - public var Contacts_Title: String { return self._s[1708]! } - public var Passport_Language_fr: String { return self._s[1709]! } + public var PrivacyLastSeenSettings_NeverShareWith_Placeholder: String { return self._s[1690]! } + public var Appearance_PreviewIncomingText: String { return self._s[1692]! } + public var ChannelInfo_ConfirmLeave: String { return self._s[1693]! } + public var MediaPicker_MomentsDateRangeSameMonthYearFormat: String { return self._s[1694]! } + public var Passport_Identity_DocumentNumberPlaceholder: String { return self._s[1695]! } + public var Channel_AdminLogFilter_EventsNewMembers: String { return self._s[1696]! } + public var PasscodeSettings_AutoLock_IfAwayFor_5minutes: String { return self._s[1697]! } + public var GroupInfo_SetGroupPhotoStop: String { return self._s[1698]! } + public var Notification_SecretChatScreenshot: String { return self._s[1699]! } + public var Passport_Address_City: String { return self._s[1701]! } + public var InfoPlist_NSPhotoLibraryAddUsageDescription: String { return self._s[1702]! } + public var SocksProxySetup_SecretPlaceholder: String { return self._s[1703]! } + public var AccessDenied_LocationDisabled: String { return self._s[1704]! } + public var SocksProxySetup_HostnamePlaceholder: String { return self._s[1706]! } + public var GroupInfo_Sound: String { return self._s[1707]! } + public var Stickers_RemoveFromFavorites: String { return self._s[1708]! } + public var Contacts_Title: String { return self._s[1709]! } + public var Passport_Language_fr: String { return self._s[1710]! } public func CHAT_TITLE_EDITED(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1710]!, self._r[1710]!, [_1, _2]) + return formatWithArgumentRanges(self._s[1711]!, self._r[1711]!, [_1, _2]) } - public var Notifications_ResetAllNotifications: String { return self._s[1711]! } - public var PrivacySettings_SecurityTitle: String { return self._s[1714]! } - public var Checkout_NewCard_Title: String { return self._s[1715]! } - public var Login_HaveNotReceivedCodeInternal: String { return self._s[1716]! } - public var Conversation_ForwardChats: String { return self._s[1717]! } - public var Settings_FAQ: String { return self._s[1720]! } - public var AutoDownloadSettings_DocumentsTitle: String { return self._s[1721]! } - public var Conversation_ContextMenuForward: String { return self._s[1722]! } - public var PrivacyPolicy_Title: String { return self._s[1727]! } - public var Notifications_TextTone: String { return self._s[1728]! } - public var Profile_CreateNewContact: String { return self._s[1729]! } - public var AutoNightTheme_AutomaticSection: String { return self._s[1731]! } - public var Channel_Username_InvalidCharacters: String { return self._s[1733]! } + public var Notifications_ResetAllNotifications: String { return self._s[1712]! } + public var PrivacySettings_SecurityTitle: String { return self._s[1715]! } + public var Checkout_NewCard_Title: String { return self._s[1716]! } + public var Login_HaveNotReceivedCodeInternal: String { return self._s[1717]! } + public var Conversation_ForwardChats: String { return self._s[1718]! } + public var Settings_FAQ: String { return self._s[1721]! } + public var AutoDownloadSettings_DocumentsTitle: String { return self._s[1722]! } + public var Conversation_ContextMenuForward: String { return self._s[1723]! } + public var PrivacyPolicy_Title: String { return self._s[1728]! } + public var Notifications_TextTone: String { return self._s[1729]! } + public var Profile_CreateNewContact: String { return self._s[1730]! } + public var AutoNightTheme_AutomaticSection: String { return self._s[1732]! } + public var Channel_Username_InvalidCharacters: String { return self._s[1734]! } public func Channel_AdminLog_MessageChangedChannelUsername(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1734]!, self._r[1734]!, [_0]) + return formatWithArgumentRanges(self._s[1735]!, self._r[1735]!, [_0]) } - public var Channel_AdminLog_CanInviteUsers: String { return self._s[1735]! } - public var Conversation_MessageDeliveryFailed: String { return self._s[1736]! } - public var TextFormat_Italic: String { return self._s[1737]! } - public var Bot_Unblock: String { return self._s[1738]! } - public var Watch_ChatList_NoConversationsText: String { return self._s[1739]! } - public var Weekday_Wednesday: String { return self._s[1740]! } - public var Settings_About_Help: String { return self._s[1741]! } - public var SearchImages_Title: String { return self._s[1742]! } - public var Conversation_ClousStorageInfo_Description1: String { return self._s[1743]! } - public var ExplicitContent_AlertTitle: String { return self._s[1744]! } + public var Channel_AdminLog_CanInviteUsers: String { return self._s[1736]! } + public var Conversation_MessageDeliveryFailed: String { return self._s[1737]! } + public var TextFormat_Italic: String { return self._s[1738]! } + public var Bot_Unblock: String { return self._s[1739]! } + public var Watch_ChatList_NoConversationsText: String { return self._s[1740]! } + public var Weekday_Wednesday: String { return self._s[1741]! } + public var Settings_About_Help: String { return self._s[1742]! } + public var SearchImages_Title: String { return self._s[1743]! } + public var Conversation_ClousStorageInfo_Description1: String { return self._s[1744]! } + public var ExplicitContent_AlertTitle: String { return self._s[1745]! } public func Time_PreciseDate_m5(_ _1: String, _ _2: String, _ _3: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1745]!, self._r[1745]!, [_1, _2, _3]) + return formatWithArgumentRanges(self._s[1746]!, self._r[1746]!, [_1, _2, _3]) } - public var Weekday_Thursday: String { return self._s[1746]! } - public var Channel_Members_AddMembersHelp: String { return self._s[1747]! } + public var Weekday_Thursday: String { return self._s[1747]! } + public var Channel_Members_AddMembersHelp: String { return self._s[1748]! } public func Checkout_SavePasswordTimeout(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1748]!, self._r[1748]!, [_0]) + return formatWithArgumentRanges(self._s[1749]!, self._r[1749]!, [_0]) } - public var Passport_RequestedInformation: String { return self._s[1749]! } - public var Login_PhoneAndCountryHelp: String { return self._s[1750]! } + public var Passport_RequestedInformation: String { return self._s[1750]! } + public var Login_PhoneAndCountryHelp: String { return self._s[1751]! } public func CHAT_MESSAGE_AUDIO(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1751]!, self._r[1751]!, [_1, _2]) + return formatWithArgumentRanges(self._s[1752]!, self._r[1752]!, [_1, _2]) } - public var Conversation_EncryptionProcessing: String { return self._s[1752]! } - public var PhotoEditor_EnhanceTool: String { return self._s[1755]! } - public var Channel_Setup_Title: String { return self._s[1756]! } - public var Conversation_SearchPlaceholder: String { return self._s[1757]! } - public var AccessDenied_LocationAlwaysDenied: String { return self._s[1758]! } - public var Checkout_ErrorGeneric: String { return self._s[1759]! } - public var Passport_Language_hu: String { return self._s[1760]! } + public var Conversation_EncryptionProcessing: String { return self._s[1753]! } + public var PhotoEditor_EnhanceTool: String { return self._s[1756]! } + public var Channel_Setup_Title: String { return self._s[1757]! } + public var Conversation_SearchPlaceholder: String { return self._s[1758]! } + public var AccessDenied_LocationAlwaysDenied: String { return self._s[1759]! } + public var Checkout_ErrorGeneric: String { return self._s[1760]! } + public var Passport_Language_hu: String { return self._s[1761]! } public func Passport_Identity_UploadOneOfScan(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1762]!, self._r[1762]!, [_0]) + return formatWithArgumentRanges(self._s[1763]!, self._r[1763]!, [_0]) } - public var Conversation_CloudStorageInfo_Title: String { return self._s[1765]! } - public var PhotoEditor_CropAspectRatioSquare: String { return self._s[1766]! } + public var Conversation_CloudStorageInfo_Title: String { return self._s[1766]! } + public var PhotoEditor_CropAspectRatioSquare: String { return self._s[1767]! } public func Notification_Exceptions_MutedUntil(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1767]!, self._r[1767]!, [_0]) + return formatWithArgumentRanges(self._s[1768]!, self._r[1768]!, [_0]) } - public var Conversation_ClearPrivateHistory: String { return self._s[1768]! } - public var ContactInfo_PhoneLabelHome: String { return self._s[1769]! } - public var PrivacySettings_LastSeenContacts: String { return self._s[1770]! } + public var Conversation_ClearPrivateHistory: String { return self._s[1769]! } + public var ContactInfo_PhoneLabelHome: String { return self._s[1770]! } + public var PrivacySettings_LastSeenContacts: String { return self._s[1771]! } public func ChangePhone_ErrorOccupied(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1771]!, self._r[1771]!, [_0]) + return formatWithArgumentRanges(self._s[1772]!, self._r[1772]!, [_0]) } - public var Passport_Language_cs: String { return self._s[1772]! } - public var Message_PinnedAnimationMessage: String { return self._s[1773]! } - public var Passport_Identity_ReverseSideHelp: String { return self._s[1775]! } - public var Embed_PlayingInPIP: String { return self._s[1777]! } - public var AutoNightTheme_ScheduleSection: String { return self._s[1778]! } + public var Passport_Language_cs: String { return self._s[1773]! } + public var Message_PinnedAnimationMessage: String { return self._s[1774]! } + public var Passport_Identity_ReverseSideHelp: String { return self._s[1776]! } + public var Embed_PlayingInPIP: String { return self._s[1778]! } + public var AutoNightTheme_ScheduleSection: String { return self._s[1779]! } public func Call_EmojiDescription(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1779]!, self._r[1779]!, [_0]) + return formatWithArgumentRanges(self._s[1780]!, self._r[1780]!, [_0]) } - public var MediaPicker_LivePhotoDescription: String { return self._s[1780]! } + public var MediaPicker_LivePhotoDescription: String { return self._s[1781]! } public func Channel_AdminLog_MessageRestrictedName(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1781]!, self._r[1781]!, [_1]) + return formatWithArgumentRanges(self._s[1782]!, self._r[1782]!, [_1]) } - public var Notification_PaymentSent: String { return self._s[1782]! } - public var PhotoEditor_CurvesGreen: String { return self._s[1783]! } - public var SaveIncomingPhotosSettings_Title: String { return self._s[1784]! } + public var Notification_PaymentSent: String { return self._s[1783]! } + public var PhotoEditor_CurvesGreen: String { return self._s[1784]! } + public var SaveIncomingPhotosSettings_Title: String { return self._s[1785]! } public func ApplyLanguage_UnsufficientDataText(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1785]!, self._r[1785]!, [_1]) + return formatWithArgumentRanges(self._s[1786]!, self._r[1786]!, [_1]) } public func CHAT_MESSAGE_GEOLIVE(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1786]!, self._r[1786]!, [_1, _2]) + return formatWithArgumentRanges(self._s[1787]!, self._r[1787]!, [_1, _2]) } - public var NetworkUsageSettings_CallDataSection: String { return self._s[1787]! } - public var PasscodeSettings_HelpTop: String { return self._s[1788]! } - public var Passport_Address_TypeRentalAgreement: String { return self._s[1789]! } - public var ReportPeer_ReasonOther_Placeholder: String { return self._s[1790]! } - public var CheckoutInfo_ErrorPhoneInvalid: String { return self._s[1791]! } - public var Call_Accept: String { return self._s[1793]! } - public var Month_GenMarch: String { return self._s[1794]! } - public var PhotoEditor_ShadowsTool: String { return self._s[1795]! } - public var LoginPassword_Title: String { return self._s[1796]! } - public var Watch_Conversation_GroupInfo: String { return self._s[1797]! } - public var CallSettings_Always: String { return self._s[1798]! } - public var TwoStepAuth_SetupHint: String { return self._s[1799]! } - public var ConversationProfile_UsersTooMuchError: String { return self._s[1800]! } - public var Login_PhoneTitle: String { return self._s[1801]! } - public var Passport_FieldPhoneHelp: String { return self._s[1802]! } - public var Weekday_ShortSunday: String { return self._s[1803]! } - public var Passport_InfoFAQ_URL: String { return self._s[1804]! } - public var ContactInfo_Job: String { return self._s[1806]! } - public var UserInfo_InviteBotToGroup: String { return self._s[1807]! } - public var TwoStepAuth_PasswordRemovePassportConfirmation: String { return self._s[1808]! } - public var Passport_DeletePersonalDetailsConfirmation: String { return self._s[1809]! } - public var Passport_Identity_AddInternalPassport: String { return self._s[1811]! } - public var MediaPicker_AddCaption: String { return self._s[1812]! } - public var CallSettings_TabIconDescription: String { return self._s[1813]! } - public var Privacy_GroupsAndChannels_AlwaysAllow: String { return self._s[1814]! } - public var Passport_Identity_TypePersonalDetails: String { return self._s[1815]! } - public var DialogList_SearchSectionRecent: String { return self._s[1816]! } - public var PrivacyPolicy_DeclineMessage: String { return self._s[1817]! } - public var LastSeen_WithinAWeek: String { return self._s[1819]! } - public var ChannelMembers_GroupAdminsTitle: String { return self._s[1820]! } - public var Conversation_CloudStorage_ChatStatus: String { return self._s[1822]! } - public var Passport_Address_TypeResidentialAddress: String { return self._s[1823]! } - public var Conversation_StatusLeftGroup: String { return self._s[1824]! } - public var SocksProxySetup_ProxyDetailsTitle: String { return self._s[1825]! } - public var PhotoEditor_BlurToolRadial: String { return self._s[1828]! } - public var Conversation_ContextMenuCopy: String { return self._s[1829]! } - public var AccessDenied_CallMicrophone: String { return self._s[1830]! } + public var NetworkUsageSettings_CallDataSection: String { return self._s[1788]! } + public var PasscodeSettings_HelpTop: String { return self._s[1789]! } + public var Passport_Address_TypeRentalAgreement: String { return self._s[1790]! } + public var ReportPeer_ReasonOther_Placeholder: String { return self._s[1791]! } + public var CheckoutInfo_ErrorPhoneInvalid: String { return self._s[1792]! } + public var Call_Accept: String { return self._s[1794]! } + public var Month_GenMarch: String { return self._s[1795]! } + public var PhotoEditor_ShadowsTool: String { return self._s[1796]! } + public var LoginPassword_Title: String { return self._s[1797]! } + public var Watch_Conversation_GroupInfo: String { return self._s[1798]! } + public var CallSettings_Always: String { return self._s[1799]! } + public var TwoStepAuth_SetupHint: String { return self._s[1800]! } + public var ConversationProfile_UsersTooMuchError: String { return self._s[1801]! } + public var Login_PhoneTitle: String { return self._s[1802]! } + public var Passport_FieldPhoneHelp: String { return self._s[1803]! } + public var Weekday_ShortSunday: String { return self._s[1804]! } + public var Passport_InfoFAQ_URL: String { return self._s[1805]! } + public var ContactInfo_Job: String { return self._s[1807]! } + public var UserInfo_InviteBotToGroup: String { return self._s[1808]! } + public var TwoStepAuth_PasswordRemovePassportConfirmation: String { return self._s[1809]! } + public var Passport_DeletePersonalDetailsConfirmation: String { return self._s[1810]! } + public var Passport_Identity_AddInternalPassport: String { return self._s[1812]! } + public var MediaPicker_AddCaption: String { return self._s[1813]! } + public var CallSettings_TabIconDescription: String { return self._s[1814]! } + public var Privacy_GroupsAndChannels_AlwaysAllow: String { return self._s[1815]! } + public var Passport_Identity_TypePersonalDetails: String { return self._s[1816]! } + public var DialogList_SearchSectionRecent: String { return self._s[1817]! } + public var PrivacyPolicy_DeclineMessage: String { return self._s[1818]! } + public var LastSeen_WithinAWeek: String { return self._s[1820]! } + public var ChannelMembers_GroupAdminsTitle: String { return self._s[1821]! } + public var Conversation_CloudStorage_ChatStatus: String { return self._s[1823]! } + public var Passport_Address_TypeResidentialAddress: String { return self._s[1824]! } + public var Conversation_StatusLeftGroup: String { return self._s[1825]! } + public var SocksProxySetup_ProxyDetailsTitle: String { return self._s[1826]! } + public var PhotoEditor_BlurToolRadial: String { return self._s[1829]! } + public var Conversation_ContextMenuCopy: String { return self._s[1830]! } + public var AccessDenied_CallMicrophone: String { return self._s[1831]! } public func Time_PreciseDate_m2(_ _1: String, _ _2: String, _ _3: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1831]!, self._r[1831]!, [_1, _2, _3]) + return formatWithArgumentRanges(self._s[1832]!, self._r[1832]!, [_1, _2, _3]) } - public var Login_InvalidFirstNameError: String { return self._s[1832]! } - public var Notifications_Badge_CountUnreadMessages_InfoOn: String { return self._s[1833]! } - public var Checkout_PaymentMethod_New: String { return self._s[1834]! } - public var ShareMenu_CopyShareLinkGame: String { return self._s[1835]! } - public var PhotoEditor_QualityTool: String { return self._s[1836]! } - public var Login_SendCodeViaSms: String { return self._s[1837]! } + public var Login_InvalidFirstNameError: String { return self._s[1833]! } + public var Notifications_Badge_CountUnreadMessages_InfoOn: String { return self._s[1834]! } + public var Checkout_PaymentMethod_New: String { return self._s[1835]! } + public var ShareMenu_CopyShareLinkGame: String { return self._s[1836]! } + public var PhotoEditor_QualityTool: String { return self._s[1837]! } + public var Login_SendCodeViaSms: String { return self._s[1838]! } public func CHAT_MESSAGE_CONTACT(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1838]!, self._r[1838]!, [_1, _2]) + return formatWithArgumentRanges(self._s[1839]!, self._r[1839]!, [_1, _2]) } - public var Login_EmailNotConfiguredError: String { return self._s[1839]! } - public var PrivacyPolicy_Accept: String { return self._s[1840]! } - public var Notifications_ExceptionsMessagePlaceholder: String { return self._s[1841]! } - public var InfoPlist_NSLocationAlwaysUsageDescription: String { return self._s[1842]! } - public var AutoNightTheme_Automatic: String { return self._s[1843]! } - public var Channel_Username_InvalidStartsWithNumber: String { return self._s[1844]! } - public var Privacy_ContactsSyncHelp: String { return self._s[1845]! } - public var Cache_Help: String { return self._s[1846]! } - public var Passport_Language_fa: String { return self._s[1847]! } - public var Login_ResetAccountProtected_TimerTitle: String { return self._s[1848]! } - public var PrivacySettings_LastSeen: String { return self._s[1849]! } + public var Login_EmailNotConfiguredError: String { return self._s[1840]! } + public var PrivacyPolicy_Accept: String { return self._s[1841]! } + public var Notifications_ExceptionsMessagePlaceholder: String { return self._s[1842]! } + public var InfoPlist_NSLocationAlwaysUsageDescription: String { return self._s[1843]! } + public var AutoNightTheme_Automatic: String { return self._s[1844]! } + public var Channel_Username_InvalidStartsWithNumber: String { return self._s[1845]! } + public var Privacy_ContactsSyncHelp: String { return self._s[1846]! } + public var Cache_Help: String { return self._s[1847]! } + public var Passport_Language_fa: String { return self._s[1848]! } + public var Login_ResetAccountProtected_TimerTitle: String { return self._s[1849]! } + public var PrivacySettings_LastSeen: String { return self._s[1850]! } public func DialogList_MultipleTyping(_ _0: String, _ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1850]!, self._r[1850]!, [_0, _1]) + return formatWithArgumentRanges(self._s[1851]!, self._r[1851]!, [_0, _1]) } - public var Channel_EditAdmin_PermissionInviteUsers: String { return self._s[1851]! } - public var Preview_SaveGif: String { return self._s[1853]! } - public var Profile_About: String { return self._s[1854]! } - public var Channel_About_Placeholder: String { return self._s[1855]! } - public var Login_InfoTitle: String { return self._s[1856]! } + public var Channel_EditAdmin_PermissionInviteUsers: String { return self._s[1852]! } + public var Preview_SaveGif: String { return self._s[1854]! } + public var Profile_About: String { return self._s[1855]! } + public var Channel_About_Placeholder: String { return self._s[1856]! } + public var Login_InfoTitle: String { return self._s[1857]! } public func TwoStepAuth_SetupPendingEmail(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1857]!, self._r[1857]!, [_0]) + return formatWithArgumentRanges(self._s[1858]!, self._r[1858]!, [_0]) } - public var Watch_Suggestion_CantTalk: String { return self._s[1859]! } - public var ContactInfo_Title: String { return self._s[1860]! } - public var Media_ShareThisVideo: String { return self._s[1861]! } - public var Weekday_ShortFriday: String { return self._s[1862]! } - public var AccessDenied_Contacts: String { return self._s[1863]! } - public var Notification_CallIncomingShort: String { return self._s[1864]! } - public var Group_Setup_TypePublic: String { return self._s[1865]! } - public var Notifications_MessageNotificationsExceptions: String { return self._s[1866]! } - public var Notifications_Badge_IncludeChannels: String { return self._s[1867]! } - public var Notifications_MessageNotificationsPreview: String { return self._s[1870]! } - public var ConversationProfile_ErrorCreatingConversation: String { return self._s[1871]! } - public var Group_ErrorAddTooMuchBots: String { return self._s[1872]! } - public var Privacy_GroupsAndChannels_CustomShareHelp: String { return self._s[1873]! } - public var Permissions_CellularDataAllowInSettings_v0: String { return self._s[1874]! } - public var DialogList_Typing: String { return self._s[1875]! } - public var Checkout_Phone: String { return self._s[1878]! } - public var Login_InfoFirstNamePlaceholder: String { return self._s[1881]! } - public var Privacy_Calls_Integration: String { return self._s[1882]! } - public var Notifications_PermissionsAllow: String { return self._s[1883]! } - public var TwoStepAuth_AddHintDescription: String { return self._s[1887]! } - public var Settings_ChatSettings: String { return self._s[1888]! } + public var Watch_Suggestion_CantTalk: String { return self._s[1860]! } + public var ContactInfo_Title: String { return self._s[1861]! } + public var Media_ShareThisVideo: String { return self._s[1862]! } + public var Weekday_ShortFriday: String { return self._s[1863]! } + public var AccessDenied_Contacts: String { return self._s[1864]! } + public var Notification_CallIncomingShort: String { return self._s[1865]! } + public var Group_Setup_TypePublic: String { return self._s[1866]! } + public var Notifications_MessageNotificationsExceptions: String { return self._s[1867]! } + public var Notifications_Badge_IncludeChannels: String { return self._s[1868]! } + public var Notifications_MessageNotificationsPreview: String { return self._s[1871]! } + public var ConversationProfile_ErrorCreatingConversation: String { return self._s[1872]! } + public var Group_ErrorAddTooMuchBots: String { return self._s[1873]! } + public var Privacy_GroupsAndChannels_CustomShareHelp: String { return self._s[1874]! } + public var Permissions_CellularDataAllowInSettings_v0: String { return self._s[1875]! } + public var DialogList_Typing: String { return self._s[1876]! } + public var Checkout_Phone: String { return self._s[1879]! } + public var Login_InfoFirstNamePlaceholder: String { return self._s[1882]! } + public var Privacy_Calls_Integration: String { return self._s[1883]! } + public var Notifications_PermissionsAllow: String { return self._s[1884]! } + public var TwoStepAuth_AddHintDescription: String { return self._s[1888]! } + public var Settings_ChatSettings: String { return self._s[1889]! } public func Channel_AdminLog_MessageInvitedNameUsername(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1889]!, self._r[1889]!, [_1, _2]) + return formatWithArgumentRanges(self._s[1890]!, self._r[1890]!, [_1, _2]) } - public var Login_ContinueWithLocalization: String { return self._s[1891]! } - public var Watch_Message_ForwardedFrom: String { return self._s[1892]! } - public var TwoStepAuth_EnterEmailCode: String { return self._s[1894]! } - public var Conversation_Unblock: String { return self._s[1895]! } - public var PrivacySettings_DataSettings: String { return self._s[1896]! } - public var Notifications_InAppNotificationsVibrate: String { return self._s[1897]! } + public var Login_ContinueWithLocalization: String { return self._s[1892]! } + public var Watch_Message_ForwardedFrom: String { return self._s[1893]! } + public var TwoStepAuth_EnterEmailCode: String { return self._s[1895]! } + public var Conversation_Unblock: String { return self._s[1896]! } + public var PrivacySettings_DataSettings: String { return self._s[1897]! } + public var Notifications_InAppNotificationsVibrate: String { return self._s[1898]! } public func Privacy_GroupsAndChannels_InviteToChannelError(_ _0: String, _ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1898]!, self._r[1898]!, [_0, _1]) + return formatWithArgumentRanges(self._s[1899]!, self._r[1899]!, [_0, _1]) } - public var PrivacySettings_Passcode: String { return self._s[1901]! } + public var PrivacySettings_Passcode: String { return self._s[1902]! } public func ENCRYPTION_ACCEPT(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1902]!, self._r[1902]!, [_1]) + return formatWithArgumentRanges(self._s[1903]!, self._r[1903]!, [_1]) } - public var Passport_Language_dz: String { return self._s[1903]! } - public var Passport_Language_tk: String { return self._s[1904]! } + public var Passport_Language_dz: String { return self._s[1904]! } + public var Passport_Language_tk: String { return self._s[1905]! } public func Login_EmailCodeSubject(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1905]!, self._r[1905]!, [_0]) + return formatWithArgumentRanges(self._s[1906]!, self._r[1906]!, [_0]) } - public var InfoPlist_NSPhotoLibraryUsageDescription: String { return self._s[1906]! } - public var Conversation_ContextMenuReply: String { return self._s[1907]! } - public var Tour_Title1: String { return self._s[1908]! } + public var InfoPlist_NSPhotoLibraryUsageDescription: String { return self._s[1907]! } + public var Conversation_ContextMenuReply: String { return self._s[1908]! } + public var Tour_Title1: String { return self._s[1909]! } public func MESSAGE_STICKER(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1909]!, self._r[1909]!, [_1, _2]) + return formatWithArgumentRanges(self._s[1910]!, self._r[1910]!, [_1, _2]) } - public var Conversation_ClearGroupHistory: String { return self._s[1911]! } + public var Conversation_ClearGroupHistory: String { return self._s[1912]! } public func Checkout_PasswordEntry_Text(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1912]!, self._r[1912]!, [_0]) + return formatWithArgumentRanges(self._s[1913]!, self._r[1913]!, [_0]) } - public var Call_RateCall: String { return self._s[1913]! } - public var Passport_PasswordCompleteSetup: String { return self._s[1914]! } - public var Conversation_InputTextSilentBroadcastPlaceholder: String { return self._s[1915]! } - public var UserInfo_LastNamePlaceholder: String { return self._s[1917]! } + public var Call_RateCall: String { return self._s[1914]! } + public var Passport_PasswordCompleteSetup: String { return self._s[1915]! } + public var Conversation_InputTextSilentBroadcastPlaceholder: String { return self._s[1916]! } + public var UserInfo_LastNamePlaceholder: String { return self._s[1918]! } public func Login_WillCallYou(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1919]!, self._r[1919]!, [_0]) + return formatWithArgumentRanges(self._s[1920]!, self._r[1920]!, [_0]) } - public var Compose_Create: String { return self._s[1920]! } - public var Contacts_InviteToTelegram: String { return self._s[1921]! } - public var GroupInfo_Notifications: String { return self._s[1922]! } - public var Message_PinnedLiveLocationMessage: String { return self._s[1924]! } - public var Month_GenApril: String { return self._s[1925]! } - public var Appearance_AutoNightTheme: String { return self._s[1926]! } - public var ChatSettings_AutomaticAudioDownload: String { return self._s[1928]! } - public var Login_CodeSentSms: String { return self._s[1930]! } + public var Compose_Create: String { return self._s[1921]! } + public var Contacts_InviteToTelegram: String { return self._s[1922]! } + public var GroupInfo_Notifications: String { return self._s[1923]! } + public var Message_PinnedLiveLocationMessage: String { return self._s[1925]! } + public var Month_GenApril: String { return self._s[1926]! } + public var Appearance_AutoNightTheme: String { return self._s[1927]! } + public var ChatSettings_AutomaticAudioDownload: String { return self._s[1929]! } + public var Login_CodeSentSms: String { return self._s[1931]! } public func UserInfo_UnblockConfirmation(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1931]!, self._r[1931]!, [_0]) + return formatWithArgumentRanges(self._s[1932]!, self._r[1932]!, [_0]) } - public var Passport_Language_hr: String { return self._s[1932]! } + public var Passport_Language_hr: String { return self._s[1933]! } public func Channel_AdminLog_MessageRestrictedNewSetting(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1933]!, self._r[1933]!, [_0]) + return formatWithArgumentRanges(self._s[1934]!, self._r[1934]!, [_0]) } - public var GroupInfo_InviteLink_CopyLink: String { return self._s[1934]! } - public var Conversation_InputTextBroadcastPlaceholder: String { return self._s[1935]! } - public var Privacy_SecretChatsTitle: String { return self._s[1936]! } - public var Notification_SecretChatMessageScreenshotSelf: String { return self._s[1938]! } - public var GroupInfo_AddUserLeftError: String { return self._s[1939]! } - public var Preview_DeleteGif: String { return self._s[1940]! } - public var Group_ErrorNotMutualContact: String { return self._s[1941]! } - public var Notification_MessageLifetime5s: String { return self._s[1942]! } + public var GroupInfo_InviteLink_CopyLink: String { return self._s[1935]! } + public var Conversation_InputTextBroadcastPlaceholder: String { return self._s[1936]! } + public var Privacy_SecretChatsTitle: String { return self._s[1937]! } + public var Notification_SecretChatMessageScreenshotSelf: String { return self._s[1939]! } + public var GroupInfo_AddUserLeftError: String { return self._s[1940]! } + public var Preview_DeleteGif: String { return self._s[1941]! } + public var Group_ErrorNotMutualContact: String { return self._s[1942]! } + public var Notification_MessageLifetime5s: String { return self._s[1943]! } public func Watch_LastSeen_AtDate(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1943]!, self._r[1943]!, [_0]) + return formatWithArgumentRanges(self._s[1944]!, self._r[1944]!, [_0]) } - public var Passport_Address_AddBankStatement: String { return self._s[1945]! } - public var Notification_CallIncoming: String { return self._s[1946]! } - public var TwoStepAuth_RecoveryCodeHelp: String { return self._s[1948]! } - public var Passport_Address_Postcode: String { return self._s[1950]! } + public var Passport_Address_AddBankStatement: String { return self._s[1946]! } + public var Notification_CallIncoming: String { return self._s[1947]! } + public var TwoStepAuth_RecoveryCodeHelp: String { return self._s[1949]! } + public var Passport_Address_Postcode: String { return self._s[1951]! } public func LastSeen_YesterdayAt(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1951]!, self._r[1951]!, [_0]) + return formatWithArgumentRanges(self._s[1952]!, self._r[1952]!, [_0]) } - public var Checkout_NewCard_SaveInfoHelp: String { return self._s[1952]! } + public var Checkout_NewCard_SaveInfoHelp: String { return self._s[1953]! } public func Cache_Clear(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1953]!, self._r[1953]!, [_0]) + return formatWithArgumentRanges(self._s[1954]!, self._r[1954]!, [_0]) } - public var Bot_GroupStatusDoesNotReadHistory: String { return self._s[1954]! } - public var Username_Placeholder: String { return self._s[1955]! } - public var Passport_FieldAddressUploadHelp: String { return self._s[1956]! } - public var Permissions_NotificationsAllowInSettings_v0: String { return self._s[1957]! } - public var Passport_PasswordDescription: String { return self._s[1959]! } - public var Channel_MessagePhotoUpdated: String { return self._s[1960]! } - public var MediaPicker_TapToUngroupDescription: String { return self._s[1961]! } - public var AttachmentMenu_PhotoOrVideo: String { return self._s[1962]! } - public var Conversation_ContextMenuMore: String { return self._s[1963]! } - public var Privacy_PaymentsClearInfo: String { return self._s[1964]! } - public var CallSettings_TabIcon: String { return self._s[1965]! } - public var KeyCommand_Find: String { return self._s[1966]! } - public var Message_PinnedGame: String { return self._s[1967]! } - public var Notifications_Badge_CountUnreadMessages_InfoOff: String { return self._s[1968]! } - public var Login_CallRequestState2: String { return self._s[1970]! } - public var CheckoutInfo_ReceiverInfoNamePlaceholder: String { return self._s[1972]! } + public var Bot_GroupStatusDoesNotReadHistory: String { return self._s[1955]! } + public var Username_Placeholder: String { return self._s[1956]! } + public var Passport_FieldAddressUploadHelp: String { return self._s[1957]! } + public var Permissions_NotificationsAllowInSettings_v0: String { return self._s[1958]! } + public var Passport_PasswordDescription: String { return self._s[1960]! } + public var Channel_MessagePhotoUpdated: String { return self._s[1961]! } + public var MediaPicker_TapToUngroupDescription: String { return self._s[1962]! } + public var AttachmentMenu_PhotoOrVideo: String { return self._s[1963]! } + public var Conversation_ContextMenuMore: String { return self._s[1964]! } + public var Privacy_PaymentsClearInfo: String { return self._s[1965]! } + public var CallSettings_TabIcon: String { return self._s[1966]! } + public var KeyCommand_Find: String { return self._s[1967]! } + public var Message_PinnedGame: String { return self._s[1968]! } + public var Notifications_Badge_CountUnreadMessages_InfoOff: String { return self._s[1969]! } + public var Login_CallRequestState2: String { return self._s[1971]! } + public var CheckoutInfo_ReceiverInfoNamePlaceholder: String { return self._s[1973]! } public func Checkout_PayPrice(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1974]!, self._r[1974]!, [_0]) + return formatWithArgumentRanges(self._s[1975]!, self._r[1975]!, [_0]) } - public var Conversation_InstantPagePreview: String { return self._s[1975]! } + public var Conversation_InstantPagePreview: String { return self._s[1976]! } public func DialogList_SingleUploadingVideoSuffix(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1976]!, self._r[1976]!, [_0]) + return formatWithArgumentRanges(self._s[1977]!, self._r[1977]!, [_0]) } - public var SecretTimer_VideoDescription: String { return self._s[1979]! } - public var Passport_Language_es: String { return self._s[1980]! } - public var Permissions_ContactsAllow_v0: String { return self._s[1982]! } - public var Conversation_EditingMessageMediaEditCurrentVideo: String { return self._s[1983]! } - public var WebPreview_GettingLinkInfo: String { return self._s[1984]! } - public var Watch_UserInfo_Unmute: String { return self._s[1985]! } - public var GroupInfo_ChannelListNamePlaceholder: String { return self._s[1986]! } - public var ChatList_ReadAll: String { return self._s[1988]! } - public var AccessDenied_CameraRestricted: String { return self._s[1989]! } + public var SecretTimer_VideoDescription: String { return self._s[1980]! } + public var Passport_Language_es: String { return self._s[1981]! } + public var Permissions_ContactsAllow_v0: String { return self._s[1983]! } + public var Conversation_EditingMessageMediaEditCurrentVideo: String { return self._s[1984]! } + public var WebPreview_GettingLinkInfo: String { return self._s[1985]! } + public var Watch_UserInfo_Unmute: String { return self._s[1986]! } + public var GroupInfo_ChannelListNamePlaceholder: String { return self._s[1987]! } + public var ChatList_ReadAll: String { return self._s[1989]! } + public var AccessDenied_CameraRestricted: String { return self._s[1990]! } public func Conversation_Kilobytes(_ _0: Int) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1991]!, self._r[1991]!, ["\(_0)"]) + return formatWithArgumentRanges(self._s[1992]!, self._r[1992]!, ["\(_0)"]) } - public var Contacts_SearchLabel: String { return self._s[1993]! } - public var Settings_CopyUsername: String { return self._s[1994]! } + public var Contacts_SearchLabel: String { return self._s[1994]! } + public var Settings_CopyUsername: String { return self._s[1995]! } public func MESSAGE_GEOLIVE(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[1995]!, self._r[1995]!, [_1]) + return formatWithArgumentRanges(self._s[1996]!, self._r[1996]!, [_1]) } - public var Map_OpenInYandexNavigator: String { return self._s[1996]! } - public var PasscodeSettings_EncryptData: String { return self._s[1997]! } - public var Notifications_GroupNotificationsPreview: String { return self._s[1998]! } - public var DialogList_AdNoticeAlert: String { return self._s[1999]! } + public var Map_OpenInYandexNavigator: String { return self._s[1997]! } + public var PasscodeSettings_EncryptData: String { return self._s[1998]! } + public var Notifications_GroupNotificationsPreview: String { return self._s[1999]! } + public var DialogList_AdNoticeAlert: String { return self._s[2000]! } public func CHAT_DELETE_MEMBER(_ _1: String, _ _2: String, _ _3: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2001]!, self._r[2001]!, [_1, _2, _3]) + return formatWithArgumentRanges(self._s[2002]!, self._r[2002]!, [_1, _2, _3]) } - public var CheckoutInfo_ShippingInfoAddress1: String { return self._s[2002]! } - public var CheckoutInfo_ShippingInfoAddress2: String { return self._s[2003]! } - public var Localization_LanguageCustom: String { return self._s[2004]! } - public var Passport_Identity_TypeDriversLicenseUploadScan: String { return self._s[2005]! } + public var CheckoutInfo_ShippingInfoAddress1: String { return self._s[2003]! } + public var CheckoutInfo_ShippingInfoAddress2: String { return self._s[2004]! } + public var Localization_LanguageCustom: String { return self._s[2005]! } + public var Passport_Identity_TypeDriversLicenseUploadScan: String { return self._s[2006]! } public func CHAT_CREATED(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2006]!, self._r[2006]!, [_1, _2]) + return formatWithArgumentRanges(self._s[2007]!, self._r[2007]!, [_1, _2]) } - public var Passport_Address_OneOfTypePassportRegistration: String { return self._s[2008]! } - public var Conversation_InfoGroup: String { return self._s[2009]! } - public var Compose_NewMessage: String { return self._s[2010]! } - public var FastTwoStepSetup_HintPlaceholder: String { return self._s[2011]! } - public var ChatSettings_AutoDownloadVideoMessages: String { return self._s[2012]! } + public var Passport_Address_OneOfTypePassportRegistration: String { return self._s[2009]! } + public var Conversation_InfoGroup: String { return self._s[2010]! } + public var Compose_NewMessage: String { return self._s[2011]! } + public var FastTwoStepSetup_HintPlaceholder: String { return self._s[2012]! } + public var ChatSettings_AutoDownloadVideoMessages: String { return self._s[2013]! } public func Passport_Scans_ScanIndex(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2013]!, self._r[2013]!, [_0]) + return formatWithArgumentRanges(self._s[2014]!, self._r[2014]!, [_0]) } - public var Channel_AdminLog_CanDeleteMessages: String { return self._s[2014]! } - public var Login_CancelSignUpConfirmation: String { return self._s[2015]! } - public var ChangePhoneNumberCode_Help: String { return self._s[2016]! } - public var PrivacySettings_DeleteAccountHelp: String { return self._s[2017]! } - public var Channel_BlackList_Title: String { return self._s[2018]! } - public var UserInfo_PhoneCall: String { return self._s[2019]! } - public var Passport_Address_OneOfTypeBankStatement: String { return self._s[2021]! } - public var State_connecting: String { return self._s[2022]! } + public var Channel_AdminLog_CanDeleteMessages: String { return self._s[2015]! } + public var Login_CancelSignUpConfirmation: String { return self._s[2016]! } + public var ChangePhoneNumberCode_Help: String { return self._s[2017]! } + public var PrivacySettings_DeleteAccountHelp: String { return self._s[2018]! } + public var Channel_BlackList_Title: String { return self._s[2019]! } + public var UserInfo_PhoneCall: String { return self._s[2020]! } + public var Passport_Address_OneOfTypeBankStatement: String { return self._s[2022]! } + public var State_connecting: String { return self._s[2023]! } public func DialogList_SingleRecordingAudioSuffix(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2023]!, self._r[2023]!, [_0]) + return formatWithArgumentRanges(self._s[2024]!, self._r[2024]!, [_0]) } - public var Notifications_GroupNotifications: String { return self._s[2024]! } - public var Passport_Identity_EditPassport: String { return self._s[2025]! } - public var EnterPasscode_RepeatNewPasscode: String { return self._s[2027]! } - public var Localization_EnglishLanguageName: String { return self._s[2028]! } - public var Share_AuthDescription: String { return self._s[2029]! } - public var Passport_Identity_Surname: String { return self._s[2030]! } - public var Compose_TokenListPlaceholder: String { return self._s[2031]! } - public var Passport_Identity_OneOfTypePassport: String { return self._s[2032]! } - public var Settings_AboutEmpty: String { return self._s[2033]! } - public var Conversation_Unmute: String { return self._s[2034]! } - public var Login_CodeSentCall: String { return self._s[2037]! } - public var ContactInfo_PhoneLabelHomeFax: String { return self._s[2038]! } - public var ChatSettings_Appearance: String { return self._s[2039]! } - public var Appearance_PickAccentColor: String { return self._s[2040]! } - public var Notification_CallMissed: String { return self._s[2041]! } - public var Channel_AdminLogFilter_EventsInfo: String { return self._s[2042]! } - public var ChatAdmins_AdminLabel: String { return self._s[2044]! } - public var KeyCommand_JumpToNextChat: String { return self._s[2045]! } - public var ChangePhoneNumberCode_CodePlaceholder: String { return self._s[2047]! } - public var Month_GenJune: String { return self._s[2048]! } - public var Watch_Location_Current: String { return self._s[2049]! } + public var Notifications_GroupNotifications: String { return self._s[2025]! } + public var Passport_Identity_EditPassport: String { return self._s[2026]! } + public var EnterPasscode_RepeatNewPasscode: String { return self._s[2028]! } + public var Localization_EnglishLanguageName: String { return self._s[2029]! } + public var Share_AuthDescription: String { return self._s[2030]! } + public var Passport_Identity_Surname: String { return self._s[2031]! } + public var Compose_TokenListPlaceholder: String { return self._s[2032]! } + public var Passport_Identity_OneOfTypePassport: String { return self._s[2033]! } + public var Settings_AboutEmpty: String { return self._s[2034]! } + public var Conversation_Unmute: String { return self._s[2035]! } + public var Login_CodeSentCall: String { return self._s[2038]! } + public var ContactInfo_PhoneLabelHomeFax: String { return self._s[2039]! } + public var ChatSettings_Appearance: String { return self._s[2040]! } + public var Appearance_PickAccentColor: String { return self._s[2041]! } + public var Notification_CallMissed: String { return self._s[2042]! } + public var Channel_AdminLogFilter_EventsInfo: String { return self._s[2043]! } + public var ChatAdmins_AdminLabel: String { return self._s[2045]! } + public var KeyCommand_JumpToNextChat: String { return self._s[2046]! } + public var ChangePhoneNumberCode_CodePlaceholder: String { return self._s[2048]! } + public var Month_GenJune: String { return self._s[2049]! } + public var Watch_Location_Current: String { return self._s[2050]! } public func PINNED_ROUND(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2050]!, self._r[2050]!, [_1]) + return formatWithArgumentRanges(self._s[2051]!, self._r[2051]!, [_1]) } - public var GroupInfo_DeleteAndExit: String { return self._s[2051]! } + public var GroupInfo_DeleteAndExit: String { return self._s[2052]! } public func Conversation_Moderate_DeleteAllMessages(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2052]!, self._r[2052]!, [_0]) + return formatWithArgumentRanges(self._s[2053]!, self._r[2053]!, [_0]) } - public var Call_ReportPlaceholder: String { return self._s[2053]! } - public var MaskStickerSettings_Info: String { return self._s[2054]! } + public var Call_ReportPlaceholder: String { return self._s[2054]! } + public var MaskStickerSettings_Info: String { return self._s[2055]! } public func GroupInfo_AddParticipantConfirmation(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2055]!, self._r[2055]!, [_0]) + return formatWithArgumentRanges(self._s[2056]!, self._r[2056]!, [_0]) } - public var Checkout_NewCard_PostcodeTitle: String { return self._s[2056]! } - public var Passport_Address_RegionPlaceholder: String { return self._s[2058]! } - public var Contacts_ShareTelegram: String { return self._s[2059]! } - public var EnterPasscode_EnterNewPasscodeNew: String { return self._s[2060]! } - public var Channel_ErrorAccessDenied: String { return self._s[2061]! } - public var Stickers_GroupChooseStickerPack: String { return self._s[2063]! } - public var Call_ConnectionErrorTitle: String { return self._s[2064]! } - public var UserInfo_NotificationsEnable: String { return self._s[2065]! } - public var Tour_Text4: String { return self._s[2068]! } + public var Checkout_NewCard_PostcodeTitle: String { return self._s[2057]! } + public var Passport_Address_RegionPlaceholder: String { return self._s[2059]! } + public var Contacts_ShareTelegram: String { return self._s[2060]! } + public var EnterPasscode_EnterNewPasscodeNew: String { return self._s[2061]! } + public var Channel_ErrorAccessDenied: String { return self._s[2062]! } + public var Stickers_GroupChooseStickerPack: String { return self._s[2064]! } + public var Call_ConnectionErrorTitle: String { return self._s[2065]! } + public var UserInfo_NotificationsEnable: String { return self._s[2066]! } + public var Tour_Text4: String { return self._s[2069]! } public func CHANNEL_MESSAGE_NOTEXT(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2070]!, self._r[2070]!, [_1]) + return formatWithArgumentRanges(self._s[2071]!, self._r[2071]!, [_1]) } - public var Profile_MessageLifetime2s: String { return self._s[2071]! } - public var Notification_MessageLifetime2s: String { return self._s[2072]! } + public var Profile_MessageLifetime2s: String { return self._s[2072]! } + public var Notification_MessageLifetime2s: String { return self._s[2073]! } public func Time_PreciseDate_m10(_ _1: String, _ _2: String, _ _3: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2073]!, self._r[2073]!, [_1, _2, _3]) + return formatWithArgumentRanges(self._s[2074]!, self._r[2074]!, [_1, _2, _3]) } - public var Cache_ClearCache: String { return self._s[2074]! } - public var AutoNightTheme_UpdateLocation: String { return self._s[2075]! } - public var Permissions_NotificationsUnreachableText_v0: String { return self._s[2076]! } + public var Cache_ClearCache: String { return self._s[2075]! } + public var AutoNightTheme_UpdateLocation: String { return self._s[2076]! } + public var Permissions_NotificationsUnreachableText_v0: String { return self._s[2077]! } public func Channel_AdminLog_MessageChangedGroupUsername(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2078]!, self._r[2078]!, [_0]) + return formatWithArgumentRanges(self._s[2079]!, self._r[2079]!, [_0]) } - public var Channel_AdminLog_EmptyFilterTitle: String { return self._s[2080]! } - public var SocksProxySetup_TypeSocks: String { return self._s[2081]! } - public var AutoNightTheme_Title: String { return self._s[2082]! } - public var InstantPage_FeedbackButton: String { return self._s[2083]! } - public var Passport_FieldAddress: String { return self._s[2084]! } - public var Month_ShortMarch: String { return self._s[2085]! } - public var SocksProxySetup_UsernamePlaceholder: String { return self._s[2086]! } - public var Conversation_ShareInlineBotLocationConfirmation: String { return self._s[2087]! } - public var Passport_FloodError: String { return self._s[2088]! } - public var SecretGif_Title: String { return self._s[2089]! } - public var Passport_Language_th: String { return self._s[2091]! } - public var Passport_Address_Address: String { return self._s[2092]! } - public var Login_InvalidLastNameError: String { return self._s[2093]! } - public var Notifications_InAppNotificationsPreview: String { return self._s[2094]! } - public var ShareMenu_Send: String { return self._s[2095]! } - public var Month_GenNovember: String { return self._s[2098]! } - public var Checkout_Email: String { return self._s[2100]! } - public var NotificationsSound_Tritone: String { return self._s[2101]! } - public var StickerPacksSettings_ManagingHelp: String { return self._s[2103]! } - public var ChangePhoneNumberNumber_Help: String { return self._s[2106]! } + public var Channel_AdminLog_EmptyFilterTitle: String { return self._s[2081]! } + public var SocksProxySetup_TypeSocks: String { return self._s[2082]! } + public var AutoNightTheme_Title: String { return self._s[2083]! } + public var InstantPage_FeedbackButton: String { return self._s[2084]! } + public var Passport_FieldAddress: String { return self._s[2085]! } + public var Month_ShortMarch: String { return self._s[2086]! } + public var SocksProxySetup_UsernamePlaceholder: String { return self._s[2087]! } + public var Conversation_ShareInlineBotLocationConfirmation: String { return self._s[2088]! } + public var Passport_FloodError: String { return self._s[2089]! } + public var SecretGif_Title: String { return self._s[2090]! } + public var Passport_Language_th: String { return self._s[2092]! } + public var Passport_Address_Address: String { return self._s[2093]! } + public var Login_InvalidLastNameError: String { return self._s[2094]! } + public var Notifications_InAppNotificationsPreview: String { return self._s[2095]! } + public var ShareMenu_Send: String { return self._s[2096]! } + public var Month_GenNovember: String { return self._s[2099]! } + public var Checkout_Email: String { return self._s[2101]! } + public var NotificationsSound_Tritone: String { return self._s[2102]! } + public var StickerPacksSettings_ManagingHelp: String { return self._s[2104]! } + public var ChangePhoneNumberNumber_Help: String { return self._s[2107]! } public func Checkout_LiabilityAlert(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2107]!, self._r[2107]!, [_1, _1, _1, _2]) + return formatWithArgumentRanges(self._s[2108]!, self._r[2108]!, [_1, _1, _1, _2]) } - public var DialogList_You: String { return self._s[2108]! } - public var MediaPicker_Send: String { return self._s[2111]! } - public var Call_AudioRouteSpeaker: String { return self._s[2112]! } - public var Watch_UserInfo_Title: String { return self._s[2113]! } - public var Appearance_AccentColor: String { return self._s[2114]! } + public var DialogList_You: String { return self._s[2109]! } + public var MediaPicker_Send: String { return self._s[2112]! } + public var Call_AudioRouteSpeaker: String { return self._s[2113]! } + public var Watch_UserInfo_Title: String { return self._s[2114]! } + public var Appearance_AccentColor: String { return self._s[2115]! } public func Login_EmailPhoneSubject(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2115]!, self._r[2115]!, [_0]) + return formatWithArgumentRanges(self._s[2116]!, self._r[2116]!, [_0]) } - public var Permissions_ContactsAllowInSettings_v0: String { return self._s[2116]! } - public var Conversation_ClousStorageInfo_Description2: String { return self._s[2117]! } - public var WebSearch_RecentClearConfirmation: String { return self._s[2118]! } - public var Notification_CallOutgoing: String { return self._s[2119]! } - public var PrivacySettings_PasscodeAndFaceId: String { return self._s[2120]! } - public var Call_RecordingDisabledMessage: String { return self._s[2121]! } - public var PrivacyLastSeenSettings_CustomHelp: String { return self._s[2122]! } - public var Channel_EditAdmin_PermissionAddAdmins: String { return self._s[2123]! } - public var Date_DialogDateFormat: String { return self._s[2124]! } - public var Notifications_InAppNotifications: String { return self._s[2125]! } + public var Permissions_ContactsAllowInSettings_v0: String { return self._s[2117]! } + public var Conversation_ClousStorageInfo_Description2: String { return self._s[2118]! } + public var WebSearch_RecentClearConfirmation: String { return self._s[2119]! } + public var Notification_CallOutgoing: String { return self._s[2120]! } + public var PrivacySettings_PasscodeAndFaceId: String { return self._s[2121]! } + public var Call_RecordingDisabledMessage: String { return self._s[2122]! } + public var PrivacyLastSeenSettings_CustomHelp: String { return self._s[2123]! } + public var Channel_EditAdmin_PermissionAddAdmins: String { return self._s[2124]! } + public var Date_DialogDateFormat: String { return self._s[2125]! } + public var Notifications_InAppNotifications: String { return self._s[2126]! } public func Settings_ApplyProxyAlert(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2126]!, self._r[2126]!, [_1, _2]) + return formatWithArgumentRanges(self._s[2127]!, self._r[2127]!, [_1, _2]) } - public var NewContact_Title: String { return self._s[2127]! } - public var Conversation_ViewContactDetails: String { return self._s[2128]! } - public var Checkout_NewCard_CardholderNameTitle: String { return self._s[2129]! } - public var Passport_Identity_ExpiryDateNone: String { return self._s[2130]! } - public var PrivacySettings_Title: String { return self._s[2131]! } - public var Conversation_SilentBroadcastTooltipOff: String { return self._s[2134]! } + public var NewContact_Title: String { return self._s[2128]! } + public var Conversation_ViewContactDetails: String { return self._s[2129]! } + public var Checkout_NewCard_CardholderNameTitle: String { return self._s[2130]! } + public var Passport_Identity_ExpiryDateNone: String { return self._s[2131]! } + public var PrivacySettings_Title: String { return self._s[2132]! } + public var Conversation_SilentBroadcastTooltipOff: String { return self._s[2135]! } public func CHANNEL_MESSAGE_CONTACT(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2135]!, self._r[2135]!, [_1]) + return formatWithArgumentRanges(self._s[2136]!, self._r[2136]!, [_1]) } - public var Contacts_PhoneNumber: String { return self._s[2136]! } - public var Map_ShowPlaces: String { return self._s[2138]! } - public var ChatAdmins_Title: String { return self._s[2139]! } - public var InstantPage_Reference: String { return self._s[2141]! } - public var Camera_FlashOff: String { return self._s[2142]! } - public var Watch_UserInfo_Block: String { return self._s[2143]! } - public var ChatSettings_Stickers: String { return self._s[2144]! } - public var ChatSettings_DownloadInBackground: String { return self._s[2145]! } + public var Contacts_PhoneNumber: String { return self._s[2137]! } + public var Map_ShowPlaces: String { return self._s[2139]! } + public var ChatAdmins_Title: String { return self._s[2140]! } + public var InstantPage_Reference: String { return self._s[2142]! } + public var Camera_FlashOff: String { return self._s[2143]! } + public var Watch_UserInfo_Block: String { return self._s[2144]! } + public var ChatSettings_Stickers: String { return self._s[2145]! } + public var ChatSettings_DownloadInBackground: String { return self._s[2146]! } public func UserInfo_BlockConfirmation(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2146]!, self._r[2146]!, [_0]) + return formatWithArgumentRanges(self._s[2147]!, self._r[2147]!, [_0]) } - public var Login_CheckOtherSessionMessages: String { return self._s[2147]! } - public var Settings_ViewPhoto: String { return self._s[2148]! } - public var AutoDownloadSettings_Cellular: String { return self._s[2149]! } + public var Login_CheckOtherSessionMessages: String { return self._s[2148]! } + public var Settings_ViewPhoto: String { return self._s[2149]! } + public var AutoDownloadSettings_Cellular: String { return self._s[2150]! } public func Target_InviteToGroupConfirmation(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2151]!, self._r[2151]!, [_0]) + return formatWithArgumentRanges(self._s[2152]!, self._r[2152]!, [_0]) } - public var Privacy_DeleteDrafts: String { return self._s[2152]! } + public var Privacy_DeleteDrafts: String { return self._s[2153]! } public func LastSeen_AtDate(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2153]!, self._r[2153]!, [_0]) + return formatWithArgumentRanges(self._s[2154]!, self._r[2154]!, [_0]) } - public var DialogList_SavedMessagesHelp: String { return self._s[2154]! } - public var DialogList_SavedMessages: String { return self._s[2155]! } - public var GroupInfo_UpgradeButton: String { return self._s[2156]! } + public var DialogList_SavedMessagesHelp: String { return self._s[2155]! } + public var DialogList_SavedMessages: String { return self._s[2156]! } + public var GroupInfo_UpgradeButton: String { return self._s[2157]! } public func CHAT_MESSAGE_GAME(_ _1: String, _ _2: String, _ _3: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2157]!, self._r[2157]!, [_1, _2, _3]) + return formatWithArgumentRanges(self._s[2158]!, self._r[2158]!, [_1, _2, _3]) } - public var DialogList_Pin: String { return self._s[2158]! } + public var DialogList_Pin: String { return self._s[2159]! } public func ForwardedAuthors2(_ _0: String, _ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2159]!, self._r[2159]!, [_0, _1]) + return formatWithArgumentRanges(self._s[2160]!, self._r[2160]!, [_0, _1]) } - public var Notification_Exceptions_AlwaysOn: String { return self._s[2160]! } - public var UserInfo_NotificationsDisable: String { return self._s[2161]! } - public var Paint_Outlined: String { return self._s[2162]! } - public var Activity_PlayingGame: String { return self._s[2163]! } - public var SearchImages_NoImagesFound: String { return self._s[2164]! } - public var SocksProxySetup_ProxyType: String { return self._s[2165]! } - public var AppleWatch_ReplyPresetsHelp: String { return self._s[2167]! } - public var Settings_AppLanguage: String { return self._s[2168]! } - public var TwoStepAuth_ResetAccountHelp: String { return self._s[2169]! } - public var Common_ChoosePhoto: String { return self._s[2170]! } - public var Privacy_Calls_AlwaysAllow: String { return self._s[2171]! } - public var Activity_UploadingVideo: String { return self._s[2172]! } - public var ChannelInfo_DeleteChannelConfirmation: String { return self._s[2173]! } - public var NetworkUsageSettings_Wifi: String { return self._s[2174]! } - public var Channel_BanUser_PermissionReadMessages: String { return self._s[2175]! } - public var Checkout_PayWithTouchId: String { return self._s[2176]! } - public var Notifications_ExceptionsNone: String { return self._s[2178]! } + public var Notification_Exceptions_AlwaysOn: String { return self._s[2161]! } + public var UserInfo_NotificationsDisable: String { return self._s[2162]! } + public var Paint_Outlined: String { return self._s[2163]! } + public var Activity_PlayingGame: String { return self._s[2164]! } + public var SearchImages_NoImagesFound: String { return self._s[2165]! } + public var SocksProxySetup_ProxyType: String { return self._s[2166]! } + public var AppleWatch_ReplyPresetsHelp: String { return self._s[2168]! } + public var Settings_AppLanguage: String { return self._s[2169]! } + public var TwoStepAuth_ResetAccountHelp: String { return self._s[2170]! } + public var Common_ChoosePhoto: String { return self._s[2171]! } + public var Privacy_Calls_AlwaysAllow: String { return self._s[2172]! } + public var Activity_UploadingVideo: String { return self._s[2173]! } + public var ChannelInfo_DeleteChannelConfirmation: String { return self._s[2174]! } + public var NetworkUsageSettings_Wifi: String { return self._s[2175]! } + public var Channel_BanUser_PermissionReadMessages: String { return self._s[2176]! } + public var Checkout_PayWithTouchId: String { return self._s[2177]! } + public var Notifications_ExceptionsNone: String { return self._s[2179]! } public func Message_ForwardedMessageShort(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2179]!, self._r[2179]!, [_0]) + return formatWithArgumentRanges(self._s[2180]!, self._r[2180]!, [_0]) } - public var AuthSessions_IncompleteAttempts: String { return self._s[2180]! } - public var Passport_Address_Region: String { return self._s[2184]! } - public var PhotoEditor_TiltShift: String { return self._s[2185]! } - public var Settings_FAQ_URL: String { return self._s[2186]! } - public var Passport_Language_sl: String { return self._s[2187]! } - public var Settings_PrivacySettings: String { return self._s[2189]! } - public var SharedMedia_TitleLink: String { return self._s[2190]! } - public var Passport_Identity_TypePassportUploadScan: String { return self._s[2191]! } - public var Settings_SetProfilePhoto: String { return self._s[2192]! } - public var Channel_About_Help: String { return self._s[2193]! } - public var AttachmentMenu_SendAsFiles: String { return self._s[2194]! } - public var Passport_Address_AddTemporaryRegistration: String { return self._s[2196]! } - public var PrivacySettings_DeleteAccountTitle: String { return self._s[2197]! } - public var AccessDenied_VideoMessageCamera: String { return self._s[2199]! } - public var Map_OpenInYandexMaps: String { return self._s[2201]! } - public var PhotoEditor_SaturationTool: String { return self._s[2202]! } - public var Notification_Exceptions_NewException_NotificationHeader: String { return self._s[2203]! } - public var Appearance_TextSize: String { return self._s[2204]! } - public var Channel_Username_InvalidTooShort: String { return self._s[2206]! } - public var Passport_PassportInformation: String { return self._s[2209]! } - public var WatchRemote_AlertTitle: String { return self._s[2210]! } - public var Privacy_GroupsAndChannels_NeverAllow: String { return self._s[2211]! } - public var ConvertToSupergroup_HelpText: String { return self._s[2213]! } + public var AuthSessions_IncompleteAttempts: String { return self._s[2181]! } + public var Passport_Address_Region: String { return self._s[2185]! } + public var PhotoEditor_TiltShift: String { return self._s[2186]! } + public var Settings_FAQ_URL: String { return self._s[2187]! } + public var Passport_Language_sl: String { return self._s[2188]! } + public var Settings_PrivacySettings: String { return self._s[2190]! } + public var SharedMedia_TitleLink: String { return self._s[2191]! } + public var Passport_Identity_TypePassportUploadScan: String { return self._s[2192]! } + public var Settings_SetProfilePhoto: String { return self._s[2193]! } + public var Channel_About_Help: String { return self._s[2194]! } + public var AttachmentMenu_SendAsFiles: String { return self._s[2195]! } + public var Passport_Address_AddTemporaryRegistration: String { return self._s[2197]! } + public var PrivacySettings_DeleteAccountTitle: String { return self._s[2198]! } + public var AccessDenied_VideoMessageCamera: String { return self._s[2200]! } + public var Map_OpenInYandexMaps: String { return self._s[2202]! } + public var PhotoEditor_SaturationTool: String { return self._s[2203]! } + public var Notification_Exceptions_NewException_NotificationHeader: String { return self._s[2204]! } + public var Appearance_TextSize: String { return self._s[2205]! } + public var Channel_Username_InvalidTooShort: String { return self._s[2207]! } + public var Passport_PassportInformation: String { return self._s[2210]! } + public var WatchRemote_AlertTitle: String { return self._s[2211]! } + public var Privacy_GroupsAndChannels_NeverAllow: String { return self._s[2212]! } + public var ConvertToSupergroup_HelpText: String { return self._s[2214]! } public func Time_MonthOfYear_m7(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2214]!, self._r[2214]!, [_0]) + return formatWithArgumentRanges(self._s[2215]!, self._r[2215]!, [_0]) } - public var Privacy_GroupsAndChannels_CustomHelp: String { return self._s[2215]! } - public var TwoStepAuth_RecoveryCodeInvalid: String { return self._s[2217]! } - public var AccessDenied_CameraDisabled: String { return self._s[2218]! } + public var Privacy_GroupsAndChannels_CustomHelp: String { return self._s[2216]! } + public var TwoStepAuth_RecoveryCodeInvalid: String { return self._s[2218]! } + public var AccessDenied_CameraDisabled: String { return self._s[2219]! } public func Channel_Username_UsernameIsAvailable(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2219]!, self._r[2219]!, [_0]) + return formatWithArgumentRanges(self._s[2220]!, self._r[2220]!, [_0]) } - public var PhotoEditor_ContrastTool: String { return self._s[2222]! } - public var DialogList_Draft: String { return self._s[2223]! } - public var Privacy_TopPeersDelete: String { return self._s[2225]! } - public var LoginPassword_PasswordPlaceholder: String { return self._s[2226]! } - public var Passport_Identity_TypeIdentityCardUploadScan: String { return self._s[2227]! } - public var WebSearch_RecentSectionClear: String { return self._s[2228]! } - public var Watch_ChatList_NoConversationsTitle: String { return self._s[2230]! } - public var Common_Done: String { return self._s[2231]! } - public var AuthSessions_EmptyText: String { return self._s[2232]! } - public var Conversation_ShareBotContactConfirmation: String { return self._s[2233]! } - public var Tour_Title5: String { return self._s[2234]! } + public var PhotoEditor_ContrastTool: String { return self._s[2223]! } + public var DialogList_Draft: String { return self._s[2224]! } + public var Privacy_TopPeersDelete: String { return self._s[2226]! } + public var LoginPassword_PasswordPlaceholder: String { return self._s[2227]! } + public var Passport_Identity_TypeIdentityCardUploadScan: String { return self._s[2228]! } + public var WebSearch_RecentSectionClear: String { return self._s[2229]! } + public var Watch_ChatList_NoConversationsTitle: String { return self._s[2231]! } + public var Common_Done: String { return self._s[2232]! } + public var AuthSessions_EmptyText: String { return self._s[2233]! } + public var Conversation_ShareBotContactConfirmation: String { return self._s[2234]! } + public var Tour_Title5: String { return self._s[2235]! } public func Map_DirectionsDriveEta(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2235]!, self._r[2235]!, [_0]) + return formatWithArgumentRanges(self._s[2236]!, self._r[2236]!, [_0]) } - public var ApplyLanguage_UnsufficientDataTitle: String { return self._s[2236]! } - public var Conversation_LinkDialogSave: String { return self._s[2237]! } - public var GroupInfo_ActionRestrict: String { return self._s[2238]! } - public var Checkout_Title: String { return self._s[2239]! } - public var Channel_AdminLog_CanChangeInfo: String { return self._s[2242]! } - public var Notification_RenamedGroup: String { return self._s[2243]! } - public var Checkout_PayWithFaceId: String { return self._s[2244]! } - public var Channel_BanList_BlockedTitle: String { return self._s[2245]! } - public var Checkout_WebConfirmation_Title: String { return self._s[2247]! } - public var Notifications_MessageNotificationsAlert: String { return self._s[2248]! } - public var Profile_AddToExisting: String { return self._s[2250]! } + public var ApplyLanguage_UnsufficientDataTitle: String { return self._s[2237]! } + public var Conversation_LinkDialogSave: String { return self._s[2238]! } + public var GroupInfo_ActionRestrict: String { return self._s[2239]! } + public var Checkout_Title: String { return self._s[2240]! } + public var Channel_AdminLog_CanChangeInfo: String { return self._s[2243]! } + public var Notification_RenamedGroup: String { return self._s[2244]! } + public var Checkout_PayWithFaceId: String { return self._s[2245]! } + public var Channel_BanList_BlockedTitle: String { return self._s[2246]! } + public var Checkout_WebConfirmation_Title: String { return self._s[2248]! } + public var Notifications_MessageNotificationsAlert: String { return self._s[2249]! } + public var Profile_AddToExisting: String { return self._s[2251]! } public func Profile_CreateEncryptedChatOutdatedError(_ _0: String, _ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2251]!, self._r[2251]!, [_0, _1]) + return formatWithArgumentRanges(self._s[2252]!, self._r[2252]!, [_0, _1]) } - public var Cache_Files: String { return self._s[2252]! } - public var Permissions_PrivacyPolicy: String { return self._s[2253]! } - public var SocksProxySetup_ConnectAndSave: String { return self._s[2254]! } - public var UserInfo_NotificationsDefaultDisabled: String { return self._s[2255]! } - public var Calls_NoCallsPlaceholder: String { return self._s[2258]! } - public var Channel_Username_RevokeExistingUsernamesInfo: String { return self._s[2259]! } - public var Notifications_ExceptionsGroupPlaceholder: String { return self._s[2261]! } - public var Passport_FieldAddressHelp: String { return self._s[2262]! } - public var Privacy_GroupsAndChannels_InviteToChannelMultipleError: String { return self._s[2263]! } + public var Cache_Files: String { return self._s[2253]! } + public var Permissions_PrivacyPolicy: String { return self._s[2254]! } + public var SocksProxySetup_ConnectAndSave: String { return self._s[2255]! } + public var UserInfo_NotificationsDefaultDisabled: String { return self._s[2256]! } + public var Calls_NoCallsPlaceholder: String { return self._s[2259]! } + public var Channel_Username_RevokeExistingUsernamesInfo: String { return self._s[2260]! } + public var Notifications_ExceptionsGroupPlaceholder: String { return self._s[2262]! } + public var Passport_FieldAddressHelp: String { return self._s[2263]! } + public var Privacy_GroupsAndChannels_InviteToChannelMultipleError: String { return self._s[2264]! } public func Login_TermsOfService_ProceedBot(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2264]!, self._r[2264]!, [_0]) + return formatWithArgumentRanges(self._s[2265]!, self._r[2265]!, [_0]) } - public var Channel_AdminLog_EmptyTitle: String { return self._s[2265]! } - public var Privacy_Calls_NeverAllow_Title: String { return self._s[2267]! } - public var Login_UnknownError: String { return self._s[2268]! } - public var Group_UpgradeNoticeText2: String { return self._s[2270]! } - public var Watch_Compose_AddContact: String { return self._s[2271]! } - public var Web_Error: String { return self._s[2272]! } - public var Profile_MessageLifetime1h: String { return self._s[2273]! } - public var CheckoutInfo_ReceiverInfoEmailPlaceholder: String { return self._s[2274]! } - public var Channel_Username_CheckingUsername: String { return self._s[2275]! } + public var Channel_AdminLog_EmptyTitle: String { return self._s[2266]! } + public var Privacy_Calls_NeverAllow_Title: String { return self._s[2268]! } + public var Login_UnknownError: String { return self._s[2269]! } + public var Group_UpgradeNoticeText2: String { return self._s[2271]! } + public var Watch_Compose_AddContact: String { return self._s[2272]! } + public var Web_Error: String { return self._s[2273]! } + public var Profile_MessageLifetime1h: String { return self._s[2274]! } + public var CheckoutInfo_ReceiverInfoEmailPlaceholder: String { return self._s[2275]! } + public var Channel_Username_CheckingUsername: String { return self._s[2276]! } public func PINNED_GAME(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2276]!, self._r[2276]!, [_1]) + return formatWithArgumentRanges(self._s[2277]!, self._r[2277]!, [_1]) } - public var Channel_AboutItem: String { return self._s[2277]! } - public var Privacy_GroupsAndChannels_AlwaysAllow_Placeholder: String { return self._s[2279]! } - public var GroupInfo_SharedMedia: String { return self._s[2280]! } + public var Channel_AboutItem: String { return self._s[2278]! } + public var Privacy_GroupsAndChannels_AlwaysAllow_Placeholder: String { return self._s[2280]! } + public var GroupInfo_SharedMedia: String { return self._s[2281]! } public func Channel_AdminLog_MessagePromotedName(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2281]!, self._r[2281]!, [_1]) + return formatWithArgumentRanges(self._s[2282]!, self._r[2282]!, [_1]) } - public var Call_PhoneCallInProgressMessage: String { return self._s[2282]! } - public var GroupInfo_InviteLink_RevokeAlert_Text: String { return self._s[2283]! } - public var Conversation_SearchByName_Placeholder: String { return self._s[2284]! } - public var Group_UpgradeNoticeHeader: String { return self._s[2285]! } - public var Channel_Management_AddModerator: String { return self._s[2286]! } - public var StickerPacksSettings_ShowStickersButton: String { return self._s[2287]! } - public var NotificationsSound_Hello: String { return self._s[2288]! } + public var Call_PhoneCallInProgressMessage: String { return self._s[2283]! } + public var GroupInfo_InviteLink_RevokeAlert_Text: String { return self._s[2284]! } + public var Conversation_SearchByName_Placeholder: String { return self._s[2285]! } + public var Group_UpgradeNoticeHeader: String { return self._s[2286]! } + public var Channel_Management_AddModerator: String { return self._s[2287]! } + public var StickerPacksSettings_ShowStickersButton: String { return self._s[2288]! } + public var NotificationsSound_Hello: String { return self._s[2289]! } public func CHAT_MESSAGE_GEO(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2289]!, self._r[2289]!, [_1, _2]) + return formatWithArgumentRanges(self._s[2290]!, self._r[2290]!, [_1, _2]) } - public var SocksProxySetup_SavedProxies: String { return self._s[2290]! } - public var Channel_Stickers_Placeholder: String { return self._s[2292]! } + public var SocksProxySetup_SavedProxies: String { return self._s[2291]! } + public var Channel_Stickers_Placeholder: String { return self._s[2293]! } public func Login_EmailCodeBody(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2293]!, self._r[2293]!, [_0]) + return formatWithArgumentRanges(self._s[2294]!, self._r[2294]!, [_0]) } - public var PrivacyPolicy_DeclineDeclineAndDelete: String { return self._s[2294]! } - public var Channel_Management_AddModeratorHelp: String { return self._s[2295]! } - public var ContactInfo_BirthdayLabel: String { return self._s[2296]! } - public var ChangePhoneNumberCode_RequestingACall: String { return self._s[2297]! } - public var AutoDownloadSettings_Channels: String { return self._s[2298]! } - public var Passport_Language_mn: String { return self._s[2299]! } - public var Notifications_ResetAllNotificationsHelp: String { return self._s[2302]! } - public var Passport_Language_ja: String { return self._s[2304]! } - public var Settings_About_Title: String { return self._s[2305]! } - public var Settings_NotificationsAndSounds: String { return self._s[2306]! } - public var ChannelInfo_DeleteGroup: String { return self._s[2307]! } - public var Settings_BlockedUsers: String { return self._s[2308]! } + public var PrivacyPolicy_DeclineDeclineAndDelete: String { return self._s[2295]! } + public var Channel_Management_AddModeratorHelp: String { return self._s[2296]! } + public var ContactInfo_BirthdayLabel: String { return self._s[2297]! } + public var ChangePhoneNumberCode_RequestingACall: String { return self._s[2298]! } + public var AutoDownloadSettings_Channels: String { return self._s[2299]! } + public var Passport_Language_mn: String { return self._s[2300]! } + public var Notifications_ResetAllNotificationsHelp: String { return self._s[2303]! } + public var Passport_Language_ja: String { return self._s[2305]! } + public var Settings_About_Title: String { return self._s[2306]! } + public var Settings_NotificationsAndSounds: String { return self._s[2307]! } + public var ChannelInfo_DeleteGroup: String { return self._s[2308]! } + public var Settings_BlockedUsers: String { return self._s[2309]! } public func Time_MonthOfYear_m4(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2309]!, self._r[2309]!, [_0]) + return formatWithArgumentRanges(self._s[2310]!, self._r[2310]!, [_0]) } - public var Passport_Address_AddResidentialAddress: String { return self._s[2310]! } - public var Channel_Username_Title: String { return self._s[2311]! } + public var Passport_Address_AddResidentialAddress: String { return self._s[2311]! } + public var Channel_Username_Title: String { return self._s[2312]! } public func Notification_RemovedGroupPhoto(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2312]!, self._r[2312]!, [_0]) + return formatWithArgumentRanges(self._s[2313]!, self._r[2313]!, [_0]) } - public var AttachmentMenu_File: String { return self._s[2314]! } - public var AppleWatch_Title: String { return self._s[2315]! } - public var Activity_RecordingVideoMessage: String { return self._s[2316]! } - public var Weekday_Saturday: String { return self._s[2317]! } - public var Profile_CreateEncryptedChatError: String { return self._s[2318]! } - public var Common_Next: String { return self._s[2320]! } - public var Channel_Stickers_YourStickers: String { return self._s[2322]! } - public var Call_AudioRouteHeadphones: String { return self._s[2323]! } - public var TwoStepAuth_EnterPasswordForgot: String { return self._s[2325]! } - public var Watch_Contacts_NoResults: String { return self._s[2327]! } - public var PhotoEditor_TintTool: String { return self._s[2329]! } - public var LoginPassword_ResetAccount: String { return self._s[2331]! } - public var Settings_SavedMessages: String { return self._s[2332]! } - public var StickerPack_Add: String { return self._s[2333]! } - public var Your_cards_number_is_invalid: String { return self._s[2334]! } - public var Checkout_TotalAmount: String { return self._s[2335]! } + public var AttachmentMenu_File: String { return self._s[2315]! } + public var AppleWatch_Title: String { return self._s[2316]! } + public var Activity_RecordingVideoMessage: String { return self._s[2317]! } + public var Weekday_Saturday: String { return self._s[2318]! } + public var Profile_CreateEncryptedChatError: String { return self._s[2319]! } + public var Common_Next: String { return self._s[2321]! } + public var Channel_Stickers_YourStickers: String { return self._s[2323]! } + public var Call_AudioRouteHeadphones: String { return self._s[2324]! } + public var TwoStepAuth_EnterPasswordForgot: String { return self._s[2326]! } + public var Watch_Contacts_NoResults: String { return self._s[2328]! } + public var PhotoEditor_TintTool: String { return self._s[2330]! } + public var LoginPassword_ResetAccount: String { return self._s[2332]! } + public var Settings_SavedMessages: String { return self._s[2333]! } + public var StickerPack_Add: String { return self._s[2334]! } + public var Your_cards_number_is_invalid: String { return self._s[2335]! } + public var Checkout_TotalAmount: String { return self._s[2336]! } public func ChangePhoneNumberCode_CallTimer(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2336]!, self._r[2336]!, [_0]) + return formatWithArgumentRanges(self._s[2337]!, self._r[2337]!, [_0]) } - public var ChatSettings_ConnectionType_UseSocks5: String { return self._s[2337]! } + public var ChatSettings_ConnectionType_UseSocks5: String { return self._s[2338]! } public func CHANNEL_MESSAGE_STICKER(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2339]!, self._r[2339]!, [_1, _2]) + return formatWithArgumentRanges(self._s[2340]!, self._r[2340]!, [_1, _2]) } public func Conversation_RestrictedTextTimed(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2340]!, self._r[2340]!, [_0]) + return formatWithArgumentRanges(self._s[2341]!, self._r[2341]!, [_0]) } - public var GroupInfo_InviteLink_ShareLink: String { return self._s[2341]! } - public var StickerPack_Share: String { return self._s[2342]! } - public var Passport_DeleteAddress: String { return self._s[2343]! } - public var Settings_Passport: String { return self._s[2344]! } - public var SharedMedia_EmptyFilesText: String { return self._s[2345]! } - public var Conversation_DeleteMessagesForMe: String { return self._s[2346]! } - public var PasscodeSettings_AutoLock_IfAwayFor_1hour: String { return self._s[2347]! } - public var Contacts_PermissionsText: String { return self._s[2348]! } - public var Group_Setup_HistoryVisible: String { return self._s[2349]! } - public var Passport_Address_AddRentalAgreement: String { return self._s[2351]! } - public var SocksProxySetup_Title: String { return self._s[2352]! } - public var Notification_Mute1h: String { return self._s[2353]! } + public var GroupInfo_InviteLink_ShareLink: String { return self._s[2342]! } + public var StickerPack_Share: String { return self._s[2343]! } + public var Passport_DeleteAddress: String { return self._s[2344]! } + public var Settings_Passport: String { return self._s[2345]! } + public var SharedMedia_EmptyFilesText: String { return self._s[2346]! } + public var Conversation_DeleteMessagesForMe: String { return self._s[2347]! } + public var PasscodeSettings_AutoLock_IfAwayFor_1hour: String { return self._s[2348]! } + public var Contacts_PermissionsText: String { return self._s[2349]! } + public var Group_Setup_HistoryVisible: String { return self._s[2350]! } + public var Passport_Address_AddRentalAgreement: String { return self._s[2352]! } + public var SocksProxySetup_Title: String { return self._s[2353]! } + public var Notification_Mute1h: String { return self._s[2354]! } public func Passport_Email_CodeHelp(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2354]!, self._r[2354]!, [_0]) + return formatWithArgumentRanges(self._s[2355]!, self._r[2355]!, [_0]) } - public var FastTwoStepSetup_PasswordSection: String { return self._s[2355]! } - public var NetworkUsageSettings_ResetStatsConfirmation: String { return self._s[2358]! } - public var InfoPlist_NSFaceIDUsageDescription: String { return self._s[2360]! } - public var DialogList_NoMessagesText: String { return self._s[2361]! } - public var Privacy_ContactsResetConfirmation: String { return self._s[2362]! } - public var Privacy_Calls_P2PHelp: String { return self._s[2363]! } - public var Your_cards_expiration_year_is_invalid: String { return self._s[2365]! } - public var Common_TakePhotoOrVideo: String { return self._s[2366]! } - public var Call_StatusBusy: String { return self._s[2367]! } - public var Conversation_PinnedMessage: String { return self._s[2368]! } - public var AutoDownloadSettings_VoiceMessagesTitle: String { return self._s[2369]! } - public var TwoStepAuth_SetupPasswordConfirmFailed: String { return self._s[2370]! } - public var AppleWatch_ReplyPresets: String { return self._s[2371]! } - public var Passport_DiscardMessageDescription: String { return self._s[2373]! } - public var Login_NetworkError: String { return self._s[2374]! } + public var FastTwoStepSetup_PasswordSection: String { return self._s[2356]! } + public var NetworkUsageSettings_ResetStatsConfirmation: String { return self._s[2359]! } + public var InfoPlist_NSFaceIDUsageDescription: String { return self._s[2361]! } + public var DialogList_NoMessagesText: String { return self._s[2362]! } + public var Privacy_ContactsResetConfirmation: String { return self._s[2363]! } + public var Privacy_Calls_P2PHelp: String { return self._s[2364]! } + public var Your_cards_expiration_year_is_invalid: String { return self._s[2366]! } + public var Common_TakePhotoOrVideo: String { return self._s[2367]! } + public var Call_StatusBusy: String { return self._s[2368]! } + public var Conversation_PinnedMessage: String { return self._s[2369]! } + public var AutoDownloadSettings_VoiceMessagesTitle: String { return self._s[2370]! } + public var TwoStepAuth_SetupPasswordConfirmFailed: String { return self._s[2371]! } + public var AppleWatch_ReplyPresets: String { return self._s[2372]! } + public var Passport_DiscardMessageDescription: String { return self._s[2374]! } + public var Login_NetworkError: String { return self._s[2375]! } public func Notification_PinnedRoundMessage(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2375]!, self._r[2375]!, [_0]) - } - public func Channel_AdminLog_MessageRemovedChannelUsername(_ _0: String) -> (String, [(Int, NSRange)]) { return formatWithArgumentRanges(self._s[2376]!, self._r[2376]!, [_0]) } - public var SocksProxySetup_PasswordPlaceholder: String { return self._s[2377]! } + public func Channel_AdminLog_MessageRemovedChannelUsername(_ _0: String) -> (String, [(Int, NSRange)]) { + return formatWithArgumentRanges(self._s[2377]!, self._r[2377]!, [_0]) + } + public var SocksProxySetup_PasswordPlaceholder: String { return self._s[2378]! } public func CONTACT_JOINED(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2379]!, self._r[2379]!, [_1]) + return formatWithArgumentRanges(self._s[2380]!, self._r[2380]!, [_1]) } - public var Login_ResetAccountProtected_LimitExceeded: String { return self._s[2380]! } + public var Login_ResetAccountProtected_LimitExceeded: String { return self._s[2381]! } public func Watch_LastSeen_YesterdayAt(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2382]!, self._r[2382]!, [_0]) + return formatWithArgumentRanges(self._s[2383]!, self._r[2383]!, [_0]) } - public var Call_ConnectionErrorMessage: String { return self._s[2383]! } - public var Compose_GroupTokenListPlaceholder: String { return self._s[2385]! } - public var ConversationMedia_Title: String { return self._s[2386]! } - public var EncryptionKey_Title: String { return self._s[2388]! } - public var TwoStepAuth_EnterPasswordTitle: String { return self._s[2389]! } - public var Notification_Exceptions_AddException: String { return self._s[2390]! } - public var Profile_MessageLifetime1m: String { return self._s[2391]! } + public var Call_ConnectionErrorMessage: String { return self._s[2384]! } + public var Compose_GroupTokenListPlaceholder: String { return self._s[2386]! } + public var ConversationMedia_Title: String { return self._s[2387]! } + public var EncryptionKey_Title: String { return self._s[2389]! } + public var TwoStepAuth_EnterPasswordTitle: String { return self._s[2390]! } + public var Notification_Exceptions_AddException: String { return self._s[2391]! } + public var Profile_MessageLifetime1m: String { return self._s[2392]! } public func Channel_AdminLog_MessageUnkickedName(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2392]!, self._r[2392]!, [_1]) + return formatWithArgumentRanges(self._s[2393]!, self._r[2393]!, [_1]) } - public var Month_GenMay: String { return self._s[2393]! } + public var Month_GenMay: String { return self._s[2394]! } public func LiveLocationUpdated_TodayAt(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2394]!, self._r[2394]!, [_0]) + return formatWithArgumentRanges(self._s[2395]!, self._r[2395]!, [_0]) } - public var ChannelMembers_WhoCanAddMembersAllHelp: String { return self._s[2395]! } - public var Conversation_EmptyPlaceholder: String { return self._s[2397]! } - public var Passport_Address_AddPassportRegistration: String { return self._s[2398]! } - public var Notifications_ChannelNotificationsAlert: String { return self._s[2399]! } - public var Camera_TapAndHoldForVideo: String { return self._s[2400]! } - public var Channel_JoinChannel: String { return self._s[2402]! } - public var Appearance_Animations: String { return self._s[2405]! } + public var ChannelMembers_WhoCanAddMembersAllHelp: String { return self._s[2396]! } + public var Conversation_EmptyPlaceholder: String { return self._s[2398]! } + public var Passport_Address_AddPassportRegistration: String { return self._s[2399]! } + public var Notifications_ChannelNotificationsAlert: String { return self._s[2400]! } + public var Camera_TapAndHoldForVideo: String { return self._s[2401]! } + public var Channel_JoinChannel: String { return self._s[2403]! } + public var Appearance_Animations: String { return self._s[2406]! } public func Notification_MessageLifetimeChanged(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2406]!, self._r[2406]!, [_1, _2]) + return formatWithArgumentRanges(self._s[2407]!, self._r[2407]!, [_1, _2]) } - public var Stickers_GroupStickers: String { return self._s[2408]! } - public var ConvertToSupergroup_HelpTitle: String { return self._s[2410]! } - public var Passport_Address_Street: String { return self._s[2411]! } - public var Conversation_AddContact: String { return self._s[2412]! } - public var Login_PhonePlaceholder: String { return self._s[2413]! } - public var Channel_Members_InviteLink: String { return self._s[2415]! } - public var Bot_Stop: String { return self._s[2416]! } - public var Notification_PassportValueAddress: String { return self._s[2418]! } - public var Month_ShortJuly: String { return self._s[2419]! } - public var Passport_Address_TypeTemporaryRegistrationUploadScan: String { return self._s[2420]! } - public var Channel_AdminLog_BanSendMedia: String { return self._s[2421]! } - public var Passport_Identity_ReverseSide: String { return self._s[2422]! } - public var Watch_Stickers_Recents: String { return self._s[2425]! } - public var PrivacyLastSeenSettings_EmpryUsersPlaceholder: String { return self._s[2427]! } - public var Map_SendThisLocation: String { return self._s[2428]! } + public var Stickers_GroupStickers: String { return self._s[2409]! } + public var ConvertToSupergroup_HelpTitle: String { return self._s[2411]! } + public var Passport_Address_Street: String { return self._s[2412]! } + public var Conversation_AddContact: String { return self._s[2413]! } + public var Login_PhonePlaceholder: String { return self._s[2414]! } + public var Channel_Members_InviteLink: String { return self._s[2416]! } + public var Bot_Stop: String { return self._s[2417]! } + public var Notification_PassportValueAddress: String { return self._s[2419]! } + public var Month_ShortJuly: String { return self._s[2420]! } + public var Passport_Address_TypeTemporaryRegistrationUploadScan: String { return self._s[2421]! } + public var Channel_AdminLog_BanSendMedia: String { return self._s[2422]! } + public var Passport_Identity_ReverseSide: String { return self._s[2423]! } + public var Watch_Stickers_Recents: String { return self._s[2426]! } + public var PrivacyLastSeenSettings_EmpryUsersPlaceholder: String { return self._s[2428]! } + public var Map_SendThisLocation: String { return self._s[2429]! } public func Time_MonthOfYear_m1(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2429]!, self._r[2429]!, [_0]) - } - public func InviteText_SingleContact(_ _0: String) -> (String, [(Int, NSRange)]) { return formatWithArgumentRanges(self._s[2430]!, self._r[2430]!, [_0]) } - public var ConvertToSupergroup_Note: String { return self._s[2431]! } + public func InviteText_SingleContact(_ _0: String) -> (String, [(Int, NSRange)]) { + return formatWithArgumentRanges(self._s[2431]!, self._r[2431]!, [_0]) + } + public var ConvertToSupergroup_Note: String { return self._s[2432]! } public func FileSize_MB(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2432]!, self._r[2432]!, [_0]) + return formatWithArgumentRanges(self._s[2433]!, self._r[2433]!, [_0]) } - public var NetworkUsageSettings_GeneralDataSection: String { return self._s[2433]! } + public var NetworkUsageSettings_GeneralDataSection: String { return self._s[2434]! } public func Compatibility_SecretMediaVersionTooLow(_ _0: String, _ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2434]!, self._r[2434]!, [_0, _1]) + return formatWithArgumentRanges(self._s[2435]!, self._r[2435]!, [_0, _1]) } - public var Login_CallRequestState3: String { return self._s[2436]! } + public var Login_CallRequestState3: String { return self._s[2437]! } public func CHANNEL_MESSAGE_GEO(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2438]!, self._r[2438]!, [_1]) + return formatWithArgumentRanges(self._s[2439]!, self._r[2439]!, [_1]) } - public var PasscodeSettings_UnlockWithFaceId: String { return self._s[2439]! } - public var Channel_AdminLogFilter_Title: String { return self._s[2440]! } - public var Notifications_GroupNotificationsExceptions: String { return self._s[2444]! } + public var PasscodeSettings_UnlockWithFaceId: String { return self._s[2440]! } + public var Channel_AdminLogFilter_Title: String { return self._s[2441]! } + public var Notifications_GroupNotificationsExceptions: String { return self._s[2445]! } public func FileSize_B(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2445]!, self._r[2445]!, [_0]) + return formatWithArgumentRanges(self._s[2446]!, self._r[2446]!, [_0]) } - public var Passport_CorrectErrors: String { return self._s[2446]! } + public var Passport_CorrectErrors: String { return self._s[2447]! } public func Channel_MessageTitleUpdated(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2447]!, self._r[2447]!, [_0]) + return formatWithArgumentRanges(self._s[2448]!, self._r[2448]!, [_0]) } - public var Map_SendMyCurrentLocation: String { return self._s[2448]! } - public var SharedMedia_SearchNoResults: String { return self._s[2449]! } - public var Permissions_NotificationsText_v0: String { return self._s[2450]! } - public var LoginPassword_FloodError: String { return self._s[2451]! } - public var Group_Setup_HistoryHiddenHelp: String { return self._s[2453]! } + public var Map_SendMyCurrentLocation: String { return self._s[2449]! } + public var SharedMedia_SearchNoResults: String { return self._s[2450]! } + public var Permissions_NotificationsText_v0: String { return self._s[2451]! } + public var LoginPassword_FloodError: String { return self._s[2452]! } + public var Group_Setup_HistoryHiddenHelp: String { return self._s[2454]! } public func TwoStepAuth_PendingEmailHelp(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2454]!, self._r[2454]!, [_0]) + return formatWithArgumentRanges(self._s[2455]!, self._r[2455]!, [_0]) } - public var Passport_Language_bn: String { return self._s[2455]! } + public var Passport_Language_bn: String { return self._s[2456]! } public func DialogList_SingleUploadingPhotoSuffix(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2456]!, self._r[2456]!, [_0]) - } - public func Notification_PinnedAudioMessage(_ _0: String) -> (String, [(Int, NSRange)]) { return formatWithArgumentRanges(self._s[2457]!, self._r[2457]!, [_0]) } - public func Channel_AdminLog_MessageChangedGroupStickerPack(_ _0: String) -> (String, [(Int, NSRange)]) { + public func Notification_PinnedAudioMessage(_ _0: String) -> (String, [(Int, NSRange)]) { return formatWithArgumentRanges(self._s[2458]!, self._r[2458]!, [_0]) } - public var GroupInfo_InvitationLinkGroupFull: String { return self._s[2461]! } - public var Group_EditAdmin_PermissionChangeInfo: String { return self._s[2463]! } - public var Contacts_PermissionsAllow: String { return self._s[2464]! } - public var ReportPeer_ReasonCopyright: String { return self._s[2465]! } - public var Channel_EditAdmin_PermissinAddAdminOn: String { return self._s[2466]! } - public var Paint_Duplicate: String { return self._s[2467]! } - public var Notification_ChannelMigratedFrom: String { return self._s[2468]! } - public var Passport_Address_Country: String { return self._s[2469]! } - public var Notification_RenamedChannel: String { return self._s[2470]! } - public var CheckoutInfo_ErrorPostcodeInvalid: String { return self._s[2471]! } - public var Group_MessagePhotoUpdated: String { return self._s[2472]! } - public var Channel_BanUser_PermissionSendMedia: String { return self._s[2473]! } - public var Conversation_ContextMenuBan: String { return self._s[2474]! } - public var TwoStepAuth_EmailSent: String { return self._s[2475]! } - public var Passport_Language_is: String { return self._s[2476]! } - public var Tour_Text5: String { return self._s[2478]! } + public func Channel_AdminLog_MessageChangedGroupStickerPack(_ _0: String) -> (String, [(Int, NSRange)]) { + return formatWithArgumentRanges(self._s[2459]!, self._r[2459]!, [_0]) + } + public var GroupInfo_InvitationLinkGroupFull: String { return self._s[2462]! } + public var Group_EditAdmin_PermissionChangeInfo: String { return self._s[2464]! } + public var Contacts_PermissionsAllow: String { return self._s[2465]! } + public var ReportPeer_ReasonCopyright: String { return self._s[2466]! } + public var Channel_EditAdmin_PermissinAddAdminOn: String { return self._s[2467]! } + public var Paint_Duplicate: String { return self._s[2468]! } + public var Notification_ChannelMigratedFrom: String { return self._s[2469]! } + public var Passport_Address_Country: String { return self._s[2470]! } + public var Notification_RenamedChannel: String { return self._s[2471]! } + public var CheckoutInfo_ErrorPostcodeInvalid: String { return self._s[2472]! } + public var Group_MessagePhotoUpdated: String { return self._s[2473]! } + public var Channel_BanUser_PermissionSendMedia: String { return self._s[2474]! } + public var Conversation_ContextMenuBan: String { return self._s[2475]! } + public var TwoStepAuth_EmailSent: String { return self._s[2476]! } + public var Passport_Language_is: String { return self._s[2477]! } + public var Tour_Text5: String { return self._s[2479]! } public func Call_GroupFormat(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2480]!, self._r[2480]!, [_1, _2]) + return formatWithArgumentRanges(self._s[2481]!, self._r[2481]!, [_1, _2]) } - public var Paint_Edit: String { return self._s[2482]! } - public var LoginPassword_ForgotPassword: String { return self._s[2485]! } - public var GroupInfo_GroupNamePlaceholder: String { return self._s[2486]! } + public var Paint_Edit: String { return self._s[2483]! } + public var LoginPassword_ForgotPassword: String { return self._s[2486]! } + public var GroupInfo_GroupNamePlaceholder: String { return self._s[2487]! } public func Notification_Kicked(_ _0: String, _ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2487]!, self._r[2487]!, [_0, _1]) + return formatWithArgumentRanges(self._s[2488]!, self._r[2488]!, [_0, _1]) } - public var Conversation_InputTextCaptionPlaceholder: String { return self._s[2488]! } - public var AutoDownloadSettings_VideoMessagesTitle: String { return self._s[2489]! } - public var Passport_Language_uz: String { return self._s[2490]! } - public var Conversation_PinMessageAlertGroup: String { return self._s[2491]! } - public var Map_StopLiveLocation: String { return self._s[2493]! } - public var PasscodeSettings_Help: String { return self._s[2495]! } - public var NotificationsSound_Input: String { return self._s[2496]! } - public var Share_Title: String { return self._s[2498]! } - public var Login_TermsOfServiceAgree: String { return self._s[2499]! } - public var Channel_AdminLog_TitleSelectedEvents: String { return self._s[2500]! } - public var EnterPasscode_EnterTitle: String { return self._s[2501]! } - public var Channel_EditAdmin_PermissionEditMessages: String { return self._s[2502]! } + public var Conversation_InputTextCaptionPlaceholder: String { return self._s[2489]! } + public var AutoDownloadSettings_VideoMessagesTitle: String { return self._s[2490]! } + public var Passport_Language_uz: String { return self._s[2491]! } + public var Conversation_PinMessageAlertGroup: String { return self._s[2492]! } + public var Map_StopLiveLocation: String { return self._s[2494]! } + public var PasscodeSettings_Help: String { return self._s[2496]! } + public var NotificationsSound_Input: String { return self._s[2497]! } + public var Share_Title: String { return self._s[2499]! } + public var Login_TermsOfServiceAgree: String { return self._s[2500]! } + public var Channel_AdminLog_TitleSelectedEvents: String { return self._s[2501]! } + public var EnterPasscode_EnterTitle: String { return self._s[2502]! } + public var Channel_EditAdmin_PermissionEditMessages: String { return self._s[2503]! } public func Call_PrivacyErrorMessage(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2503]!, self._r[2503]!, [_0]) + return formatWithArgumentRanges(self._s[2504]!, self._r[2504]!, [_0]) } - public var Settings_CopyPhoneNumber: String { return self._s[2504]! } - public var NotificationsSound_Keys: String { return self._s[2505]! } + public var Settings_CopyPhoneNumber: String { return self._s[2505]! } + public var NotificationsSound_Keys: String { return self._s[2506]! } public func Call_ParticipantVersionOutdatedError(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2506]!, self._r[2506]!, [_0]) + return formatWithArgumentRanges(self._s[2507]!, self._r[2507]!, [_0]) } - public var Notification_MessageLifetime1w: String { return self._s[2507]! } - public var Message_Video: String { return self._s[2508]! } + public var Notification_MessageLifetime1w: String { return self._s[2508]! } + public var Message_Video: String { return self._s[2509]! } public func Notification_JoinedChat(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2511]!, self._r[2511]!, [_0]) - } - public func PrivacySettings_LastSeenContactsPlus(_ _0: String) -> (String, [(Int, NSRange)]) { return formatWithArgumentRanges(self._s[2512]!, self._r[2512]!, [_0]) } - public var Passport_Language_mk: String { return self._s[2513]! } - public var Conversation_SilentBroadcastTooltipOn: String { return self._s[2515]! } - public var PrivacyPolicy_Decline: String { return self._s[2516]! } - public var Passport_Identity_DoesNotExpire: String { return self._s[2517]! } - public var Channel_AdminLogFilter_EventsRestrictions: String { return self._s[2518]! } - public var Permissions_SiriAllow_v0: String { return self._s[2519]! } + public func PrivacySettings_LastSeenContactsPlus(_ _0: String) -> (String, [(Int, NSRange)]) { + return formatWithArgumentRanges(self._s[2513]!, self._r[2513]!, [_0]) + } + public var Passport_Language_mk: String { return self._s[2514]! } + public var Conversation_SilentBroadcastTooltipOn: String { return self._s[2516]! } + public var PrivacyPolicy_Decline: String { return self._s[2517]! } + public var Passport_Identity_DoesNotExpire: String { return self._s[2518]! } + public var Channel_AdminLogFilter_EventsRestrictions: String { return self._s[2519]! } + public var Permissions_SiriAllow_v0: String { return self._s[2520]! } public func CHAT_MESSAGE_STICKER(_ _1: String, _ _2: String, _ _3: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2520]!, self._r[2520]!, [_1, _2, _3]) + return formatWithArgumentRanges(self._s[2521]!, self._r[2521]!, [_1, _2, _3]) } public func CHANNEL_MESSAGES(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2521]!, self._r[2521]!, [_1, _2]) + return formatWithArgumentRanges(self._s[2522]!, self._r[2522]!, [_1, _2]) } public func Notification_RenamedChat(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2522]!, self._r[2522]!, [_0]) + return formatWithArgumentRanges(self._s[2523]!, self._r[2523]!, [_0]) } - public var Paint_Regular: String { return self._s[2523]! } - public var ChatSettings_AutoDownloadReset: String { return self._s[2524]! } - public var BlockedUsers_SelectUserTitle: String { return self._s[2525]! } - public var GroupInfo_InviteByLink: String { return self._s[2527]! } - public var MessageTimer_Custom: String { return self._s[2528]! } - public var UserInfo_NotificationsDefaultEnabled: String { return self._s[2529]! } - public var Passport_Address_TypeTemporaryRegistration: String { return self._s[2531]! } - public var Channel_Username_InvalidTaken: String { return self._s[2532]! } - public var Conversation_ClousStorageInfo_Description3: String { return self._s[2533]! } + public var Paint_Regular: String { return self._s[2524]! } + public var ChatSettings_AutoDownloadReset: String { return self._s[2525]! } + public var BlockedUsers_SelectUserTitle: String { return self._s[2526]! } + public var GroupInfo_InviteByLink: String { return self._s[2528]! } + public var MessageTimer_Custom: String { return self._s[2529]! } + public var UserInfo_NotificationsDefaultEnabled: String { return self._s[2530]! } + public var Passport_Address_TypeTemporaryRegistration: String { return self._s[2532]! } + public var Channel_Username_InvalidTaken: String { return self._s[2533]! } + public var Conversation_ClousStorageInfo_Description3: String { return self._s[2534]! } public func CHANNEL_MESSAGE_VIDEO(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2534]!, self._r[2534]!, [_1]) + return formatWithArgumentRanges(self._s[2535]!, self._r[2535]!, [_1]) } - public var Settings_ChatBackground: String { return self._s[2535]! } - public var Channel_Subscribers_Title: String { return self._s[2536]! } - public var ApplyLanguage_ChangeLanguageTitle: String { return self._s[2537]! } - public var Watch_ConnectionDescription: String { return self._s[2538]! } - public var EditProfile_Title: String { return self._s[2542]! } - public var NotificationsSound_Bamboo: String { return self._s[2544]! } - public var Channel_AdminLog_MessagePreviousMessage: String { return self._s[2545]! } - public var Login_SmsRequestState2: String { return self._s[2546]! } - public var Passport_Language_ar: String { return self._s[2547]! } - public var Conversation_MessageDialogEdit: String { return self._s[2548]! } - public var Common_Close: String { return self._s[2549]! } + public var Settings_ChatBackground: String { return self._s[2536]! } + public var Channel_Subscribers_Title: String { return self._s[2537]! } + public var ApplyLanguage_ChangeLanguageTitle: String { return self._s[2538]! } + public var Watch_ConnectionDescription: String { return self._s[2539]! } + public var EditProfile_Title: String { return self._s[2543]! } + public var NotificationsSound_Bamboo: String { return self._s[2545]! } + public var Channel_AdminLog_MessagePreviousMessage: String { return self._s[2546]! } + public var Login_SmsRequestState2: String { return self._s[2547]! } + public var Passport_Language_ar: String { return self._s[2548]! } + public var Conversation_MessageDialogEdit: String { return self._s[2549]! } + public var Common_Close: String { return self._s[2550]! } public func Channel_AdminLog_MessageToggleInvitesOff(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2553]!, self._r[2553]!, [_0]) + return formatWithArgumentRanges(self._s[2554]!, self._r[2554]!, [_0]) } - public var UserInfo_About_Placeholder: String { return self._s[2554]! } + public var UserInfo_About_Placeholder: String { return self._s[2555]! } public func Conversation_FileHowToText(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2555]!, self._r[2555]!, [_0]) + return formatWithArgumentRanges(self._s[2556]!, self._r[2556]!, [_0]) } - public var Channel_Info_Banned: String { return self._s[2557]! } + public var Channel_Info_Banned: String { return self._s[2558]! } public func Time_MonthOfYear_m11(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2558]!, self._r[2558]!, [_0]) + return formatWithArgumentRanges(self._s[2559]!, self._r[2559]!, [_0]) } - public var Passport_Language_my: String { return self._s[2559]! } + public var Passport_Language_my: String { return self._s[2560]! } public func Time_PreciseDate_m9(_ _1: String, _ _2: String, _ _3: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2560]!, self._r[2560]!, [_1, _2, _3]) + return formatWithArgumentRanges(self._s[2561]!, self._r[2561]!, [_1, _2, _3]) } - public var Preview_CopyAddress: String { return self._s[2561]! } + public var Preview_CopyAddress: String { return self._s[2562]! } public func DialogList_SinglePlayingGameSuffix(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2562]!, self._r[2562]!, [_0]) + return formatWithArgumentRanges(self._s[2563]!, self._r[2563]!, [_0]) } - public var KeyCommand_JumpToPreviousChat: String { return self._s[2563]! } - public var UserInfo_BotSettings: String { return self._s[2564]! } - public var Username_TooManyPublicUsernamesError: String { return self._s[2566]! } - public var Passport_PasswordCreate: String { return self._s[2567]! } - public var LiveLocation_MenuStopAll: String { return self._s[2568]! } - public var Message_PinnedLocationMessage: String { return self._s[2569]! } - public var Map_Satellite: String { return self._s[2570]! } - public var StickerSettings_MaskContextInfo: String { return self._s[2571]! } - public var TwoStepAuth_EnterPasswordInvalid: String { return self._s[2572]! } + public var KeyCommand_JumpToPreviousChat: String { return self._s[2564]! } + public var UserInfo_BotSettings: String { return self._s[2565]! } + public var Username_TooManyPublicUsernamesError: String { return self._s[2567]! } + public var Passport_PasswordCreate: String { return self._s[2568]! } + public var LiveLocation_MenuStopAll: String { return self._s[2569]! } + public var Message_PinnedLocationMessage: String { return self._s[2570]! } + public var Map_Satellite: String { return self._s[2571]! } + public var StickerSettings_MaskContextInfo: String { return self._s[2572]! } + public var TwoStepAuth_EnterPasswordInvalid: String { return self._s[2573]! } public func Notification_PinnedTextMessage(_ _0: String, _ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2573]!, self._r[2573]!, [_0, _1]) + return formatWithArgumentRanges(self._s[2574]!, self._r[2574]!, [_0, _1]) } - public var Notifications_ChannelNotificationsHelp: String { return self._s[2574]! } - public var Privacy_Calls_P2PContacts: String { return self._s[2575]! } - public var NotificationsSound_None: String { return self._s[2576]! } - public var AccessDenied_VoiceMicrophone: String { return self._s[2578]! } + public var Notifications_ChannelNotificationsHelp: String { return self._s[2575]! } + public var Privacy_Calls_P2PContacts: String { return self._s[2576]! } + public var NotificationsSound_None: String { return self._s[2577]! } + public var AccessDenied_VoiceMicrophone: String { return self._s[2579]! } public func ApplyLanguage_ChangeLanguageAlreadyActive(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2579]!, self._r[2579]!, [_1]) + return formatWithArgumentRanges(self._s[2580]!, self._r[2580]!, [_1]) } - public var Cache_Indexing: String { return self._s[2580]! } - public var DialogList_RecentTitlePeople: String { return self._s[2582]! } - public var DialogList_EncryptionRejected: String { return self._s[2583]! } - public var Passport_ScanPassportHelp: String { return self._s[2584]! } - public var Application_Name: String { return self._s[2585]! } - public var Channel_AdminLogFilter_ChannelEventsInfo: String { return self._s[2586]! } - public var Passport_Identity_TranslationHelp: String { return self._s[2588]! } + public var Cache_Indexing: String { return self._s[2581]! } + public var DialogList_RecentTitlePeople: String { return self._s[2583]! } + public var DialogList_EncryptionRejected: String { return self._s[2584]! } + public var Passport_ScanPassportHelp: String { return self._s[2585]! } + public var Application_Name: String { return self._s[2586]! } + public var Channel_AdminLogFilter_ChannelEventsInfo: String { return self._s[2587]! } + public var Passport_Identity_TranslationHelp: String { return self._s[2589]! } public func Notification_JoinedGroupByLink(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2589]!, self._r[2589]!, [_0]) - } - public func DialogList_EncryptedChatStartedOutgoing(_ _0: String) -> (String, [(Int, NSRange)]) { return formatWithArgumentRanges(self._s[2590]!, self._r[2590]!, [_0]) } - public var Channel_EditAdmin_PermissionDeleteMessages: String { return self._s[2591]! } - public var Privacy_ChatsTitle: String { return self._s[2592]! } - public var DialogList_ClearHistoryConfirmation: String { return self._s[2593]! } - public var Watch_Suggestion_HoldOn: String { return self._s[2594]! } - public var SocksProxySetup_RequiredCredentials: String { return self._s[2595]! } - public var Passport_Address_TypeRentalAgreementUploadScan: String { return self._s[2596]! } - public var TwoStepAuth_EmailSkipAlert: String { return self._s[2597]! } - public var Channel_Setup_TypePublic: String { return self._s[2600]! } + public func DialogList_EncryptedChatStartedOutgoing(_ _0: String) -> (String, [(Int, NSRange)]) { + return formatWithArgumentRanges(self._s[2591]!, self._r[2591]!, [_0]) + } + public var Channel_EditAdmin_PermissionDeleteMessages: String { return self._s[2592]! } + public var Privacy_ChatsTitle: String { return self._s[2593]! } + public var DialogList_ClearHistoryConfirmation: String { return self._s[2594]! } + public var Watch_Suggestion_HoldOn: String { return self._s[2595]! } + public var SocksProxySetup_RequiredCredentials: String { return self._s[2596]! } + public var Passport_Address_TypeRentalAgreementUploadScan: String { return self._s[2597]! } + public var TwoStepAuth_EmailSkipAlert: String { return self._s[2598]! } + public var Channel_Setup_TypePublic: String { return self._s[2601]! } public func Channel_AdminLog_MessageToggleInvitesOn(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2601]!, self._r[2601]!, [_0]) + return formatWithArgumentRanges(self._s[2602]!, self._r[2602]!, [_0]) } - public var Channel_TypeSetup_Title: String { return self._s[2603]! } - public var Map_OpenInMaps: String { return self._s[2605]! } - public var NotificationsSound_Tremolo: String { return self._s[2607]! } + public var Channel_TypeSetup_Title: String { return self._s[2604]! } + public var Map_OpenInMaps: String { return self._s[2606]! } + public var NotificationsSound_Tremolo: String { return self._s[2608]! } public func Date_ChatDateHeaderYear(_ _1: String, _ _2: String, _ _3: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2608]!, self._r[2608]!, [_1, _2, _3]) + return formatWithArgumentRanges(self._s[2609]!, self._r[2609]!, [_1, _2, _3]) } - public var ConversationProfile_UnknownAddMemberError: String { return self._s[2609]! } - public var Passport_PasswordHelp: String { return self._s[2610]! } - public var Login_CodeExpiredError: String { return self._s[2611]! } - public var Channel_EditAdmin_PermissionChangeInfo: String { return self._s[2612]! } - public var Passport_Identity_ScansHelp: String { return self._s[2613]! } - public var Passport_Language_lo: String { return self._s[2614]! } - public var Camera_FlashAuto: String { return self._s[2615]! } - public var Common_Cancel: String { return self._s[2616]! } - public var DialogList_SavedMessagesTooltip: String { return self._s[2617]! } - public var TwoStepAuth_SetupPasswordTitle: String { return self._s[2618]! } - public var Conversation_ReportSpamConfirmation: String { return self._s[2619]! } - public var ChatSettings_Title: String { return self._s[2621]! } - public var Passport_PasswordReset: String { return self._s[2622]! } - public var SocksProxySetup_TypeNone: String { return self._s[2623]! } - public var PhoneNumberHelp_Help: String { return self._s[2625]! } - public var Checkout_EnterPassword: String { return self._s[2626]! } - public var Share_AuthTitle: String { return self._s[2628]! } - public var Activity_UploadingDocument: String { return self._s[2629]! } - public var State_Connecting: String { return self._s[2630]! } - public var Profile_MessageLifetime1w: String { return self._s[2631]! } - public var Conversation_ContextMenuReport: String { return self._s[2632]! } - public var CheckoutInfo_ReceiverInfoPhone: String { return self._s[2633]! } - public var AutoNightTheme_ScheduledTo: String { return self._s[2634]! } - public var AuthSessions_Terminate: String { return self._s[2635]! } - public var Checkout_NewCard_CardholderNamePlaceholder: String { return self._s[2636]! } - public var KeyCommand_JumpToPreviousUnreadChat: String { return self._s[2637]! } - public var PhotoEditor_Set: String { return self._s[2638]! } - public var Login_PadPhoneHelp: String { return self._s[2639]! } - public var PrivacyPolicy_DeclineLastWarning: String { return self._s[2642]! } - public var NotificationsSound_Complete: String { return self._s[2643]! } - public var Group_Info_AdminLog: String { return self._s[2644]! } - public var Channel_AdminLog_InfoPanelAlertText: String { return self._s[2645]! } - public var Conversation_Admin: String { return self._s[2647]! } - public var Conversation_GifTooltip: String { return self._s[2648]! } - public var Passport_NotLoggedInMessage: String { return self._s[2649]! } - public var Profile_MessageLifetimeForever: String { return self._s[2650]! } - public var SharedMedia_EmptyTitle: String { return self._s[2652]! } - public var Channel_Edit_PrivatePublicLinkAlert: String { return self._s[2653]! } - public var Username_Help: String { return self._s[2654]! } - public var DialogList_LanguageTooltip: String { return self._s[2656]! } - public var Map_LoadError: String { return self._s[2657]! } - public var Notification_Exceptions_NewException: String { return self._s[2658]! } - public var TwoStepAuth_EmailTitle: String { return self._s[2659]! } - public var WatchRemote_AlertText: String { return self._s[2660]! } - public var ChatSettings_ConnectionType_Title: String { return self._s[2662]! } + public var ConversationProfile_UnknownAddMemberError: String { return self._s[2610]! } + public var Passport_PasswordHelp: String { return self._s[2611]! } + public var Login_CodeExpiredError: String { return self._s[2612]! } + public var Channel_EditAdmin_PermissionChangeInfo: String { return self._s[2613]! } + public var Passport_Identity_ScansHelp: String { return self._s[2614]! } + public var Passport_Language_lo: String { return self._s[2615]! } + public var Camera_FlashAuto: String { return self._s[2616]! } + public var Common_Cancel: String { return self._s[2617]! } + public var DialogList_SavedMessagesTooltip: String { return self._s[2618]! } + public var TwoStepAuth_SetupPasswordTitle: String { return self._s[2619]! } + public var Conversation_ReportSpamConfirmation: String { return self._s[2620]! } + public var ChatSettings_Title: String { return self._s[2622]! } + public var Passport_PasswordReset: String { return self._s[2623]! } + public var SocksProxySetup_TypeNone: String { return self._s[2624]! } + public var PhoneNumberHelp_Help: String { return self._s[2626]! } + public var Checkout_EnterPassword: String { return self._s[2627]! } + public var Share_AuthTitle: String { return self._s[2629]! } + public var Activity_UploadingDocument: String { return self._s[2630]! } + public var State_Connecting: String { return self._s[2631]! } + public var Profile_MessageLifetime1w: String { return self._s[2632]! } + public var Conversation_ContextMenuReport: String { return self._s[2633]! } + public var CheckoutInfo_ReceiverInfoPhone: String { return self._s[2634]! } + public var AutoNightTheme_ScheduledTo: String { return self._s[2635]! } + public var AuthSessions_Terminate: String { return self._s[2636]! } + public var Checkout_NewCard_CardholderNamePlaceholder: String { return self._s[2637]! } + public var KeyCommand_JumpToPreviousUnreadChat: String { return self._s[2638]! } + public var PhotoEditor_Set: String { return self._s[2639]! } + public var Login_PadPhoneHelp: String { return self._s[2640]! } + public var PrivacyPolicy_DeclineLastWarning: String { return self._s[2643]! } + public var NotificationsSound_Complete: String { return self._s[2644]! } + public var Group_Info_AdminLog: String { return self._s[2645]! } + public var Channel_AdminLog_InfoPanelAlertText: String { return self._s[2646]! } + public var Conversation_Admin: String { return self._s[2648]! } + public var Conversation_GifTooltip: String { return self._s[2649]! } + public var Passport_NotLoggedInMessage: String { return self._s[2650]! } + public var Profile_MessageLifetimeForever: String { return self._s[2651]! } + public var SharedMedia_EmptyTitle: String { return self._s[2653]! } + public var Channel_Edit_PrivatePublicLinkAlert: String { return self._s[2654]! } + public var Username_Help: String { return self._s[2655]! } + public var DialogList_LanguageTooltip: String { return self._s[2657]! } + public var Map_LoadError: String { return self._s[2658]! } + public var Notification_Exceptions_NewException: String { return self._s[2659]! } + public var TwoStepAuth_EmailTitle: String { return self._s[2660]! } + public var WatchRemote_AlertText: String { return self._s[2661]! } + public var ChatSettings_ConnectionType_Title: String { return self._s[2663]! } public func LOCKED_MESSAGE(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2663]!, self._r[2663]!, [_1]) + return formatWithArgumentRanges(self._s[2664]!, self._r[2664]!, [_1]) } - public var Passport_Address_CountryPlaceholder: String { return self._s[2664]! } + public var Passport_Address_CountryPlaceholder: String { return self._s[2665]! } public func DialogList_AwaitingEncryption(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2665]!, self._r[2665]!, [_0]) + return formatWithArgumentRanges(self._s[2666]!, self._r[2666]!, [_0]) } public func Time_PreciseDate_m6(_ _1: String, _ _2: String, _ _3: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2666]!, self._r[2666]!, [_1, _2, _3]) + return formatWithArgumentRanges(self._s[2667]!, self._r[2667]!, [_1, _2, _3]) } - public var Group_AdminLog_EmptyText: String { return self._s[2667]! } - public var AccessDenied_VideoMicrophone: String { return self._s[2669]! } - public var Conversation_ContextMenuStickerPackAdd: String { return self._s[2670]! } - public var Cache_ClearNone: String { return self._s[2671]! } - public var SocksProxySetup_FailedToConnect: String { return self._s[2672]! } - public var Permissions_NotificationsTitle_v0: String { return self._s[2673]! } + public var Group_AdminLog_EmptyText: String { return self._s[2668]! } + public var AccessDenied_VideoMicrophone: String { return self._s[2670]! } + public var Conversation_ContextMenuStickerPackAdd: String { return self._s[2671]! } + public var Cache_ClearNone: String { return self._s[2672]! } + public var SocksProxySetup_FailedToConnect: String { return self._s[2673]! } + public var Permissions_NotificationsTitle_v0: String { return self._s[2674]! } public func Channel_AdminLog_MessageEdited(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2674]!, self._r[2674]!, [_0]) + return formatWithArgumentRanges(self._s[2675]!, self._r[2675]!, [_0]) } - public var Passport_Identity_Country: String { return self._s[2675]! } + public var Passport_Identity_Country: String { return self._s[2676]! } public func Notification_CreatedChat(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2676]!, self._r[2676]!, [_0]) + return formatWithArgumentRanges(self._s[2677]!, self._r[2677]!, [_0]) } - public var AccessDenied_Settings: String { return self._s[2677]! } - public var Passport_Address_TypeUtilityBillUploadScan: String { return self._s[2678]! } - public var Month_ShortMay: String { return self._s[2679]! } - public var Compose_NewGroup: String { return self._s[2680]! } - public var Group_Setup_TypePrivate: String { return self._s[2682]! } - public var Login_PadPhoneHelpTitle: String { return self._s[2683]! } - public var Appearance_ThemeDayClassic: String { return self._s[2684]! } - public var Channel_AdminLog_MessagePreviousCaption: String { return self._s[2685]! } - public var Privacy_GroupsAndChannels_WhoCanAddMe: String { return self._s[2686]! } - public var Conversation_typing: String { return self._s[2688]! } - public var Paint_Masks: String { return self._s[2689]! } - public var Username_InvalidTaken: String { return self._s[2690]! } - public var TwoStepAuth_EmailAddSuccess: String { return self._s[2691]! } + public var AccessDenied_Settings: String { return self._s[2678]! } + public var Passport_Address_TypeUtilityBillUploadScan: String { return self._s[2679]! } + public var Month_ShortMay: String { return self._s[2680]! } + public var Compose_NewGroup: String { return self._s[2681]! } + public var Group_Setup_TypePrivate: String { return self._s[2683]! } + public var Login_PadPhoneHelpTitle: String { return self._s[2684]! } + public var Appearance_ThemeDayClassic: String { return self._s[2685]! } + public var Channel_AdminLog_MessagePreviousCaption: String { return self._s[2686]! } + public var Privacy_GroupsAndChannels_WhoCanAddMe: String { return self._s[2687]! } + public var Conversation_typing: String { return self._s[2689]! } + public var Paint_Masks: String { return self._s[2690]! } + public var Username_InvalidTaken: String { return self._s[2691]! } + public var TwoStepAuth_EmailAddSuccess: String { return self._s[2692]! } public func CHAT_PHOTO_EDITED(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2692]!, self._r[2692]!, [_1, _2]) + return formatWithArgumentRanges(self._s[2693]!, self._r[2693]!, [_1, _2]) } - public var Call_StatusNoAnswer: String { return self._s[2693]! } - public var Passport_Identity_Selfie: String { return self._s[2694]! } - public var Login_InfoLastNamePlaceholder: String { return self._s[2695]! } - public var Privacy_SecretChatsLinkPreviewsHelp: String { return self._s[2696]! } - public var Conversation_ClearSecretHistory: String { return self._s[2697]! } - public var NetworkUsageSettings_Title: String { return self._s[2699]! } - public var Your_cards_security_code_is_invalid: String { return self._s[2701]! } + public var Call_StatusNoAnswer: String { return self._s[2694]! } + public var Passport_Identity_Selfie: String { return self._s[2695]! } + public var Login_InfoLastNamePlaceholder: String { return self._s[2696]! } + public var Privacy_SecretChatsLinkPreviewsHelp: String { return self._s[2697]! } + public var Conversation_ClearSecretHistory: String { return self._s[2698]! } + public var NetworkUsageSettings_Title: String { return self._s[2700]! } + public var Your_cards_security_code_is_invalid: String { return self._s[2702]! } public func Notification_LeftChannel(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2703]!, self._r[2703]!, [_0]) + return formatWithArgumentRanges(self._s[2704]!, self._r[2704]!, [_0]) } public func Call_CallInProgressMessage(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2704]!, self._r[2704]!, [_1, _2]) + return formatWithArgumentRanges(self._s[2705]!, self._r[2705]!, [_1, _2]) } - public var SaveIncomingPhotosSettings_From: String { return self._s[2706]! } - public var Map_LiveLocationTitle: String { return self._s[2707]! } - public var Login_InfoAvatarAdd: String { return self._s[2708]! } - public var Passport_Identity_FilesView: String { return self._s[2709]! } - public var UserInfo_GenericPhoneLabel: String { return self._s[2710]! } - public var Privacy_Calls_NeverAllow: String { return self._s[2711]! } + public var SaveIncomingPhotosSettings_From: String { return self._s[2707]! } + public var Map_LiveLocationTitle: String { return self._s[2708]! } + public var Login_InfoAvatarAdd: String { return self._s[2709]! } + public var Passport_Identity_FilesView: String { return self._s[2710]! } + public var UserInfo_GenericPhoneLabel: String { return self._s[2711]! } + public var Privacy_Calls_NeverAllow: String { return self._s[2712]! } public func Contacts_AddPhoneNumber(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2712]!, self._r[2712]!, [_0]) + return formatWithArgumentRanges(self._s[2713]!, self._r[2713]!, [_0]) } - public var TwoStepAuth_ConfirmationText: String { return self._s[2713]! } - public var ChatSettings_AutomaticVideoMessageDownload: String { return self._s[2714]! } - public var Channel_AdminLogFilter_AdminsAll: String { return self._s[2715]! } - public var Tour_Title2: String { return self._s[2716]! } - public var Conversation_FileOpenIn: String { return self._s[2717]! } - public var Checkout_ErrorPrecheckoutFailed: String { return self._s[2718]! } - public var Wallpaper_Set: String { return self._s[2719]! } - public var Passport_Identity_Translations: String { return self._s[2721]! } + public var TwoStepAuth_ConfirmationText: String { return self._s[2714]! } + public var ChatSettings_AutomaticVideoMessageDownload: String { return self._s[2715]! } + public var Channel_AdminLogFilter_AdminsAll: String { return self._s[2716]! } + public var Tour_Title2: String { return self._s[2717]! } + public var Conversation_FileOpenIn: String { return self._s[2718]! } + public var Checkout_ErrorPrecheckoutFailed: String { return self._s[2719]! } + public var Wallpaper_Set: String { return self._s[2720]! } + public var Passport_Identity_Translations: String { return self._s[2722]! } public func Channel_AdminLog_MessageChangedChannelAbout(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2722]!, self._r[2722]!, [_0]) + return formatWithArgumentRanges(self._s[2723]!, self._r[2723]!, [_0]) } - public var Channel_LeaveChannel: String { return self._s[2723]! } + public var Channel_LeaveChannel: String { return self._s[2724]! } public func PINNED_INVOICE(_ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2724]!, self._r[2724]!, [_1]) + return formatWithArgumentRanges(self._s[2725]!, self._r[2725]!, [_1]) } - public var PhotoEditor_HighlightsTint: String { return self._s[2725]! } - public var Passport_Email_Delete: String { return self._s[2726]! } - public var Conversation_Mute: String { return self._s[2728]! } - public var Channel_AdminLog_CanSendMessages: String { return self._s[2730]! } + public var PhotoEditor_HighlightsTint: String { return self._s[2726]! } + public var Passport_Email_Delete: String { return self._s[2727]! } + public var Conversation_Mute: String { return self._s[2729]! } + public var Channel_AdminLog_CanSendMessages: String { return self._s[2731]! } public func Notification_PassportValuesSentMessage(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2731]!, self._r[2731]!, [_1, _2]) + return formatWithArgumentRanges(self._s[2732]!, self._r[2732]!, [_1, _2]) } - public var Calls_CallTabDescription: String { return self._s[2732]! } - public var Passport_Identity_NativeNameHelp: String { return self._s[2733]! } - public var Common_No: String { return self._s[2734]! } - public var Weekday_Sunday: String { return self._s[2735]! } - public var Notification_Reply: String { return self._s[2736]! } - public var Conversation_ViewMessage: String { return self._s[2737]! } + public var Calls_CallTabDescription: String { return self._s[2733]! } + public var Passport_Identity_NativeNameHelp: String { return self._s[2734]! } + public var Common_No: String { return self._s[2735]! } + public var Weekday_Sunday: String { return self._s[2736]! } + public var Notification_Reply: String { return self._s[2737]! } + public var Conversation_ViewMessage: String { return self._s[2738]! } public func Checkout_SavePasswordTimeoutAndFaceId(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2738]!, self._r[2738]!, [_0]) - } - public func Map_LiveLocationPrivateDescription(_ _0: String) -> (String, [(Int, NSRange)]) { return formatWithArgumentRanges(self._s[2739]!, self._r[2739]!, [_0]) } - public var Message_PinnedDocumentMessage: String { return self._s[2740]! } - public var DialogList_TabTitle: String { return self._s[2742]! } - public var Passport_FieldEmail: String { return self._s[2743]! } - public var Conversation_UnpinMessageAlert: String { return self._s[2744]! } - public var Passport_Address_TypeBankStatement: String { return self._s[2745]! } - public var Passport_Identity_ExpiryDate: String { return self._s[2746]! } - public var Privacy_Calls_P2P: String { return self._s[2747]! } + public func Map_LiveLocationPrivateDescription(_ _0: String) -> (String, [(Int, NSRange)]) { + return formatWithArgumentRanges(self._s[2740]!, self._r[2740]!, [_0]) + } + public var Message_PinnedDocumentMessage: String { return self._s[2741]! } + public var DialogList_TabTitle: String { return self._s[2743]! } + public var Passport_FieldEmail: String { return self._s[2744]! } + public var Conversation_UnpinMessageAlert: String { return self._s[2745]! } + public var Passport_Address_TypeBankStatement: String { return self._s[2746]! } + public var Passport_Identity_ExpiryDate: String { return self._s[2747]! } + public var Privacy_Calls_P2P: String { return self._s[2748]! } public func CancelResetAccount_Success(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2749]!, self._r[2749]!, [_0]) + return formatWithArgumentRanges(self._s[2750]!, self._r[2750]!, [_0]) } - public var SocksProxySetup_UseForCallsHelp: String { return self._s[2750]! } - public var EnterPasscode_ChangeTitle: String { return self._s[2751]! } - public var Passport_InfoText: String { return self._s[2752]! } - public var Checkout_NewCard_SaveInfoEnableHelp: String { return self._s[2753]! } + public var SocksProxySetup_UseForCallsHelp: String { return self._s[2751]! } + public var EnterPasscode_ChangeTitle: String { return self._s[2752]! } + public var Passport_InfoText: String { return self._s[2753]! } + public var Checkout_NewCard_SaveInfoEnableHelp: String { return self._s[2754]! } public func Time_PreciseDate_m3(_ _1: String, _ _2: String, _ _3: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2754]!, self._r[2754]!, [_1, _2, _3]) + return formatWithArgumentRanges(self._s[2755]!, self._r[2755]!, [_1, _2, _3]) } - public var Passport_Identity_EditDriversLicense: String { return self._s[2755]! } - public var Conversation_TapAndHoldToRecord: String { return self._s[2756]! } + public var Passport_Identity_EditDriversLicense: String { return self._s[2756]! } + public var Conversation_TapAndHoldToRecord: String { return self._s[2757]! } public func Notification_CallTimeFormat(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2757]!, self._r[2757]!, [_1, _2]) + return formatWithArgumentRanges(self._s[2758]!, self._r[2758]!, [_1, _2]) } public func Generic_OpenHiddenLinkAlert(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2759]!, self._r[2759]!, [_0]) + return formatWithArgumentRanges(self._s[2760]!, self._r[2760]!, [_0]) } - public var DialogList_Unread: String { return self._s[2760]! } - public var User_DeletedAccount: String { return self._s[2761]! } + public var DialogList_Unread: String { return self._s[2761]! } + public var User_DeletedAccount: String { return self._s[2762]! } public func Watch_Time_ShortYesterdayAt(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2762]!, self._r[2762]!, [_0]) + return formatWithArgumentRanges(self._s[2763]!, self._r[2763]!, [_0]) } - public var UserInfo_NotificationsDefault: String { return self._s[2763]! } - public var SharedMedia_CategoryMedia: String { return self._s[2764]! } - public var SocksProxySetup_ProxyStatusUnavailable: String { return self._s[2765]! } - public var Channel_AdminLog_MessageRestrictedForever: String { return self._s[2766]! } - public var Watch_ChatList_Compose: String { return self._s[2767]! } - public var Notifications_MessageNotificationsExceptionsHelp: String { return self._s[2768]! } - public var Watch_Microphone_Access: String { return self._s[2769]! } - public var Group_Setup_HistoryHeader: String { return self._s[2770]! } - public var Activity_UploadingPhoto: String { return self._s[2771]! } - public var Conversation_Edit: String { return self._s[2773]! } - public var Group_ErrorSendRestrictedMedia: String { return self._s[2774]! } - public var Login_TermsOfServiceDecline: String { return self._s[2775]! } - public var Message_PinnedContactMessage: String { return self._s[2776]! } + public var UserInfo_NotificationsDefault: String { return self._s[2764]! } + public var SharedMedia_CategoryMedia: String { return self._s[2765]! } + public var SocksProxySetup_ProxyStatusUnavailable: String { return self._s[2766]! } + public var Channel_AdminLog_MessageRestrictedForever: String { return self._s[2767]! } + public var Watch_ChatList_Compose: String { return self._s[2768]! } + public var Notifications_MessageNotificationsExceptionsHelp: String { return self._s[2769]! } + public var Watch_Microphone_Access: String { return self._s[2770]! } + public var Group_Setup_HistoryHeader: String { return self._s[2771]! } + public var Activity_UploadingPhoto: String { return self._s[2772]! } + public var Conversation_Edit: String { return self._s[2774]! } + public var Group_ErrorSendRestrictedMedia: String { return self._s[2775]! } + public var Login_TermsOfServiceDecline: String { return self._s[2776]! } + public var Message_PinnedContactMessage: String { return self._s[2777]! } public func Channel_AdminLog_MessageRestrictedNameUsername(_ _1: String, _ _2: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2777]!, self._r[2777]!, [_1, _2]) + return formatWithArgumentRanges(self._s[2778]!, self._r[2778]!, [_1, _2]) } - public var TwoStepAuth_AdditionalPassword: String { return self._s[2779]! } - public var Passport_Phone_EnterOtherNumber: String { return self._s[2780]! } - public var TwoStepAuth_RecoveryEmailAddDescription: String { return self._s[2781]! } - public var Passport_FieldPhone: String { return self._s[2782]! } - public var Message_PinnedPhotoMessage: String { return self._s[2783]! } - public var InfoPlist_NSCameraUsageDescription: String { return self._s[2785]! } - public var Conversation_Call: String { return self._s[2786]! } - public var Common_TakePhoto: String { return self._s[2788]! } - public var Channel_NotificationLoading: String { return self._s[2789]! } + public var TwoStepAuth_AdditionalPassword: String { return self._s[2780]! } + public var Passport_Phone_EnterOtherNumber: String { return self._s[2781]! } + public var TwoStepAuth_RecoveryEmailAddDescription: String { return self._s[2782]! } + public var Passport_FieldPhone: String { return self._s[2783]! } + public var Message_PinnedPhotoMessage: String { return self._s[2784]! } + public var InfoPlist_NSCameraUsageDescription: String { return self._s[2786]! } + public var Conversation_Call: String { return self._s[2787]! } + public var Common_TakePhoto: String { return self._s[2789]! } + public var Channel_NotificationLoading: String { return self._s[2790]! } public func Notification_Exceptions_Sound(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2790]!, self._r[2790]!, [_0]) + return formatWithArgumentRanges(self._s[2791]!, self._r[2791]!, [_0]) } - public var Permissions_SiriTitle_v0: String { return self._s[2791]! } + public var Permissions_SiriTitle_v0: String { return self._s[2792]! } public func Login_ResetAccountProtected_Text(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2792]!, self._r[2792]!, [_0]) + return formatWithArgumentRanges(self._s[2793]!, self._r[2793]!, [_0]) } - public var Channel_MessagePhotoRemoved: String { return self._s[2793]! } - public var Common_edit: String { return self._s[2794]! } - public var PrivacySettings_AuthSessions: String { return self._s[2795]! } - public var Month_ShortJune: String { return self._s[2796]! } - public var PrivacyLastSeenSettings_AlwaysShareWith_Placeholder: String { return self._s[2797]! } - public var Call_ReportSend: String { return self._s[2798]! } - public var Watch_LastSeen_JustNow: String { return self._s[2799]! } - public var Notifications_MessageNotifications: String { return self._s[2800]! } - public var BroadcastListInfo_AddRecipient: String { return self._s[2802]! } - public var Group_Status: String { return self._s[2803]! } + public var Channel_MessagePhotoRemoved: String { return self._s[2794]! } + public var Common_edit: String { return self._s[2795]! } + public var PrivacySettings_AuthSessions: String { return self._s[2796]! } + public var Month_ShortJune: String { return self._s[2797]! } + public var PrivacyLastSeenSettings_AlwaysShareWith_Placeholder: String { return self._s[2798]! } + public var Call_ReportSend: String { return self._s[2799]! } + public var Watch_LastSeen_JustNow: String { return self._s[2800]! } + public var Notifications_MessageNotifications: String { return self._s[2801]! } + public var BroadcastListInfo_AddRecipient: String { return self._s[2803]! } + public var Group_Status: String { return self._s[2804]! } public func AutoNightTheme_LocationHelp(_ _0: String, _ _1: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2804]!, self._r[2804]!, [_0, _1]) + return formatWithArgumentRanges(self._s[2805]!, self._r[2805]!, [_0, _1]) } - public var ShareMenu_ShareTo: String { return self._s[2805]! } - public var Conversation_Moderate_Ban: String { return self._s[2806]! } + public var ShareMenu_ShareTo: String { return self._s[2806]! } + public var Conversation_Moderate_Ban: String { return self._s[2807]! } public func Conversation_DeleteMessagesFor(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2807]!, self._r[2807]!, [_0]) + return formatWithArgumentRanges(self._s[2808]!, self._r[2808]!, [_0]) } - public var SharedMedia_ViewInChat: String { return self._s[2808]! } - public var Map_LiveLocationFor8Hours: String { return self._s[2809]! } + public var SharedMedia_ViewInChat: String { return self._s[2809]! } + public var Map_LiveLocationFor8Hours: String { return self._s[2810]! } public func Map_AccurateTo(_ _0: String) -> (String, [(Int, NSRange)]) { - return formatWithArgumentRanges(self._s[2811]!, self._r[2811]!, [_0]) + return formatWithArgumentRanges(self._s[2812]!, self._r[2812]!, [_0]) } - public var Appearance_ReduceMotion: String { return self._s[2812]! } - public var Map_OpenInHereMaps: String { return self._s[2813]! } - public var Channel_Setup_TypePublicHelp: String { return self._s[2814]! } - public var Passport_Identity_EditInternalPassport: String { return self._s[2815]! } - public var PhotoEditor_Skip: String { return self._s[2816]! } - public func MessageTimer_ShortHours(_ value: Int32) -> String { + public var Appearance_ReduceMotion: String { return self._s[2813]! } + public var Map_OpenInHereMaps: String { return self._s[2814]! } + public var Channel_Setup_TypePublicHelp: String { return self._s[2815]! } + public var Passport_Identity_EditInternalPassport: String { return self._s[2816]! } + public var PhotoEditor_Skip: String { return self._s[2817]! } + public func ForwardedAuthorsOthers(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[0 * 6 + Int(form.rawValue)]!, "\(value)") } - public func ForwardedAudios(_ value: Int32) -> String { + public func MuteExpires_Minutes(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[1 * 6 + Int(form.rawValue)]!, "\(value)") } - public func MessageTimer_ShortWeeks(_ value: Int32) -> String { + public func MuteExpires_Hours(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[2 * 6 + Int(form.rawValue)]!, "\(value)") } - public func Call_Seconds(_ value: Int32) -> String { + public func MuteFor_Days(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[3 * 6 + Int(form.rawValue)]!, "\(value)") } - public func Notification_GameScoreSelfSimple(_ value: Int32) -> String { + public func StickerPack_AddMaskCount(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[4 * 6 + Int(form.rawValue)]!, "\(value)") } - public func PrivacyLastSeenSettings_AddUsers(_ value: Int32) -> String { + public func SharedMedia_Generic(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[5 * 6 + Int(form.rawValue)]!, "\(value)") } - public func Watch_UserInfo_Mute(_ value: Int32) -> String { + public func ServiceMessage_GameScoreSelfExtended(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[6 * 6 + Int(form.rawValue)]!, "\(value)") } - public func Contacts_ImportersCount(_ value: Int32) -> String { + public func GroupInfo_ParticipantCount(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[7 * 6 + Int(form.rawValue)]!, "\(value)") } - public func ForwardedFiles(_ value: Int32) -> String { + public func Notification_GameScoreSimple(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[8 * 6 + Int(form.rawValue)]!, "\(value)") } - public func AttachmentMenu_SendItem(_ value: Int32) -> String { + public func LastSeen_HoursAgo(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[9 * 6 + Int(form.rawValue)]!, "\(value)") } - public func Forward_ConfirmMultipleFiles(_ value: Int32) -> String { + public func MessageTimer_ShortSeconds(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[10 * 6 + Int(form.rawValue)]!, "\(value)") } - public func Passport_Scans(_ value: Int32) -> String { + public func Conversation_StatusMembers(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[11 * 6 + Int(form.rawValue)]!, "\(value)") } - public func ServiceMessage_GameScoreSelfSimple(_ value: Int32) -> String { + public func LiveLocation_MenuChatsCount(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[12 * 6 + Int(form.rawValue)]!, "\(value)") } - public func SharedMedia_File(_ value: Int32) -> String { + public func ServiceMessage_GameScoreExtended(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[13 * 6 + Int(form.rawValue)]!, "\(value)") } - public func QuickSend_Photos(_ value: Int32) -> String { + public func Notifications_Exceptions(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[14 * 6 + Int(form.rawValue)]!, "\(value)") } - public func StickerPack_RemoveStickerCount(_ value: Int32) -> String { + public func MessageTimer_Minutes(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[15 * 6 + Int(form.rawValue)]!, "\(value)") } - public func Call_Minutes(_ value: Int32) -> String { + public func Invitation_Members(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[16 * 6 + Int(form.rawValue)]!, "\(value)") } - public func LiveLocation_MenuChatsCount(_ value: Int32) -> String { + public func Watch_LastSeen_HoursAgo(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[17 * 6 + Int(form.rawValue)]!, "\(value)") } - public func LiveLocationUpdated_MinutesAgo(_ value: Int32) -> String { + public func Conversation_LiveLocationMembersCount(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[18 * 6 + Int(form.rawValue)]!, "\(value)") } @@ -3250,31 +3251,31 @@ public final class PresentationStrings { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[19 * 6 + Int(form.rawValue)]!, "\(value)") } - public func ChatList_DeleteConfirmation(_ value: Int32) -> String { + public func ForwardedPhotos(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[20 * 6 + Int(form.rawValue)]!, "\(value)") } - public func MessageTimer_Minutes(_ value: Int32) -> String { + public func MuteFor_Hours(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[21 * 6 + Int(form.rawValue)]!, "\(value)") } - public func Conversation_LiveLocationMembersCount(_ value: Int32) -> String { + public func ForwardedGifs(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[22 * 6 + Int(form.rawValue)]!, "\(value)") } - public func Notifications_ExceptionMuteExpires_Days(_ value: Int32) -> String { + public func Watch_LastSeen_MinutesAgo(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[23 * 6 + Int(form.rawValue)]!, "\(value)") } - public func Notifications_Exceptions(_ value: Int32) -> String { + public func Notification_GameScoreSelfSimple(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[24 * 6 + Int(form.rawValue)]!, "\(value)") } - public func Watch_LastSeen_HoursAgo(_ value: Int32) -> String { + public func Notification_GameScoreSelfExtended(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[25 * 6 + Int(form.rawValue)]!, "\(value)") } - public func StickerPack_StickerCount(_ value: Int32) -> String { + public func ForwardedVideos(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[26 * 6 + Int(form.rawValue)]!, "\(value)") } @@ -3282,39 +3283,39 @@ public final class PresentationStrings { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[27 * 6 + Int(form.rawValue)]!, "\(value)") } - public func Call_ShortSeconds(_ value: Int32) -> String { + public func ForwardedFiles(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[28 * 6 + Int(form.rawValue)]!, "\(value)") } - public func MessageTimer_Weeks(_ value: Int32) -> String { + public func StickerPack_AddStickerCount(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[29 * 6 + Int(form.rawValue)]!, "\(value)") } - public func SharedMedia_Generic(_ value: Int32) -> String { + public func Map_ETAMinutes(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[30 * 6 + Int(form.rawValue)]!, "\(value)") } - public func LastSeen_HoursAgo(_ value: Int32) -> String { + public func Media_ShareItem(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[31 * 6 + Int(form.rawValue)]!, "\(value)") } - public func StickerPack_AddStickerCount(_ value: Int32) -> String { + public func UserCount(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[32 * 6 + Int(form.rawValue)]!, "\(value)") } - public func MessageTimer_Years(_ value: Int32) -> String { + public func MessageTimer_Seconds(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[33 * 6 + Int(form.rawValue)]!, "\(value)") } - public func SharedMedia_Video(_ value: Int32) -> String { + public func AttachmentMenu_SendGif(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[34 * 6 + Int(form.rawValue)]!, "\(value)") } - public func Conversation_StatusSubscribers(_ value: Int32) -> String { + public func Call_Minutes(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[35 * 6 + Int(form.rawValue)]!, "\(value)") } - public func ForwardedVideoMessages(_ value: Int32) -> String { + public func Notification_GameScoreExtended(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[36 * 6 + Int(form.rawValue)]!, "\(value)") } @@ -3322,31 +3323,31 @@ public final class PresentationStrings { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[37 * 6 + Int(form.rawValue)]!, "\(value)") } - public func Notification_GameScoreSimple(_ value: Int32) -> String { + public func PasscodeSettings_FailedAttempts(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[38 * 6 + Int(form.rawValue)]!, "\(value)") } - public func AttachmentMenu_SendPhoto(_ value: Int32) -> String { + public func SharedMedia_Video(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[39 * 6 + Int(form.rawValue)]!, "\(value)") } - public func AttachmentMenu_SendVideo(_ value: Int32) -> String { + public func StickerPack_RemoveMaskCount(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[40 * 6 + Int(form.rawValue)]!, "\(value)") } - public func ServiceMessage_GameScoreExtended(_ value: Int32) -> String { + public func MessageTimer_ShortMinutes(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[41 * 6 + Int(form.rawValue)]!, "\(value)") } - public func ForwardedContacts(_ value: Int32) -> String { + public func Call_ShortMinutes(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[42 * 6 + Int(form.rawValue)]!, "\(value)") } - public func ForwardedVideos(_ value: Int32) -> String { + public func ForwardedStickers(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[43 * 6 + Int(form.rawValue)]!, "\(value)") } - public func Media_SharePhoto(_ value: Int32) -> String { + public func Forward_ConfirmMultipleFiles(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[44 * 6 + Int(form.rawValue)]!, "\(value)") } @@ -3354,167 +3355,167 @@ public final class PresentationStrings { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[45 * 6 + Int(form.rawValue)]!, "\(value)") } - public func GroupInfo_ParticipantCount(_ value: Int32) -> String { + public func MessageTimer_ShortDays(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[46 * 6 + Int(form.rawValue)]!, "\(value)") } - public func LastSeen_MinutesAgo(_ value: Int32) -> String { + public func SharedMedia_DeleteItemsConfirmation(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[47 * 6 + Int(form.rawValue)]!, "\(value)") } - public func ForwardedStickers(_ value: Int32) -> String { + public func MessageTimer_Years(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[48 * 6 + Int(form.rawValue)]!, "\(value)") } - public func MessageTimer_ShortSeconds(_ value: Int32) -> String { + public func ForwardedMessages(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[49 * 6 + Int(form.rawValue)]!, "\(value)") } - public func Notification_GameScoreExtended(_ value: Int32) -> String { + public func MessageTimer_ShortWeeks(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[50 * 6 + Int(form.rawValue)]!, "\(value)") } - public func UserCount(_ value: Int32) -> String { + public func ServiceMessage_GameScoreSimple(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[51 * 6 + Int(form.rawValue)]!, "\(value)") } - public func ForwardedPhotos(_ value: Int32) -> String { + public func StickerPack_RemoveStickerCount(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[52 * 6 + Int(form.rawValue)]!, "\(value)") } - public func StickerPack_RemoveMaskCount(_ value: Int32) -> String { + public func ForwardedAudios(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[53 * 6 + Int(form.rawValue)]!, "\(value)") } - public func StickerPack_AddMaskCount(_ value: Int32) -> String { + public func MessageTimer_Months(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[54 * 6 + Int(form.rawValue)]!, "\(value)") } - public func ForwardedLocations(_ value: Int32) -> String { + public func MessageTimer_Days(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[55 * 6 + Int(form.rawValue)]!, "\(value)") } - public func ServiceMessage_GameScoreSelfExtended(_ value: Int32) -> String { + public func Media_SharePhoto(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[56 * 6 + Int(form.rawValue)]!, "\(value)") } - public func MuteFor_Days(_ value: Int32) -> String { + public func ForwardedContacts(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[57 * 6 + Int(form.rawValue)]!, "\(value)") } - public func ForwardedAuthorsOthers(_ value: Int32) -> String { + public func LiveLocationUpdated_MinutesAgo(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[58 * 6 + Int(form.rawValue)]!, "\(value)") } - public func Notifications_ExceptionMuteExpires_Hours(_ value: Int32) -> String { + public func Watch_UserInfo_Mute(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[59 * 6 + Int(form.rawValue)]!, "\(value)") } - public func AttachmentMenu_SendGif(_ value: Int32) -> String { + public func MuteExpires_Days(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[60 * 6 + Int(form.rawValue)]!, "\(value)") } - public func MuteFor_Hours(_ value: Int32) -> String { + public func ForwardedLocations(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[61 * 6 + Int(form.rawValue)]!, "\(value)") } - public func SharedMedia_DeleteItemsConfirmation(_ value: Int32) -> String { + public func PrivacyLastSeenSettings_AddUsers(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[62 * 6 + Int(form.rawValue)]!, "\(value)") } - public func Media_ShareItem(_ value: Int32) -> String { + public func StickerPack_StickerCount(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[63 * 6 + Int(form.rawValue)]!, "\(value)") } - public func ServiceMessage_GameScoreSimple(_ value: Int32) -> String { + public func Contacts_ImportersCount(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[64 * 6 + Int(form.rawValue)]!, "\(value)") } - public func DialogList_LiveLocationChatsCount(_ value: Int32) -> String { + public func Notifications_ExceptionMuteExpires_Minutes(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[65 * 6 + Int(form.rawValue)]!, "\(value)") } - public func MuteExpires_Days(_ value: Int32) -> String { + public func AttachmentMenu_SendItem(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[66 * 6 + Int(form.rawValue)]!, "\(value)") } - public func Call_ShortMinutes(_ value: Int32) -> String { + public func AttachmentMenu_SendVideo(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[67 * 6 + Int(form.rawValue)]!, "\(value)") } - public func Watch_LastSeen_MinutesAgo(_ value: Int32) -> String { + public func Call_Seconds(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[68 * 6 + Int(form.rawValue)]!, "\(value)") } - public func Notification_GameScoreSelfExtended(_ value: Int32) -> String { + public func ForwardedVideoMessages(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[69 * 6 + Int(form.rawValue)]!, "\(value)") } - public func Map_ETAMinutes(_ value: Int32) -> String { + public func Call_ShortSeconds(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[70 * 6 + Int(form.rawValue)]!, "\(value)") } - public func MessageTimer_Hours(_ value: Int32) -> String { + public func Passport_Scans(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[71 * 6 + Int(form.rawValue)]!, "\(value)") } - public func Conversation_StatusMembers(_ value: Int32) -> String { + public func MessageTimer_Hours(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[72 * 6 + Int(form.rawValue)]!, "\(value)") } - public func Conversation_StatusOnline(_ value: Int32) -> String { + public func SharedMedia_Link(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[73 * 6 + Int(form.rawValue)]!, "\(value)") } - public func MuteExpires_Minutes(_ value: Int32) -> String { + public func Conversation_StatusOnline(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[74 * 6 + Int(form.rawValue)]!, "\(value)") } - public func ForwardedMessages(_ value: Int32) -> String { + public func DialogList_LiveLocationChatsCount(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[75 * 6 + Int(form.rawValue)]!, "\(value)") } - public func MessageTimer_Months(_ value: Int32) -> String { + public func Notifications_ExceptionMuteExpires_Days(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[76 * 6 + Int(form.rawValue)]!, "\(value)") } - public func Invitation_Members(_ value: Int32) -> String { + public func LastSeen_MinutesAgo(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[77 * 6 + Int(form.rawValue)]!, "\(value)") } - public func MessageTimer_Seconds(_ value: Int32) -> String { + public func ServiceMessage_GameScoreSelfSimple(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[78 * 6 + Int(form.rawValue)]!, "\(value)") } - public func MessageTimer_ShortDays(_ value: Int32) -> String { + public func ChatList_DeleteConfirmation(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[79 * 6 + Int(form.rawValue)]!, "\(value)") } - public func SharedMedia_Link(_ value: Int32) -> String { + public func Notifications_ExceptionMuteExpires_Hours(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[80 * 6 + Int(form.rawValue)]!, "\(value)") } - public func MessageTimer_ShortMinutes(_ value: Int32) -> String { + public func Conversation_StatusSubscribers(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[81 * 6 + Int(form.rawValue)]!, "\(value)") } - public func Notifications_ExceptionMuteExpires_Minutes(_ value: Int32) -> String { + public func SharedMedia_File(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[82 * 6 + Int(form.rawValue)]!, "\(value)") } - public func MessageTimer_Days(_ value: Int32) -> String { + public func MessageTimer_ShortHours(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[83 * 6 + Int(form.rawValue)]!, "\(value)") } - public func ForwardedGifs(_ value: Int32) -> String { + public func MessageTimer_Weeks(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[84 * 6 + Int(form.rawValue)]!, "\(value)") } - public func MuteExpires_Hours(_ value: Int32) -> String { + public func AttachmentMenu_SendPhoto(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[85 * 6 + Int(form.rawValue)]!, "\(value)") } - public func PasscodeSettings_FailedAttempts(_ value: Int32) -> String { + public func QuickSend_Photos(_ value: Int32) -> String { let form = presentationStringsPluralizationForm(self.lc, value) return String(format: self._ps[86 * 6 + Int(form.rawValue)]!, "\(value)") } diff --git a/TelegramUI/Resources/PresentationStrings.mapping b/TelegramUI/Resources/PresentationStrings.mapping index ad3ad6f42dc8dd200748e61b56132d9cec3d9f63..cc88ce1b46cd0359ff571da0dd2b2fba81e51b23 100644 GIT binary patch delta 19476 zcmZX62YA%Q^LO^hH_2TR(v#~Yx%6;J=tvDAKxhdhGy%hr91uzFLJGaw5CthCEP_&O zV480V`;|t5Vn?{AD_V1(Z=x>_7)u;uT#C< zgx7~KZSYu^AO3p>V>Y7*qk&SYb#d>aq(N=5r>@#j?3z@YEqK<`kZQAPLlf%!MI0@t z4pMDwLY0b6)1$&!QzIBQ(Y9(k+f3)G4eWioSKW+lq4XM^@*%p@@x!6a7$Dd_YC>zW zqiJSM5c`;(t;t}Y(3YAMwv|rT#MwRtZ#bBWYRgN5S{KQ_q=9wW%Kv2D)m%M&zb8bsw+Yo>kET9J8ai4R z#rD(rI;(O3ELJ)f5>4g_QOZG-(rMQ;6W(6)&d z_AQ;9Xl38gy@{#p2TGn~Vn0&eq%?MtswUZ#Q?lK;C+*3N9iB#2gxG>MRd&Q$%>gf?16i!hesX z7p7|1ReEV^JgcW|Q(LpY=-O19>RJ=NGm*tnvuSb4-(pI9d@rVp_TU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EZt1+WO^e4A<<(4-}J|H20kXFU*PTreD#^b%h;90ukxKR6ts`YXRSoTVFnLu-K? zrJLsuy`UKIJMVrcOR@X`vRJ2dO^Up=O+RWxx$ye-}>i zre5aDXD?Ry+jl|O1Necvn3I2A!HkKbFR=;!d{1v>ep6+YuR-BQDwx3{E^!0?Scis@ zaZ1oO75EgcArN&oerg25M5pfoeh>;7nTWwgo%rNZgd>Ca$D^@#!F-g5SrSAHLoB3a z7#Tj(@l7Bi^muh7a~j2Q37(c)FOiejV+UV2f>}G2RSD=Iw4V?XxwD$PD z^a{LuiNI^DB+F0VHGjz8Q9MGo;)Cn#dsw29fKP9m%=~!|3)A)XOle3&qeKzPM{M`{ z-B@oD&+`D>X55RQrfUptEnqKp+hhTwn8fWXL;9i@=^9pka|CdVjgPn&6SnixF)Y@3 z7hZlEgt}`HH2-$UX*)r%h{Qg=zJi5XTquf=Q_BfRCcksnz}+LEK2MH-txn~KJn&-V z=B0_>tt_2SyPKu<%kU4?(nWKING1sX5hB@lLl&z4&xXogxoH$Y`1TRlifn#u45TE7 zpT_uVE*cp4o>44L=a;j#0a}Rq(g>zYD#XWY@H;Boflb&QA!h~1mu_s&N8f|^K?gp2 zBy-q1f+Y6*_E;{YQeYCv-HHD@8b+`)pF4tO#&rRwkPBh(urRkcv9A2WU3js(1J&XU zCP|*9z8^joZs>-(c=?KFz+-!Nl%yBtZ!B4Q@KK{!hA9s;sa~LaJeoN5Z}ismM72f8 zvnfc5b3T7@3`=X<3)OP3(36&0-yo+_fO@Gf<>eE9*~%|+z4^*};DQu_?vNMJ;jO-} zd58L-wpni!mgoDM^c7-bQ2T+HBm_fOwOH Signal { return requestChatContextResults(account: account, botId: botId, peerId: peerId, query: query, offset: offset) @@ -30,15 +31,18 @@ final class WebSearchControllerInteraction { let setSearchQuery: (String) -> Void let deleteRecentQuery: (String) -> Void let toggleSelection: ([String], Bool) -> Void - let sendSelected: (ChatContextResultCollection) -> Void + let sendSelected: (ChatContextResultCollection, ChatContextResult?) -> Void var selectionState: WebSearchSelectionState? + var hiddenMediaId: String? + let editingContext: TGMediaEditingContext - init(openResult: @escaping (ChatContextResult) -> Void, setSearchQuery: @escaping (String) -> Void, deleteRecentQuery: @escaping (String) -> Void, toggleSelection: @escaping ([String], Bool) -> Void, sendSelected: @escaping (ChatContextResultCollection) -> Void) { + init(openResult: @escaping (ChatContextResult) -> Void, setSearchQuery: @escaping (String) -> Void, deleteRecentQuery: @escaping (String) -> Void, toggleSelection: @escaping ([String], Bool) -> Void, sendSelected: @escaping (ChatContextResultCollection, ChatContextResult?) -> Void, editingContext: TGMediaEditingContext) { self.openResult = openResult self.setSearchQuery = setSearchQuery self.deleteRecentQuery = deleteRecentQuery self.toggleSelection = toggleSelection self.sendSelected = sendSelected + self.editingContext = editingContext } } @@ -69,7 +73,7 @@ final class WebSearchController: ViewController { private var navigationContentNode: WebSearchNavigationContentNode? - init(account: Account, chatLocation: ChatLocation, configuration: SearchBotsConfiguration, sendSelected: @escaping ([String], ChatContextResultCollection) -> Void) { + init(account: Account, chatLocation: ChatLocation, configuration: SearchBotsConfiguration, sendSelected: @escaping ([String], ChatContextResultCollection, TGMediaEditingContext) -> Void) { self.account = account self.chatLocation = chatLocation self.configuration = configuration @@ -117,8 +121,15 @@ final class WebSearchController: ViewController { } self.navigationBar?.setContentNode(navigationContentNode, animated: false) - self.controllerInteraction = WebSearchControllerInteraction(openResult: { result in - + let editingContext = TGMediaEditingContext() + self.controllerInteraction = WebSearchControllerInteraction(openResult: { [weak self] result in + if let strongSelf = self { + strongSelf.controllerNode.openResult(currentResult: result, present: { [weak self] viewController, arguments in + if let strongSelf = self { + strongSelf.present(viewController, in: .window(.root), with: arguments) + } + }) + } }, setSearchQuery: { [weak self] query in if let strongSelf = self { strongSelf.navigationContentNode?.setQuery(query) @@ -133,11 +144,15 @@ final class WebSearchController: ViewController { if let strongSelf = self { strongSelf.updateInterfaceState { $0.withToggledSelectedMessages(ids, value: value) } } - }, sendSelected: { [weak self] collection in - if let strongSelf = self, let state = strongSelf.interfaceState.state, !state.selectionState.selectedIds.isEmpty { - sendSelected(Array(state.selectionState.selectedIds), collection) + }, sendSelected: { [weak self] collection, current in + if let strongSelf = self, let state = strongSelf.interfaceState.state { + var selectedIds = state.selectionState.selectedIds + if let current = current { + selectedIds.insert(current.id) + } + sendSelected(Array(selectedIds), collection, editingContext) } - }) + }, editingContext: editingContext) } required public init(coder aDecoder: NSCoder) { diff --git a/TelegramUI/WebSearchControllerNode.swift b/TelegramUI/WebSearchControllerNode.swift index 15129d8486..d814384005 100644 --- a/TelegramUI/WebSearchControllerNode.swift +++ b/TelegramUI/WebSearchControllerNode.swift @@ -4,6 +4,7 @@ import Postbox import SwiftSignalKit import Display import TelegramCore +import LegacyComponents private struct WebSearchContextResultStableId: Hashable { let result: ChatContextResult @@ -144,12 +145,17 @@ class WebSearchControllerNode: ASDisplayNode { private var hasMore = false private var isLoadingMore = false + private let selectionContext = TGMediaSelectionContext() + + private let hiddenMediaId = Promise(nil) + private var hiddenMediaDisposable: Disposable? + private let results = ValuePromise(nil, ignoreRepeated: true) private let disposable = MetaDisposable() private let loadMoreDisposable = MetaDisposable() - private let recentDisposable = MetaDisposable() + private var recentDisposable: Disposable? private var containerLayout: (ContainerViewLayout, CGFloat)? @@ -219,7 +225,7 @@ class WebSearchControllerNode: ASDisplayNode { })) let previousRecentItems = Atomic<[WebSearchRecentQueryEntry]?>(value: nil) - self.recentDisposable.set((combineLatest(webSearchRecentQueries(postbox: self.account.postbox), self.webSearchInterfaceStatePromise.get()) + self.recentDisposable = (combineLatest(webSearchRecentQueries(postbox: self.account.postbox), self.webSearchInterfaceStatePromise.get()) |> deliverOnMainQueue).start(next: { [weak self] queries, interfaceState in if let strongSelf = self { var entries: [WebSearchRecentQueryEntry] = [] @@ -236,7 +242,7 @@ class WebSearchControllerNode: ASDisplayNode { let transition = preparedWebSearchRecentTransition(from: previousEntries ?? [], to: entries, account: strongSelf.account, theme: interfaceState.presentationData.theme, strings: interfaceState.presentationData.strings, controllerInteraction: strongSelf.controllerInteraction, header: header) strongSelf.enqueueRecentTransition(transition, firstTime: previousEntries == nil) } - })) + }) self.gridNode.visibleItemsUpdated = { [weak self] visibleItems in if let strongSelf = self, let bottom = visibleItems.bottom, let entries = strongSelf.currentEntries { @@ -253,10 +259,26 @@ class WebSearchControllerNode: ASDisplayNode { self.recentQueriesNode.beganInteractiveDragging = { [weak self] in self?.dismissInput?() } + + self.hiddenMediaDisposable = (self.hiddenMediaId.get() + |> deliverOnMainQueue).start(next: { [weak self] id in + if let strongSelf = self { + strongSelf.controllerInteraction.hiddenMediaId = id + + strongSelf.gridNode.forEachItemNode { itemNode in + if let itemNode = itemNode as? WebSearchItemNode { + itemNode.updateHiddenMedia() + } + } + } + }) } deinit { + self.disposable.dispose() + self.recentDisposable?.dispose() self.loadMoreDisposable.dispose() + self.hiddenMediaDisposable?.dispose() } func updatePresentationData(theme: PresentationTheme, strings: PresentationStrings) { @@ -519,8 +541,79 @@ class WebSearchControllerNode: ASDisplayNode { @objc private func sendPressed() { if let results = self.currentProcessedResults { - self.controllerInteraction.sendSelected(results) + self.controllerInteraction.sendSelected(results, nil) } self.cancel?() } + + func openResult(currentResult: ChatContextResult, present: (ViewController, Any?) -> Void) { + if let state = self.webSearchInterfaceState.state, state.mode == .images { + if let results = self.currentProcessedResults?.results { + presentLegacyWebSearchGallery(account: self.account, peer: nil, theme: self.theme, results: results, current: currentResult, selectionContext: self.selectionContext, editingContext: self.controllerInteraction.editingContext, updateHiddenMedia: { [weak self] id in + self?.hiddenMediaId.set(.single(id)) + }, transitionHostView: { [weak self] in + return self?.gridNode.view + }, transitionView: { [weak self] result in + return self?.transitionView(for: result) + }, completed: { [weak self] result in + if let strongSelf = self, let results = strongSelf.currentProcessedResults { + strongSelf.controllerInteraction.sendSelected(results, nil) + strongSelf.cancel?() + } + }, present: present) + } + } else { + if let results = self.currentProcessedResults?.results { + var entries: [WebSearchGalleryEntry] = [] + var centralIndex: Int = 0 + for i in 0 ..< results.count { + entries.append(WebSearchGalleryEntry(result: results[i])) + if results[i] == currentResult { + centralIndex = i + } + } + + let controller = WebSearchGalleryController(account: self.account, entries: entries, centralIndex: centralIndex, replaceRootController: { (controller, _) in + + }, baseNavigationController: nil) + self.hiddenMediaId.set((controller.hiddenMedia |> deliverOnMainQueue) + |> map { entry in + return entry?.result.id + }) + present(controller, WebSearchGalleryControllerPresentationArguments(transitionArguments: { [weak self] entry -> GalleryTransitionArguments? in + if let strongSelf = self { + var transitionNode: WebSearchItemNode? + strongSelf.gridNode.forEachItemNode { itemNode in + if let itemNode = itemNode as? WebSearchItemNode, itemNode.item?.result.id == entry.result.id { + transitionNode = itemNode + } + } + if let transitionNode = transitionNode { + return GalleryTransitionArguments(transitionNode: (transitionNode, { [weak transitionNode] in + return transitionNode?.transitionView().snapshotContentTree(unhide: true) + }), addToTransitionSurface: { view in + if let strongSelf = self { + strongSelf.gridNode.view.superview?.insertSubview(view, aboveSubview: strongSelf.gridNode.view) + } + }) + } + } + return nil + })) + } + } + } + + private func transitionView(for result: ChatContextResult) -> UIView? { + var transitionNode: WebSearchItemNode? + self.gridNode.forEachItemNode { itemNode in + if let itemNode = itemNode as? WebSearchItemNode, itemNode.item?.result.id == result.id { + transitionNode = itemNode + } + } + if let transitionNode = transitionNode { + return transitionNode.transitionView() + } + return nil + } } diff --git a/TelegramUI/WebSearchGalleryController.swift b/TelegramUI/WebSearchGalleryController.swift new file mode 100644 index 0000000000..403d555e36 --- /dev/null +++ b/TelegramUI/WebSearchGalleryController.swift @@ -0,0 +1,254 @@ +import Foundation +import Display +import QuickLook +import Postbox +import SwiftSignalKit +import AsyncDisplayKit +import TelegramCore +import SafariServices + +struct WebSearchGalleryEntry: Equatable { + let result: ChatContextResult + + static func ==(lhs: WebSearchGalleryEntry, rhs: WebSearchGalleryEntry) -> Bool { + return lhs.result == rhs.result + } + + func item(account: Account, presentationData: PresentationData) -> GalleryItem { + switch self.result { + case let .externalReference(queryId, id, type, _, _, url, content, thumbnail, _): + if let content = content, type == "gif", let thumbnailResource = thumbnail?.resource, let dimensions = content.dimensions { + let fileReference = FileMediaReference.standalone(media: TelegramMediaFile(fileId: MediaId(namespace: Namespaces.Media.LocalFile, id: 0), partialReference: nil, resource: content.resource, previewRepresentations: [TelegramMediaImageRepresentation(dimensions: dimensions, resource: thumbnailResource)], mimeType: "video/mp4", size: nil, attributes: [.Animated, .Video(duration: 0, size: dimensions, flags: [])])) + return UniversalVideoGalleryItem(account: account, presentationData: presentationData, content: NativeVideoContent(id: .contextResult(self.result.queryId, self.result.id), fileReference: fileReference, streamVideo: false, loopVideo: true, enableSound: false, fetchAutomatically: true), originData: nil, indexData: nil, contentInfo: nil, caption: NSAttributedString(), credit: nil, performAction: { _ in }, openActionOptions: { _ in }) + } + case let .internalReference(queryId, id, _, _, _, _, file, _): + if let file = file { + return UniversalVideoGalleryItem(account: account, presentationData: presentationData, content: NativeVideoContent(id: .contextResult(self.result.queryId, self.result.id), fileReference: .standalone(media: file), streamVideo: false, loopVideo: true, enableSound: false, fetchAutomatically: true), originData: nil, indexData: nil, contentInfo: nil, caption: NSAttributedString(), credit: nil, performAction: { _ in }, openActionOptions: { _ in }) + } + } + preconditionFailure() + } +} + +final class WebSearchGalleryControllerPresentationArguments { + let transitionArguments: (WebSearchGalleryEntry) -> GalleryTransitionArguments? + + init(transitionArguments: @escaping (WebSearchGalleryEntry) -> GalleryTransitionArguments?) { + self.transitionArguments = transitionArguments + } +} + +class WebSearchGalleryController: ViewController { + private var galleryNode: GalleryControllerNode { + return self.displayNode as! GalleryControllerNode + } + + private let account: Account + private var presentationData: PresentationData + + private let _ready = Promise() + override var ready: Promise { + return self._ready + } + private var didSetReady = false + + private let disposable = MetaDisposable() + + private var entries: [WebSearchGalleryEntry] = [] + private var centralEntryIndex: Int? + + private let centralItemTitle = Promise() + private let centralItemTitleView = Promise() + private let centralItemNavigationStyle = Promise() + private let centralItemFooterContentNode = Promise() + private let centralItemAttributesDisposable = DisposableSet(); + + private let _hiddenMedia = Promise(nil) + var hiddenMedia: Signal { + return self._hiddenMedia.get() + } + + private let replaceRootController: (ViewController, ValuePromise?) -> Void + private let baseNavigationController: NavigationController? + + init(account: Account, entries: [WebSearchGalleryEntry], centralIndex: Int, replaceRootController: @escaping (ViewController, ValuePromise?) -> Void, baseNavigationController: NavigationController?) { + self.account = account + self.replaceRootController = replaceRootController + self.baseNavigationController = baseNavigationController + + self.presentationData = account.telegramApplicationContext.currentPresentationData.with { $0 } + + super.init(navigationBarPresentationData: NavigationBarPresentationData(theme: GalleryController.darkNavigationTheme, strings: NavigationBarStrings(presentationStrings: self.presentationData.strings))) + + let backItem = UIBarButtonItem(backButtonAppearanceWithTitle: presentationData.strings.Common_Back, target: self, action: #selector(self.donePressed)) + self.navigationItem.leftBarButtonItem = backItem + + self.statusBar.statusBarStyle = .White + + let entriesSignal: Signal<[WebSearchGalleryEntry], NoError> = .single(entries) + + self.disposable.set((entriesSignal |> deliverOnMainQueue).start(next: { [weak self] entries in + if let strongSelf = self { + strongSelf.entries = entries + strongSelf.centralEntryIndex = centralIndex + if strongSelf.isViewLoaded { + strongSelf.galleryNode.pager.replaceItems(strongSelf.entries.map({ + $0.item(account: account, presentationData: strongSelf.presentationData) + }), centralItemIndex: centralIndex, keepFirst: false) + + let ready = strongSelf.galleryNode.pager.ready() |> timeout(2.0, queue: Queue.mainQueue(), alternate: .single(Void())) |> afterNext { [weak strongSelf] _ in + strongSelf?.didSetReady = true + } + strongSelf._ready.set(ready |> map { true }) + } + } + })) + + self.centralItemAttributesDisposable.add(self.centralItemTitle.get().start(next: { [weak self] title in + self?.navigationItem.title = title + })) + + self.centralItemAttributesDisposable.add(self.centralItemTitleView.get().start(next: { [weak self] titleView in + self?.navigationItem.titleView = titleView + })) + + self.centralItemAttributesDisposable.add(self.centralItemFooterContentNode.get().start(next: { [weak self] footerContentNode in + self?.galleryNode.updatePresentationState({ + $0.withUpdatedFooterContentNode(footerContentNode) + }, transition: .immediate) + })) + } + + required init(coder aDecoder: NSCoder) { + fatalError("init(coder:) has not been implemented") + } + + deinit { + self.disposable.dispose() + self.centralItemAttributesDisposable.dispose() + } + + @objc func donePressed() { + self.dismiss(forceAway: false) + } + + private func dismiss(forceAway: Bool) { + var animatedOutNode = true + var animatedOutInterface = false + + let completion = { [weak self] in + if animatedOutNode && animatedOutInterface { + self?._hiddenMedia.set(.single(nil)) + self?.presentingViewController?.dismiss(animated: false, completion: nil) + } + } + + if let centralItemNode = self.galleryNode.pager.centralItemNode(), let presentationArguments = self.presentationArguments as? WebSearchGalleryControllerPresentationArguments { + if !self.entries.isEmpty { + if let transitionArguments = presentationArguments.transitionArguments(self.entries[centralItemNode.index]), !forceAway { + animatedOutNode = false + centralItemNode.animateOut(to: transitionArguments.transitionNode, addToTransitionSurface: transitionArguments.addToTransitionSurface, completion: { + animatedOutNode = true + completion() + }) + } + } + } + + self.galleryNode.animateOut(animateContent: animatedOutNode, completion: { + animatedOutInterface = true + completion() + }) + } + + override func loadDisplayNode() { + let controllerInteraction = GalleryControllerInteraction(presentController: { [weak self] controller, arguments in + if let strongSelf = self { + strongSelf.present(controller, in: .window(.root), with: arguments) + } + }, dismissController: { [weak self] in + self?.dismiss(forceAway: true) + }, replaceRootController: { [weak self] controller, ready in + if let strongSelf = self { + strongSelf.replaceRootController(controller, ready) + } + }) + self.displayNode = GalleryControllerNode(controllerInteraction: controllerInteraction) + self.displayNodeDidLoad() + + self.galleryNode.statusBar = self.statusBar + self.galleryNode.navigationBar = self.navigationBar + + self.galleryNode.transitionDataForCentralItem = { [weak self] in + if let strongSelf = self { + if let centralItemNode = strongSelf.galleryNode.pager.centralItemNode(), let presentationArguments = strongSelf.presentationArguments as? WebSearchGalleryControllerPresentationArguments { + if let transitionArguments = presentationArguments.transitionArguments(strongSelf.entries[centralItemNode.index]) { + return (transitionArguments.transitionNode, transitionArguments.addToTransitionSurface) + } + } + } + return nil + } + self.galleryNode.dismiss = { [weak self] in + self?._hiddenMedia.set(.single(nil)) + self?.presentingViewController?.dismiss(animated: false, completion: nil) + } + + self.galleryNode.pager.replaceItems(self.entries.map({ + $0.item(account: account, presentationData: self.presentationData) + }), centralItemIndex: self.centralEntryIndex) + + self.galleryNode.pager.centralItemIndexUpdated = { [weak self] index in + if let strongSelf = self { + var hiddenItem: WebSearchGalleryEntry? + if let index = index { + hiddenItem = strongSelf.entries[index] + + if let node = strongSelf.galleryNode.pager.centralItemNode() { + strongSelf.centralItemTitle.set(node.title()) + strongSelf.centralItemTitleView.set(node.titleView()) + strongSelf.centralItemNavigationStyle.set(node.navigationStyle()) + strongSelf.centralItemFooterContentNode.set(node.footerContent()) + } + } + if strongSelf.didSetReady { + strongSelf._hiddenMedia.set(.single(hiddenItem)) + } + } + } + + let ready = self.galleryNode.pager.ready() |> timeout(2.0, queue: Queue.mainQueue(), alternate: .single(Void())) |> afterNext { [weak self] _ in + self?.didSetReady = true + } + self._ready.set(ready |> map { true }) + } + + override func viewDidAppear(_ animated: Bool) { + super.viewDidAppear(animated) + + var nodeAnimatesItself = false + + if let centralItemNode = self.galleryNode.pager.centralItemNode(), let presentationArguments = self.presentationArguments as? WebSearchGalleryControllerPresentationArguments { + self.centralItemTitle.set(centralItemNode.title()) + self.centralItemTitleView.set(centralItemNode.titleView()) + self.centralItemNavigationStyle.set(centralItemNode.navigationStyle()) + self.centralItemFooterContentNode.set(centralItemNode.footerContent()) + + if let transitionArguments = presentationArguments.transitionArguments(self.entries[centralItemNode.index]) { + nodeAnimatesItself = true + centralItemNode.animateIn(from: transitionArguments.transitionNode, addToTransitionSurface: transitionArguments.addToTransitionSurface) + + self._hiddenMedia.set(.single(self.entries[centralItemNode.index])) + } + } + + self.galleryNode.animateIn(animateContent: !nodeAnimatesItself) + } + + override func containerLayoutUpdated(_ layout: ContainerViewLayout, transition: ContainedViewLayoutTransition) { + super.containerLayoutUpdated(layout, transition: transition) + + self.galleryNode.frame = CGRect(origin: CGPoint(), size: layout.size) + self.galleryNode.containerLayoutUpdated(layout, navigationBarHeight: self.navigationHeight, transition: transition) + } +} diff --git a/TelegramUI/WebSearchItem.swift b/TelegramUI/WebSearchItem.swift index 57c54b1732..da1522de45 100644 --- a/TelegramUI/WebSearchItem.swift +++ b/TelegramUI/WebSearchItem.swift @@ -89,7 +89,6 @@ final class WebSearchItemNode: GridItemNode { var updatedStatusSignal: Signal? var imageResource: TelegramMediaResource? - var stickerFile: TelegramMediaFile? var videoFile: TelegramMediaFile? var imageDimensions: CGSize? switch item.result { @@ -147,7 +146,57 @@ final class WebSearchItemNode: GridItemNode { } if let updateImageSignal = updateImageSignal { - self.imageNode.setSignal(updateImageSignal) + let editingContext = item.controllerInteraction.editingContext + let editedImageSignal = Signal { subscriber in + let editableItem = LegacyWebSearchItem(result: item.result, dimensions: CGSize(), thumbnailImage: .complete(), originalImage: .complete()) + if let signal = editingContext.thumbnailImageSignal(for: editableItem) { + let disposable = signal.start(next: { next in + if let image = next as? UIImage { + subscriber.putNext(image) + } else { + subscriber.putNext(nil) + } + }, error: { _ in + }, completed: nil)! + + return ActionDisposable { + disposable.dispose() + } + } else { + return EmptyDisposable + } + } + let editedSignal: Signal<((TransformImageArguments) -> DrawingContext?)?, NoError> = editedImageSignal + |> map { image in + if let image = image { + return { arguments in + let context = DrawingContext(size: arguments.drawingSize, clear: true) + let drawingRect = arguments.drawingRect + let fittedSize = arguments.imageSize.aspectFilled(arguments.boundingSize).fitted(arguments.imageSize) + let fittedRect = CGRect(origin: CGPoint(x: drawingRect.origin.x + (drawingRect.size.width - fittedSize.width) / 2.0, y: drawingRect.origin.y + (drawingRect.size.height - fittedSize.height) / 2.0), size: fittedSize) + + context.withFlippedContext { c in + c.setBlendMode(.copy) + if let cgImage = image.cgImage { + drawImage(context: c, image: cgImage, orientation: .up, in: fittedRect) + } + } + return context + } + } else { + return nil + } + } + + let imageSignal: Signal<(TransformImageArguments) -> DrawingContext?, NoError> = editedSignal + |> mapToSignal { result in + if result != nil { + return .single(result!) + } else { + return updateImageSignal + } + } + self.imageNode.setSignal(imageSignal) } self.currentImageResource = imageResource @@ -170,10 +219,9 @@ final class WebSearchItemNode: GridItemNode { strongSelf.updateSelectionState(animated: true) } }) - - selectionNode.frame = CGRect(origin: CGPoint(), size: self.bounds.size) self.addSubnode(selectionNode) self.selectionNode = selectionNode + self.setNeedsLayout() } if let item = self.item { @@ -184,6 +232,18 @@ final class WebSearchItemNode: GridItemNode { } } + func updateHiddenMedia() { + if let item = self.item { + self.imageNode.isHidden = item.controllerInteraction.hiddenMediaId == item.result.id + } + } + + func transitionView() -> UIView { + let view = self.imageNode.view.snapshotContentTree(unhide: true)! + view.frame = self.convert(self.bounds, to: nil) + return view + } + override func layout() { super.layout() @@ -195,7 +255,8 @@ final class WebSearchItemNode: GridItemNode { self.imageNode.asyncLayout()(TransformImageArguments(corners: ImageCorners(), imageSize: imageSize, boundingSize: imageFrame.size, intrinsicInsets: UIEdgeInsets(), emptyColor: item.theme.list.mediaPlaceholderColor))() } - self.selectionNode?.frame = CGRect(origin: CGPoint(), size: self.bounds.size) + let checkSize = CGSize(width: 32.0, height: 32.0) + self.selectionNode?.frame = CGRect(origin: CGPoint(x: imageFrame.width - checkSize.width, y: 0.0), size: checkSize) let progressDiameter: CGFloat = 40.0 self.statusNode.frame = CGRect(origin: CGPoint(x: floor((imageFrame.size.width - progressDiameter) / 2.0), y: floor((imageFrame.size.height - progressDiameter) / 2.0)), size: CGSize(width: progressDiameter, height: progressDiameter)) @@ -203,40 +264,26 @@ final class WebSearchItemNode: GridItemNode { } @objc func tapLongTapOrDoubleTapGesture(_ recognizer: TapLongTapOrDoubleTapGestureRecognizer) { -// guard let controllerInteraction = self.controllerInteraction, let message = self.item?.message else { -// return -// } -// -// switch recognizer.state { -// case .ended: -// if let (gesture, _) = recognizer.lastRecognizedGestureAndLocation { -// switch gesture { -// case .tap: -// if let (account, media, _) = self.currentState { -// if let file = media as? TelegramMediaFile { -// if let resourceStatus = self.resourceStatus { -// switch resourceStatus { -// case .Fetching: -// messageMediaFileCancelInteractiveFetch(account: account, messageId: message.id, file: file) -// case .Local: -// let _ = controllerInteraction.openMessage(message, .default) -// case .Remote: -// self.fetchDisposable.set(messageMediaFileInteractiveFetched(account: account, message: message, file: file, userInitiated: true).start()) -// } -// } -// } else { -// let _ = controllerInteraction.openMessage(message, .default) -// } -// } -// case .longTap: -// controllerInteraction.openMessageContextMenu(message, false, self, self.bounds) -// default: -// break -// } -// } -// default: -// break -// } + guard let item = self.item else { + return + } + + switch recognizer.state { + case .ended: + if let (gesture, _) = recognizer.lastRecognizedGestureAndLocation { + switch gesture { + case .tap: + item.controllerInteraction.openResult(item.result) + + case .longTap: + break + default: + break + } + } + default: + break + } } }