Explorar o código

Merge pull request #710 from deltachat/ask-delete

ask for deleting messages with more details
cyBerta %!s(int64=5) %!d(string=hai) anos
pai
achega
161bda72a0
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      deltachat-ios/Controller/ChatViewController.swift

+ 2 - 1
deltachat-ios/Controller/ChatViewController.swift

@@ -613,7 +613,8 @@ class ChatViewController: MessagesViewController {
     }
 
     private func askToDeleteMessage(id: Int) {
-        confirmationAlert(title: String.localized("delete"), actionTitle: String.localized("delete"), actionStyle: .destructive,
+        let title = String.localized(stringID: "ask_delete_messages", count: 1)
+        confirmationAlert(title: title, actionTitle: String.localized("delete"), actionStyle: .destructive,
                           actionHandler: { _ in
                             self.dcContext.deleteMessage(msgId: id)
                             self.dismiss(animated: true, completion: nil)})