瀏覽代碼

Merge pull request #710 from deltachat/ask-delete

ask for deleting messages with more details
cyBerta 5 年之前
父節點
當前提交
161bda72a0
共有 1 個文件被更改,包括 2 次插入1 次删除
  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)})