marinofaggiana 4 년 전
부모
커밋
7de611fd6e
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      iOSClient/Supporting Files/en.lproj/Localizable.strings
  2. 1 1
      iOSClient/Viewer/NCViewerQuickLook/NCViewerQuickLook.swift

+ 1 - 0
iOSClient/Supporting Files/en.lproj/Localizable.strings

@@ -801,6 +801,7 @@
 "_markup_"                  = "Markup";
 "_overwrite_original_"      = "Overwrite original";
 "_save_as_copy_"            = "Save as copy";
+"_discard_changes_"         = "Discard changes";
 
 // ----------------------------------------------------------------------------------------------------------------------------------
 // IM

+ 1 - 1
iOSClient/Viewer/NCViewerQuickLook/NCViewerQuickLook.swift

@@ -93,7 +93,7 @@ import QuickLook
                 self.saveMode = .copy
                 self.dismiss(animated: true)
             })
-            alertController.addAction(UIAlertAction(title: NSLocalizedString("Discard changes", comment: ""), style: .default) { (action:UIAlertAction) in
+            alertController.addAction(UIAlertAction(title: NSLocalizedString("_discard_changes_", comment: ""), style: .destructive) { (action:UIAlertAction) in
                 self.saveMode = .discard
                 self.dismiss(animated: true)
             })