diff options
| author | Guillaume | 2017-10-11 11:44:04 +0200 | 
|---|---|---|
| committer | Guillaume | 2017-10-11 11:44:04 +0200 | 
| commit | 841083df63294e2f3ede37382e0c9c5fe0277874 (patch) | |
| tree | 5281090a02de7dfadae67a5a978bb04519ea6579 /app | |
| parent | 451f6f56d6c22a9b55f8466a271857e31d8052b1 (diff) | |
| download | chouette-core-841083df63294e2f3ede37382e0c9c5fe0277874.tar.bz2 | |
fix locales structuration Refs #4698
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/referential_lines/show.html.slim | 4 | ||||
| -rw-r--r-- | app/views/routes/show.html.slim | 4 | 
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/referential_lines/show.html.slim b/app/views/referential_lines/show.html.slim index d50f51335..55f352bb6 100644 --- a/app/views/referential_lines/show.html.slim +++ b/app/views/referential_lines/show.html.slim @@ -1,6 +1,6 @@  / PageHeader  = pageheader 'ligne', -            t('lines.index.line') + " " + @line.name, +            t('lines.index.line', line: @line.name),               '',               t('last_update', time: l(@line.updated_at, format: :short)) do @@ -34,7 +34,7 @@      .row        .col-lg-12 -        .h3 = t('routes.show.itineraries') +        .h3 = t('lines.show.routes.title', route: "", line: "")          - if params[:q].present? or @routes.any?            .row              .col-lg-12 diff --git a/app/views/routes/show.html.slim b/app/views/routes/show.html.slim index be3b526cf..e62335924 100644 --- a/app/views/routes/show.html.slim +++ b/app/views/routes/show.html.slim @@ -1,6 +1,6 @@  / PageHeader  = pageheader 'itineraire', -        t('routes.index.itinerarie') + " " + @route.name, +        t('routes.index.title', route: @route.name),               '',               t('last_update', time: l(@route.updated_at, format: :short)),               (policy(@route).edit? ? link_to(t('actions.edit'), edit_referential_line_route_path(@referential, @line, @route), class: 'btn btn-default') : '') do @@ -32,7 +32,7 @@      .row        .col-lg-12 -        .h3 = t('routes.show.itineraries') +        .h3 = t('routes.show.stop_areas.title')          - if @route_sp.any?            = table_builder_2 @route_sp,              [ \  | 
