aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/routes/show.html.slim2
-rw-r--r--config/locales/routes.en.yml10
-rw-r--r--config/locales/routes.fr.yml6
3 files changed, 13 insertions, 5 deletions
diff --git a/app/views/routes/show.html.slim b/app/views/routes/show.html.slim
index 375d7c57b..d2e750fb0 100644
--- a/app/views/routes/show.html.slim
+++ b/app/views/routes/show.html.slim
@@ -59,7 +59,7 @@
action: :index
- else
- = replacement_msg t('stop_areas.search_no_results')
+ = replacement_msg t('stop_areas.filters.search_no_results')
= javascript_tag do
| window.route = "#{URI.escape(route_json_for_edit(@route))}"
diff --git a/config/locales/routes.en.yml b/config/locales/routes.en.yml
index bd8358bdd..58869b895 100644
--- a/config/locales/routes.en.yml
+++ b/config/locales/routes.en.yml
@@ -1,6 +1,8 @@
en:
routes:
- search_no_results: "No route matching your query"
+ filters:
+ placeholder: Search by name or ID
+ no_results: "No route matching your query"
actions:
new: "Add a new route"
edit: "Edit this route"
@@ -55,7 +57,7 @@ en:
for_boarding: "Boarding"
for_alighting: "Alighting"
duplicate:
- title: "Duplicate route"
+ title: "Clone route"
success: "Route cloned with success"
route:
no_journey_pattern: "No Journey pattern"
@@ -82,7 +84,7 @@ en:
number: "Number"
direction: "Direction"
wayback: "Direction"
- stop_points: "Nb Stop points"
+ stop_points: "Nb Stop areas"
opposite_route: "Reversed route"
opposite_route_id: "Reversed route"
objectid: "Neptune identifier"
@@ -91,6 +93,8 @@ en:
updated_at: Updated at
creator_id: "Created by"
no_journey_pattern: "No journey pattern"
+ stop_area_departure: Stop area departure
+ stop_area_arrival: Stop area arrival
formtastic:
titles:
route:
diff --git a/config/locales/routes.fr.yml b/config/locales/routes.fr.yml
index c08e64cfd..ddf706794 100644
--- a/config/locales/routes.fr.yml
+++ b/config/locales/routes.fr.yml
@@ -1,6 +1,8 @@
fr:
routes:
- search_no_results: "Aucun itinéraire ne correspond à votre recherche"
+ filters:
+ placeholder: Indiquez un nom d'itinéraire ou un ID...
+ no_results: "Aucun itinéraire ne correspond à votre recherche"
actions:
new: "Ajouter un itinéraire"
edit: "Editer cet itinéraire"
@@ -95,6 +97,8 @@ fr:
updated_at: "Edité le"
creator_id: "Créé par"
no_journey_pattern: "Pas de mission"
+ stop_area_departure: Arrêt de départ
+ stop_area_arrival: Arrêt d'arrivée
formtastic:
titles:
route: