aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/breadcrumbs.rb2
-rw-r--r--config/locales/journey_patterns.en.yml2
-rw-r--r--config/locales/journey_patterns.fr.yml2
-rw-r--r--config/locales/time_tables.en.yml4
-rw-r--r--config/locales/time_tables.fr.yml2
5 files changed, 6 insertions, 6 deletions
diff --git a/config/breadcrumbs.rb b/config/breadcrumbs.rb
index 4ef16059f..14c3d5470 100644
--- a/config/breadcrumbs.rb
+++ b/config/breadcrumbs.rb
@@ -192,7 +192,7 @@ crumb :route do |referential, route|
end
crumb :journey_patterns do |referential, route|
- link I18n.t('journey_patterns.index.title'), referential_line_route_journey_patterns_collection_path(referential, route.line, route)
+ link I18n.t('journey_patterns.index.title', route: route.name), referential_line_route_journey_patterns_collection_path(referential, route.line, route)
parent :route, referential, route
end
diff --git a/config/locales/journey_patterns.en.yml b/config/locales/journey_patterns.en.yml
index 6116a1b26..e5248c29c 100644
--- a/config/locales/journey_patterns.en.yml
+++ b/config/locales/journey_patterns.en.yml
@@ -19,7 +19,7 @@ en:
title: "Journey Pattern %{journey_pattern}"
stop_points: "Stop point on journey pattern list"
index:
- title: "Journey Patterns of %{route_name}"
+ title: "Journey Patterns of %{route}"
form:
warning: "Be careful, selection is also applied to the %{count} vehicle journeys associated to this journey pattern"
activerecord:
diff --git a/config/locales/journey_patterns.fr.yml b/config/locales/journey_patterns.fr.yml
index 3d19bd049..e989d5820 100644
--- a/config/locales/journey_patterns.fr.yml
+++ b/config/locales/journey_patterns.fr.yml
@@ -19,7 +19,7 @@ fr:
title: "Mission %{journey_pattern}"
stop_points: "Liste des arrêts de la mission"
index:
- title: "Missions de %{route_name}"
+ title: "Missions de %{route}"
form:
warning: "Attention, la sélection s'applique aussi aux %{count} courses de la mission"
activerecord:
diff --git a/config/locales/time_tables.en.yml b/config/locales/time_tables.en.yml
index e68836f99..ff36a6d7d 100644
--- a/config/locales/time_tables.en.yml
+++ b/config/locales/time_tables.en.yml
@@ -36,7 +36,7 @@ en:
error_modal:
title: "Error"
withoutPeriodsWithDaysTypes: "A timetable can't have day type(s) without period(s)."
- withPeriodsWithoutDayTypes: "A tiemetable can't have period(s) swithout day type(s)."
+ withPeriodsWithoutDayTypes: "A tiemetable can't have period(s) swithout day type(s)."
error_submit:
periods_overlaps: "Periods cannot overlap in a timetable"
dates_overlaps: "A period cannot overlap a date in a timetable"
@@ -63,7 +63,7 @@ en:
begin: Period start
end: Period end
show:
- title: "Timetable %{time_table}"
+ title: "Timetable %{name}"
dates: "Application dates"
periods: "Application periods"
from: "from"
diff --git a/config/locales/time_tables.fr.yml b/config/locales/time_tables.fr.yml
index b85f7ca33..631ecca95 100644
--- a/config/locales/time_tables.fr.yml
+++ b/config/locales/time_tables.fr.yml
@@ -63,7 +63,7 @@ fr:
begin: Début de période
end: Fin de période
show:
- title: Calendrier %{time_table}
+ title: Calendrier %{name}
dates: "Dates d'application"
periods: "Périodes d'application"
from: "du"