Update localization

This commit is contained in:
Isaac 2024-11-15 00:52:38 +04:00
parent 67832397fa
commit 8103b08ec0
4 changed files with 9 additions and 6 deletions

View File

@ -13242,3 +13242,9 @@ Sorry for the inconvenience.";
"PrivacySettings.ValueBotsPlus" = "Mini Apps +%@";
"PrivacySettings.CategoryBots" = "Mini Apps";
"MediaGallery.ToastVideoPip.Title" = "Video Minimized";
"MediaGallery.ToastVideoPip.Text" = "Swipe down on a video to close it.";
"Chat.ToastSubscribedToScheduledLiveStream.Text" = "You will be notified when the liver stream starts.";
"Chat.TitleVideochatPanel.NotifyScheduledButton" = "Notify Me";

View File

@ -477,10 +477,9 @@ open class GalleryControllerNode: ASDisplayNode, ASScrollViewDelegate, ASGesture
if distanceFromEquilibrium > 1.0, let centralItemNode = self.pager.centralItemNode(), centralItemNode.maybePerformActionForSwipeDismiss() {
if let chatController = self.baseNavigationController()?.topViewController as? ChatController {
let presentationData = self.context.sharedContext.currentPresentationData.with({ $0 })
//TODO:localize
chatController.present(UndoOverlayController(
presentationData: presentationData,
content: .hidArchive(title: "Video Minimized", text: "Swipe down on a video to close it.", undo: false),
content: .hidArchive(title: presentationData.strings.MediaGallery_ToastVideoPip_Title, text: presentationData.strings.MediaGallery_ToastVideoPip_Text, undo: false),
elevatedLayout: false, action: { _ in true }
), in: .current)
}

View File

@ -468,7 +468,6 @@ open class TelegramBaseController: ViewController, KeyShortcutResponder {
if groupCallPanelData.info.scheduleTimestamp != nil && !groupCallPanelData.info.subscribedToScheduled {
let _ = self.context.engine.calls.toggleScheduledGroupCallSubscription(peerId: groupCallPanelData.peerId, callId: groupCallPanelData.info.id, accessHash: groupCallPanelData.info.accessHash, subscribe: true).startStandalone()
//TODO:localize
let controller = UndoOverlayController(
presentationData: presentationData,
content: .universal(
@ -482,7 +481,7 @@ open class TelegramBaseController: ViewController, KeyShortcutResponder {
"Line.Group 1.Stroke 1": UIColor.white
],
title: nil,
text: "You will be notified when the liver stream starts.",
text: presentationData.strings.Chat_ToastSubscribedToScheduledLiveStream_Text,
customUndoText: nil,
timeout: nil
),

View File

@ -677,8 +677,7 @@ public final class GroupCallNavigationAccessoryPanel: ASDisplayNode {
joinText = textForTimeout(value: elapsedTime).uppercased()
}
} else {
//TODO:localize
joinText = "Notify Me"
joinText = strings.Chat_TitleVideochatPanel_NotifyScheduledButton
}
if self.updateTimer == nil {