diff --git a/Telegram/Telegram-iOS/en.lproj/Localizable.strings b/Telegram/Telegram-iOS/en.lproj/Localizable.strings index 0a83151415..c29cb27779 100644 --- a/Telegram/Telegram-iOS/en.lproj/Localizable.strings +++ b/Telegram/Telegram-iOS/en.lproj/Localizable.strings @@ -14507,9 +14507,6 @@ Sorry for the inconvenience."; "Attachment.DiscardTodoAlertText" = "Discard checklist items?"; -"Auth.PremiumSignUp.ActionTitle" = "Sign up for %@"; -"Auth.PremiumSignUp.ActionSubtitle" = "Get Telegram Premium for 1 week"; - "Chat.PostApproval.Status.AdminApproved" = "The message was approved"; "Chat.PostApproval.Status.AdminRejected" = "The message was rejected"; "Chat.PostApproval.Status.UserApproved" = "Your message was approved"; @@ -14589,10 +14586,6 @@ Sorry for the inconvenience."; "BalanceNeeded.FragmentAction" = "Add Funds via Fragment"; "Settings.MyTon" = "My TON"; -"Settings.Ton.Description" = "Use TON to submit post suggestions to channels on Telegram."; - -"Settings.TransactionsTon.Title" = "TON"; -"Settings.TransactionsTon.Subtitle" = "Use TON to submit post suggestions to channels on Telegram."; "Chat.DeletePaidMessageStars.Title" = "Stars Will Be Lost"; "Chat.DeletePaidMessageStars.Text" = "You won't receive **Stars** for this post if you delete it now. The post must remain visible for at least **24 hours** after publication."; @@ -14658,8 +14651,6 @@ Sorry for the inconvenience."; "Premium.Week.SignUp" = "Sign up for %@"; "Premium.Week.SignUpInfo" = "Get Telegram Premium for 1 week"; -"Settings.MyTon" = "My TON"; - "Stars.Gift.Ton.Text" = "Use TON to submit post suggestions to channels on Telegram."; "Stars.Ton.Title" = "TON"; "Stars.Ton.Description" = "Use TON to submit post suggestions to channels on Telegram."; diff --git a/submodules/PremiumUI/Sources/PremiumDemoScreen.swift b/submodules/PremiumUI/Sources/PremiumDemoScreen.swift index c65c18dde9..4c582e1ed6 100644 --- a/submodules/PremiumUI/Sources/PremiumDemoScreen.swift +++ b/submodules/PremiumUI/Sources/PremiumDemoScreen.swift @@ -1126,6 +1126,7 @@ private final class DemoSheetContent: CombinedComponent { content: AnyComponent(PhoneDemoComponent( context: component.context, position: .top, + model: .island, videoFile: configuration.videos["todo"], decoration: .todo )), diff --git a/submodules/PremiumUI/Sources/PremiumLimitsListScreen.swift b/submodules/PremiumUI/Sources/PremiumLimitsListScreen.swift index 32ce09dad0..858a67f7ce 100644 --- a/submodules/PremiumUI/Sources/PremiumLimitsListScreen.swift +++ b/submodules/PremiumUI/Sources/PremiumLimitsListScreen.swift @@ -870,6 +870,7 @@ public class PremiumLimitsListScreen: ViewController { content: AnyComponent(PhoneDemoComponent( context: context, position: .top, + model: .island, videoFile: videos["todo"], decoration: .todo )), diff --git a/submodules/TranslateUI/Sources/ChatTranslation.swift b/submodules/TranslateUI/Sources/ChatTranslation.swift index 5c39b818d2..fdcb75f884 100644 --- a/submodules/TranslateUI/Sources/ChatTranslation.swift +++ b/submodules/TranslateUI/Sources/ChatTranslation.swift @@ -193,20 +193,6 @@ public func chatTranslationState(context: AccountContext, peerId: EnginePeer.Id, return .single(nil) } - let translationConfiguration = TranslationConfiguration.with(appConfiguration: context.currentAppConfiguration.with { $0 }) - var chatTranslationAvailable = true - switch translationConfiguration.auto { - case .system: - if #available(iOS 18.0, *) { - } else { - chatTranslationAvailable = false - } - case .alternative, .disabled: - chatTranslationAvailable = false - default: - break - } - guard canTranslateChats(context: context) else { return .single(nil) }