marinofaggiana %!s(int64=5) %!d(string=hai) anos
pai
achega
c7efd5a7a7

+ 1 - 1
iOSClient/Main/Menu/NCDetailNavigationController+Menu.swift

@@ -82,7 +82,7 @@ extension NCDetailNavigationController {
             if let metadataMov = appDelegate.activeDetail.hasMOV(metadata: metadata) {
                 if CCUtility.fileProviderStorageSize(metadata.ocId, fileNameView: metadata.fileNameView) > 0 && CCUtility.fileProviderStorageSize(metadataMov.ocId, fileNameView: metadataMov.fileNameView) > 0 {
                     actions.append(
-                        NCMenuAction(title: NSLocalizedString("_xxxxxxx_", comment: ""),
+                        NCMenuAction(title: NSLocalizedString("_livephoto_save_", comment: ""),
                             icon: CCGraphics.changeThemingColorImage(UIImage(named: "livePhoto"), width: 50, height: 50, color: NCBrandColor.sharedInstance.icon),
                             action: { menuAction in
                                 self.appDelegate.activeDetail.saveLivePhoto(metadata: metadata, metadataMov: metadataMov)

+ 2 - 2
iOSClient/Main/NCDetailViewController.swift

@@ -712,11 +712,11 @@ extension NCDetailViewController: NCViewerImageViewControllerDelegate, NCViewerI
             if resources != nil {
                 NCLivePhoto.saveToLibrary(resources!) { (result) in
                     if !result {
-                        NCContentPresenter.shared.messageNotification("_error_", description: "errorMessage", delay: TimeInterval(k_dismissAfterSecond), type: NCContentPresenter.messageType.error, errorCode: Int(k_CCErrorInternalError))
+                        NCContentPresenter.shared.messageNotification("_error_", description: "_livephoto_save_error_", delay: TimeInterval(k_dismissAfterSecond), type: NCContentPresenter.messageType.error, errorCode: Int(k_CCErrorInternalError))
                     }
                 }
             } else {
-                NCContentPresenter.shared.messageNotification("_error_", description: "errorMessage", delay: TimeInterval(k_dismissAfterSecond), type: NCContentPresenter.messageType.error, errorCode: Int(k_CCErrorInternalError))
+                NCContentPresenter.shared.messageNotification("_error_", description: "_livephoto_save_error_", delay: TimeInterval(k_dismissAfterSecond), type: NCContentPresenter.messageType.error, errorCode: Int(k_CCErrorInternalError))
             }
         })
     }

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

@@ -120,7 +120,8 @@
 "_internal_modify_"         = "Edit with internal editor";
 "_database_corrupt_"        = "Oops something went wrong, please enter your credentials but don't worry, your files have remained secure";
 "_download_image_max_"      = "Download the image in full resolution";
-
+"_livephoto_save_"          = "Save Live Photo to photo album";
+"_livephoto_save_error_"    = "Error during save of Live Photo";
 
 // App