Skip to content

Commit 8103b08

Browse files
author
Isaac
committed
Update localization
1 parent 6783239 commit 8103b08

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
@@ -13242,3 +13242,9 @@ Sorry for the inconvenience.";
1324213242
"PrivacySettings.ValueBotsPlus" = "Mini Apps +%@";
1324313243

1324413244
"PrivacySettings.CategoryBots" = "Mini Apps";
13245+
13246+
"MediaGallery.ToastVideoPip.Title" = "Video Minimized";
13247+
"MediaGallery.ToastVideoPip.Text" = "Swipe down on a video to close it.";
13248+
13249+
"Chat.ToastSubscribedToScheduledLiveStream.Text" = "You will be notified when the liver stream starts.";
13250+
"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)