Merge commit 'a1b198bfbc950ee43c78530e67c3d731054ea561' into fluffychat-merge

This commit is contained in:
ggurdin 2025-06-04 15:40:01 -04:00
commit 2ea47b0697
No known key found for this signature in database
GPG key ID: A01CB41737CBB478
2 changed files with 21 additions and 1 deletions

View file

@ -705,6 +705,15 @@
}
}
},
"countInvited": "{count} invited",
"@countInvited": {
"type": "String",
"placeholders": {
"count": {
"type": "int"
}
}
},
"create": "Create",
"@create": {
"type": "String",

View file

@ -144,7 +144,18 @@ class ChatMembersView extends StatelessWidget {
Membership.ban =>
L10n.of(context).banned,
Membership.invite =>
L10n.of(context).invited,
L10n.of(context).countInvited(
room.summary
.mInvitedMemberCount ??
controller.members
?.where(
(member) =>
member.membership ==
Membership.invite,
)
.length ??
0,
),
Membership.join =>
L10n.of(context).countParticipants(
room.summary.mJoinedMemberCount ??