浏览代码

new version

marinofaggiana 3 年之前
父节点
当前提交
e1595d02ad
共有 91 个文件被更改,包括 28 次插入34 次删除
  1. 8 8
      Nextcloud.xcodeproj/project.pbxproj
  2. 18 16
      iOSClient/Extensions/UIImage+Extensions.swift
  3. 二进制
      iOSClient/Supporting Files/af.lproj/Localizable.strings
  4. 二进制
      iOSClient/Supporting Files/ar.lproj/Localizable.strings
  5. 二进制
      iOSClient/Supporting Files/ast.lproj/Localizable.strings
  6. 二进制
      iOSClient/Supporting Files/az.lproj/Localizable.strings
  7. 二进制
      iOSClient/Supporting Files/be.lproj/Localizable.strings
  8. 二进制
      iOSClient/Supporting Files/bg_BG.lproj/Localizable.strings
  9. 二进制
      iOSClient/Supporting Files/bn_BD.lproj/Localizable.strings
  10. 二进制
      iOSClient/Supporting Files/br.lproj/Localizable.strings
  11. 二进制
      iOSClient/Supporting Files/bs.lproj/Localizable.strings
  12. 二进制
      iOSClient/Supporting Files/ca.lproj/Localizable.strings
  13. 二进制
      iOSClient/Supporting Files/cs-CZ.lproj/Localizable.strings
  14. 二进制
      iOSClient/Supporting Files/cy_GB.lproj/Localizable.strings
  15. 二进制
      iOSClient/Supporting Files/da.lproj/Localizable.strings
  16. 二进制
      iOSClient/Supporting Files/de.lproj/Localizable.strings
  17. 二进制
      iOSClient/Supporting Files/el.lproj/Localizable.strings
  18. 二进制
      iOSClient/Supporting Files/en-GB.lproj/Localizable.strings
  19. 2 10
      iOSClient/Supporting Files/en.lproj/Localizable.strings
  20. 二进制
      iOSClient/Supporting Files/eo.lproj/Localizable.strings
  21. 二进制
      iOSClient/Supporting Files/es-419.lproj/Localizable.strings
  22. 二进制
      iOSClient/Supporting Files/es-AR.lproj/Localizable.strings
  23. 二进制
      iOSClient/Supporting Files/es-CL.lproj/Localizable.strings
  24. 二进制
      iOSClient/Supporting Files/es-CO.lproj/Localizable.strings
  25. 二进制
      iOSClient/Supporting Files/es-CR.lproj/Localizable.strings
  26. 二进制
      iOSClient/Supporting Files/es-DO.lproj/Localizable.strings
  27. 二进制
      iOSClient/Supporting Files/es-EC.lproj/Localizable.strings
  28. 二进制
      iOSClient/Supporting Files/es-GT.lproj/Localizable.strings
  29. 二进制
      iOSClient/Supporting Files/es-HN.lproj/Localizable.strings
  30. 二进制
      iOSClient/Supporting Files/es-MX.lproj/Localizable.strings
  31. 二进制
      iOSClient/Supporting Files/es-NI.lproj/Localizable.strings
  32. 二进制
      iOSClient/Supporting Files/es-PA.lproj/Localizable.strings
  33. 二进制
      iOSClient/Supporting Files/es-PE.lproj/Localizable.strings
  34. 二进制
      iOSClient/Supporting Files/es-PR.lproj/Localizable.strings
  35. 二进制
      iOSClient/Supporting Files/es-PY.lproj/Localizable.strings
  36. 二进制
      iOSClient/Supporting Files/es-SV.lproj/Localizable.strings
  37. 二进制
      iOSClient/Supporting Files/es-UY.lproj/Localizable.strings
  38. 二进制
      iOSClient/Supporting Files/es.lproj/Localizable.strings
  39. 二进制
      iOSClient/Supporting Files/et_EE.lproj/Localizable.strings
  40. 二进制
      iOSClient/Supporting Files/eu.lproj/Localizable.strings
  41. 二进制
      iOSClient/Supporting Files/fa.lproj/Localizable.strings
  42. 二进制
      iOSClient/Supporting Files/fi-FI.lproj/Localizable.strings
  43. 二进制
      iOSClient/Supporting Files/fr.lproj/Localizable.strings
  44. 二进制
      iOSClient/Supporting Files/gl.lproj/Localizable.strings
  45. 二进制
      iOSClient/Supporting Files/he.lproj/Localizable.strings
  46. 二进制
      iOSClient/Supporting Files/hr.lproj/Localizable.strings
  47. 二进制
      iOSClient/Supporting Files/hu.lproj/Localizable.strings
  48. 二进制
      iOSClient/Supporting Files/hy.lproj/Localizable.strings
  49. 二进制
      iOSClient/Supporting Files/ia.lproj/Localizable.strings
  50. 二进制
      iOSClient/Supporting Files/id.lproj/Localizable.strings
  51. 二进制
      iOSClient/Supporting Files/is.lproj/Localizable.strings
  52. 二进制
      iOSClient/Supporting Files/it.lproj/Localizable.strings
  53. 二进制
      iOSClient/Supporting Files/ja-JP.lproj/Localizable.strings
  54. 二进制
      iOSClient/Supporting Files/ka-GE.lproj/Localizable.strings
  55. 二进制
      iOSClient/Supporting Files/km.lproj/Localizable.strings
  56. 二进制
      iOSClient/Supporting Files/kn.lproj/Localizable.strings
  57. 二进制
      iOSClient/Supporting Files/ko.lproj/Localizable.strings
  58. 二进制
      iOSClient/Supporting Files/lb.lproj/Localizable.strings
  59. 二进制
      iOSClient/Supporting Files/lo.lproj/Localizable.strings
  60. 二进制
      iOSClient/Supporting Files/lt_LT.lproj/Localizable.strings
  61. 二进制
      iOSClient/Supporting Files/lv.lproj/Localizable.strings
  62. 二进制
      iOSClient/Supporting Files/mk.lproj/Localizable.strings
  63. 二进制
      iOSClient/Supporting Files/mn.lproj/Localizable.strings
  64. 二进制
      iOSClient/Supporting Files/ms_MY.lproj/Localizable.strings
  65. 二进制
      iOSClient/Supporting Files/nb-NO.lproj/Localizable.strings
  66. 二进制
      iOSClient/Supporting Files/nl.lproj/Localizable.strings
  67. 二进制
      iOSClient/Supporting Files/nn_NO.lproj/Localizable.strings
  68. 二进制
      iOSClient/Supporting Files/oc.lproj/Localizable.strings
  69. 二进制
      iOSClient/Supporting Files/pl.lproj/Localizable.strings
  70. 二进制
      iOSClient/Supporting Files/pt-BR.lproj/Localizable.strings
  71. 二进制
      iOSClient/Supporting Files/pt-PT.lproj/Localizable.strings
  72. 二进制
      iOSClient/Supporting Files/ro.lproj/Localizable.strings
  73. 二进制
      iOSClient/Supporting Files/ru.lproj/Localizable.strings
  74. 二进制
      iOSClient/Supporting Files/sc.lproj/Localizable.strings
  75. 二进制
      iOSClient/Supporting Files/si.lproj/Localizable.strings
  76. 二进制
      iOSClient/Supporting Files/sk-SK.lproj/Localizable.strings
  77. 二进制
      iOSClient/Supporting Files/sl.lproj/Localizable.strings
  78. 二进制
      iOSClient/Supporting Files/sq.lproj/Localizable.strings
  79. 二进制
      iOSClient/Supporting Files/sr.lproj/Localizable.strings
  80. 二进制
      iOSClient/Supporting Files/sr@latin.lproj/Localizable.strings
  81. 二进制
      iOSClient/Supporting Files/sv.lproj/Localizable.strings
  82. 二进制
      iOSClient/Supporting Files/ta.lproj/Localizable.strings
  83. 二进制
      iOSClient/Supporting Files/th_TH.lproj/Localizable.strings
  84. 二进制
      iOSClient/Supporting Files/tr.lproj/Localizable.strings
  85. 二进制
      iOSClient/Supporting Files/ug.lproj/Localizable.strings
  86. 二进制
      iOSClient/Supporting Files/uk.lproj/Localizable.strings
  87. 二进制
      iOSClient/Supporting Files/ur_PK.lproj/Localizable.strings
  88. 二进制
      iOSClient/Supporting Files/vi.lproj/Localizable.strings
  89. 二进制
      iOSClient/Supporting Files/zh-Hans.lproj/Localizable.strings
  90. 二进制
      iOSClient/Supporting Files/zh-Hant-TW.lproj/Localizable.strings
  91. 二进制
      iOSClient/Supporting Files/zh_HK.lproj/Localizable.strings

