mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-14 15:09:59 -04:00
update wording to use host
This commit is contained in:
parent
d79acf1994
commit
8910ba435b
6 changed files with 23 additions and 22 deletions
|
@ -49,7 +49,7 @@
|
|||
"studio.projectErrors.permission": "You do not have permission to add that project.",
|
||||
"studio.projectErrors.duplicate": "That project is already in this studio.",
|
||||
|
||||
"studio.creatorRole": "Studio Creator",
|
||||
"studio.creatorRole": "Studio Host",
|
||||
|
||||
"studio.managersHeader": "Managers",
|
||||
|
||||
|
@ -88,18 +88,18 @@
|
|||
"studio.managerThresholdInfo": "This studio has {numberOfManagers} managers. Studios can have a maximum of {managerLimit} managers.",
|
||||
"studio.managerThresholdRemoveManagers": "Before you can add another manager, you will need to remove managers until there are fewer than {managerLimit}.",
|
||||
|
||||
"studio.transferOwnership.youAreAboutToGive": "You are about to give your studio ownership to another Scratcher.",
|
||||
"studio.transferOwnership.cannotUndo": "You cannot undo this.",
|
||||
"studio.transferOwnership.thisMeans": "This means...",
|
||||
"studio.transferOwnership.noLongerEdit": "You will no longer be able to edit the studio",
|
||||
"studio.transferOwnership.noLongerDelete": "You will no longer be able to delete the studio",
|
||||
"studio.transferOwnership.whichManager": "Which manager do you want to give ownership to?",
|
||||
"studio.transferOwnership.confirmWithPassword": "To confirm changing studio ownership, please enter your password.",
|
||||
"studio.transferOwnership.forgotPassword": "Forgot password?",
|
||||
"studio.transfer.youAreAboutTo": "You are about to make someone else the studio host.",
|
||||
"studio.transfer.cannotUndo": "You cannot undo this.",
|
||||
"studio.transfer.thisMeans": "This means...",
|
||||
"studio.transfer.noLongerEdit": "You will no longer be able to edit the studio",
|
||||
"studio.transfer.noLongerDelete": "You will no longer be able to delete the studio",
|
||||
"studio.transfer.whichManager": "Which manager do you want to make the host?",
|
||||
"studio.transfer.confirmWithPassword": "To confirm changing the studio host, please enter your password.",
|
||||
"studio.transfer.forgotPassword": "Forgot password?",
|
||||
|
||||
"studio.remove": "Remove",
|
||||
"studio.promote": "Promote",
|
||||
"studio.transferOwnership": "Transfer ownership",
|
||||
"studio.transfer": "Change Studio Host",
|
||||
"studio.cancel": "Cancel",
|
||||
"studio.okay": "Okay",
|
||||
"studio.next": "Next",
|
||||
|
@ -150,5 +150,6 @@
|
|||
"studio.alertManagerPromote": "\"{name}\" is now a manager",
|
||||
"studio.alertManagerPromoteError": "Something went wrong promoting \"{name}\"",
|
||||
"studio.alertMemberRemoveError": "Something went wrong removing \"{name}\"",
|
||||
"studio.alertTransferOwnership": "\"{name}\" is now the owner"
|
||||
"studio.alertTransfer": "\"{name}\" is now the host",
|
||||
"studio.alertTransferRateLimit": "You can only change the host once a day. Try again tomorrow."
|
||||
}
|
||||
|
|
|
@ -44,7 +44,7 @@ const TransferOwnershipConfirmation = ({
|
|||
/>
|
||||
</div>
|
||||
<h3>
|
||||
<FormattedMessage id="studio.transferOwnership.confirmWithPassword" />
|
||||
<FormattedMessage id="studio.transfer.confirmWithPassword" />
|
||||
</h3>
|
||||
<Form
|
||||
onSubmit={formData => {
|
||||
|
@ -58,7 +58,7 @@ const TransferOwnershipConfirmation = ({
|
|||
type="password"
|
||||
/>
|
||||
<a href="/accounts/password_reset/">
|
||||
<FormattedMessage id="studio.transferOwnership.forgotPassword" />
|
||||
<FormattedMessage id="studio.transfer.forgotPassword" />
|
||||
</a>
|
||||
<div
|
||||
className="transfer-ownership-button-row"
|
||||
|
|
|
@ -22,23 +22,23 @@ const TransferOwnershipInfo = ({
|
|||
className="inner"
|
||||
>
|
||||
<h2>
|
||||
<FormattedMessage id="studio.transferOwnership.youAreAboutToGive" />
|
||||
<FormattedMessage id="studio.transfer.youAreAboutTo" />
|
||||
</h2>
|
||||
<div className='transfer-ownership-alert-wrapper'>
|
||||
<AlertComponent
|
||||
className='alert-error transfer-ownership-alert'
|
||||
icon={errorIcon}
|
||||
id='studio.transferOwnership.cannotUndo'
|
||||
id='studio.transfer.cannotUndo'
|
||||
/>
|
||||
</div>
|
||||
<span
|
||||
className="list-header"
|
||||
>
|
||||
<FormattedMessage id="studio.transferOwnership.thisMeans" />
|
||||
<FormattedMessage id="studio.transfer.thisMeans" />
|
||||
</span>
|
||||
<ul>
|
||||
<li><FormattedMessage id="studio.transferOwnership.noLongerEdit" /></li>
|
||||
<li><FormattedMessage id="studio.transferOwnership.noLongerDelete" /></li>
|
||||
<li><FormattedMessage id="studio.transfer.noLongerEdit" /></li>
|
||||
<li><FormattedMessage id="studio.transfer.noLongerDelete" /></li>
|
||||
</ul>
|
||||
<div
|
||||
className="transfer-ownership-button-row"
|
||||
|
|
|
@ -31,7 +31,7 @@ const TransferOwnershipModal = ({
|
|||
>
|
||||
<ModalTitle
|
||||
className="transfer-ownership-title"
|
||||
title={<FormattedMessage id="studio.transferOwnership" />}
|
||||
title={<FormattedMessage id="studio.transfer" />}
|
||||
/>
|
||||
{step === STEPS.info && <TransferOwnershipInfo
|
||||
handleClose={handleClose}
|
||||
|
|
|
@ -31,7 +31,7 @@ const TransferOwnershipSelection = ({
|
|||
>
|
||||
<div>
|
||||
<h3>
|
||||
<FormattedMessage id="studio.transferOwnership.whichManager" />
|
||||
<FormattedMessage id="studio.transfer.whichManager" />
|
||||
</h3>
|
||||
</div>
|
||||
<div className="transfer-ownership-grid">
|
||||
|
|
|
@ -95,7 +95,7 @@ const StudioMemberTile = ({
|
|||
}}
|
||||
>
|
||||
<img src={promoteIcon} />
|
||||
<FormattedMessage id="studio.transferOwnership" />
|
||||
<FormattedMessage id="studio.transfer" />
|
||||
</button>
|
||||
</li>}
|
||||
</OverflowMenu>
|
||||
|
@ -139,7 +139,7 @@ const StudioMemberTile = ({
|
|||
.then(() => {
|
||||
setTransferOwnershipModalOpen(false);
|
||||
successAlert({
|
||||
id: 'studio.alertTransferOwnership',
|
||||
id: 'studio.alertTransfer',
|
||||
values: {name: newOwnerUsername}
|
||||
});
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue