aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlban Peignier2018-03-15 19:33:34 +0100
committerAlban Peignier2018-03-15 19:33:34 +0100
commitf45dbdcb2869bf98e4b3625acbd10e3835a07ea4 (patch)
tree1489c1db5c5b8f9fa7f421fe123b1c36fe3ca414
parent90ae17c0d0f626763f456f061c472a66ec06eef1 (diff)
downloadchouette-core-f45dbdcb2869bf98e4b3625acbd10e3835a07ea4.tar.bz2
Use current locale to pluralize Chouette::Network. Refs #6035
-rw-r--r--app/views/dashboards/_dashboard.html.slim2
1 files changed, 1 insertions, 1 deletions
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'