Add support for space rooms on the JoinRoomScreen. (#4582)

* Add support for space rooms to JoinRoomScreenModel.

* Make a single wrapper type for JoinRoomScreen previews to simplify instantiation.

* Add previews for JoinRoomScreen for spaces.
This commit is contained in:
Doug
2025-10-07 10:51:58 +01:00
committed by GitHub
parent 1a5ff8b012
commit 8cd5c9862e
102 changed files with 671 additions and 321 deletions
@@ -833,14 +833,14 @@
"screen_invites_decline_direct_chat_title" = "Decline chat";
"screen_invites_empty_list" = "No Invites";
"screen_invites_invited_you" = "%1$@ (%2$@) invited you";
"screen_join_room_ban_by_message" = "You were banned from this room by %1$@.";
"screen_join_room_ban_message" = "You were banned from this room";
"screen_join_room_ban_by_message" = "You were banned by %1$@.";
"screen_join_room_ban_message" = "You were banned";
"screen_join_room_ban_reason" = "Reason: %1$@.";
"screen_join_room_fail_message" = "Joining the room failed.";
"screen_join_room_fail_reason" = "This room is either invite-only or there might be restrictions to access at space level.";
"screen_join_room_forget_action" = "Forget this room";
"screen_join_room_invite_required_message" = "You need an invite in order to join this room";
"screen_join_room_join_action" = "Join room";
"screen_join_room_fail_message" = "Joining failed";
"screen_join_room_fail_reason" = "You either need to be invited to join or there might be restrictions to access.";
"screen_join_room_forget_action" = "Forget";
"screen_join_room_invite_required_message" = "You need an invite in order to join";
"screen_join_room_join_action" = "Join";
"screen_join_room_join_restricted_message" = "You may need to be invited or be a member of a space in order to join.";
"screen_join_room_knock_action" = "Send request to join";
"screen_join_room_space_not_supported_description" = "%1$@ does not support spaces yet. You can access spaces on web.";
@@ -840,7 +840,7 @@
"screen_join_room_ban_message" = "You were banned";
"screen_join_room_ban_reason" = "Reason: %1$@.";
"screen_join_room_fail_message" = "Joining failed";
"screen_join_room_fail_reason" = "This room is either invite-only or there might be restrictions to access at space level.";
"screen_join_room_fail_reason" = "You either need to be invited to join or there might be restrictions to access.";
"screen_join_room_forget_action" = "Forget";
"screen_join_room_invite_required_message" = "You need an invite in order to join";
"screen_join_room_join_action" = "Join";