about summary refs log tree commit diff
path: root/app/helpers
diff options
context:
space:
mode:
authorM Somerville <dracos@users.noreply.github.com>2018-08-26 20:30:53 +0100
committerEugen Rochko <eugen@zeonfederated.com>2018-08-26 21:30:53 +0200
commitb31449cd778f9a8639427929f060dee44646bc7d (patch)
treeb2891ab1f8c1063c3efda0607bf78a5e12f189fb /app/helpers
parentf3a12ddfd0b5b9379c7cfe4229697765851f4738 (diff)
Better singulars of account followers/toots. (#8471)
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/stream_entries_helper.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/helpers/stream_entries_helper.rb b/app/helpers/stream_entries_helper.rb
index 9ded69436..187bfe4a0 100644
--- a/app/helpers/stream_entries_helper.rb
+++ b/app/helpers/stream_entries_helper.rb
@@ -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(', ')