Fix defaultMessages for the AccountDeleted component

This commit is contained in:
ErickSkrauch 2020-07-27 14:25:51 +03:00
parent c0b3e328b6
commit 55d767b65c
No known key found for this signature in database
GPG Key ID: 669339FCBB30EE0E

View File

@ -13,7 +13,7 @@ interface Props {
const AccountDeleted: ComponentType<Props> = ({ onRestore }) => { const AccountDeleted: ComponentType<Props> = ({ onRestore }) => {
return ( return (
<div className={styles.wrapper}> <div className={styles.wrapper}>
<Message key="accountDeleted" defaultMessage="Account deleted"> <Message key="accountDeleted" defaultMessage="Account is deleted">
{(pageTitle: string) => ( {(pageTitle: string) => (
<h2 className={styles.title}> <h2 className={styles.title}>
<Helmet title={pageTitle} /> <Helmet title={pageTitle} />
@ -25,15 +25,13 @@ const AccountDeleted: ComponentType<Props> = ({ onRestore }) => {
<div className={styles.description}> <div className={styles.description}>
<Message <Message
key="accountDeletedDescription" key="accountDeletedDescription"
// TODO: verify translation defaultMessage="The account has been marked for deletion and will be permanently removed within a week. Until then, all account activities have been suspended."
defaultMessage="The account has been marked for deletion and will be permanently removed within a week. Until then, all activity on the account has been suspended."
/> />
</div> </div>
<div className={styles.description}> <div className={styles.description}>
<Message <Message
key="ifYouWantToRestoreAccount" key="ifYouWantToRestoreAccount"
// TODO: verify translation
defaultMessage="If you want to restore your account, click on the button below." defaultMessage="If you want to restore your account, click on the button below."
/> />
</div> </div>