forked from treehouse/mastodon
[Glitch] Fix following_counter plural to include "one"
Port 17b1d71536
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
rebase/4.0.0rc2
parent
9bdad8f14e
commit
4412e2579c
|
@ -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),
|
||||||
|
|
Loading…
Reference in New Issue