From: Sunny Date: Fri, 16 Jun 2023 15:00:01 +0000 (+0000) Subject: Make community IDs more easily selectable (#1306) X-Git-Url: http://these/git/%7B%60/feeds/c/%24%7Bthis.state.communityName%7D.xml?a=commitdiff_plain;h=1c26a85fff7fea0f2504fa7f4b75006d389bbdb6;p=lemmy-ui.git Make community IDs more easily selectable (#1306) * Make community IDs more easily selectable * Use T component for alert * Use T component for alert --------- Co-authored-by: SleeplessOne1917 Co-authored-by: Dessalines --- diff --git a/src/shared/components/community/sidebar.tsx b/src/shared/components/community/sidebar.tsx index a5c620f..63378a1 100644 --- a/src/shared/components/community/sidebar.tsx +++ b/src/shared/components/community/sidebar.tsx @@ -1,4 +1,5 @@ import { Component, InfernoNode, linkEvent } from "inferno"; +import { T } from "inferno-i18next-dess"; import { Link } from "inferno-router"; import { AddModToCommunity, @@ -144,10 +145,15 @@ export class Sidebar extends Component { {myUSerInfo && this.blockCommunity()} {!myUSerInfo && (
- {i18n.t("community_not_logged_in_alert", { - community: name, - instance: hostname(actor_id), - })} + + ### +
)}