Update localization

This commit is contained in:
Ilya Laktyushin 2024-07-03 13:51:59 +04:00
parent a64f187966
commit c237c4a194
2 changed files with 6 additions and 4 deletions

View File

@ -12483,3 +12483,7 @@ Sorry for the inconvenience.";
"Stars.SendStars.AmountPlaceholder" = "Stars Amount";
"Stars.SendStars.AmountInfo" = "Send %@ or more to highlight your profile in the TOP 3 supporters of this message.";
"Stars.SendStars.SendStars" = "Confirm and Send";
"ChatList.DeleteForMe" = "Delete for me";
"ChatList.DeleteForAllWhenPossible" = "Delete from both sides where possible";
"ChatList.DeleteForAll" = "Delete from both sides";

View File

@ -4765,8 +4765,7 @@ public class ChatListControllerImpl: TelegramBaseController, ChatListController
let actionSheet = ActionSheetController(presentationData: self.presentationData)
var items: [ActionSheetItem] = []
if havePrivateChats {
//TODO:localize
items.append(ActionSheetButtonItem(title: haveNonPrivateChats ? "Delete from both sides where possible" : "Delete from both sides", color: .destructive, action: { [weak self, weak actionSheet] in
items.append(ActionSheetButtonItem(title: haveNonPrivateChats ? self.presentationData.strings.ChatList_DeleteForAllWhenPossible : self.presentationData.strings.ChatList_DeleteForAll, color: .destructive, action: { [weak self, weak actionSheet] in
actionSheet?.dismissAnimated()
guard let strongSelf = self else {
@ -4838,8 +4837,7 @@ public class ChatListControllerImpl: TelegramBaseController, ChatListController
strongSelf.donePressed()
}))
}
//TODO:localize
items.append(ActionSheetButtonItem(title: havePrivateChats ? "Delete for me" : self.presentationData.strings.ChatList_DeleteConfirmation(Int32(peerIds.count)), color: .destructive, action: { [weak self, weak actionSheet] in
items.append(ActionSheetButtonItem(title: havePrivateChats ? self.presentationData.strings.ChatList_DeleteForMe : self.presentationData.strings.ChatList_DeleteConfirmation(Int32(peerIds.count)), color: .destructive, action: { [weak self, weak actionSheet] in
actionSheet?.dismissAnimated()
guard let strongSelf = self else {