update copy

pull/21833/head
Michael Telatynski 2021-07-29 15:30:49 +01:00
parent 493cd01ed3
commit 251b6eb04e
2 changed files with 14 additions and 14 deletions

View File

@ -94,17 +94,17 @@ const LeaveRoomsPicker = ({ space, spaceChildren, roomsToLeave, setRoomsToLeave
let captionSpan;
switch (state) {
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>,
});
break;
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>,
});
break;
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;
}
@ -113,16 +113,16 @@ const LeaveRoomsPicker = ({ space, spaceChildren, roomsToLeave, setRoomsToLeave
id="mx_LeaveSpaceDialog_leaveRoomPickerDropdown"
onOptionChange={setState}
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}>
{ _t("Leave all subspaces and rooms") }
{ _t("Leave all rooms and spaces") }
</div>
<div key={RoomsToLeave.None}>
{ _t("Don't leave any") }
</div>
<div key={RoomsToLeave.Specific}>
{ _t("Leave specific rooms and subspaces") }
{ _t("Leave specific rooms and spaces") }
</div>
</Dropdown>
{ captionSpan }
@ -171,7 +171,7 @@ const LeaveSpaceDialog: React.FC<IProps> = ({ space, onFinished }) => {
} else {
const numChildrenOnlyAdminIn = roomsToLeave.filter(isOnlyAdmin).length;
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.");
}
}

View File

@ -2373,17 +2373,17 @@
"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",
"You will leave all subspaces and rooms in <spaceName/>.": "You will leave all subspaces and rooms 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.",
"Pick which rooms and subspaces you want to leave.": "Pick which rooms and subspaces you want to leave.",
"Choose which rooms you wish to leave": "Choose which rooms you wish to leave",
"Leave all subspaces and rooms": "Leave all subspaces and rooms",
"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 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 spaces you want to leave.": "Pick which rooms and spaces you want to leave.",
"Choose which rooms and spaces you wish to leave": "Choose which rooms and spaces you wish to leave",
"Leave all rooms and spaces": "Leave all rooms and spaces",
"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",
"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 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",
"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.",