Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Tweak leave space dialog texts to be more informative #6709

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/components/views/dialogs/LeaveSpaceDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,17 @@ const LeaveRoomsPicker = ({ space, spaceChildren, roomsToLeave, setRoomsToLeave
}, [setRoomsToLeave, state, spaceChildren]);

return <div className="mx_LeaveSpaceDialog_section">
<p>
{ _t("What should happen to the rooms and child spaces of this space?") }
</p>
<StyledRadioGroup
name="roomsToLeave"
value={state}
onChange={setState}
definitions={[
{
value: RoomsToLeave.None,
label: _t("Don't leave any"),
label: _t("Leave space, but not rooms or child spaces"),
}, {
value: RoomsToLeave.All,
label: _t("Leave all rooms and spaces"),
Expand Down
3 changes: 2 additions & 1 deletion src/i18n/strings/en_EN.json
Original file line number Diff line number Diff line change
Expand Up @@ -2411,7 +2411,8 @@
"Clear cache and resync": "Clear cache and resync",
"%(brand)s now uses 3-5x less memory, by only loading information about other users when needed. Please wait whilst we resynchronise with the server!": "%(brand)s now uses 3-5x less memory, by only loading information about other users when needed. Please wait whilst we resynchronise with the server!",
"Updating %(brand)s": "Updating %(brand)s",
"Don't leave any": "Don't leave any",
"What should happen to the rooms and child spaces of this space?": "What should happen to the rooms and child spaces of this space?",
"Leave space, but not rooms or child spaces": "Leave space, but not rooms or child spaces",
"Leave all rooms and spaces": "Leave all rooms and spaces",
"Leave specific rooms and spaces": "Leave specific rooms and spaces",
"Search %(spaceName)s": "Search %(spaceName)s",
Expand Down