chore: copy updates for the under-13 flow

This commit is contained in:
Georgi Angelov 2024-10-15 13:35:59 +03:00
parent 3defee50cf
commit 7110c6f806
3 changed files with 14 additions and 15 deletions

View file

@ -44,7 +44,7 @@ const EmailConfirmationBanner = ({onRequestDismiss, userUsesParentEmail}) => {
),
faqLink: (
<a href="/faq/#accounts">
<FormattedMessage id={`${i18nPrefix}.faqLinkText`} />
<FormattedMessage id="emailConfirmationBanner.faqLinkText" />
</a>
)
}}

View file

@ -20,6 +20,8 @@ const EmailConfirmationModal = ({
'emailConfirmationModal.parentEmail' :
'emailConfirmationModal';
const showFooter = !showEmailTips || !userUsesParentEmail;
return (
<Modal
className="email-confirmation-modal"
@ -67,15 +69,15 @@ const EmailConfirmationModal = ({
}
</div>
</div>
<div className="guide-footer">
{showFooter && (<div className="guide-footer">
{showEmailTips ?
(<React.Fragment>
<FormattedMessage
id={`${i18nPrefix}.wantMoreInfo`}
id="emailConfirmationModal.wantMoreInfo"
values={
{FAQLink:
(<a href="/faq#accounts">
<FormattedMessage id={`${i18nPrefix}.checkOutFAQ`} />
<FormattedMessage id="emailConfirmationModal.checkOutFAQ" />
</a>)
}
}
@ -95,7 +97,7 @@ const EmailConfirmationModal = ({
</a>)}}
/>
</React.Fragment>)}
</div>
</div>)}
</Modal>);
};

View file

@ -208,8 +208,8 @@
"registration.genderOptionAnother": "Another gender:",
"registration.genderOptionPreferNotToSay": "Prefer not to say",
"registration.emailStepTitle": "What's your email?",
"registration.under13.emailStepTitle": "What's your parent/adult email address?",
"registration.under13.emailStepDescription": "They will need to verify your account through an email link.",
"registration.under13.emailStepTitle": "What's your parent's email address?",
"registration.under13.emailStepDescription": "We'll send them a link to verify your account.",
"registration.emailStepInfo": "This will help if you forget your password. This information will not be made public on your account.",
"registration.goToClass": "Go to Class",
"registration.invitedBy": "invited by",
@ -263,7 +263,7 @@
"registration.welcomeStepDescription": "You have successfully set up a Scratch account! You are now a member of the class:",
"registration.welcomeStepDescriptionNonEducator": "Youre 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.under13.welcomeStepInstructions": "Want to share and comment? Your parent/guardian needs to confirm your account using the link on the email we sent to {email}.",
"registration.under13.welcomeStepInstructions": "In order to share projects and participate in the Scratch community, your parent needs to confirm your account. They can click on the link in the email we sent to {email}.",
"registration.welcomeStepPrompt": "To get started, click on the button below.",
"registration.welcomeStepTitle": "Hurray! Welcome to Scratch!",
"registration.welcomeStepTitleNonEducator": "Welcome to Scratch, {username}!",
@ -272,9 +272,8 @@
"emailConfirmationBanner.confirmLinkText": "Confirm your email",
"emailConfirmationBanner.faqLinkText": "Having trouble?",
"emailConfirmationBanner.parentEmail.confirm": "A parent/guardian needs to {confirmLink}. {faqLink}",
"emailConfirmationBanner.parentEmail.confirm": "A parent needs to {confirmLink} before you can share projects.",
"emailConfirmationBanner.parentEmail.confirmLinkText": "confirm your account",
"emailConfirmationBanner.parentEmail.faqLinkText": "Having trouble?",
"emailConfirmationModal.confirm": "Confirm your email",
"emailConfirmationModal.wantToShare": "Want to share on Scratch?",
@ -292,15 +291,13 @@
"emailConfirmationModal.parentEmail.confirm": "Confirm your account",
"emailConfirmationModal.parentEmail.wantToShare": "Want to share on Scratch?",
"emailConfirmationModal.parentEmail.clickEmailLink": "Your parent/guardian needs to confirm your email address by clicking the link in the email we sent to:",
"emailConfirmationModal.parentEmail.clickEmailLink": "Your parent needs to click on the link in the email we sent to:",
"emailConfirmationModal.parentEmail.resendEmail": "Resend confirmation email",
"emailConfirmationModal.parentEmail.confirmingTips": "Tips for confirming your email address",
"emailConfirmationModal.parentEmail.tipWaitTenMinutes": "Wait for ten minutes. The email may take a while to arrive.",
"emailConfirmationModal.parentEmail.tipCheckSpam": "Check your spam folder.",
"emailConfirmationModal.parentEmail.correctEmail": "Make sure your parent's email address is correct, see {accountSettings}.",
"emailConfirmationModal.parentEmail.tipCheckSpam": "Ask your parent to check their spam folder.",
"emailConfirmationModal.parentEmail.correctEmail": "Make sure your parent's email address is correct. Check your {accountSettings}.",
"emailConfirmationModal.parentEmail.accountSettings": "Account Settings",
"emailConfirmationModal.parentEmail.wantMoreInfo": "Want more information? {FAQLink}",
"emailConfirmationModal.parentEmail.checkOutFAQ": "Check out the FAQ",
"emailConfirmationModal.parentEmail.havingTrouble": "Having Trouble? {tipsLink}",
"emailConfirmationModal.parentEmail.checkOutTips": "Check out these tips",