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

Commit 319ed3a

Browse files
authored
Fix missing summary text for pinned message changes (#7989)
Signed-off-by: Robin Townsend <[email protected]>
1 parent 77ed1e3 commit 319ed3a

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/components/views/elements/EventListSummary.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -327,14 +327,14 @@ export default class EventListSummary extends React.Component<IProps> {
327327
break;
328328
case TransitionType.ChangedPins:
329329
res = (userCount > 1)
330-
? _t("%(severalUsers)schanged the <a>pinned messages</a> for the room %(count)s times.",
330+
? _t("%(severalUsers)schanged the <a>pinned messages</a> for the room %(count)s times",
331331
{ severalUsers: "", count },
332332
{
333333
"a": (sub) => <AccessibleButton kind='link_inline' onClick={onPinnedMessagesClick}>
334334
{ sub }
335335
</AccessibleButton>,
336336
})
337-
: _t("%(oneUser)schanged the <a>pinned messages</a> for the room %(count)s times.",
337+
: _t("%(oneUser)schanged the <a>pinned messages</a> for the room %(count)s times",
338338
{ oneUser: "", count },
339339
{
340340
"a": (sub) => <AccessibleButton kind='link_inline' onClick={onPinnedMessagesClick}>

src/i18n/strings/en_EN.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -2301,9 +2301,10 @@
23012301
"%(severalUsers)schanged the server ACLs %(count)s times|one": "%(severalUsers)schanged the server ACLs",
23022302
"%(oneUser)schanged the server ACLs %(count)s times|other": "%(oneUser)schanged the server ACLs %(count)s times",
23032303
"%(oneUser)schanged the server ACLs %(count)s times|one": "%(oneUser)schanged the server ACLs",
2304-
"%(severalUsers)schanged the <a>pinned messages</a> for the room %(count)s times.|other": "%(severalUsers)schanged the <a>pinned messages</a> for the room %(count)s times.",
2305-
"%(severalUsers)schanged the <a>pinned messages</a> for the room %(count)s times.|one": "%(severalUsers)schanged the <a>pinned messages</a> for the room.",
2306-
"%(oneUser)schanged the <a>pinned messages</a> for the room %(count)s times.|other": "%(oneUser)schanged the <a>pinned messages</a> for the room %(count)s times.",
2304+
"%(severalUsers)schanged the <a>pinned messages</a> for the room %(count)s times|other": "%(severalUsers)schanged the <a>pinned messages</a> for the room %(count)s times",
2305+
"%(severalUsers)schanged the <a>pinned messages</a> for the room %(count)s times|one": "%(severalUsers)schanged the <a>pinned messages</a> for the room",
2306+
"%(oneUser)schanged the <a>pinned messages</a> for the room %(count)s times|other": "%(oneUser)schanged the <a>pinned messages</a> for the room %(count)s times",
2307+
"%(oneUser)schanged the <a>pinned messages</a> for the room %(count)s times|one": "%(oneUser)schanged the <a>pinned messages</a> for the room",
23072308
"%(severalUsers)sremoved a message %(count)s times|other": "%(severalUsers)sremoved %(count)s messages",
23082309
"%(severalUsers)sremoved a message %(count)s times|one": "%(severalUsers)sremoved a message",
23092310
"%(oneUser)sremoved a message %(count)s times|other": "%(oneUser)sremoved %(count)s messages",

0 commit comments

Comments
 (0)