mirror of
https://github.com/wassname/talk.git
synced 2026-07-14 11:18:50 +08:00
copy fixes
This commit is contained in:
@@ -24,11 +24,11 @@ class AccountDeletionRequestedSign extends React.Component {
|
||||
const { me: { scheduledDeletionDate } } = this.props.root;
|
||||
|
||||
const deletionScheduledFor = moment(scheduledDeletionDate).format(
|
||||
'MMM Do YYYY, h:mm:ss a'
|
||||
'MMM Do YYYY, h:mm a'
|
||||
);
|
||||
const deletionScheduledOn = moment(scheduledDeletionDate)
|
||||
.subtract(24, 'hours')
|
||||
.format('MMM Do YYYY, h:mm:ss a');
|
||||
.format('MMM Do YYYY, h:mm a');
|
||||
|
||||
return (
|
||||
<div className={styles.container}>
|
||||
|
||||
@@ -78,19 +78,19 @@ class DeleteMyAccount extends React.Component {
|
||||
Deleting your account will permanently erase your profile and remove
|
||||
all your comments from this site.
|
||||
</p>
|
||||
<p
|
||||
className={cn(
|
||||
styles.description,
|
||||
'talk-plugin-auth--delete-my-account-description'
|
||||
)}
|
||||
>
|
||||
{scheduledDeletionDate &&
|
||||
`You have already submitted a request to delete your account.
|
||||
Your account will be deleted on ${moment(
|
||||
scheduledDeletionDate
|
||||
).format('MMM Do YYYY, h:mm:ss a')}. You may
|
||||
cancel the request until that time`}
|
||||
</p>
|
||||
{scheduledDeletionDate && (
|
||||
<p
|
||||
className={cn(
|
||||
styles.description,
|
||||
'talk-plugin-auth--delete-my-account-description'
|
||||
)}
|
||||
>
|
||||
You have already submitted a request to delete your account. Your
|
||||
account will be deleted on{' '}
|
||||
{moment(scheduledDeletionDate).format('MMM Do YYYY, h:mm a')}. You
|
||||
may cancel the request until that time.
|
||||
</p>
|
||||
)}
|
||||
{scheduledDeletionDate ? (
|
||||
<Button
|
||||
className={cn(styles.button, styles.secondary)}
|
||||
|
||||
@@ -19,7 +19,7 @@ const DeleteMyAccountFinalStep = props => (
|
||||
<strong className={styles.block}>
|
||||
<Icon name="access_time" className={styles.timeIcon} />
|
||||
<span>
|
||||
{moment(props.scheduledDeletionDate).format('MMM Do YYYY, h:mm:ss a')}
|
||||
{moment(props.scheduledDeletionDate).format('MMM Do YYYY, h:mm a')}
|
||||
</span>
|
||||
</strong>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user