about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/components
diff options
context:
space:
mode:
authorSasha Sorokin <dafri.nochiterov8@gmail.com>2020-07-17 12:08:23 +0700
committerThibaut Girka <thib@sitedethib.com>2020-07-22 13:50:58 +0200
commit4412e2579c38ab32f698a28d0d9a6f4771b09c79 (patch)
tree8fff4175e4ea51be5d07a73484732baedd49aef6 /app/javascript/flavours/glitch/components
parent9bdad8f14e145440fea0a49a4c8af0233e093bd2 (diff)
[Glitch] Fix following_counter plural to include "one"
Port 17b1d71536609c6deabcf3b13ec9be0ec9fd793f to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/components')
-rw-r--r--app/javascript/flavours/glitch/components/common_counter.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/components/common_counter.js b/app/javascript/flavours/glitch/components/common_counter.js
index 4fdf3babf..e10cd9b76 100644
--- a/app/javascript/flavours/glitch/components/common_counter.js
+++ b/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),