diff options
| author | Zakaria BOUZIANE | 2014-08-25 11:08:47 +0200 |
|---|---|---|
| committer | Zakaria BOUZIANE | 2014-08-25 11:08:47 +0200 |
| commit | 1d932f4357109fa8f3d36a4fb3f2fd3ff4093300 (patch) | |
| tree | 18fb6d9198cd636f6f196928342f7794b3c24b64 | |
| parent | d316131bffe664aedc5bd29543df741f5ef15bd0 (diff) | |
| download | chouette-core-1d932f4357109fa8f3d36a4fb3f2fd3ff4093300.tar.bz2 | |
Fix translation pb for Shifting VJs
| -rw-r--r-- | app/views/vehicle_journeys/_form.html.erb | 2 | ||||
| -rw-r--r-- | config/locales/vehicle_journeys.yml | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/app/views/vehicle_journeys/_form.html.erb b/app/views/vehicle_journeys/_form.html.erb index 5713a61df..8074e6811 100644 --- a/app/views/vehicle_journeys/_form.html.erb +++ b/app/views/vehicle_journeys/_form.html.erb @@ -19,7 +19,7 @@ <% unless @vehicle_journey.vehicle_journey_at_stops.empty? || @vehicle_journey.vehicle_journey_at_stops.any? { |vjas| vjas.departure_time.nil? } %> <div class="vehicle_journey_at_stops"> <div class="well"> - <span class="title">Décaler tous les horaires de la course en fonction de ceux existants</span> + <span class="title"><%= t(".slide_title") %></span> <div> <span><%= t(".set") %></span> <%= select_tag "", options_for_select( [ [t('.slide_departure'), "departure"], [t('.slide_arrival'), "arrival"] ] ), :class => "departure_or_arrival" %> <span><%= t(".to") %></span> <%= select_hour(@vehicle_journey.vehicle_journey_at_stops.first.departure_time.hour) %> diff --git a/config/locales/vehicle_journeys.yml b/config/locales/vehicle_journeys.yml index 0e1b5ad34..a7e751674 100644 --- a/config/locales/vehicle_journeys.yml +++ b/config/locales/vehicle_journeys.yml @@ -22,6 +22,7 @@ en: to_departures: "Copy arrivals to departures" time_tables: "Associated calendars to vehicle journey" slide: "Slide" + slide_title: "Shift all hours of the vehicle journey based on existing ones" slide_departure: "Shift 1° departure time" slide_arrival: "Shift 1° arrival time" timeless: @@ -114,6 +115,7 @@ fr: to_arrivals: "Copie départs vers arrivées" to_departures: "Copie arrivées vers départs" time_tables: "Calendriers associés à la course" + slide_title: "Décaler tous les horaires de la course en fonction de ceux existants" slide_departure: "Fixer 1° horaire départ à" slide_arrival: "Fixer 1° horaire arrivée à" timeless: |