+ 8 - 8
Nextcloud.xcodeproj/project.pbxproj

@@ -2327,7 +2327,7 @@
 					"@executable_path/../../Frameworks",
 				);
 				LIBRARY_SEARCH_PATHS = "";
-				MARKETING_VERSION = 4.0.4;
+				MARKETING_VERSION = 4.0.5;
 				MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
 				MTL_FAST_MATH = YES;
 				OTHER_LDFLAGS = "-ObjC";
@@ -2380,7 +2380,7 @@
 					"@executable_path/../../Frameworks",
 				);
 				LIBRARY_SEARCH_PATHS = "";
-				MARKETING_VERSION = 4.0.4;
+				MARKETING_VERSION = 4.0.5;
 				MTL_FAST_MATH = YES;
 				OTHER_LDFLAGS = "-ObjC";
 				PRODUCT_BUNDLE_IDENTIFIER = "it.twsweb.Nextcloud.Notification-Service-Extension";
@@ -2424,7 +2424,7 @@
 					"@executable_path/../../Frameworks",
 				);
 				LIBRARY_SEARCH_PATHS = "";
-				MARKETING_VERSION = 4.0.4;
+				MARKETING_VERSION = 4.0.5;
 				OTHER_LDFLAGS = "-ObjC";
 				PRODUCT_BUNDLE_IDENTIFIER = it.twsweb.Nextcloud.Share;
 				PRODUCT_NAME = "$(TARGET_NAME)";
