diff options
| author | Alban Peignier | 2018-03-15 19:33:34 +0100 | 
|---|---|---|
| committer | Luc Donnet | 2018-03-23 17:16:44 +0100 | 
| commit | 17383fa683459fa08e4925f9793f2d5400291f6e (patch) | |
| tree | 86bd3d5dd4cf80a4c4b921d325edb5aed52f987f | |
| parent | 5c78b1428380dbb9d9945ea66aabf749f32c4087 (diff) | |
| download | chouette-core-17383fa683459fa08e4925f9793f2d5400291f6e.tar.bz2 | |
Use current locale to pluralize Chouette::Network. Refs #6035
| -rw-r--r-- | app/views/dashboards/_dashboard.html.slim | 2 | 
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' | 
