Update all copy of subspace to space

This commit is contained in:
Michael Telatynski 2021-07-29 13:02:07 +01:00
parent 67b8c0a811
commit 08c883ed07
5 changed files with 14 additions and 16 deletions

View file

@ -356,7 +356,7 @@ const SpaceLandingAddButton = ({ space }) => {
}}
/>
<IconizedContextMenuOption
label={_t("Add subspace")}
label={_t("Add space")}
iconClassName="mx_RoomList_iconPlus"
onClick={(e) => {
e.preventDefault();

View file

@ -54,7 +54,7 @@ const AddExistingSubspaceDialog: React.FC<IProps> = ({ space, onCreateSubspaceCl
footerPrompt={<>
<div>{ _t("Want to add a new space instead?") }</div>
<AccessibleButton onClick={onCreateSubspaceClick} kind="link">
{ _t("Create a new subspace") }
{ _t("Create a new space") }
</AccessibleButton>
</>}
filterPlaceholder={_t("Search for spaces")}

View file

@ -136,7 +136,7 @@ const CreateSubspaceDialog: React.FC<IProps> = ({ space, onAddExistingSpaceClick
return <BaseDialog
title={(
<SubspaceSelector
title={_t("Create a subspace")}
title={_t("Create a space")}
space={space}
value={parentSpace}
onChange={setParentSpace}
@ -151,7 +151,7 @@ const CreateSubspaceDialog: React.FC<IProps> = ({ space, onAddExistingSpaceClick
<div className="mx_CreateSubspaceDialog_content">
<div className="mx_CreateSubspaceDialog_betaNotice">
<BetaPill />
{ _t("Add a subspace to a space you manage.") }
{ _t("Add a space to a space you manage.") }
</div>
<SpaceCreateForm
@ -169,9 +169,9 @@ const CreateSubspaceDialog: React.FC<IProps> = ({ space, onAddExistingSpaceClick
aliasFieldRef={spaceAliasField}
>
<JoinRuleDropdown
label={_t("Subspace visibility")}
labelInvite={_t("Private subspace (invite only)")}
labelPublic={_t("Public subspace")}
label={_t("Space visibility")}
labelInvite={_t("Private space (invite only)")}
labelPublic={_t("Public space")}
labelRestricted={supportsRestricted ? _t("Visible to space members") : undefined}
width={478}
value={joinRule}

View file

@ -330,7 +330,7 @@ export class SpaceItem extends React.PureComponent<IItemProps, IItemState> {
/>
<IconizedContextMenuOption
iconClassName="mx_SpacePanel_iconPlus"
label={_t("Add subspace")}
label={_t("Add space")}
onClick={this.onNewSubspaceClick}
>
<BetaPill />