From 8df9aa1d5a21e28d3362a68375258ab17ef26d24 Mon Sep 17 00:00:00 2001 From: Dessalines <dessalines@users.noreply.github.com> Date: Tue, 21 Feb 2023 16:12:00 -0500 Subject: [PATCH] Adding ban_from_community to be more clear. Fixes #872 (#943) --- src/shared/components/comment/comment-node.tsx | 4 ++-- src/shared/components/post/post-listing.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/shared/components/comment/comment-node.tsx b/src/shared/components/comment/comment-node.tsx index 6f903b4..418986d 100644 --- a/src/shared/components/comment/comment-node.tsx +++ b/src/shared/components/comment/comment-node.tsx @@ -601,9 +601,9 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> { this, this.handleModBanFromCommunityShow )} - aria-label={i18n.t("ban")} + aria-label={i18n.t("ban_from_community")} > - {i18n.t("ban")} + {i18n.t("ban_from_community")} </button> ) : ( <button diff --git a/src/shared/components/post/post-listing.tsx b/src/shared/components/post/post-listing.tsx index d0e72e4..4b8d072 100644 --- a/src/shared/components/post/post-listing.tsx +++ b/src/shared/components/post/post-listing.tsx @@ -928,9 +928,9 @@ export class PostListing extends Component<PostListingProps, PostListingState> { this, this.handleModBanFromCommunityShow )} - aria-label={i18n.t("ban")} + aria-label={i18n.t("ban_from_community")} > - {i18n.t("ban")} + {i18n.t("ban_from_community")} </button> ) : ( <button -- 2.44.1