mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-31 23:47:01 +00:00
Update localization
This commit is contained in:
parent
576cc35695
commit
c7803123e8
@ -9323,3 +9323,7 @@ Sorry for the inconvenience.";
|
||||
|
||||
"Conversation.Theme.PreviewDarkShort" = "Tap to view this theme in the night mode.";
|
||||
"Conversation.Theme.PreviewLightShort" = "Tap to view this theme in the day mode.";
|
||||
|
||||
"ChatList.EmptyListContactsHeader" = "YOUR CONTACTS ON TELEGRAM";
|
||||
"ChatList.EmptyListContactsHeaderHide" = "hide";
|
||||
"ChatList.EmptyListTooltip" = "Send a message or\nstart a group here.";
|
||||
|
@ -2016,8 +2016,7 @@ public class ChatListControllerImpl: TelegramBaseController, ChatListController
|
||||
if let componentView = self.headerContentView.view as? ChatListHeaderComponent.View {
|
||||
if let rightButtonView = componentView.rightButtonView {
|
||||
let absoluteFrame = rightButtonView.convert(rightButtonView.bounds, to: self.view)
|
||||
//TODO:localize
|
||||
let text: String = "Send a message or\nstart a group here."
|
||||
let text: String = self.presentationData.strings.ChatList_EmptyListTooltip
|
||||
|
||||
let tooltipController = TooltipController(content: .text(text), baseFontSize: self.presentationData.listsFontSize.baseDisplaySize, timeout: 30.0, dismissByTapOutside: true, dismissImmediatelyOnLayoutUpdate: true, padding: 6.0, innerPadding: UIEdgeInsets(top: 2.0, left: 3.0, bottom: 2.0, right: 3.0))
|
||||
self.present(tooltipController, in: .current, with: TooltipControllerPresentationArguments(sourceNodeAndRect: { [weak self] in
|
||||
|
@ -251,10 +251,9 @@ class ChatListSectionHeaderNode: ListViewItemNode {
|
||||
strongSelf.addSubnode(headerNode)
|
||||
}
|
||||
|
||||
//TODO:localize
|
||||
headerNode.title = "YOUR CONTACTS ON TELEGRAM"
|
||||
headerNode.title = item.strings.ChatList_EmptyListContactsHeader
|
||||
if item.hide != nil {
|
||||
headerNode.action = "hide"
|
||||
headerNode.action = item.strings.ChatList_EmptyListContactsHeaderHide
|
||||
headerNode.actionType = .generic
|
||||
headerNode.activateAction = {
|
||||
guard let self else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user