From e816f8e019f969c7960c80c153d7601eec35cbd6 Mon Sep 17 00:00:00 2001 From: Wyatt Johnson Date: Tue, 22 Oct 2019 17:33:15 +0000 Subject: [PATCH] fix: adjusted copy, added translation support (#2664) --- .../tabs/Comments/Stream/BannedInfo.tsx | 23 +++++++++++-------- src/locales/en-US/stream.ftl | 8 ++++++- 2 files changed, 21 insertions(+), 10 deletions(-) diff --git a/src/core/client/stream/tabs/Comments/Stream/BannedInfo.tsx b/src/core/client/stream/tabs/Comments/Stream/BannedInfo.tsx index e2f19cf74..0340f4d15 100644 --- a/src/core/client/stream/tabs/Comments/Stream/BannedInfo.tsx +++ b/src/core/client/stream/tabs/Comments/Stream/BannedInfo.tsx @@ -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 ( - - Your account has been banned from commenting. - - - 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. - + + + Your account has been banned from commenting. + + + + + 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. + + ); diff --git a/src/locales/en-US/stream.ftl b/src/locales/en-US/stream.ftl index 81dec3dd3..02db24d20 100644 --- a/src/locales/en-US/stream.ftl +++ b/src/locales/en-US/stream.ftl @@ -34,6 +34,13 @@ comments-featuredCommentTooltip-handSelectedComments = comments-featuredCommentTooltip-toggleButton = .aria-label = Toggle featured comments tooltip +comments-bannedInfo-bannedFromCommenting = Your account has been banned from commenting. +comments-bannedInfo-violatedCommunityGuidelines = + 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. + comments-noCommentsYet = There are no comments yet. Why don't you write one? comments-streamQuery-storyNotFound = Story not found @@ -42,7 +49,6 @@ comments-postCommentForm-submit = Submit comments-replyList-showAll = Show All comments-replyList-showMoreReplies = Show More Replies - comments-viewNew = { $count -> [1] View {$count} New Comment