From 79ce0e864ab0b6a948f3c75ad6f882321b084162 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Mon, 19 Jul 2021 19:12:08 -0400 Subject: [PATCH] Fix/front end helpers 1 (#346) * Updating translations. * Adding some descriptions to listing types. #341 --- lemmy-translations | 2 +- .../components/common/listing-type-select.tsx | 3 +++ src/shared/components/home/home.tsx | 13 +++++++++++-- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/lemmy-translations b/lemmy-translations index e34e6fc..a13fc72 160000 --- a/lemmy-translations +++ b/lemmy-translations @@ -1 +1 @@ -Subproject commit e34e6fc90f5702683870ab548ebe98a29c70abb3 +Subproject commit a13fc72a3dbabdeb405196b1c51ddbb4b9157212 diff --git a/src/shared/components/common/listing-type-select.tsx b/src/shared/components/common/listing-type-select.tsx index 23c5bbf..1493f64 100644 --- a/src/shared/components/common/listing-type-select.tsx +++ b/src/shared/components/common/listing-type-select.tsx @@ -40,6 +40,7 @@ export class ListingTypeSelect extends Component< return (
@@ -394,12 +395,20 @@ export class Home extends Component { createCommunityButton() { return ( - + {i18n.t("create_a_community")} ); } + exploreCommunitiesButton() { + return ( + + {i18n.t("explore_communities")} + + ); + } + trendingCommunities() { return (
@@ -411,7 +420,7 @@ export class Home extends Component { -
    +
      {this.state.trendingCommunities.map(cv => (
    • -- 2.44.1