Skip to content

Commit f599b59

Browse files
committed
Merge commit '8103b08ec0b1068e597d4b9ce74d8d90e443e81b'
2 parents 8402c3d + 8103b08 commit f599b59

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

Telegram/Telegram-iOS/en.lproj/Localizable.strings

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13286,3 +13286,9 @@ Sorry for the inconvenience.";
1328613286

1328713287
"WebApp.Download.SavedToPhotos" = "Saved to Photos.";
1328813288
"WebApp.Download.SavedToFiles" = "Saved to Files.";
13289+
13290+
"MediaGallery.ToastVideoPip.Title" = "Video Minimized";
13291+
"MediaGallery.ToastVideoPip.Text" = "Swipe down on a video to close it.";
13292+
13293+
"Chat.ToastSubscribedToScheduledLiveStream.Text" = "You will be notified when the liver stream starts.";
13294+
"Chat.TitleVideochatPanel.NotifyScheduledButton" = "Notify Me";

submodules/GalleryUI/Sources/GalleryControllerNode.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,10 +477,9 @@ open class GalleryControllerNode: ASDisplayNode, ASScrollViewDelegate, ASGesture
477477
if distanceFromEquilibrium > 1.0, let centralItemNode = self.pager.centralItemNode(), centralItemNode.maybePerformActionForSwipeDismiss() {
478478
if let chatController = self.baseNavigationController()?.topViewController as? ChatController {
479479
let presentationData = self.context.sharedContext.currentPresentationData.with({ $0 })
480-
//TODO:localize
481480
chatController.present(UndoOverlayController(
482481
presentationData: presentationData,
483-
content: .hidArchive(title: "Video Minimized", text: "Swipe down on a video to close it.", undo: false),
482+
content: .hidArchive(title: presentationData.strings.MediaGallery_ToastVideoPip_Title, text: presentationData.strings.MediaGallery_ToastVideoPip_Text, undo: false),
484483
elevatedLayout: false, action: { _ in true }
485484
), in: .current)
486485
}

submodules/TelegramBaseController/Sources/TelegramBaseController.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,6 @@ open class TelegramBaseController: ViewController, KeyShortcutResponder {
468468
if groupCallPanelData.info.scheduleTimestamp != nil && !groupCallPanelData.info.subscribedToScheduled {
469469
let _ = self.context.engine.calls.toggleScheduledGroupCallSubscription(peerId: groupCallPanelData.peerId, callId: groupCallPanelData.info.id, accessHash: groupCallPanelData.info.accessHash, subscribe: true).startStandalone()
470470

471-
//TODO:localize
472471
let controller = UndoOverlayController(
473472
presentationData: presentationData,
474473
content: .universal(
@@ -482,7 +481,7 @@ open class TelegramBaseController: ViewController, KeyShortcutResponder {
482481
"Line.Group 1.Stroke 1": UIColor.white
483482
],
484483
title: nil,
485-
text: "You will be notified when the liver stream starts.",
484+
text: presentationData.strings.Chat_ToastSubscribedToScheduledLiveStream_Text,
486485
customUndoText: nil,
487486
timeout: nil
488487
),

submodules/TelegramCallsUI/Sources/GroupCallNavigationAccessoryPanel.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -677,8 +677,7 @@ public final class GroupCallNavigationAccessoryPanel: ASDisplayNode {
677677
joinText = textForTimeout(value: elapsedTime).uppercased()
678678
}
679679
} else {
680-
//TODO:localize
681-
joinText = "Notify Me"
680+
joinText = strings.Chat_TitleVideochatPanel_NotifyScheduledButton
682681
}
683682

684683
if self.updateTimer == nil {

0 commit comments

Comments
 (0)