mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Update localization
This commit is contained in:
@@ -1526,8 +1526,7 @@ extension ChatControllerImpl {
|
||||
var customSubtitle: String?
|
||||
if messageAndTopic.messageCount == 0, let peer = peerView.peers[peerView.peerId] as? TelegramUser {
|
||||
if peer.isForum {
|
||||
//TODO:localize
|
||||
customSubtitle = "topic"
|
||||
customSubtitle = strongSelf.presentationData.strings.Chat_GenericForuThreadStatus
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1550,8 +1549,7 @@ extension ChatControllerImpl {
|
||||
}
|
||||
strongSelf.state.infoAvatar = .emojiStatus(content: avatarContent, contextActionIsEnabled: infoContextActionIsEnabled)
|
||||
} else if chatLocation.threadId == EngineMessage.newTopicThreadId {
|
||||
//TODO:localize
|
||||
strongSelf.state.chatTitleContent = .custom("New Chat", nil, false)
|
||||
strongSelf.state.chatTitleContent = .custom(strongSelf.presentationData.strings.Chat_MessageHeaderBotNewThread, nil, false)
|
||||
strongSelf.state.infoAvatar = nil
|
||||
} else {
|
||||
strongSelf.state.chatTitleContent = .replyThread(type: replyThreadType, count: count)
|
||||
|
||||
Reference in New Issue
Block a user