Fix i18n numbers getting toString()'d

This commit is contained in:
Jamie Kyle 2024-02-29 15:07:50 -08:00 committed by GitHub
parent 9c072c5bc1
commit 2743300597
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 9 additions and 9 deletions

View file

@ -37,7 +37,7 @@ export function CallParticipantCount({
}
if (!innerText) {
innerText = i18n('icu:CallControls__InfoDisplay--participants', {
count: String(count),
count,
});
}
@ -46,7 +46,7 @@ export function CallParticipantCount({
return (
<span
aria-label={i18n('icu:calling__participants', {
people: String(count),
people: count,
})}
className="CallControls__Status--InactiveCallParticipantCount"
>
@ -58,7 +58,7 @@ export function CallParticipantCount({
return (
<button
aria-label={i18n('icu:calling__participants', {
people: String(count),
people: count,
})}
className="CallControls__Status--ParticipantCount"
onClick={toggleParticipants}