diff options
31 files changed, 64 insertions, 62 deletions
| diff --git a/app/views/access_links/_form.html.erb b/app/views/access_links/_form.html.erb index 4de6e8e85..b0138c1bd 100644 --- a/app/views/access_links/_form.html.erb +++ b/app/views/access_links/_form.html.erb @@ -10,7 +10,7 @@      <%= form.input :mobility_restricted_suitability,:as => :boolean %>      <%= form.input :stairs_availability,:as => :boolean %>      <%= form.input :lift_availability,:as => :boolean %> -    <%= form.input :objectid, :required => !@access_link.new_record? %>   +    <%= form.input :objectid, :required => !@access_link.new_record?, :input_html => { :title => t("formtastic.titles.access_link.objectid")} %>        <%= form.inputs :name => t('access_links.show.durations') do %>         <%= form.input :default_duration, :as => :extended_time_picker, :size => 8, :step => :seconds, :label => @access_link.human_attribute_name("default_duration"), :input_html => { :class => "form-control input-sm timepicker_seconds", :step => 1}, :wrapper_html => { :class => "input-append bootstrap-timepicker" } %>               <%= form.input :frequent_traveller_duration, :as => :extended_time_picker, :size => 8, :step => :seconds, :include_seconds => true, :label => @access_link.human_attribute_name("frequent_traveller_duration"), :input_html => { :class => "form-control input-sm timepicker_seconds", :step => 1}, :wrapper_html => { :class => "input-append bootstrap-timepicker" } %>       diff --git a/app/views/companies/_form.erb b/app/views/companies/_form.erb index c4fb90ee1..6f89edbbc 100644 --- a/app/views/companies/_form.erb +++ b/app/views/companies/_form.erb @@ -8,8 +8,8 @@      <%= form.input :phone, :as => :phone %>      <%= form.input :fax, :as => :phone %>      <%= form.input :email, :as => :email %>               -    <%= form.input :registration_number %> -    <%= form.input :objectid, :required => !@company.new_record? %>   +    <%= form.input :registration_number, :input_html => { :title => t("formtastic.titles.company.registration_number")} %> +    <%= form.input :objectid, :required => !@company.new_record?, :input_html => { :title => t("formtastic.titles.company.objectid")} %>      <% end %>     <%= form.actions do %> diff --git a/app/views/connection_links/_form.erb b/app/views/connection_links/_form.erb index 41eef1480..fdc6ce018 100644 --- a/app/views/connection_links/_form.erb +++ b/app/views/connection_links/_form.erb @@ -9,7 +9,7 @@      <%= form.input :stairs_availability,:as => :boolean %>      <%= form.input :lift_availability,:as => :boolean %> -    <%= form.input :objectid, :required => !@connection_link.new_record? %>   +    <%= form.input :objectid, :required => !@connection_link.new_record?, :input_html => { :title => t("formtastic.titles.connection_link.objectid")} %>      <% end %>    <%= form.inputs :name => t('connection_links.show.durations') do %>       <%= form.input :default_duration, :as => :extended_time_picker, :size => 8, :step => :seconds, :label => @connection_link.human_attribute_name("default_duration"), :input_html => { :class => "form-control input-sm timepicker_seconds", :step => 1}, :wrapper_html => { :class => "input-append bootstrap-timepicker" } %>        diff --git a/app/views/exports/_fields_gtfs_export.erb b/app/views/exports/_fields_gtfs_export.erb index 89d7bbf37..60ffd21c8 100644 --- a/app/views/exports/_fields_gtfs_export.erb +++ b/app/views/exports/_fields_gtfs_export.erb @@ -1 +1 @@ -<%= form.input :time_zone, :as => :time_zone %> +<%= form.input :time_zone, :as => :time_zone, :input_html => { :title => t("formtastic.titles.export.time_zone")} %> diff --git a/app/views/exports/_fields_hub_export.erb b/app/views/exports/_fields_hub_export.erb index f23d10780..fc7cf7112 100644 --- a/app/views/exports/_fields_hub_export.erb +++ b/app/views/exports/_fields_hub_export.erb @@ -1,2 +1,2 @@ -<%= form.input :start_date, :as => :date_picker %> -<%= form.input :end_date, :as => :date_picker %> +<%= form.input :start_date, :as => :date_picker, :input_html => { :title => t("formtastic.titles.export.start_date")} %> +<%= form.input :end_date, :as => :date_picker, :input_html => { :title => t("formtastic.titles.export.end_date")} %> diff --git a/app/views/exports/_fields_neptune_export.erb b/app/views/exports/_fields_neptune_export.erb index 3ed863c20..d4debb6f2 100644 --- a/app/views/exports/_fields_neptune_export.erb +++ b/app/views/exports/_fields_neptune_export.erb @@ -1,2 +1,2 @@ -    <%= form.input :start_date, :as => :date_picker %> -    <%= form.input :end_date, :as => :date_picker %> +    <%= form.input :start_date, :as => :date_picker, :input_html => { :title => t("formtastic.titles.export.start_date")} %> +    <%= form.input :end_date, :as => :date_picker, :input_html => { :title => t("formtastic.titles.export.end_date")} %> diff --git a/app/views/group_of_lines/_form.erb b/app/views/group_of_lines/_form.erb index b92fa1ea1..3c685964b 100644 --- a/app/views/group_of_lines/_form.erb +++ b/app/views/group_of_lines/_form.erb @@ -2,7 +2,7 @@    <%= form.inputs do %>      <%= form.input :name %>      <%= form.input :comment %> -    <%= form.input :objectid, :required => !@group_of_line.new_record? %> +    <%= form.input :objectid, :required => !@group_of_line.new_record?, :input_html => { :title => t("formtastic.titles.group_of_line.objectid")} %>    <% end %>    <%= form.inputs do %> diff --git a/app/views/help/vehicle_journeys.textile b/app/views/help/vehicle_journeys.textile index aed06c52e..7deafd73b 100644 --- a/app/views/help/vehicle_journeys.textile +++ b/app/views/help/vehicle_journeys.textile @@ -10,7 +10,7 @@ De plus, la course est rattachée à un nombre variable de "calendriers d'applic  h3. Attributs -- numéro := numéro de la course  +- Numéro := numéro de la course   - Nom public := nom public pour les voyageurs  - Identifiant public := identifiant public  - Commentaire := zone de texte libre diff --git a/app/views/import_tasks/_fields_gtfs_import.erb b/app/views/import_tasks/_fields_gtfs_import.erb index 460f6cc9b..70ffb207a 100644 --- a/app/views/import_tasks/_fields_gtfs_import.erb +++ b/app/views/import_tasks/_fields_gtfs_import.erb @@ -1,7 +1,7 @@  <%= form.input :object_id_prefix, :input_html => { :value => @referential.prefix } %> -<%= form.input :max_distance_for_commercial , :as => :number , :input_html => { :title => t("formtastic.hints.import_task.max_distance_for_commercial"), :value => 50 } %> -<%= form.input :ignore_last_word , :as => :boolean , :input_html => { :title => t("formtastic.hints.import_task.ignore_last_word"), :value => false }%> -<%= form.input :ignore_end_chars  , :as => :number , :input_html => { :title => t("formtastic.hints.import_task.ignore_end_chars"), :value => 0 }%> -<%= form.input :max_distance_for_connection_link  , :as => :number , :input_html => { :title => t("formtastic.hints.import_task.max_distance_for_connection_link"), :value => 100 }%> +<%= form.input :max_distance_for_commercial , :as => :number , :input_html => { :title => t("formtastic.titles.import_task.max_distance_for_commercial"), :value => 50 } %> +<%= form.input :ignore_last_word , :as => :boolean , :input_html => { :title => t("formtastic.titles.import_task.ignore_last_word"), :value => false }%> +<%= form.input :ignore_end_chars  , :as => :number , :input_html => { :title => t("formtastic.titles.import_task.ignore_end_chars"), :value => 0 }%> +<%= form.input :max_distance_for_connection_link  , :as => :number , :input_html => { :title => t("formtastic.titles.import_task.max_distance_for_connection_link"), :value => 100 }%> diff --git a/app/views/journey_patterns/_form.html.erb b/app/views/journey_patterns/_form.html.erb index 771283885..361f7f380 100644 --- a/app/views/journey_patterns/_form.html.erb +++ b/app/views/journey_patterns/_form.html.erb @@ -5,7 +5,7 @@      <%= form.input :registration_number %>                    <%= form.input :comment %>                    <%= form.input :stop_point_ids, :label => stop_point_ids_label(@journey_pattern), :as => :check_boxes, :collection => @route.stop_points.map { |s| [s.stop_area.name, s.id.to_s]}, :input_html => (@journey_pattern.new_record? ? { :checked => 'checked' }:{}) %>               -    <%= form.input :objectid, :required => !@journey_pattern.new_record? %>   +    <%= form.input :objectid, :required => !@journey_pattern.new_record?, :input_html => { :title => t("formtastic.titles.journey_pattern.objectid")} %>      <% end %>     <%= form.actions do %> diff --git a/app/views/lines/_form.erb b/app/views/lines/_form.erb index 554de3319..c1f59ed01 100644 --- a/app/views/lines/_form.erb +++ b/app/views/lines/_form.erb @@ -5,13 +5,13 @@      <%= form.input :company, :as => :select, :collection => Chouette::Company.all, :include_blank => false%>      <%= form.input :name %>      <%= form.input :published_name %> -    <%= form.input :registration_number %>   +    <%= form.input :registration_number, :input_html => { :title => t("formtastic.titles.line.registration_number")} %>        <%= form.input :number %>      <%= form.input :transport_mode, :as => :select, :collection => Chouette::Line.transport_modes, :include_blank => false, :member_label => Proc.new { |mode| t("transport_modes.label.#{mode}") }  %>      <%= form.input :mobility_restricted_suitability, :as => :select, :collection => [[@line.human_attribute_name("accessible"), true], [@line.human_attribute_name("not_accessible"), false]], :include_blank => true %>      <%= form.input :flexible_service, :as => :select, :collection => [[@line.human_attribute_name("on_demaond_fs"), true], [@line.human_attribute_name("regular_fs"), false]], :include_blank => true %>      <%= form.input :comment %>               -    <%= form.input :objectid, :required => !@line.new_record? %>   +    <%= form.input :objectid, :required => !@line.new_record?, :input_html => { :title => t("formtastic.titles.line.objectid")} %>      <% end %>    <%= form.inputs do %>  diff --git a/app/views/networks/_form.erb b/app/views/networks/_form.erb index 61b52a6a4..bb87d9e46 100644 --- a/app/views/networks/_form.erb +++ b/app/views/networks/_form.erb @@ -1,13 +1,13 @@  <%= semantic_form_for [@referential, @network] do |form| %>    <%= form.inputs do %>       <%= form.input :name %>  -    <%= form.input :registration_number %>   +    <%= form.input :registration_number, :input_html => { :title => t("formtastic.titles.network.registration_number")} %>        <%= form.input :comment %>      <%= form.input :version_date, :as => :date_picker %>      <%= form.input :description %>                    <%= form.input :source_name %>                    <%= form.input :source_identifier %>               -    <%= form.input :objectid, :required => !@network.new_record? %>   +    <%= form.input :objectid, :required => !@network.new_record?, :input_html => { :title => t("formtastic.titles.network.objectid")} %>      <% end %>     <%= form.actions do %> diff --git a/app/views/referentials/_clean.html.erb b/app/views/referentials/_clean.html.erb index 5c749867f..995b7644d 100644 --- a/app/views/referentials/_clean.html.erb +++ b/app/views/referentials/_clean.html.erb @@ -1,7 +1,7 @@    <div id="clean_up" >    <%= semantic_form_for [@referential, CleanUp.new] do |form| %>    <%= form.inputs do %>  -    <%= form.input :expected_date, :as => :date_picker , :wrapper_html => { :class => 'date', :title => t('hints.clean_up.expected_date') } %> +    <%= form.input :expected_date, :as => :date_picker , :wrapper_html => { :class => 'date', :title => t('titles.clean_up.expected_date') } %>      <%= form.input :keep_lines, :as => :boolean %>      <%= form.input :keep_stops, :as => :boolean %>      <%= form.input :keep_companies, :as => :boolean %> diff --git a/app/views/referentials/_form.erb b/app/views/referentials/_form.erb index 60f5cacf3..814195dde 100644 --- a/app/views/referentials/_form.erb +++ b/app/views/referentials/_form.erb @@ -2,18 +2,18 @@    <%= form.inputs do %>      <%= form.input :name %>      <% if @referential.new_record? %> -      <%= form.input :slug%> +      <%= form.input :slug, :input_html => { :title => t("formtastic.titles.referential.slug")}%>      <% else %>        <li class="input">        <label class="label" ><%= @referential.human_attribute_name("slug") %></label>        <%= @referential.slug %>        </li>      <% end %> -    <%= form.input :prefix %> +    <%= form.input :prefix, :input_html => { :title => t("formtastic.titles.referential.prefix")} %>      <%= form.input :projection_type, :as => :select, :collection => Referential.available_srids %>      <%= form.input :time_zone %> -    <%= form.input :upper_corner %> -    <%= form.input :lower_corner %> +    <%= form.input :upper_corner, :input_html => { :title => t("formtastic.titles.referential.upper_corner")} %> +    <%= form.input :lower_corner, :input_html => { :title => t("formtastic.titles.referential.lower_corner")} %>    <% end %>    <%= form.actions do %> diff --git a/app/views/routes/_form.html.erb b/app/views/routes/_form.html.erb index ff4a4403e..004af05e3 100644 --- a/app/views/routes/_form.html.erb +++ b/app/views/routes/_form.html.erb @@ -7,7 +7,7 @@      <%= form.input :opposite_route, :as => :select, :collection => @line.routes.select { |r| r.id != @route.id } %>      <%= form.input :direction_code, :as => :select, :collection => Chouette::Route.directions, :include_blank => false, :member_label => Proc.new { |mode| t("directions.label.#{mode}") } %>      <%= form.input :wayback_code, :as => :select, :collection => Chouette::Route.waybacks, :include_blank => false, :member_label => Proc.new { |mode| t("waybacks.label.#{mode}") } %> -    <%= form.input :objectid, :required => !@route.new_record?%> +    <%= form.input :objectid, :required => !@route.new_record?, :input_html => { :title => t("formtastic.titles.route.objectid")}%>    <% end %>  	<div id="stop_points">  		<%= form.semantic_fields_for :stop_points, :include_id => false, :label => "TOTO" do |p| %> diff --git a/app/views/time_tables/_form.erb b/app/views/time_tables/_form.erb index 71718995d..24e72e676 100644 --- a/app/views/time_tables/_form.erb +++ b/app/views/time_tables/_form.erb @@ -6,7 +6,7 @@      <%= form.input :tag_search, :input_html => { class: "tm-input typeahead", :placeholder => t("formtastic.placeholders.time_table.tag_search") } %>      <%= form.input :tag_list, :as => :hidden, :input_html => { :id => "tag_list" } %> -    <%= form.input :objectid, :required => !@time_table.new_record? %>   +    <%= form.input :objectid, :required => !@time_table.new_record?, :input_html => { :title => t("formtastic.titles.time_table.objectid")} %>      <% end %>    <h3 class="time_table_periods"> diff --git a/app/views/vehicle_journeys/_form.html.erb b/app/views/vehicle_journeys/_form.html.erb index 7e03eba2a..793304397 100644 --- a/app/views/vehicle_journeys/_form.html.erb +++ b/app/views/vehicle_journeys/_form.html.erb @@ -11,7 +11,7 @@      <%= form.input :status_value %>      <%= form.input :facility %>      <%= form.input :vehicle_type_identifier%> -    <%= form.input :objectid, :required => !@vehicle_journey.new_record? %> +    <%= form.input :objectid, :required => !@vehicle_journey.new_record?, :input_html => { :title => t("formtastic.titles.vehicle_journey.objectid")} %>      <%= form.input :time_table_tokens, :label => t('.time_tables'), :as => :text,  :input_html => { :"data-pre" => ( @vehicle_journey.time_tables.map { |time_table| { :id => time_table.id, :name => time_table_description(time_table) } } ).to_json }  %>      <li class="input">  	    <%= form.label @vehicle_journey.human_attribute_name(:vehicle_journey_at_stop_ids), :class => "label" %> diff --git a/config/locales/access_links.yml b/config/locales/access_links.yml index b714bfad4..0a0aeedbb 100644 --- a/config/locales/access_links.yml +++ b/config/locales/access_links.yml @@ -40,7 +40,7 @@ en:          creation_time: "Created on"          creatorid: "Created by "    formtastic: -    hints: +    titles:        access_link:          objectid: "[prefix]:AccessLink:[unique_key] : prefix contains only alphanumerical or underscore characters, unique_key accepts also minus character" @@ -86,7 +86,7 @@ fr:          creation_time: "Créé le"          creator_id: "Créé par"    formtastic: -    hints: +    titles:        access_link:          objectid: "[prefixe]:AccessLink:[clé_unique]  caractères autorisés : alphanumériques et 'souligné' pour le préfixe, la clé unique accepte en plus le 'moins'" diff --git a/config/locales/clean_ups.yml b/config/locales/clean_ups.yml index dc03fb4a1..48d22981e 100644 --- a/config/locales/clean_ups.yml +++ b/config/locales/clean_ups.yml @@ -22,7 +22,7 @@ en:          keep_companies: "keep companies"          keep_networks: "keep networks"          keep_group_of_lines: "keep groups of lines" -  hints: +  titles:      clean_up:        expected_date: "value included in clean up"    fr: @@ -49,7 +49,7 @@ fr:          keep_companies: "conserver les transporteurs"           keep_networks: "conserver les réseaux"          keep_group_of_lines: "conserver les groupes de lignes" -  hints: +  titles:      clean_up:        expected_date: "valeur incluse dans la purge"   diff --git a/config/locales/companies.yml b/config/locales/companies.yml index f4ffc06ee..09b010cc9 100644 --- a/config/locales/companies.yml +++ b/config/locales/companies.yml @@ -37,7 +37,7 @@ en:          creation_time: "Created on"          creator_id: "Created by "    formtastic: -    hints: +    titles:        company:          registration_number: "only alphanumerical or underscore characters "          objectid: "[prefix]:Company:[unique_key] : prefix contains only alphanumerical or underscore characters, unique_key accepts also minus character" @@ -81,7 +81,7 @@ fr:          creation_time: "Créé le"          creator_id: "Créé par"    formtastic: -    hints: +    titles:        company:          registration_number: "caractères autorisés : alphanumériques et 'souligné'"           objectid: "[prefixe]:Company:[clé_unique]  caractères autorisés : alphanumériques et 'souligné' pour le préfixe, la clé unique accepte en plus le 'moins'" diff --git a/config/locales/connection_links.yml b/config/locales/connection_links.yml index d1f107526..815a913f8 100644 --- a/config/locales/connection_links.yml +++ b/config/locales/connection_links.yml @@ -58,7 +58,7 @@ en:          creation_time: "Created on"          creator_id: "Created by"     formtastic: -    hints: +    titles:        connection_link:          objectid: "[prefix]:ConnectionLink:[unique_key] : prefix contains only alphanumerical or underscore characters, unique_key accepts also minus character" @@ -122,7 +122,7 @@ fr:          creation_time: "Créé le"          creator_id: "Créé par"    formtastic: -    hints: +    titles:        connection_link:          objectid: "[prefixe]:ConnectionLink:[clé_unique]  caractères autorisés : alphanumériques et 'souligné' pour le préfixe, la clé unique accepte en plus le 'moins'" diff --git a/config/locales/exports.yml b/config/locales/exports.yml index d1a8e1c62..cf21a4787 100644 --- a/config/locales/exports.yml +++ b/config/locales/exports.yml @@ -98,10 +98,11 @@ en:          position: "N."          full_message: "Message"    formtastic: -    hints: -      time_zone: "according to TZ  encoding (see http://en.wikipedia.org/wiki/Tz_database)" -      start_date: "reduce import to vehicle journeys running from this date" -      end_date: "reduce import to vehicle journeys running until this date" +    titles: +      export: +        time_zone: "according to TZ  encoding (see http://en.wikipedia.org/wiki/Tz_database)" +        start_date: "reduce import to vehicle journeys running from this date" +        end_date: "reduce import to vehicle journeys running until this date"    area_types:      quay: "Quays and Boarding Positions"      commercial_stop_point: "Commercial Stop Points" @@ -207,10 +208,11 @@ fr:          position: "No"          full_message: "Message"    formtastic: -    hints: -      time_zone: "selon le codage TZ  (http://fr.wikipedia.org/wiki/Tz_database)" -      start_date: "limite l'export aux courses circulant à partir de cette date" -      end_date: "limite l'export aux courses circulant jusqu'à cette date" +    titles: +      export: +        time_zone: "selon le codage TZ  (http://fr.wikipedia.org/wiki/Tz_database)" +        start_date: "limite l'export aux courses circulant à partir de cette date" +        end_date: "limite l'export aux courses circulant jusqu'à cette date"    area_types:      quay: "Arrêts"      commercial_stop_point: "Arrêts commerciaux" diff --git a/config/locales/group_of_lines.yml b/config/locales/group_of_lines.yml index 06b893667..1f970d4f9 100644 --- a/config/locales/group_of_lines.yml +++ b/config/locales/group_of_lines.yml @@ -33,7 +33,7 @@ en:          creation_time: "Created on"          creator_id: "Created by"     formtastic: -    hints: +    titles:        group_of_line:          objectid: "[prefix]:GroupOfLine:[unique_key] : prefix contains only alphanumerical or underscore characters, unique_key accepts also minus character" @@ -72,7 +72,7 @@ fr:          creation_time: "Créé le"          creator_id: "Créé par"    formtastic: -    hints: +    titles:        group_of_line:          objectid: "[prefixe]:GroupOfLine:[clé_unique]  caractères autorisés : alphanumériques et 'souligné' pour le préfixe, la clé unique accepte en plus le 'moins'" diff --git a/config/locales/import_tasks.yml b/config/locales/import_tasks.yml index 1d5313607..1dca0a445 100644 --- a/config/locales/import_tasks.yml +++ b/config/locales/import_tasks.yml @@ -82,7 +82,7 @@ en:          ignore_last_word: "ignore last word"          ignore_end_chars: "ignore last chars"    formtastic: -    hints: +    titles:        import_task:          max_distance_for_commercial: "Maximal distance to merge homonymous stops in commercial stop in meter"          max_distance_for_connection_link: "Maximal distance to link stops by connection link stop in meter" @@ -186,7 +186,7 @@ fr:          ignore_last_word: "ignorer le dernier mot"          ignore_end_chars: "ignorer les n derniers caractères"    formtastic: -    hints: +    titles:        import_task:          max_distance_for_commercial: "Distance maximale entre deux arrêts homonymes pour créer les zones d'arrêt (en mètre)"          max_distance_for_connection_link: "Distance maximale entre deux arrêts pour créer les correspondances (en mètre)" diff --git a/config/locales/journey_patterns.yml b/config/locales/journey_patterns.yml index 3c781d656..b16985c2c 100644 --- a/config/locales/journey_patterns.yml +++ b/config/locales/journey_patterns.yml @@ -40,7 +40,7 @@ en:          creation_time: "Created on"          creator_id: "Created by"    formtastic: -    hints: +    titles:        journey_pattern:          objectid: "[prefix]:JourneyPattern:[unique_key] : prefix contains only alphanumerical or underscore characters, unique_key accepts also minus character" @@ -86,6 +86,6 @@ fr:          creation_time: "Créé le"          creator_id: "Créé par"    formtastic: -    hints: +    titles:        journey_pattern:          objectid: "[prefixe]:JourneyPattern:[clé_unique]  caractères autorisés : alphanumériques et 'souligné' pour le préfixe, la clé unique accepte en plus le 'moins'" diff --git a/config/locales/lines.yml b/config/locales/lines.yml index cee2d0756..2a35cccc6 100644 --- a/config/locales/lines.yml +++ b/config/locales/lines.yml @@ -76,7 +76,7 @@ en:          creation_time: "Created on"          creator_id: "Created by"    formtastic: -    hints: +    titles:        line:          registration_number: "only alphanumerical or underscore characters"          objectid: "[prefix]:Line:[unique_key] : prefix contains only alphanumerical or underscore characters, unique_key accepts also minus character" @@ -159,7 +159,7 @@ fr:          creation_time: "Créé le"          creator_id: "Créé par"    formtastic: -    hints: +    titles:        line:          registration_number: "caractères autorisés : alphanumériques et 'souligné'"          objectid: "[prefixe]:Line:[clé_unique]  caractères autorisés : alphanumériques et 'souligné' pour le préfixe, la clé unique accepte en plus le 'moins'" diff --git a/config/locales/networks.yml b/config/locales/networks.yml index a8374c770..30cd399b9 100644 --- a/config/locales/networks.yml +++ b/config/locales/networks.yml @@ -36,7 +36,7 @@ en:          creation_time: "Created on"          creator_id: "Created by "    formtastic: -    hints: +    titles:        network:          registration_number: "only alphanumerical or underscore characters"          objectid: "[prefix]:GroupOfLine:[unique_key] : prefix contains only alphanumerical or underscore characters, unique_key accepts also minus character" @@ -78,7 +78,7 @@ fr:          creation_time: "Créé le"          creator_id: "Créé par"    formtastic: -    hints: +    titles:        network:          registration_number: "caractères autorisés : alphanumériques et 'souligné'"           objectid: "[prefixe]:GroupOfLine:[clé_unique]  caractères autorisés : alphanumériques et 'souligné' pour le préfixe, la clé unique accepte en plus le 'moins'" diff --git a/config/locales/referentials.yml b/config/locales/referentials.yml index a324dc481..8353c1e9e 100644 --- a/config/locales/referentials.yml +++ b/config/locales/referentials.yml @@ -66,7 +66,7 @@ en:          export_tasks: "Exports"          compliance_check_tasks: "Validations"    formtastic: -    hints: +    titles:        referential:          slug: "only lowercase alphanumerical or underscore characters, first character must be a letter"          prefix: "only alphanumerical or underscore characters" @@ -141,7 +141,7 @@ fr:          export_tasks: "Exports"          compliance_check_tasks: "Validations"    formtastic: -    hints: +    titles:        referential:          slug: "caractères autorisés : alphanumériques minuscules et 'souligné' et doit commencer par une lettre"            prefix: "caractères autorisés : alphanumériques et 'souligné'" diff --git a/config/locales/routes.yml b/config/locales/routes.yml index 623b9d9fc..b68f1802a 100644 --- a/config/locales/routes.yml +++ b/config/locales/routes.yml @@ -59,7 +59,7 @@ en:          creation_time: "Created on"          creator_id: "Created by"    formtastic: -    hints: +    titles:        route:          objectid: "[prefix]:Route:[unique_key] : prefix contains only alphanumerical or underscore characters, unique_key accepts also minus character" @@ -124,7 +124,7 @@ fr:          creator_id: "Créé par"          no_journey_pattern: "Pas de mission"    formtastic: -    hints: +    titles:        route:          objectid: "[prefixe]:Route:[clé_unique]  caractères autorisés : alphanumériques et 'souligné' pour le préfixe, la clé unique accepte en plus le 'moins'" diff --git a/config/locales/time_tables.yml b/config/locales/time_tables.yml index 5742b7e30..0cd04dff5 100644 --- a/config/locales/time_tables.yml +++ b/config/locales/time_tables.yml @@ -76,7 +76,7 @@ en:          period_end: "to"          tag_search: "Tags"             formtastic: -    hints: +    titles:        time_table:          objectid: "[prefix]:Timetable:[unique_key] : prefix contains only alphanumerical or underscore characters, unique_key accepts also minus character"      placeholders: @@ -165,7 +165,7 @@ fr:          tag_search: "Etiquettes"           tag_list: "Etiquettes"     formtastic: -    hints: +    titles:        time_table:          objectid: "[prefixe]:Timetable:[clé_unique]  caractères autorisés : alphanumériques et 'souligné' pour le préfixe, la clé unique accepte en plus le 'moins'"      placeholders: diff --git a/config/locales/vehicle_journeys.yml b/config/locales/vehicle_journeys.yml index f945793ea..0e1b5ad34 100644 --- a/config/locales/vehicle_journeys.yml +++ b/config/locales/vehicle_journeys.yml @@ -87,7 +87,7 @@ en:          vehicle_journey:            invalid_times: "Invalid times"    formtastic: -    hints: +    titles:        vehicle_journey:          objectid: "[prefix]:VehicleJourney:[unique_key] : prefix contains only alphanumerical or underscore characters, unique_key accepts also minus character" @@ -179,7 +179,7 @@ fr:          vehicle_journey:            invalid_times: "Horaires invalides"    formtastic: -    hints: +    titles:        vehicle_journey:          objectid: "[prefixe]:VehicleJourney:[clé_unique]  caractères autorisés : alphanumériques et 'souligné' pour le préfixe, la clé unique accepte en plus le 'moins'" | 
