[Glitch] Fix following_counter plural to include "one"

Port 17b1d71536 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
master
Sasha Sorokin 4 years ago committed by Thibaut Girka
parent 9bdad8f14e
commit 4412e2579c
  1. 2
      app/javascript/flavours/glitch/components/common_counter.js

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

Loading…
Cancel
Save