From be299d0a2b15fe9ce238a53920caa6c0fdcb1fd2 Mon Sep 17 00:00:00 2001 From: Timo K Date: Mon, 22 Apr 2024 19:49:45 +0200 Subject: [PATCH] review (remove participant count unknown) Signed-off-by: Timo K --- public/locales/en-GB/app.json | 1 - src/Header.tsx | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/public/locales/en-GB/app.json b/public/locales/en-GB/app.json index 41498fd7..fb39c772 100644 --- a/public/locales/en-GB/app.json +++ b/public/locales/en-GB/app.json @@ -102,7 +102,6 @@ "mute_microphone_button_label": "Mute microphone", "participant_count_one": "{{count, number}}", "participant_count_other": "{{count, number}}", - "participant_count_unkonwn": "unknown", "rageshake_button_error_caption": "Retry sending logs", "rageshake_request_modal": { "body": "Another user on this call is having an issue. In order to better diagnose these issues we'd like to collect a debug log.", diff --git a/src/Header.tsx b/src/Header.tsx index db922fae..1bf8a4a7 100644 --- a/src/Header.tsx +++ b/src/Header.tsx @@ -158,9 +158,7 @@ export const RoomHeaderInfo: FC = ({ aria-label={t("header_participants_label")} /> - {participantCount - ? t("participant_count", { count: participantCount }) - : t("participant_count_unkonwn")} + {t("participant_count", { count: participantCount ?? 0 })} )}