From 056272eb8ab87bf8199ac90f4c30448814c17217 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 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TextForEvent.tsx b/src/TextForEvent.tsx index 09bc2105f99..de34dc07353 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 6a22904f310..c983d08c983 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",