Update localization

This commit is contained in:
isaac 2026-04-29 21:23:36 +04:00
parent 53ed837123
commit 301be02a89
9 changed files with 80 additions and 52 deletions

View file

@ -1911,11 +1911,10 @@ final class VideoChatScreenComponent: Component {
}
}
} else {
//TODO:localized
if event.joined {
self.lastTitleEvent = "\(event.peer.compactDisplayTitle) joined"
self.lastTitleEvent = environment.strings.VideoChat_StatusPeerJoined(event.peer.compactDisplayTitle).string
} else {
self.lastTitleEvent = "\(event.peer.compactDisplayTitle) left"
self.lastTitleEvent = environment.strings.VideoChat_StatusPeerLeft(event.peer.compactDisplayTitle).string
}
if !self.isUpdating {
self.state?.updated(transition: .spring(duration: 0.4))