diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 455a73fa3..79bfa55bf 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -363,6 +363,7 @@ "recoveryPhraseEmpty": "Enter your recovery phrase", "displayNameEmpty": "Please enter a display name", "members": "$count$ members", + "activeMembers": "$count$ active members", "join": "Join", "joinOpenGroup": "Join Community", "createGroup": "Create Group", diff --git a/ts/components/conversation/ConversationHeader.tsx b/ts/components/conversation/ConversationHeader.tsx index 6ec78fcf6..2ff28414c 100644 --- a/ts/components/conversation/ConversationHeader.tsx +++ b/ts/components/conversation/ConversationHeader.tsx @@ -305,7 +305,7 @@ const ConversationHeaderTitle = () => { let memberCountText = ''; if (isGroup && memberCount > 0 && !isKickedFromGroup) { const count = String(memberCount); - memberCountText = i18n('members', [count]); + memberCountText = isPublic ? i18n('activeMembers', [count]) : i18n('members', [count]); } const notificationSubtitle = notificationSetting diff --git a/ts/types/LocalizerKeys.ts b/ts/types/LocalizerKeys.ts index f23f5fb23..67c0c0011 100644 --- a/ts/types/LocalizerKeys.ts +++ b/ts/types/LocalizerKeys.ts @@ -16,6 +16,7 @@ export type LocalizerKeys = | 'closedGroupInviteFailMessage' | 'noContactsForGroup' | 'faq' + | 'timerOption_2_weeks_abbreviated' | 'linkVisitWarningMessage' | 'messageRequestAcceptedOurs' | 'anonymous' @@ -255,6 +256,7 @@ export type LocalizerKeys = | 'audioPermissionNeeded' | 'createGroup' | 'add' + | 'timerOption_2_weeks' | 'messageRequests' | 'show' | 'cannotMixImageAndNonImageAttachments' @@ -276,6 +278,7 @@ export type LocalizerKeys = | 'joinACommunity' | 'multipleJoinedTheGroup' | 'messageRequestAcceptedOursNoName' + | 'activeMembers' | 'databaseError' | 'resend' | 'copiedToClipboard'