Bläddra i källkod

same delete message as chat

nayooti 4 år sedan
förälder
incheckning
cb4d426a09
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      deltachat-ios/Controller/GalleryViewController.swift

+ 2 - 2
deltachat-ios/Controller/GalleryViewController.swift

@@ -115,9 +115,9 @@ class GalleryViewController: UIViewController {
     }
 
     private func askToDeleteItem(at indexPath: IndexPath) {
-        let title = String.localized("delete")
+        let title = String.localized(stringID: "ask_delete_messages", count: 1)
         let alertController =  UIAlertController(title: title, message: nil, preferredStyle: .safeActionSheet)
-        let okAction = UIAlertAction(title: String.localized("ok"), style: .destructive, handler: { [weak self] _ in
+        let okAction = UIAlertAction(title: String.localized("delete"), style: .destructive, handler: { [weak self] _ in
             self?.deleteItem(at: indexPath)
         })
         let cancelAction = UIAlertAction(title: String.localized("cancel"), style: .cancel, handler: nil)