From: Dessalines Date: Mon, 19 Jul 2021 23:12:08 +0000 (-0400) Subject: Fix/front end helpers 1 (#346) X-Git-Url: http://these/git/%24%7BgetStaticDir%28%29%7D/styles/%7Brss%7D?a=commitdiff_plain;h=79ce0e864ab0b6a948f3c75ad6f882321b084162;p=lemmy-ui.git Fix/front end helpers 1 (#346) * Updating translations. * Adding some descriptions to listing types. #341 --- 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 => (