diff --git a/Riot/Assets/en.lproj/Untranslated.strings b/Riot/Assets/en.lproj/Untranslated.strings index 51087b0b1..7d458fe61 100644 --- a/Riot/Assets/en.lproj/Untranslated.strings +++ b/Riot/Assets/en.lproj/Untranslated.strings @@ -36,3 +36,5 @@ "onboarding_avatar_accessibility_label" = "Profile picture"; "image_picker_action_files" = "Choose from files"; + +"spaces_feature_not_available" = "This feature isn't available here. For now, you can do this with %@ on your computer."; diff --git a/Riot/Generated/UntranslatedStrings.swift b/Riot/Generated/UntranslatedStrings.swift index 8be6e7646..7c6857ed1 100644 --- a/Riot/Generated/UntranslatedStrings.swift +++ b/Riot/Generated/UntranslatedStrings.swift @@ -70,6 +70,10 @@ public extension VectorL10n { static var onboardingPersonalizationSkip: String { return VectorL10n.tr("Untranslated", "onboarding_personalization_skip") } + /// This feature isn't available here. For now, you can do this with %@ on your computer. + static func spacesFeatureNotAvailable(_ p1: String) -> String { + return VectorL10n.tr("Untranslated", "spaces_feature_not_available", p1) + } } // swiftlint:enable function_parameter_count identifier_name line_length type_body_length diff --git a/Riot/Modules/SideMenu/SideMenuCoordinator.swift b/Riot/Modules/SideMenu/SideMenuCoordinator.swift index 174f3d0ff..76724add9 100644 --- a/Riot/Modules/SideMenu/SideMenuCoordinator.swift +++ b/Riot/Modules/SideMenu/SideMenuCoordinator.swift @@ -460,12 +460,12 @@ extension SideMenuCoordinator: SpaceMenuPresenterDelegate { } } case .addSpace: - AppDelegate.theDelegate().showAlert(withTitle: VectorL10n.spacesAddSpace, message: VectorL10n.spacesComingSoonDetail(AppInfo.current.displayName)) + AppDelegate.theDelegate().showAlert(withTitle: VectorL10n.spacesAddSpace, message: VectorL10n.spacesFeatureNotAvailable(AppInfo.current.displayName)) case .settings: if #available(iOS 14.0, *) { self.showSpaceSettings(spaceId: spaceId, session: session) } else { - AppDelegate.theDelegate().showAlert(withTitle: VectorL10n.settingsTitle, message: VectorL10n.spacesComingSoonDetail(AppInfo.current.displayName)) + AppDelegate.theDelegate().showAlert(withTitle: VectorL10n.settingsTitle, message: VectorL10n.spacesFeatureNotAvailable(AppInfo.current.displayName)) } case .invite: self.showSpaceInvite(spaceId: spaceId, session: session) diff --git a/changelog.d/5797.bugfix b/changelog.d/5797.bugfix new file mode 100644 index 000000000..df2986a5d --- /dev/null +++ b/changelog.d/5797.bugfix @@ -0,0 +1 @@ +Fixed "Add Space" error message