aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/referential_stop_areas
diff options
context:
space:
mode:
authorjpl2016-07-12 16:31:26 +0200
committerjpl2016-07-12 16:31:26 +0200
commitf4a5bb7c820a513d63fd6146a10ac89a02a8015e (patch)
treec32708e291290dc44e88945727d5e5087f66634b /app/views/referential_stop_areas
parent7eb9e18d904c830b19fdc7552d6e9570c8642c47 (diff)
downloadchouette-core-f4a5bb7c820a513d63fd6146a10ac89a02a8015e.tar.bz2
fix i18n issues
Diffstat (limited to 'app/views/referential_stop_areas')
-rw-r--r--app/views/referential_stop_areas/_form.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/referential_stop_areas/_form.html.erb b/app/views/referential_stop_areas/_form.html.erb
index d4fcf25e3..6ad9ba703 100644
--- a/app/views/referential_stop_areas/_form.html.erb
+++ b/app/views/referential_stop_areas/_form.html.erb
@@ -15,7 +15,7 @@
<input class="typeahead form-control input-lg" maxlength="255" type="text" placeholder="<%= t('.address') %>" />
</div>
<% unless @stop_area.projection.blank? or @stop_area.projection_type_label.empty? %>
- <%= form.input :projection_xy, :label => t("projection_xy", :projection => @referential.projection_type_label), :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.stop_area.projection_xy")} %>
+ <%= form.input :projection_xy, :label => t("activerecord.attributes.stop_area.projection_xy", :projection => @referential.projection_type_label), :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.stop_area.projection_xy")} %>
<% end %>
<%= form.input :coordinates, :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.stop_area.coordinates")} %>
<%= form.input :street_name %>
@@ -27,7 +27,7 @@
</div>
</div>
<div class="stop_areas.stop_area.general_info">
- <h3><%= t("stop_area.general") %></h3>
+ <h3><%= t("stop_areas.stop_area.general") %></h3>
<%= form.inputs do %>
<%= form.input :objectid, :required => !@stop_area.new_record?, :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.stop_area.objectid")} %>
<%= form.input :registration_number, required: format_restriction_for_locales(@referential) == '.hub', :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.stop_area.registration_number")} %>