mirror of
https://github.com/wassname/talk.git
synced 2026-08-12 12:30:39 +08:00
fix: adjusted copy, added translation support (#2664)
This commit is contained in:
committed by
Kim Gardner
parent
121469ade5
commit
e816f8e019
@@ -1,3 +1,4 @@
|
||||
import { Localized } from "fluent-react/compat";
|
||||
import React, { FunctionComponent } from "react";
|
||||
|
||||
import { CallOut, HorizontalGutter, Typography } from "coral-ui/components";
|
||||
@@ -6,15 +7,19 @@ const BannedInfo: FunctionComponent = props => {
|
||||
return (
|
||||
<CallOut fullWidth>
|
||||
<HorizontalGutter>
|
||||
<Typography variant="heading3">
|
||||
Your account has been banned from commenting.
|
||||
</Typography>
|
||||
<Typography variant="bodyCopy">
|
||||
Someone with access to your account has violated our community
|
||||
guidelines. As a result, your account has been banned. You will no
|
||||
longer be able to comment, respect or report comments. if you think
|
||||
this has been done in error, please contact our community team.
|
||||
</Typography>
|
||||
<Localized id="comments-bannedInfo-bannedFromCommenting">
|
||||
<Typography variant="heading3">
|
||||
Your account has been banned from commenting.
|
||||
</Typography>
|
||||
</Localized>
|
||||
<Localized id="comments-bannedInfo-violatedCommunityGuidelines">
|
||||
<Typography variant="bodyCopy">
|
||||
Someone with access to your account has violated our community
|
||||
guidelines. As a result, your account has been banned. You will no
|
||||
longer be able to comment, respect or report comments. If you think
|
||||
this has been done in error, please contact our community team.
|
||||
</Typography>
|
||||
</Localized>
|
||||
</HorizontalGutter>
|
||||
</CallOut>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user