about summary refs log tree commit diff
path: root/app/views/about
diff options
context:
space:
mode:
authorM Somerville <dracos@users.noreply.github.com>2018-08-22 18:42:47 +0100
committerEugen Rochko <eugen@zeonfederated.com>2018-08-22 19:42:47 +0200
commitad41806e53e6b024aaca01d1d59fcc82d1c4b804 (patch)
treee3257b3cc070795f0107d5336406a3e9479486fe /app/views/about
parent1b282299df67b0b9681e8d396fbe98f687ff9bba (diff)
Allow use of plurals on about page stats. (#8363)
Diffstat (limited to 'app/views/about')
-rw-r--r--app/views/about/more.html.haml4
-rw-r--r--app/views/about/show.html.haml8
2 files changed, 6 insertions, 6 deletions
diff --git a/app/views/about/more.html.haml b/app/views/about/more.html.haml
index 8411cd276..20d5a262b 100644
--- a/app/views/about/more.html.haml
+++ b/app/views/about/more.html.haml
@@ -18,11 +18,11 @@
           .information-board__section
             %span= t 'about.user_count_before'
             %strong= number_with_delimiter @instance_presenter.user_count
-            %span= t 'about.user_count_after'
+            %span= t 'about.user_count_after', count: @instance_presenter.user_count
           .information-board__section
             %span= t 'about.status_count_before'
             %strong= number_with_delimiter @instance_presenter.status_count
-            %span= t 'about.status_count_after'
+            %span= t 'about.status_count_after', count: @instance_presenter.status_count
         .row__mascot
           .landing-page__mascot
             = image_tag asset_pack_path('elephant_ui_plane.svg')
diff --git a/app/views/about/show.html.haml b/app/views/about/show.html.haml
index 8a40b97cc..229b0f55b 100644
--- a/app/views/about/show.html.haml
+++ b/app/views/about/show.html.haml
@@ -56,11 +56,11 @@
                 .information-board__section
                   %span= t 'about.user_count_before'
                   %strong= number_with_delimiter @instance_presenter.user_count
-                  %span= t 'about.user_count_after'
+                  %span= t 'about.user_count_after', count: @instance_presenter.user_count
                 .information-board__section
                   %span= t 'about.status_count_before'
                   %strong= number_with_delimiter @instance_presenter.status_count
-                  %span= t 'about.status_count_after'
+                  %span= t 'about.status_count_after', count: @instance_presenter.status_count
               .row__mascot
                 .landing-page__mascot
                   = image_tag asset_pack_path('elephant_ui_plane.svg')
@@ -88,11 +88,11 @@
                 .information-board__section
                   %span= t 'about.user_count_before'
                   %strong= number_with_delimiter @instance_presenter.user_count
-                  %span= t 'about.user_count_after'
+                  %span= t 'about.user_count_after', count: @instance_presenter.user_count
                 .information-board__section
                   %span= t 'about.status_count_before'
                   %strong= number_with_delimiter @instance_presenter.status_count
-                  %span= t 'about.status_count_after'
+                  %span= t 'about.status_count_after', count: @instance_presenter.status_count
               .row__mascot
                 .landing-page__mascot
                   = image_tag asset_pack_path('elephant_ui_plane.svg')