-
{_t("You’re all caught up")}
-
{_t("You have no visible notifications.")}
+ content =
+
+
+
+
{ _t("Nothing pinned, yet") }
+ { _t("If you have permissions, open the menu on any message and select " +
+ "
Pin to stick them here.", {}, {
+ b: sub =>
{ sub },
+ }) }
+
;
}
diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json
index 9e85ea28c8..302c8709fa 100644
--- a/src/i18n/strings/en_EN.json
+++ b/src/i18n/strings/en_EN.json
@@ -1717,8 +1717,8 @@
"The homeserver the user you’re verifying is connected to": "The homeserver the user you’re verifying is connected to",
"Yours, or the other users’ internet connection": "Yours, or the other users’ internet connection",
"Yours, or the other users’ session": "Yours, or the other users’ session",
- "You’re all caught up": "You’re all caught up",
- "You have no visible notifications.": "You have no visible notifications.",
+ "Nothing pinned, yet": "Nothing pinned, yet",
+ "If you have permissions, open the menu on any message and select
Pin to stick them here.": "If you have permissions, open the menu on any message and select
Pin to stick them here.",
"Pinned messages": "Pinned messages",
"Room Info": "Room Info",
"You can only pin up to %(count)s widgets|other": "You can only pin up to %(count)s widgets",
@@ -2628,6 +2628,8 @@
"Create a new community": "Create a new community",
"Create a community to group together users and rooms! Build a custom homepage to mark out your space in the Matrix universe.": "Create a community to group together users and rooms! Build a custom homepage to mark out your space in the Matrix universe.",
"Communities are changing to Spaces": "Communities are changing to Spaces",
+ "You’re all caught up": "You’re all caught up",
+ "You have no visible notifications.": "You have no visible notifications.",
"%(brand)s failed to get the protocol list from the homeserver. The homeserver may be too old to support third party networks.": "%(brand)s failed to get the protocol list from the homeserver. The homeserver may be too old to support third party networks.",
"%(brand)s failed to get the public room list.": "%(brand)s failed to get the public room list.",
"The homeserver may be unavailable or overloaded.": "The homeserver may be unavailable or overloaded.",
From f84ee2276995a5abb42225fa443e8d777dddee65 Mon Sep 17 00:00:00 2001
From: Michael Telatynski <7t3chguy@gmail.com>
Date: Tue, 8 Jun 2021 16:36:53 +0100
Subject: [PATCH 3/3] Add comment
---
src/components/views/right_panel/PinnedMessagesCard.tsx | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/components/views/right_panel/PinnedMessagesCard.tsx b/src/components/views/right_panel/PinnedMessagesCard.tsx
index 3a4dc9cc92..a72731522f 100644
--- a/src/components/views/right_panel/PinnedMessagesCard.tsx
+++ b/src/components/views/right_panel/PinnedMessagesCard.tsx
@@ -160,6 +160,7 @@ const PinnedMessagesCard = ({ room, onClose }: IProps) => {
} else {
content =
+ { /* XXX: We reuse the classes for simplicity, but deliberately not the components for non-interactivity. */ }