Skip to content

Commit 8700b3d

Browse files
Gargronhiyuki2578
authored andcommitted
Fix wrong pluralization in hashtag component in web UI (mastodon#11754)
1 parent 1db4011 commit 8700b3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/javascript/mastodon/components/hashtag.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const Hashtag = ({ hashtag }) => (
1212
#<span>{hashtag.get('name')}</span>
1313
</Permalink>
1414

15-
<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> }} />
15+
<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> }} />
1616
</div>
1717

1818
<div className='trends__item__current'>

0 commit comments

Comments
 (0)