From baf19bd13d48ac04208bb3b62c1c62f2cdb74dca Mon Sep 17 00:00:00 2001 From: Timo K Date: Mon, 15 Nov 2021 16:20:10 +0100 Subject: [PATCH] fix timeline text when sharing room layout --- src/TextForEvent.tsx | 2 +- src/i18n/strings/en_EN.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/TextForEvent.tsx b/src/TextForEvent.tsx index 09bc2105f99d..de34dc07353e 100644 --- a/src/TextForEvent.tsx +++ b/src/TextForEvent.tsx @@ -623,7 +623,7 @@ function textForWidgetEvent(event: MatrixEvent): () => string | null { function textForWidgetLayoutEvent(event: MatrixEvent): () => string | null { const senderName = event.sender?.name || event.getSender(); - return () => _t("%(senderName)s has updated the widget layout", { senderName }); + return () => _t("%(senderName)s has updated the room layout", { senderName }); } function textForMjolnirEvent(event: MatrixEvent): () => string | null { diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 6a22904f310e..bcd5fd8d3947 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -560,7 +560,7 @@ "%(widgetName)s widget modified by %(senderName)s": "%(widgetName)s widget modified by %(senderName)s", "%(widgetName)s widget added by %(senderName)s": "%(widgetName)s widget added by %(senderName)s", "%(widgetName)s widget removed by %(senderName)s": "%(widgetName)s widget removed by %(senderName)s", - "%(senderName)s has updated the widget layout": "%(senderName)s has updated the widget layout", + "%(senderName)s has updated the room layout": "%(senderName)s has updated the room layout", "%(senderName)s removed the rule banning users matching %(glob)s": "%(senderName)s removed the rule banning users matching %(glob)s", "%(senderName)s removed the rule banning rooms matching %(glob)s": "%(senderName)s removed the rule banning rooms matching %(glob)s", "%(senderName)s removed the rule banning servers matching %(glob)s": "%(senderName)s removed the rule banning servers matching %(glob)s", @@ -1866,6 +1866,7 @@ "Threads": "Threads", "Room Info": "Room Info", "You can only pin up to %(count)s widgets|other": "You can only pin up to %(count)s widgets", + "Maximise widget": "Maximise widget", "Unpin a widget to view it in this panel": "Unpin a widget to view it in this panel", "Set my room layout for everyone": "Set my room layout for everyone", "Widgets": "Widgets",