From ad41806e53e6b024aaca01d1d59fcc82d1c4b804 Mon Sep 17 00:00:00 2001 From: M Somerville Date: Wed, 22 Aug 2018 18:42:47 +0100 Subject: Allow use of plurals on about page stats. (#8363) --- app/views/about/show.html.haml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'app/views/about/show.html.haml') 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') -- cgit