diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-09-04 04:14:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-04 04:14:13 +0200 |
commit | 1a00bd9244ee8555d7401f4f0ee01ec381e96c1c (patch) | |
tree | 7950a03adf2bb545d218f1779425e3c1eacdd2b8 | |
parent | 43f56f12917f154fbb70cbc305daba9e2fd364ed (diff) |
Fix wrong pluralization in hashtag component in web UI (#11754)
-rw-r--r-- | app/javascript/mastodon/components/hashtag.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/components/hashtag.js b/app/javascript/mastodon/components/hashtag.js index 2456eac9e..68b9be72d 100644 --- a/app/javascript/mastodon/components/hashtag.js +++ b/app/javascript/mastodon/components/hashtag.js @@ -12,7 +12,7 @@ const Hashtag = ({ hashtag }) => ( #<span>{hashtag.get('name')}</span> </Permalink> - <FormattedMessage id='trends.count_by_accounts' defaultMessage='{count} {rawCount, plural, one {person} other {people}} talking' values={{ rawCount: hashtag.getIn(['history', 0, 'accounts']), count: <strong>{shortNumberFormat(hashtag.getIn(['history', 0, 'accounts']) + hashtag.getIn(['history', 1, 'accounts']))}</strong> }} /> + <FormattedMessage id='trends.count_by_accounts' defaultMessage='{count} {rawCount, plural, one {person} other {people}} talking' values={{ rawCount: hashtag.getIn(['history', 0, 'accounts']) + hashtag.getIn(['history', 1, 'accounts']), count: <strong>{shortNumberFormat(hashtag.getIn(['history', 0, 'accounts']) + hashtag.getIn(['history', 1, 'accounts']))}</strong> }} /> </div> <div className='trends__item__current'> |