From c48ee703c0d9a93396a081b574134a07f22c58c1 Mon Sep 17 00:00:00 2001
From: Jay Sitter <jay@jaysitter.com>
Date: Sat, 17 Jun 2023 18:28:35 -0400
Subject: [PATCH] fix: Fix some button labels and tippy text

---
 src/shared/components/post/post-listing.tsx | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/shared/components/post/post-listing.tsx b/src/shared/components/post/post-listing.tsx
index 7fca579..4b6003e 100644
--- a/src/shared/components/post/post-listing.tsx
+++ b/src/shared/components/post/post-listing.tsx
@@ -900,7 +900,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
       <button
         className="btn btn-link text-muted dropdown-item"
         onClick={linkEvent(this, this.handleEditClick)}
-        data-tippy-content={i18n.t("edit")}
         aria-label={i18n.t("edit")}
       >
         <Icon classes="mr-1" icon="edit" inline />
@@ -916,7 +915,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
       <button
         className="btn btn-link text-muted dropdown-item"
         onClick={linkEvent(this, this.handleDeleteClick)}
-        data-tippy-content={label}
         aria-label={label}
       >
         {this.state.deleteLoading ? (
@@ -928,7 +926,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
               classes={classNames("mr-1", { "text-danger": deleted })}
               inline
             />
-            {i18n.t("delete")}
+            {label}
           </>
         )}
       </button>
@@ -959,7 +957,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
       <button
         className="btn btn-link text-muted dropdown-item"
         onClick={linkEvent(this, this.handleModLock)}
-        data-tippy-content={label}
         aria-label={label}
       >
         {this.state.lockLoading ? (
@@ -971,7 +968,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
               classes={classNames("mr-1", { "text-danger": locked })}
               inline
             />
-            {i18n.t("lock")}
+            {label}
           </>
         )}
       </button>
-- 
2.44.1