@@ -2469,7 +2469,7 @@
 					"@executable_path/../../Frameworks",
 				);
 				LIBRARY_SEARCH_PATHS = "";
-				MARKETING_VERSION = 4.0.4;
+				MARKETING_VERSION = 4.0.5;
 				OTHER_LDFLAGS = "-ObjC";
 				PRODUCT_BUNDLE_IDENTIFIER = it.twsweb.Nextcloud.Share;
 				PRODUCT_NAME = "$(TARGET_NAME)";
@@ -2521,7 +2521,7 @@
 					"@executable_path/../../Frameworks",
 				);
 				LIBRARY_SEARCH_PATHS = "";
-				MARKETING_VERSION = 4.0.4;
+				MARKETING_VERSION = 4.0.5;
 				OTHER_LDFLAGS = "-ObjC";
 				PRODUCT_BUNDLE_IDENTIFIER = "it.twsweb.Nextcloud.File-Provider-Extension";
 				PRODUCT_NAME = "$(TARGET_NAME)";
@@ -2573,7 +2573,7 @@
 					"@executable_path/../../Frameworks",
 				);
 				LIBRARY_SEARCH_PATHS = "";
-				MARKETING_VERSION = 4.0.4;
+				MARKETING_VERSION = 4.0.5;
 				OTHER_LDFLAGS = "-ObjC";
 				PRODUCT_BUNDLE_IDENTIFIER = "it.twsweb.Nextcloud.File-Provider-Extension";
 				PRODUCT_NAME = "$(TARGET_NAME)";
@@ -2614,7 +2614,7 @@
 					"@executable_path/../../Frameworks",
 				);
 				LIBRARY_SEARCH_PATHS = "";
-				MARKETING_VERSION = 4.0.4;
+				MARKETING_VERSION = 4.0.5;
 				OTHER_LDFLAGS = "-ObjC";
 				OTHER_SWIFT_FLAGS = "";
 				PRODUCT_BUNDLE_IDENTIFIER = "it.twsweb.$(PRODUCT_NAME:rfc1034identifier)";
@@ -2660,7 +2660,7 @@
 					"@executable_path/../../Frameworks",
 				);
 				LIBRARY_SEARCH_PATHS = "";
-				MARKETING_VERSION = 4.0.4;
+				MARKETING_VERSION = 4.0.5;
 				OTHER_LDFLAGS = "-ObjC";
 				PRODUCT_BUNDLE_IDENTIFIER = "it.twsweb.$(PRODUCT_NAME:rfc1034identifier)";
 				PRODUCT_NAME = "$(TARGET_NAME)";

+ 18 - 16
iOSClient/Extensions/UIImage+Extensions.swift

