]> Untitled Git - lemmy-ui.git/commitdiff
Adding ban_from_community to be more clear. Fixes #872 (#943)
authorDessalines <dessalines@users.noreply.github.com>
Tue, 21 Feb 2023 21:12:00 +0000 (16:12 -0500)
committerGitHub <noreply@github.com>
Tue, 21 Feb 2023 21:12:00 +0000 (16:12 -0500)
src/shared/components/comment/comment-node.tsx
src/shared/components/post/post-listing.tsx

index 6f903b48a855673630a4ca36babfba53c5299d3a..418986d762b496c28e99ca2110e7dadeac894613 100644 (file)
@@ -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
index d0e72e4da1d505012383f534359bccb65c505cb7..4b8d072bf4f9e0061c3af2e7913e054f3e1a8d72 100644 (file)
@@ -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