]> Untitled Git - lemmy-ui.git/commitdiff
Remove content more (#372)
authorDessalines <dessalines@users.noreply.github.com>
Tue, 17 Aug 2021 21:46:27 +0000 (17:46 -0400)
committerGitHub <noreply@github.com>
Tue, 17 Aug 2021 21:46:27 +0000 (17:46 -0400)
* Updating translations.

* Changing to remove content with tippy.

* Use title instead

lemmy-translations
src/shared/components/comment/comment-node.tsx
src/shared/components/post/post-listing.tsx

index a13fc72a3dbabdeb405196b1c51ddbb4b9157212..a41129ad65e57bbfe7817f9c2be1280bc4f1192c 160000 (submodule)
@@ -1 +1 @@
-Subproject commit a13fc72a3dbabdeb405196b1c51ddbb4b9157212
+Subproject commit a41129ad65e57bbfe7817f9c2be1280bc4f1192c
index e13b93bea562319a57056b82d876a84661436a5c..e276b512fc4f912bd8afe80577164f6869ec855f 100644 (file)
@@ -752,8 +752,12 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
                     checked={this.state.removeData}
                     onChange={linkEvent(this, this.handleModRemoveDataChange)}
                   />
-                  <label class="form-check-label" htmlFor="mod-ban-remove-data">
-                    {i18n.t("remove_posts_comments")}
+                  <label
+                    class="form-check-label"
+                    htmlFor="mod-ban-remove-data"
+                    title={i18n.t("remove_content_more")}
+                  >
+                    {i18n.t("remove_content")}
                   </label>
                 </div>
               </div>
index 16469b86847e2c888bd7ed4ad748dd8ae9240957..70068384f2f549297ac570bf00368b2c707ea2b1 100644 (file)
@@ -466,9 +466,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
     let post_view = this.props.post_view;
     return (
       <div class="d-flex justify-content-between justify-content-lg-start flex-wrap text-muted font-weight-bold mb-1">
-        <button 
-          class="btn btn-link text-muted p-0"
-        >
+        <button class="btn btn-link text-muted p-0">
           <Link
             className="text-muted small"
             title={i18n.t("number_of_comments", {
@@ -998,8 +996,12 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
                     checked={this.state.removeData}
                     onChange={linkEvent(this, this.handleModRemoveDataChange)}
                   />
-                  <label class="form-check-label" htmlFor="mod-ban-remove-data">
-                    {i18n.t("remove_posts_comments")}
+                  <label
+                    class="form-check-label"
+                    htmlFor="mod-ban-remove-data"
+                    title={i18n.t("remove_content_more")}
+                  >
+                    {i18n.t("remove_content")}
                   </label>
                 </div>
               </div>