@@ -117,25 +117,27 @@ extension UIImage {
     
     @objc func image(color: UIColor, size: CGFloat) -> UIImage {
         
-        let size = CGSize(width: size, height: size)
-        
-        UIGraphicsBeginImageContextWithOptions(size, false, self.scale)
-        color.setFill()
+        return autoreleasepool { () -> UIImage in
+            let size = CGSize(width: size, height: size)
+            
+            UIGraphicsBeginImageContextWithOptions(size, false, self.scale)
+            color.setFill()
 
-        let context = UIGraphicsGetCurrentContext()
-        context?.translateBy(x: 0, y: size.height)
-        context?.scaleBy(x: 1.0, y: -1.0)
-        context?.setBlendMode(CGBlendMode.normal)
+            let context = UIGraphicsGetCurrentContext()
+            context?.translateBy(x: 0, y: size.height)
+            context?.scaleBy(x: 1.0, y: -1.0)
+            context?.setBlendMode(CGBlendMode.normal)
 
-        let rect = CGRect(origin: .zero, size: size)
-        guard let cgImage = self.cgImage else { return self }
-        context?.clip(to: rect, mask: cgImage)
-        context?.fill(rect)
+            let rect = CGRect(origin: .zero, size: size)
+            guard let cgImage = self.cgImage else { return self }
+            context?.clip(to: rect, mask: cgImage)
+            context?.fill(rect)
 
-        let newImage = UIGraphicsGetImageFromCurrentImageContext() ?? self
-        UIGraphicsEndImageContext()
-        
-        return newImage
+            let newImage = UIGraphicsGetImageFromCurrentImageContext() ?? self
+            UIGraphicsEndImageContext()
+            
+            return newImage
+        }
     }
     
     func imageColor(_ color: UIColor) -> UIImage {

二进制
iOSClient/Supporting Files/af.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/ar.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/ast.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/az.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/be.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/bg_BG.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/bn_BD.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/br.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/bs.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/ca.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/cs-CZ.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/cy_GB.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/da.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/de.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/el.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/en-GB.lproj/Localizable.strings


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

@@ -568,14 +568,14 @@
 "_edit_comment_"                = "Edit comment";
 "_delete_comment_"              = "Delete comment";
 "_share_allow_editing_"         = "Allow editing";
-"_share_read_only_"             = "Read only";
+"_share_read_only_"             = "View only";
 "_share_allow_upload_"          = "Allow upload and editing";
 "_share_file_drop_"             = "File drop (upload only)";
 "_share_hide_download_"         = "Hide download";
 "_share_password_protect_"      = "Password protect";
 "_share_expiration_date_"       = "Set expiration date";
 "_share_note_recipient_"        = "Note to recipient";
-"_share_delete_sharelink_"      = "Delete share link";
+"_share_delete_sharelink_"      = "Delete link";
 "_share_add_sharelink_"         = "Add another link";
 "_share_can_reshare_"           = "Can reshare";
 "_share_can_create_"            = "Can create";
@@ -606,14 +606,6 @@
 "_share_permission_owner_"          = "Owner";
 "_share_permission_date_"           = "Date";
 "_share_permission_email_"          = "Notification via email";
-"_share_link_readonly_"             = "Read only";
-"_share_link_modify_"               = "Allow editing";
-"_share_link_upload_"               = "File drop (upload only)";
-"_share_link_upload_modify_"        = "Allow upload and editing";
-"_share_link_hide_download_"        = "Hide download";
-"_type_resource_connect_you_"       = "Shared with you";
-"_type_resource_external_"          = "External storage";
-"_destiny_folder_"                  = "Folder: %@";
 "_no_transfer_"                     = "No transfers yet";
 "_no_transfer_sub_"                 = "Uploads and downloads from this device will show up here";
 "_no_activity_"                     = "No activity yet";

二进制
iOSClient/Supporting Files/eo.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/es-419.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/es-AR.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/es-CL.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/es-CO.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/es-CR.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/es-DO.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/es-EC.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/es-GT.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/es-HN.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/es-MX.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/es-NI.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/es-PA.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/es-PE.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/es-PR.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/es-PY.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/es-SV.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/es-UY.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/es.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/et_EE.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/eu.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/fa.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/fi-FI.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/fr.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/gl.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/he.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/hr.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/hu.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/hy.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/ia.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/id.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/is.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/it.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/ja-JP.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/ka-GE.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/km.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/kn.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/ko.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/lb.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/lo.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/lt_LT.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/lv.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/mk.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/mn.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/ms_MY.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/nb-NO.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/nl.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/nn_NO.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/oc.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/pl.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/pt-BR.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/pt-PT.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/ro.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/ru.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/sc.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/si.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/sk-SK.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/sl.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/sq.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/sr.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/sr@latin.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/sv.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/ta.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/th_TH.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/tr.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/ug.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/uk.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/ur_PK.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/vi.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/zh-Hans.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/zh-Hant-TW.lproj/Localizable.strings


二进制
iOSClient/Supporting Files/zh_HK.lproj/Localizable.strings