From f45dbdcb2869bf98e4b3625acbd10e3835a07ea4 Mon Sep 17 00:00:00 2001 From: Alban Peignier Date: Thu, 15 Mar 2018 19:33:34 +0100 Subject: Use current locale to pluralize Chouette::Network. Refs #6035 --- app/views/dashboards/_dashboard.html.slim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/dashboards/_dashboard.html.slim b/app/views/dashboards/_dashboard.html.slim index 4adf335d2..2f0791f50 100644 --- a/app/views/dashboards/_dashboard.html.slim +++ b/app/views/dashboards/_dashboard.html.slim @@ -51,4 +51,4 @@ .list-group = link_to Chouette::Line.model_name.human.pluralize.capitalize, line_referential_lines_path(referential), class: 'list-group-item' = link_to Chouette::Company.model_name.human.pluralize.capitalize, line_referential_companies_path(referential), class: 'list-group-item' - = link_to Chouette::Network.model_name.human.pluralize.capitalize, line_referential_networks_path(referential), class: 'list-group-item' + = link_to Chouette::Network.model_name.human.pluralize(I18n.locale).capitalize, line_referential_networks_path(referential), class: 'list-group-item' -- cgit v1.2.3