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

Commit ca17f7b

Browse files
committed
fix timeline text when sharing room layout
1 parent 365950e commit ca17f7b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-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

+2-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",
@@ -1866,6 +1866,7 @@
18661866
"Threads": "Threads",
18671867
"Room Info": "Room Info",
18681868
"You can only pin up to %(count)s widgets|other": "You can only pin up to %(count)s widgets",
1869+
"Maximise widget": "Maximise widget",
18691870
"Unpin a widget to view it in this panel": "Unpin a widget to view it in this panel",
18701871
"Set my room layout for everyone": "Set my room layout for everyone",
18711872
"Widgets": "Widgets",

0 commit comments

Comments
 (0)