0
0
Fork 0

Better singulars of account followers/toots. (#8471)

This commit is contained in:
M Somerville 2018-08-26 20:30:53 +01:00 committed by Eugen Rochko
parent f3a12ddfd0
commit b31449cd77
6 changed files with 21 additions and 16 deletions

View file

@ -62,17 +62,17 @@ module StreamEntriesHelper
prepend_str = [
[
number_to_human(account.statuses_count, strip_insignificant_zeros: true),
I18n.t('accounts.posts'),
I18n.t('accounts.posts', count: account.statuses_count),
].join(' '),
[
number_to_human(account.following_count, strip_insignificant_zeros: true),
I18n.t('accounts.following'),
I18n.t('accounts.following', count: account.following_count),
].join(' '),
[
number_to_human(account.followers_count, strip_insignificant_zeros: true),
I18n.t('accounts.followers'),
I18n.t('accounts.followers', count: account.followers_count),
].join(' '),
].join(', ')