Improve string for leaving space in leave dialog
Improve string for leaving space in leave dialog
This commit is contained in:
commit
c632e438c0
2 changed files with 11 additions and 8 deletions
|
@ -97,13 +97,13 @@ const LeaveRoomsPicker = ({ space, spaceChildren, roomsToLeave, setRoomsToLeave
|
||||||
definitions={[
|
definitions={[
|
||||||
{
|
{
|
||||||
value: RoomsToLeave.None,
|
value: RoomsToLeave.None,
|
||||||
label: _t("Don't leave any"),
|
label: _t("Don't leave any rooms"),
|
||||||
}, {
|
}, {
|
||||||
value: RoomsToLeave.All,
|
value: RoomsToLeave.All,
|
||||||
label: _t("Leave all rooms and spaces"),
|
label: _t("Leave all rooms"),
|
||||||
}, {
|
}, {
|
||||||
value: RoomsToLeave.Specific,
|
value: RoomsToLeave.Specific,
|
||||||
label: _t("Leave specific rooms and spaces"),
|
label: _t("Leave some rooms"),
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
|
@ -166,11 +166,13 @@ const LeaveSpaceDialog: React.FC<IProps> = ({ space, onFinished }) => {
|
||||||
>
|
>
|
||||||
<div className="mx_Dialog_content" id="mx_LeaveSpaceDialog">
|
<div className="mx_Dialog_content" id="mx_LeaveSpaceDialog">
|
||||||
<p>
|
<p>
|
||||||
{ _t("Are you sure you want to leave <spaceName/>?", {}, {
|
{ _t("You are about to leave <spaceName/>.", {}, {
|
||||||
spaceName: () => <b>{ space.name }</b>,
|
spaceName: () => <b>{ space.name }</b>,
|
||||||
}) }
|
}) }
|
||||||
|
|
||||||
{ rejoinWarning }
|
{ rejoinWarning }
|
||||||
|
{ rejoinWarning && (<> </>) }
|
||||||
|
{ spaceChildren.length > 0 && _t("Would you like to leave the rooms in this space?") }
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
{ spaceChildren.length > 0 && <LeaveRoomsPicker
|
{ spaceChildren.length > 0 && <LeaveRoomsPicker
|
||||||
|
|
|
@ -2430,15 +2430,16 @@
|
||||||
"Clear cache and resync": "Clear cache and resync",
|
"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!",
|
"%(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",
|
"Updating %(brand)s": "Updating %(brand)s",
|
||||||
"Don't leave any": "Don't leave any",
|
"Don't leave any rooms": "Don't leave any rooms",
|
||||||
"Leave all rooms and spaces": "Leave all rooms and spaces",
|
"Leave all rooms": "Leave all rooms",
|
||||||
"Leave specific rooms and spaces": "Leave specific rooms and spaces",
|
"Leave some rooms": "Leave some rooms",
|
||||||
"Search %(spaceName)s": "Search %(spaceName)s",
|
"Search %(spaceName)s": "Search %(spaceName)s",
|
||||||
"You won't be able to rejoin unless you are re-invited.": "You won't be able to rejoin unless you are re-invited.",
|
"You won't be able to rejoin unless you are re-invited.": "You won't be able to rejoin unless you are re-invited.",
|
||||||
"You're the only admin of this space. Leaving it will mean no one has control over it.": "You're the only admin of this space. Leaving it will mean no one has control over it.",
|
"You're the only admin of this space. Leaving it will mean no one has control over it.": "You're the only admin of this space. Leaving it will mean no one has control over it.",
|
||||||
"You're the only admin of some of the rooms or spaces you wish to leave. Leaving them will leave them without any admins.": "You're the only admin of some of the rooms or spaces you wish to leave. Leaving them will leave them without any admins.",
|
"You're the only admin of some of the rooms or spaces you wish to leave. Leaving them will leave them without any admins.": "You're the only admin of some of the rooms or spaces you wish to leave. Leaving them will leave them without any admins.",
|
||||||
"Leave %(spaceName)s": "Leave %(spaceName)s",
|
"Leave %(spaceName)s": "Leave %(spaceName)s",
|
||||||
"Are you sure you want to leave <spaceName/>?": "Are you sure you want to leave <spaceName/>?",
|
"You are about to leave <spaceName/>.": "You are about to leave <spaceName/>.",
|
||||||
|
"Would you like to leave the rooms in this space?": "Would you like to leave the rooms in this space?",
|
||||||
"Leave space": "Leave 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.",
|
"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",
|
"Start using Key Backup": "Start using Key Backup",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue