update copy
parent
493cd01ed3
commit
251b6eb04e
|
@ -94,17 +94,17 @@ const LeaveRoomsPicker = ({ space, spaceChildren, roomsToLeave, setRoomsToLeave
|
||||||
let captionSpan;
|
let captionSpan;
|
||||||
switch (state) {
|
switch (state) {
|
||||||
case RoomsToLeave.All:
|
case RoomsToLeave.All:
|
||||||
captionSpan = _t("You will leave all subspaces and rooms in <spaceName/>.", {}, {
|
captionSpan = _t("You will leave all rooms and spaces in <spaceName/>.", {}, {
|
||||||
spaceName: () => <b>{ space.name }</b>,
|
spaceName: () => <b>{ space.name }</b>,
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
case RoomsToLeave.None:
|
case RoomsToLeave.None:
|
||||||
captionSpan = _t("You'll still be a part of all rooms and subspaces in <spaceName/> you've joined.", {}, {
|
captionSpan = _t("You'll still be a part of all rooms and spaces in <spaceName/> you've joined.", {}, {
|
||||||
spaceName: () => <b>{ space.name }</b>,
|
spaceName: () => <b>{ space.name }</b>,
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
case RoomsToLeave.Specific:
|
case RoomsToLeave.Specific:
|
||||||
captionSpan = <span>{ _t("Pick which rooms and subspaces you want to leave.") }</span>;
|
captionSpan = <span>{ _t("Pick which rooms and spaces you want to leave.") }</span>;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -113,16 +113,16 @@ const LeaveRoomsPicker = ({ space, spaceChildren, roomsToLeave, setRoomsToLeave
|
||||||
id="mx_LeaveSpaceDialog_leaveRoomPickerDropdown"
|
id="mx_LeaveSpaceDialog_leaveRoomPickerDropdown"
|
||||||
onOptionChange={setState}
|
onOptionChange={setState}
|
||||||
value={state}
|
value={state}
|
||||||
label={_t("Choose which rooms you wish to leave")}
|
label={_t("Choose which rooms and spaces you wish to leave")}
|
||||||
>
|
>
|
||||||
<div key={RoomsToLeave.All}>
|
<div key={RoomsToLeave.All}>
|
||||||
{ _t("Leave all subspaces and rooms") }
|
{ _t("Leave all rooms and spaces") }
|
||||||
</div>
|
</div>
|
||||||
<div key={RoomsToLeave.None}>
|
<div key={RoomsToLeave.None}>
|
||||||
{ _t("Don't leave any") }
|
{ _t("Don't leave any") }
|
||||||
</div>
|
</div>
|
||||||
<div key={RoomsToLeave.Specific}>
|
<div key={RoomsToLeave.Specific}>
|
||||||
{ _t("Leave specific rooms and subspaces") }
|
{ _t("Leave specific rooms and spaces") }
|
||||||
</div>
|
</div>
|
||||||
</Dropdown>
|
</Dropdown>
|
||||||
{ captionSpan }
|
{ captionSpan }
|
||||||
|
@ -171,7 +171,7 @@ const LeaveSpaceDialog: React.FC<IProps> = ({ space, onFinished }) => {
|
||||||
} else {
|
} else {
|
||||||
const numChildrenOnlyAdminIn = roomsToLeave.filter(isOnlyAdmin).length;
|
const numChildrenOnlyAdminIn = roomsToLeave.filter(isOnlyAdmin).length;
|
||||||
if (numChildrenOnlyAdminIn > 0) {
|
if (numChildrenOnlyAdminIn > 0) {
|
||||||
onlyAdminWarning = _t("You're the only admin of some of the rooms or subspaces you wish to leave. " +
|
onlyAdminWarning = _t("You're the only admin of some of the rooms or spaces you wish to leave. " +
|
||||||
"Leaving them will leave them without any admins.");
|
"Leaving them will leave them without any admins.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2373,17 +2373,17 @@
|
||||||
"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",
|
||||||
"You will leave all subspaces and rooms in <spaceName/>.": "You will leave all subspaces and rooms in <spaceName/>.",
|
"You will leave all rooms and spaces in <spaceName/>.": "You will leave all rooms and spaces in <spaceName/>.",
|
||||||
"You'll still be a part of all rooms and subspaces in <spaceName/> you've joined.": "You'll still be a part of all rooms and subspaces in <spaceName/> you've joined.",
|
"You'll still be a part of all rooms and spaces in <spaceName/> you've joined.": "You'll still be a part of all rooms and spaces in <spaceName/> you've joined.",
|
||||||
"Pick which rooms and subspaces you want to leave.": "Pick which rooms and subspaces you want to leave.",
|
"Pick which rooms and spaces you want to leave.": "Pick which rooms and spaces you want to leave.",
|
||||||
"Choose which rooms you wish to leave": "Choose which rooms you wish to leave",
|
"Choose which rooms and spaces you wish to leave": "Choose which rooms and spaces you wish to leave",
|
||||||
"Leave all subspaces and rooms": "Leave all subspaces and rooms",
|
"Leave all rooms and spaces": "Leave all rooms and spaces",
|
||||||
"Don't leave any": "Don't leave any",
|
"Don't leave any": "Don't leave any",
|
||||||
"Leave specific rooms and subspaces": "Leave specific rooms and subspaces",
|
"Leave specific rooms and spaces": "Leave specific rooms and spaces",
|
||||||
"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 subspaces you wish to leave. Leaving them will leave them without any admins.": "You're the only admin of some of the rooms or subspaces 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/>?",
|
"Are you sure you want to leave <spaceName/>?": "Are you sure you want to leave <spaceName/>?",
|
||||||
"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.",
|
||||||
|
|
Loading…
Reference in New Issue