mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 13:14:58 +08:00
Fix missing summary text for pinned message changes (#7989)
Signed-off-by: Robin Townsend <robin@robin.town>
This commit is contained in:
parent
77ed1e3ef8
commit
319ed3a776
@ -327,14 +327,14 @@ export default class EventListSummary extends React.Component<IProps> {
|
|||||||
break;
|
break;
|
||||||
case TransitionType.ChangedPins:
|
case TransitionType.ChangedPins:
|
||||||
res = (userCount > 1)
|
res = (userCount > 1)
|
||||||
? _t("%(severalUsers)schanged the <a>pinned messages</a> for the room %(count)s times.",
|
? _t("%(severalUsers)schanged the <a>pinned messages</a> for the room %(count)s times",
|
||||||
{ severalUsers: "", count },
|
{ severalUsers: "", count },
|
||||||
{
|
{
|
||||||
"a": (sub) => <AccessibleButton kind='link_inline' onClick={onPinnedMessagesClick}>
|
"a": (sub) => <AccessibleButton kind='link_inline' onClick={onPinnedMessagesClick}>
|
||||||
{ sub }
|
{ sub }
|
||||||
</AccessibleButton>,
|
</AccessibleButton>,
|
||||||
})
|
})
|
||||||
: _t("%(oneUser)schanged the <a>pinned messages</a> for the room %(count)s times.",
|
: _t("%(oneUser)schanged the <a>pinned messages</a> for the room %(count)s times",
|
||||||
{ oneUser: "", count },
|
{ oneUser: "", count },
|
||||||
{
|
{
|
||||||
"a": (sub) => <AccessibleButton kind='link_inline' onClick={onPinnedMessagesClick}>
|
"a": (sub) => <AccessibleButton kind='link_inline' onClick={onPinnedMessagesClick}>
|
||||||
|
@ -2301,9 +2301,10 @@
|
|||||||
"%(severalUsers)schanged the server ACLs %(count)s times|one": "%(severalUsers)schanged the server ACLs",
|
"%(severalUsers)schanged the server ACLs %(count)s times|one": "%(severalUsers)schanged the server ACLs",
|
||||||
"%(oneUser)schanged the server ACLs %(count)s times|other": "%(oneUser)schanged the server ACLs %(count)s times",
|
"%(oneUser)schanged the server ACLs %(count)s times|other": "%(oneUser)schanged the server ACLs %(count)s times",
|
||||||
"%(oneUser)schanged the server ACLs %(count)s times|one": "%(oneUser)schanged the server ACLs",
|
"%(oneUser)schanged the server ACLs %(count)s times|one": "%(oneUser)schanged the server ACLs",
|
||||||
"%(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.",
|
"%(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",
|
||||||
"%(severalUsers)schanged the <a>pinned messages</a> for the room %(count)s times.|one": "%(severalUsers)schanged the <a>pinned messages</a> for the room.",
|
"%(severalUsers)schanged the <a>pinned messages</a> for the room %(count)s times|one": "%(severalUsers)schanged the <a>pinned messages</a> for the room",
|
||||||
"%(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.",
|
"%(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",
|
||||||
|
"%(oneUser)schanged the <a>pinned messages</a> for the room %(count)s times|one": "%(oneUser)schanged the <a>pinned messages</a> for the room",
|
||||||
"%(severalUsers)sremoved a message %(count)s times|other": "%(severalUsers)sremoved %(count)s messages",
|
"%(severalUsers)sremoved a message %(count)s times|other": "%(severalUsers)sremoved %(count)s messages",
|
||||||
"%(severalUsers)sremoved a message %(count)s times|one": "%(severalUsers)sremoved a message",
|
"%(severalUsers)sremoved a message %(count)s times|one": "%(severalUsers)sremoved a message",
|
||||||
"%(oneUser)sremoved a message %(count)s times|other": "%(oneUser)sremoved %(count)s messages",
|
"%(oneUser)sremoved a message %(count)s times|other": "%(oneUser)sremoved %(count)s messages",
|
||||||
|
Loading…
Reference in New Issue
Block a user