diff options
| -rw-r--r-- | app/views/referential_lines/show.html.slim | 3 | ||||
| -rw-r--r-- | app/views/routes/show.html.slim | 3 | ||||
| -rw-r--r-- | config/locales/lines.en.yml | 1 | ||||
| -rw-r--r-- | config/locales/lines.fr.yml | 1 | ||||
| -rw-r--r-- | config/locales/routes.en.yml | 2 | ||||
| -rw-r--r-- | config/locales/routes.fr.yml | 2 |
6 files changed, 10 insertions, 2 deletions
diff --git a/app/views/referential_lines/show.html.slim b/app/views/referential_lines/show.html.slim index ffcb9b5e0..d50f51335 100644 --- a/app/views/referential_lines/show.html.slim +++ b/app/views/referential_lines/show.html.slim @@ -1,6 +1,6 @@ / PageHeader = pageheader 'ligne', - @line.name, + t('lines.index.line') + " " + @line.name, '', t('last_update', time: l(@line.updated_at, format: :short)) do @@ -34,6 +34,7 @@ .row .col-lg-12 + .h3 = t('routes.show.itineraries') - 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 edc2d254b..be3b526cf 100644 --- a/app/views/routes/show.html.slim +++ b/app/views/routes/show.html.slim @@ -1,6 +1,6 @@ / PageHeader = pageheader 'itineraire', - @route.name, + t('routes.index.itinerarie') + " " + @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,6 +32,7 @@ .row .col-lg-12 + .h3 = t('routes.show.itineraries') - if @route_sp.any? = table_builder_2 @route_sp, [ \ diff --git a/config/locales/lines.en.yml b/config/locales/lines.en.yml index cfeba10ca..9efc9a4cc 100644 --- a/config/locales/lines.en.yml +++ b/config/locales/lines.en.yml @@ -26,6 +26,7 @@ en: index: deactivated: "Disabled line" title: "Lines" + line: "Ligne" name_or_number_or_objectid: "Search by name, short name or ID Codif..." no_networks: "No networks" no_companies: "No companies" diff --git a/config/locales/lines.fr.yml b/config/locales/lines.fr.yml index 134a669ec..4a6106a21 100644 --- a/config/locales/lines.fr.yml +++ b/config/locales/lines.fr.yml @@ -26,6 +26,7 @@ fr: index: deactivated: "Ligne désactivée" title: "Lignes" + line: "Ligne" name_or_number_or_objectid: "Recherche par nom, nom court ou ID Codif..." no_networks: "Aucun réseaux" no_companies: "Aucun transporteurs" diff --git a/config/locales/routes.en.yml b/config/locales/routes.en.yml index 3b1fd85cc..6b8372a85 100644 --- a/config/locales/routes.en.yml +++ b/config/locales/routes.en.yml @@ -39,11 +39,13 @@ en: show: title: "Route %{route}" stop_points: "Stop point on route list" + itineraries: "List of routes" journey_patterns: "Route journey patterns list" no_opposite_route: "No reversed route associated" undefined: "Undefined" index: title: "Routes" + itinerarie: "Route" selection: "Selection" selection_all: "All" edit_boarding_alighting: diff --git a/config/locales/routes.fr.yml b/config/locales/routes.fr.yml index 43c40645d..a396b5f9d 100644 --- a/config/locales/routes.fr.yml +++ b/config/locales/routes.fr.yml @@ -39,11 +39,13 @@ fr: show: title: "Itinéraire %{route} de la ligne %{line}" stop_points: "Liste des arrêts de l'itinéraire" + itineraries: "Liste des itinéraires" journey_patterns: "Liste des missions" no_opposite_route: "Aucun itinéraire associé" undefined: "Non défini" index: title: "Itinéraires" + itinerarie: "Itinéraire" selection: "Sélection" selection_all: "Tous" edit_boarding_alighting: |
