Use ICU number/plural formatting
This commit is contained in:
parent
aba8882d0a
commit
da24cc5e95
30 changed files with 254 additions and 222 deletions
|
@ -15,9 +15,7 @@ export const LastSeenIndicator = forwardRef<HTMLDivElement, Props>(
|
|||
const message =
|
||||
count === 1
|
||||
? i18n('icu:unreadMessage')
|
||||
: i18n('icu:unreadMessages', {
|
||||
count: String(count),
|
||||
});
|
||||
: i18n('icu:unreadMessages', { count });
|
||||
|
||||
return (
|
||||
<div className="module-last-seen-indicator" ref={ref}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue