Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 734ce97

Browse files
authored
Fix timeline text when sharing room layout (#7140)
1 parent 556cfc7 commit 734ce97

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: src/TextForEvent.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ function textForWidgetEvent(event: MatrixEvent): () => string | null {
623623

624624
function textForWidgetLayoutEvent(event: MatrixEvent): () => string | null {
625625
const senderName = event.sender?.name || event.getSender();
626-
return () => _t("%(senderName)s has updated the widget layout", { senderName });
626+
return () => _t("%(senderName)s has updated the room layout", { senderName });
627627
}
628628

629629
function textForMjolnirEvent(event: MatrixEvent): () => string | null {

Diff for: src/i18n/strings/en_EN.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@
560560
"%(widgetName)s widget modified by %(senderName)s": "%(widgetName)s widget modified by %(senderName)s",
561561
"%(widgetName)s widget added by %(senderName)s": "%(widgetName)s widget added by %(senderName)s",
562562
"%(widgetName)s widget removed by %(senderName)s": "%(widgetName)s widget removed by %(senderName)s",
563-
"%(senderName)s has updated the widget layout": "%(senderName)s has updated the widget layout",
563+
"%(senderName)s has updated the room layout": "%(senderName)s has updated the room layout",
564564
"%(senderName)s removed the rule banning users matching %(glob)s": "%(senderName)s removed the rule banning users matching %(glob)s",
565565
"%(senderName)s removed the rule banning rooms matching %(glob)s": "%(senderName)s removed the rule banning rooms matching %(glob)s",
566566
"%(senderName)s removed the rule banning servers matching %(glob)s": "%(senderName)s removed the rule banning servers matching %(glob)s",

0 commit comments

Comments
 (0)