diff --git a/src/components/views/dialogs/LeaveSpaceDialog.tsx b/src/components/views/dialogs/LeaveSpaceDialog.tsx index 841fa14407..94ae71f1c9 100644 --- a/src/components/views/dialogs/LeaveSpaceDialog.tsx +++ b/src/components/views/dialogs/LeaveSpaceDialog.tsx @@ -97,13 +97,13 @@ const LeaveRoomsPicker = ({ space, spaceChildren, roomsToLeave, setRoomsToLeave definitions={[ { value: RoomsToLeave.None, - label: _t("Don't leave any"), + label: _t("Don't leave any rooms"), }, { value: RoomsToLeave.All, - label: _t("Leave all rooms and spaces"), + label: _t("Leave all rooms"), }, { value: RoomsToLeave.Specific, - label: _t("Leave specific rooms and spaces"), + label: _t("Leave some rooms"), }, ]} /> @@ -166,11 +166,13 @@ const LeaveSpaceDialog: React.FC = ({ space, onFinished }) => { >

- { _t("Are you sure you want to leave ?", {}, { + { _t("You are about to leave .", {}, { spaceName: () => { space.name }, }) }   { rejoinWarning } + { rejoinWarning && (<> ) } + { spaceChildren.length > 0 && _t("Would you like to leave the rooms in this space?") }

{ spaceChildren.length > 0 && ?": "Are you sure you want to leave ?", + "You are about to leave .": "You are about to leave .", + "Would you like to leave the rooms in this space?": "Would you like to leave the rooms in this space?", "Leave space": "Leave space", "Encrypted messages are secured with end-to-end encryption. Only you and the recipient(s) have the keys to read these messages.": "Encrypted messages are secured with end-to-end encryption. Only you and the recipient(s) have the keys to read these messages.", "Start using Key Backup": "Start using Key Backup",