[Glitch] Fix following_counter plural to include "one"

Port 17b1d71536 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
This commit is contained in:
Sasha Sorokin 2020-07-17 12:08:23 +07:00 committed by Thibaut Girka
parent 9bdad8f14e
commit 4412e2579c

View File

@ -37,7 +37,7 @@ export function counterRenderer(counterType, isBold = true) {
return (displayNumber, pluralReady) => ( return (displayNumber, pluralReady) => (
<FormattedMessage <FormattedMessage
id='account.following_counter' id='account.following_counter'
defaultMessage='{count, plural, other {{counter} Following}}' defaultMessage='{count, plural, one {{counter} Following} other {{counter} Following}}'
values={{ values={{
count: pluralReady, count: pluralReady,
counter: renderCounter(displayNumber), counter: renderCounter(displayNumber),