From 96474d7c9253874889d5f7fa88c9b6117e7f1052 Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Thu, 20 Oct 2022 10:07:36 +0100 Subject: [PATCH] feat: fix pluralise to default to plural rather than singular --- app/views/logs/index.html.erb | 2 +- app/views/organisation_relationships/housing_providers.html.erb | 2 +- app/views/organisations/index.html.erb | 2 +- app/views/organisations/logs.html.erb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/logs/index.html.erb b/app/views/logs/index.html.erb index f84a487df..4ccf4a3fb 100644 --- a/app/views/logs/index.html.erb +++ b/app/views/logs/index.html.erb @@ -1,4 +1,4 @@ -<% item_label = format_label(@pagy.count, "log") %> +<% item_label = format_label(@pagy.count, "logs") %> <% title = format_title(@searched, "Logs", current_user, item_label, @pagy.count, nil) %> <% content_for :title, title %> diff --git a/app/views/organisation_relationships/housing_providers.html.erb b/app/views/organisation_relationships/housing_providers.html.erb index 3c23fad8f..7f52f5af7 100644 --- a/app/views/organisation_relationships/housing_providers.html.erb +++ b/app/views/organisation_relationships/housing_providers.html.erb @@ -1,4 +1,4 @@ -<% item_label = format_label(@pagy.count, "housing provider") %> +<% item_label = format_label(@pagy.count, "housing providers") %> <% title = "Housing Providers" %> <% content_for :title, title %> <% if current_user.support? %> diff --git a/app/views/organisations/index.html.erb b/app/views/organisations/index.html.erb index b81922c5e..75a4d799c 100644 --- a/app/views/organisations/index.html.erb +++ b/app/views/organisations/index.html.erb @@ -1,4 +1,4 @@ -<% item_label = format_label(@pagy.count, "organisation") %> +<% item_label = format_label(@pagy.count, "organisations") %> <% title = format_title(@searched, "Organisations", current_user, item_label, @pagy.count, nil) %> <% content_for :title, title %> diff --git a/app/views/organisations/logs.html.erb b/app/views/organisations/logs.html.erb index f954a0839..94fe8e9bc 100644 --- a/app/views/organisations/logs.html.erb +++ b/app/views/organisations/logs.html.erb @@ -1,4 +1,4 @@ -<% item_label = format_label(@pagy.count, "log") %> +<% item_label = format_label(@pagy.count, "logs") %> <% title = format_title(@searched, "Logs", current_user, item_label, @pagy.count, @organisation.name) %> <% content_for :title, title %>