mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-12-20 12:32:47 -05:00
Merge pull request #9002 from Bogomil-Stoyanov/feat/uepr-113-copy-registration-screen
feat: [UEPR-113] Update the copy on some teacher's account registration screens
This commit is contained in:
commit
06ed652894
6 changed files with 97 additions and 12 deletions
|
@ -75,6 +75,9 @@ class PhoneNumberStep extends React.Component {
|
||||||
this.props.intl.formatMessage({id: 'teacherRegistration.phoneConsent'})
|
this.props.intl.formatMessage({id: 'teacherRegistration.phoneConsent'})
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
<div className="info-box">
|
||||||
|
<intl.FormattedMessage id="teacherRegistration.phoneSecurityNotice" />
|
||||||
|
</div>
|
||||||
<NextStepButton
|
<NextStepButton
|
||||||
text={<intl.FormattedMessage id="registration.nextStep" />}
|
text={<intl.FormattedMessage id="registration.nextStep" />}
|
||||||
waiting={this.props.waiting}
|
waiting={this.props.waiting}
|
||||||
|
|
|
@ -176,14 +176,15 @@ class UsernameStep extends React.Component {
|
||||||
<FormattedMessage id="registration.usernameStepTitle" />
|
<FormattedMessage id="registration.usernameStepTitle" />
|
||||||
)}
|
)}
|
||||||
</h2>
|
</h2>
|
||||||
<p className="description">
|
<p className="description wide">
|
||||||
{this.props.description ? (
|
{this.props.description ? (
|
||||||
this.props.description
|
this.props.description
|
||||||
) : (
|
) : (
|
||||||
<span>
|
<span>
|
||||||
<FormattedMessage id="registration.usernameStepDescription" />
|
<FormattedMessage id="teacherRegistration.requestTeacherAccountInstructions" />
|
||||||
|
<br />
|
||||||
<b>
|
<b>
|
||||||
<FormattedMessage id="registration.usernameStepRealName" />
|
<FormattedMessage id="teacherRegistration.usernameStepRealName" />
|
||||||
</b>
|
</b>
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
|
@ -1131,6 +1132,12 @@ const IntlUseScratchStep = injectIntl(UseScratchStep);
|
||||||
/*
|
/*
|
||||||
* EMAIL STEP
|
* EMAIL STEP
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
const Email = chunks => (<a
|
||||||
|
href="mailto:no-reply@scratch.mit.edu"
|
||||||
|
className="underline-link"
|
||||||
|
>{chunks}</a>);
|
||||||
|
|
||||||
class EmailStep extends React.Component {
|
class EmailStep extends React.Component {
|
||||||
constructor (props) {
|
constructor (props) {
|
||||||
super(props);
|
super(props);
|
||||||
|
@ -1193,8 +1200,17 @@ class EmailStep extends React.Component {
|
||||||
<h2>
|
<h2>
|
||||||
<FormattedMessage id="teacherRegistration.emailStepTitle" />
|
<FormattedMessage id="teacherRegistration.emailStepTitle" />
|
||||||
</h2>
|
</h2>
|
||||||
|
<p className="description wide">
|
||||||
|
<FormattedMessage
|
||||||
|
id="teacherRegistration.emailStepDescription1"
|
||||||
|
values={{a: Email}}
|
||||||
|
/>
|
||||||
|
</p>
|
||||||
|
<p className="description wide">
|
||||||
|
<FormattedMessage id="teacherRegistration.emailStepDescription2" />
|
||||||
|
</p>
|
||||||
<p className="description">
|
<p className="description">
|
||||||
<FormattedMessage id="teacherRegistration.emailStepDescription" />
|
<FormattedMessage id="teacherRegistration.reviewProcess" />
|
||||||
<Tooltip
|
<Tooltip
|
||||||
tipContent={
|
tipContent={
|
||||||
this.props.intl.formatMessage({id: 'registration.nameStepTooltip'})
|
this.props.intl.formatMessage({id: 'registration.nameStepTooltip'})
|
||||||
|
@ -1273,6 +1289,11 @@ const IntlEmailStep = injectIntl(EmailStep);
|
||||||
|
|
||||||
const EducatorResourcesLink = chunks => <a href="/educators#resources">{chunks}</a>;
|
const EducatorResourcesLink = chunks => <a href="/educators#resources">{chunks}</a>;
|
||||||
|
|
||||||
|
const BoldEmail = chunks => (<a
|
||||||
|
href="mailto:no-reply@scratch.mit.edu"
|
||||||
|
className="bold-link"
|
||||||
|
>{chunks}</a>);
|
||||||
|
const Link = chunks => <a href={chunks}>{chunks}</a>;
|
||||||
/*
|
/*
|
||||||
* TEACHER APPROVAL STEP
|
* TEACHER APPROVAL STEP
|
||||||
*/
|
*/
|
||||||
|
@ -1289,9 +1310,24 @@ const TeacherApprovalStep = props => (
|
||||||
<Card className="confirm">
|
<Card className="confirm">
|
||||||
<h4><FormattedMessage id="registration.confirmYourEmail" /></h4>
|
<h4><FormattedMessage id="registration.confirmYourEmail" /></h4>
|
||||||
<p>
|
<p>
|
||||||
<FormattedMessage id="registration.confirmYourEmailDescription" /><br />
|
<FormattedMessage
|
||||||
<strong>{props.email}</strong>
|
id="teacherRegistration.confirmYourEmailDescription"
|
||||||
|
values={{a: BoldEmail}}
|
||||||
|
/>
|
||||||
</p>
|
</p>
|
||||||
|
<br />
|
||||||
|
<p>
|
||||||
|
<FormattedMessage
|
||||||
|
id="teacherRegistration.confirmYourEmailFirewall"
|
||||||
|
values={{a: BoldEmail}}
|
||||||
|
/>
|
||||||
|
</p>
|
||||||
|
<br />
|
||||||
|
<p>
|
||||||
|
<FormattedMessage
|
||||||
|
id="teacherRegistration.confirmationEmail"
|
||||||
|
/>
|
||||||
|
<strong>{props.email}</strong></p>
|
||||||
</Card>
|
</Card>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
@ -1299,7 +1335,10 @@ const TeacherApprovalStep = props => (
|
||||||
<Card className="wait">
|
<Card className="wait">
|
||||||
<h4><FormattedMessage id="registration.waitForApproval" /></h4>
|
<h4><FormattedMessage id="registration.waitForApproval" /></h4>
|
||||||
<p>
|
<p>
|
||||||
<FormattedMessage id="registration.waitForApprovalDescription" />
|
<FormattedMessage
|
||||||
|
id="registration.waitForApprovalDescription"
|
||||||
|
values={{b: Link}}
|
||||||
|
/>
|
||||||
</p>
|
</p>
|
||||||
</Card> : []
|
</Card> : []
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,6 +44,21 @@
|
||||||
color: $ui-dark-gray;
|
color: $ui-dark-gray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.description.wide {
|
||||||
|
margin: 0 -8rem 0 -8rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.underline-link {
|
||||||
|
text-decoration: underline;
|
||||||
|
color: $ui-white;
|
||||||
|
font-weight: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bold-link {
|
||||||
|
font-weight: bold;
|
||||||
|
color: $type-gray;
|
||||||
|
}
|
||||||
|
|
||||||
&.class-invite-step {
|
&.class-invite-step {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
|
@ -73,6 +88,9 @@
|
||||||
top:auto;
|
top:auto;
|
||||||
left:auto;
|
left:auto;
|
||||||
}
|
}
|
||||||
|
> .description.wide {
|
||||||
|
margin: 0 -3.2rem 2rem -3.2rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.demographics-step {
|
&.demographics-step {
|
||||||
|
@ -112,6 +130,17 @@
|
||||||
margin-bottom: 1.25rem;
|
margin-bottom: 1.25rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.info-box{
|
||||||
|
display: block;
|
||||||
|
margin: 0 -4rem 0 -4rem;
|
||||||
|
background-color: rgba($ui-blue, 0.15);
|
||||||
|
color: $ui-blue;
|
||||||
|
padding: 1rem;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.organization-step {
|
&.organization-step {
|
||||||
|
|
|
@ -30,3 +30,9 @@
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width : 941px) {
|
||||||
|
.slide .description-wide {
|
||||||
|
margin: 0 -2rem 2rem -2rem;
|
||||||
|
}
|
||||||
|
}
|
|
@ -235,7 +235,7 @@
|
||||||
"registration.showPassword": "Show password",
|
"registration.showPassword": "Show password",
|
||||||
"registration.troubleReload": "Scratch is having trouble finishing registration. Try reloading the page or try again in another browser.",
|
"registration.troubleReload": "Scratch is having trouble finishing registration. Try reloading the page or try again in another browser.",
|
||||||
"registration.tryAgainInstruction": "Click \"Try again\".",
|
"registration.tryAgainInstruction": "Click \"Try again\".",
|
||||||
"registration.usernameStepDescription": "Fill in the following forms to request an account. The approval process may take up to one day.",
|
"registration.usernameStepDescription": "Fill in the following forms to request an account. You will need to confirm you email. The approval process may take up to one day.",
|
||||||
"registration.usernameStepDescriptionNonEducator": "Create projects, share ideas, make friends. It’s free!",
|
"registration.usernameStepDescriptionNonEducator": "Create projects, share ideas, make friends. It’s free!",
|
||||||
"registration.usernameStepRealName": "Please do not use any portion of your real name in your username.",
|
"registration.usernameStepRealName": "Please do not use any portion of your real name in your username.",
|
||||||
"registration.usernameAdviceShort": "Don't use your real name",
|
"registration.usernameAdviceShort": "Don't use your real name",
|
||||||
|
@ -261,7 +261,7 @@
|
||||||
"registration.validationUsernameSpaces": "Usernames can't have spaces",
|
"registration.validationUsernameSpaces": "Usernames can't have spaces",
|
||||||
"registration.validationEmailInvalid": "Email doesn’t look right. Try another?",
|
"registration.validationEmailInvalid": "Email doesn’t look right. Try another?",
|
||||||
"registration.waitForApproval": "Wait for Approval",
|
"registration.waitForApproval": "Wait for Approval",
|
||||||
"registration.waitForApprovalDescription": "You can log into your Scratch Account now, but the features specific to Teachers are not yet available. Your information is being reviewed. Please be patient, the approval process can take up to one day. You will receive an email indicating your account has been upgraded once your account has been approved.",
|
"registration.waitForApprovalDescription": "You can log into your Scratch Account now, but the features specific to Teachers are not yet available. Your information is being reviewed. Please be patient, the approval process can take up to one day. You will receive an email indicating your account has been upgraded once your account has been approved. If you have not received a confirmation email within 24 hours, please reach out to the Scratch Team at <b>https://scratch.mit.edu/contact-us/</b>.",
|
||||||
"registration.welcomeStepDescription": "You have successfully set up a Scratch account! You are now a member of the class:",
|
"registration.welcomeStepDescription": "You have successfully set up a Scratch account! You are now a member of the class:",
|
||||||
"registration.welcomeStepDescriptionNonEducator": "You’re now logged in! You can start exploring and creating projects.",
|
"registration.welcomeStepDescriptionNonEducator": "You’re now logged in! You can start exploring and creating projects.",
|
||||||
"registration.welcomeStepInstructions": "Want to share and comment? Click the link on the email we sent to {email}.",
|
"registration.welcomeStepInstructions": "Want to share and comment? Click the link on the email we sent to {email}.",
|
||||||
|
|
|
@ -1,13 +1,16 @@
|
||||||
{
|
{
|
||||||
|
"teacherRegistration.requestTeacherAccountInstructions": "Fill in the following forms to request an account. You will need to confirm your email address before your account is approved. The approval process may take up to one day after you have confirmed your email address.",
|
||||||
|
"teacherRegistration.usernameStepRealName": "Please do not use any portion of your real name in your usernames. Usernames containing names are subject to immediate deletion.",
|
||||||
"teacherRegistration.nameStepTitle": "First & Last Name",
|
"teacherRegistration.nameStepTitle": "First & Last Name",
|
||||||
"teacherRegistration.nameStepTitleNew": "First & Last Name",
|
"teacherRegistration.nameStepTitleNew": "First & Last Name",
|
||||||
"teacherRegistration.nameStepDescription": "Your name will not be displayed publicly, and will be kept confidential and secure.",
|
"teacherRegistration.nameStepDescription": "Your name will not be displayed publicly, and will be kept confidential and secure.",
|
||||||
"teacherRegistration.firstName": "First Name",
|
"teacherRegistration.firstName": "First Name",
|
||||||
"teacherRegistration.lastName": "Last Name",
|
"teacherRegistration.lastName": "Last Name",
|
||||||
"teacherRegistration.phoneNumber": "Phone Number",
|
"teacherRegistration.phoneNumber": "Mobile Number",
|
||||||
"teacherRegistration.phoneStepDescription": "Your phone number will not be displayed publicly, and will be kept confidential and secure",
|
"teacherRegistration.phoneStepDescription": "Your mobile number will not be displayed publicly, and will be kept confidential and secure",
|
||||||
"teacherRegistration.phoneConsent": "Yes, the Scratch Team may call me to verify my Teacher Account if needed",
|
"teacherRegistration.phoneConsent": "Yes, the Scratch Team may call me to verify my Teacher Account if needed",
|
||||||
"teacherRegistration.validationPhoneNumber": "Please enter a valid phone number",
|
"teacherRegistration.validationPhoneNumber": "Please enter a valid phone number",
|
||||||
|
"teacherRegistration.phoneSecurityNotice": "To secure your account, we will send you a one-time passcode to verify it’s really you. ",
|
||||||
"teacherRegistration.validationPhoneConsent": "You must consent to verification of your Teacher Account",
|
"teacherRegistration.validationPhoneConsent": "You must consent to verification of your Teacher Account",
|
||||||
"teacherRegistration.privacyDescription": "Your information will not be displayed publicly, and will be kept confidential and secure.",
|
"teacherRegistration.privacyDescription": "Your information will not be displayed publicly, and will be kept confidential and secure.",
|
||||||
"teacherRegistration.organization": "Organization",
|
"teacherRegistration.organization": "Organization",
|
||||||
|
@ -34,7 +37,12 @@
|
||||||
"teacherRegistration.useScratchMaxLength": "Description must be at most 300 characters",
|
"teacherRegistration.useScratchMaxLength": "Description must be at most 300 characters",
|
||||||
"teacherRegistration.howUseScratch": "How do you plan to use Scratch at your organization?",
|
"teacherRegistration.howUseScratch": "How do you plan to use Scratch at your organization?",
|
||||||
"teacherRegistration.emailStepTitle": "Email Address",
|
"teacherRegistration.emailStepTitle": "Email Address",
|
||||||
"teacherRegistration.emailStepDescription": "We will send you a confirmation email that will allow you to access your Scratch Teacher Account.",
|
"teacherRegistration.emailStepDescription1": "We will send you an email from <a>no-reply@scratch.mit.edu</a> to verify your email address.",
|
||||||
|
"teacherRegistration.emailStepDescription2": "Once you confirm your email, we will proceed with reviewing your request for a Teacher Account.",
|
||||||
|
"teacherRegistration.reviewProcess": "The review process may take up to 24 hours.",
|
||||||
|
"teacherRegistration.confirmYourEmailDescription": "Please check your inbox for a confirmation email from <a>no-reply@scratch.mit.edu</a> to verify your email address before your account can be approved.",
|
||||||
|
"teacherRegistration.confirmYourEmailFirewall": "Many schools use email firewalls. To prevent delays in approving your account, please ask your school's IT department to whitelist <a>no-reply@scratch.mit.edu</a>. This will ensure that you can get automated emails from Scratch in the future, which you'll need for things like changing your or your students' passwords.",
|
||||||
|
"teacherRegistration.confirmationEmail": "Click the link in the confirmation email sent to: ",
|
||||||
"teacherRegistration.validationEmailMatch": "The emails do not match",
|
"teacherRegistration.validationEmailMatch": "The emails do not match",
|
||||||
"teacherRegistration.validationAge": "Sorry, teachers must be at least 16 years old"
|
"teacherRegistration.validationAge": "Sorry, teachers must be at least 16 years old"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue