From a796074ddd8e8a4746662162a061d2ab7700ddea Mon Sep 17 00:00:00 2001 From: Martin Dutra Date: Thu, 17 Dec 2020 11:36:03 -0300 Subject: [PATCH] Release 1.0.0 (#203) --- Planetary.xcodeproj/project.pbxproj | 25 +++++++++++++++++-- Resources/Info.plist | 2 +- .../Controller/DiscoverViewController.swift | 2 +- Source/Localization/Text.swift | 4 +-- .../Localization/en.lproj/Generated.strings | 4 +-- .../es-ar.lproj/Generated.strings | 4 +-- .../es-uy.lproj/Generated.strings | 4 +-- .../Localization/es.lproj/Generated.strings | 4 +-- Source/UI/TitledToggle.swift | 2 +- 9 files changed, 36 insertions(+), 15 deletions(-) diff --git a/Planetary.xcodeproj/project.pbxproj b/Planetary.xcodeproj/project.pbxproj index 7735e74e36..9b184d4704 100644 --- a/Planetary.xcodeproj/project.pbxproj +++ b/Planetary.xcodeproj/project.pbxproj @@ -15,6 +15,7 @@ 0A1CA4C524E5D714006CAC43 /* FollowOperation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A1CA4C424E5D714006CAC43 /* FollowOperation.swift */; }; 0A1CA4C724EB097B006CAC43 /* PubArray+Constellation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A1CA4C624EB097B006CAC43 /* PubArray+Constellation.swift */; }; 0A1CA4CA24EB2353006CAC43 /* SendMissionOperation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A1CA4C924EB2353006CAC43 /* SendMissionOperation.swift */; }; + 0A30F86F2589253E002B281D /* Generated.strings in Resources */ = {isa = PBXBuildFile; fileRef = 0A30F86D2589253E002B281D /* Generated.strings */; }; 0A387FF42474E09200777843 /* Analytics.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A387FF32474E09200777843 /* Analytics.swift */; }; 0A387FF52474E10400777843 /* NullAnalytics.swift in Sources */ = {isa = PBXBuildFile; fileRef = 53C2B12E2295A95A0018D0A8 /* NullAnalytics.swift */; }; 0A387FF72474E45A00777843 /* CrashReporting.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A387FF62474E45A00777843 /* CrashReporting.swift */; }; @@ -772,6 +773,7 @@ 0A1CA4C424E5D714006CAC43 /* FollowOperation.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FollowOperation.swift; sourceTree = ""; }; 0A1CA4C624EB097B006CAC43 /* PubArray+Constellation.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "PubArray+Constellation.swift"; sourceTree = ""; }; 0A1CA4C924EB2353006CAC43 /* SendMissionOperation.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SendMissionOperation.swift; sourceTree = ""; }; + 0A30F86E2589253E002B281D /* pl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pl; path = Generated.strings; sourceTree = ""; }; 0A387FF32474E09200777843 /* Analytics.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Analytics.swift; sourceTree = ""; }; 0A387FF62474E45A00777843 /* CrashReporting.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CrashReporting.swift; sourceTree = ""; }; 0A387FF92474E65300777843 /* PhoneVerificationAPI.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PhoneVerificationAPI.swift; sourceTree = ""; }; @@ -1345,6 +1347,14 @@ path = Operations; sourceTree = ""; }; + 0A30F86C2589253E002B281D /* pl.lproj */ = { + isa = PBXGroup; + children = ( + 0A30F86D2589253E002B281D /* Generated.strings */, + ); + path = pl.lproj; + sourceTree = ""; + }; 0A3880192475BB4500777843 /* UITests */ = { isa = PBXGroup; children = ( @@ -2161,6 +2171,7 @@ 8D9143EA230C5BF60075BC8A /* Localization */ = { isa = PBXGroup; children = ( + 0A30F86C2589253E002B281D /* pl.lproj */, 0A04D8B9247723C100DD37B7 /* es-ar.lproj */, 0A04D8B5247721EE00DD37B7 /* es-uy.lproj */, 0AC10DD8246C436800CCA22A /* es.lproj */, @@ -2326,6 +2337,7 @@ "es-uy", "es-ar", "es-AR", + pl, ); mainGroup = 5344D82221C4649700704A34; productRefGroup = 5344D82C21C4649700704A34 /* Products */; @@ -2405,6 +2417,7 @@ 0A04D8B82477220F00DD37B7 /* Generated.strings in Resources */, 5344D83921C4649A00704A34 /* LaunchScreen.storyboard in Resources */, 0AC10DDB246C43DC00CCA22A /* Generated.strings in Resources */, + 0A30F86F2589253E002B281D /* Generated.strings in Resources */, 5344D83621C4649A00704A34 /* Assets.xcassets in Resources */, 0A04D8BC2477260F00DD37B7 /* Generated.strings in Resources */, ); @@ -3389,6 +3402,14 @@ name = Generated.strings; sourceTree = ""; }; + 0A30F86D2589253E002B281D /* Generated.strings */ = { + isa = PBXVariantGroup; + children = ( + 0A30F86E2589253E002B281D /* pl */, + ); + name = Generated.strings; + sourceTree = ""; + }; 0AC10DD9246C43DC00CCA22A /* Generated.strings */ = { isa = PBXVariantGroup; children = ( @@ -3733,7 +3754,7 @@ "@executable_path/Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.14; - MARKETING_VERSION = 0.9.35; + MARKETING_VERSION = 1.0.0; OTHER_LDFLAGS = ( "$(inherited)", "-framework", @@ -3777,7 +3798,7 @@ "@executable_path/Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.14; - MARKETING_VERSION = 0.9.35; + MARKETING_VERSION = 1.0.0; OTHER_LDFLAGS = ( "$(inherited)", "-framework", diff --git a/Resources/Info.plist b/Resources/Info.plist index f88690225d..6ee602e1e9 100644 --- a/Resources/Info.plist +++ b/Resources/Info.plist @@ -24,7 +24,7 @@ CFBundleShortVersionString $(MARKETING_VERSION) CFBundleVersion - 244 + 250 ITSAppUsesNonExemptEncryption LSRequiresIPhoneOS diff --git a/Source/Controller/DiscoverViewController.swift b/Source/Controller/DiscoverViewController.swift index f11c75c654..bfc868c976 100644 --- a/Source/Controller/DiscoverViewController.swift +++ b/Source/Controller/DiscoverViewController.swift @@ -135,7 +135,7 @@ class DiscoverViewController: ContentViewController { // MARK: Load and refresh func load(animated: Bool = false) { - Bots.current.recent() { [weak self] proxy, error in + Bots.current.everyone() { [weak self] proxy, error in Log.optional(error) CrashReporting.shared.reportIfNeeded(error: error) self?.refreshControl.endRefreshing() diff --git a/Source/Localization/Text.swift b/Source/Localization/Text.swift index 8850359b40..dfb37b8414 100644 --- a/Source/Localization/Text.swift +++ b/Source/Localization/Text.swift @@ -136,8 +136,8 @@ enum Text: String, Localizable, CaseIterable { case channels = "Hashtags" case select = "Select" - case home = "Your Feed" - case explore = "Explore" + case home = "For You" + case explore = "Discover" case messages = "Messages" case notifications = "Notifications" case thread = "Thread" diff --git a/Source/Localization/en.lproj/Generated.strings b/Source/Localization/en.lproj/Generated.strings index 757f69633c..bf0d321f07 100644 --- a/Source/Localization/en.lproj/Generated.strings +++ b/Source/Localization/en.lproj/Generated.strings @@ -87,8 +87,8 @@ "Text.lastSynced" = "SYNCED: {{ when }}"; "Text.channels" = "Hashtags"; "Text.select" = "Select"; -"Text.home" = "Your Feed"; -"Text.explore" = "Explore"; +"Text.home" = "For You"; +"Text.explore" = "Discover"; "Text.messages" = "Messages"; "Text.notifications" = "Notifications"; "Text.thread" = "Thread"; diff --git a/Source/Localization/es-ar.lproj/Generated.strings b/Source/Localization/es-ar.lproj/Generated.strings index f8ef957f27..7bac7d0585 100644 --- a/Source/Localization/es-ar.lproj/Generated.strings +++ b/Source/Localization/es-ar.lproj/Generated.strings @@ -85,8 +85,8 @@ "Text.lastSynced" = "ULTIMA: {{ when }}"; "Text.channels" = "Hashtags"; "Text.select" = "Seleccionar"; -"Text.home" = "Inicio"; -"Text.explore" = "Explorar"; +"Text.home" = "Para vos"; +"Text.explore" = "Descubrí"; "Text.messages" = "Mensajes"; "Text.notifications" = "Notificaciones"; "Text.thread" = "Hilo"; diff --git a/Source/Localization/es-uy.lproj/Generated.strings b/Source/Localization/es-uy.lproj/Generated.strings index 94f9b465c2..ad438b9069 100644 --- a/Source/Localization/es-uy.lproj/Generated.strings +++ b/Source/Localization/es-uy.lproj/Generated.strings @@ -85,8 +85,8 @@ "Text.lastSynced" = "ULTIMA: {{ when }}"; "Text.channels" = "Hashtags"; "Text.select" = "Seleccionar"; -"Text.home" = "Inicio"; -"Text.explore" = "Explorar"; +"Text.home" = "Para vos"; +"Text.explore" = "Descubrí"; "Text.messages" = "Mensajes"; "Text.notifications" = "Notificaciones"; "Text.thread" = "Hilo"; diff --git a/Source/Localization/es.lproj/Generated.strings b/Source/Localization/es.lproj/Generated.strings index 1417f694c6..f999c1315d 100644 --- a/Source/Localization/es.lproj/Generated.strings +++ b/Source/Localization/es.lproj/Generated.strings @@ -85,8 +85,8 @@ "Text.lastSynced" = "ULTIMA: {{ when }}"; "Text.channels" = "Etiquetas"; "Text.select" = "Seleccionar"; -"Text.home" = "Inicio"; -"Text.explore" = "Explorar"; +"Text.home" = "Para tí"; +"Text.explore" = "Descubre"; "Text.messages" = "Mensajes"; "Text.notifications" = "Notificaciones"; "Text.thread" = "Hilo"; diff --git a/Source/UI/TitledToggle.swift b/Source/UI/TitledToggle.swift index e9d1cc5129..647aaadb1f 100644 --- a/Source/UI/TitledToggle.swift +++ b/Source/UI/TitledToggle.swift @@ -24,7 +24,7 @@ class TitledToggle: UIView { let view = UILabel.forAutoLayout() view.font = UIFont.systemFont(ofSize: 14, weight: .regular) view.lineBreakMode = .byWordWrapping - view.numberOfLines = 2 + view.numberOfLines = 3 view.textColor = UIColor.text.detail return view }()