diff --git a/src/plugins/muc-views/templates/muc-sidebar.js b/src/plugins/muc-views/templates/muc-sidebar.js index e05dc42e8..e0f3b9c97 100644 --- a/src/plugins/muc-views/templates/muc-sidebar.js +++ b/src/plugins/muc-views/templates/muc-sidebar.js @@ -4,11 +4,11 @@ import tpl_occupant from "./occupant.js"; export default (o) => { - const i18n_participants = __('Participants'); + const i18n_participants = o.occupants.length === 1 ? __('Participant') : __('Participants'); return html`
- ${i18n_participants} + ${o.occupants.length} ${i18n_participants}