aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZakaria BOUZIANE2015-03-03 17:37:09 +0100
committerZakaria BOUZIANE2015-03-03 17:37:09 +0100
commit18a4f9ca2b747218d2cb1ad23283f4096dba4656 (patch)
tree25c178030c09a0f8b4259576d3b2e1f31db84d99
parent3802317806665cf19138ea9a13c55a17c3838249 (diff)
downloadchouette-core-18a4f9ca2b747218d2cb1ad23283f4096dba4656.tar.bz2
Tooltip for HUB constrained referentials
-rw-r--r--app/views/connection_links/_form.erb2
-rw-r--r--app/views/group_of_lines/_form.erb6
-rw-r--r--app/views/journey_patterns/_form.html.erb6
-rw-r--r--app/views/lines/_form.erb8
-rw-r--r--app/views/networks/_form.erb6
-rw-r--r--app/views/routes/_form.html.erb2
-rw-r--r--app/views/stop_areas/_form.html.erb28
-rw-r--r--app/views/time_tables/_form.erb4
-rw-r--r--app/views/vehicle_journeys/_form.html.erb2
-rw-r--r--config/locales/companies.yml12
-rw-r--r--config/locales/connection_links.yml6
-rw-r--r--config/locales/group_of_lines.yml10
-rw-r--r--config/locales/journey_patterns.yml10
-rw-r--r--config/locales/lines.yml12
-rw-r--r--config/locales/networks.yml10
-rw-r--r--config/locales/routes.yml6
-rw-r--r--config/locales/stop_areas.yml22
-rw-r--r--config/locales/time_tables.yml8
-rw-r--r--config/locales/vehicle_journeys.yml6
19 files changed, 131 insertions, 35 deletions
diff --git a/app/views/connection_links/_form.erb b/app/views/connection_links/_form.erb
index 54ac7088e..0620dcc94 100644
--- a/app/views/connection_links/_form.erb
+++ b/app/views/connection_links/_form.erb
@@ -4,7 +4,7 @@
<%= form.input :name %>
<%= form.input :connection_link_type, :as => :select, :collection => Chouette::ConnectionLink.connection_link_types, :include_blank => false, :member_label => Proc.new { |type| t("connection_link_types.label.#{type}") } %>
<%= form.input :comment %>
- <%= form.input :link_distance %>
+ <%= form.input :link_distance, :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.connection_link.link_distance") } %>
<%= form.input :mobility_restricted_suitability,:as => :boolean %>
<%= form.input :stairs_availability,:as => :boolean %>
<%= form.input :lift_availability,:as => :boolean %>
diff --git a/app/views/group_of_lines/_form.erb b/app/views/group_of_lines/_form.erb
index 9482248b6..d9c033a37 100644
--- a/app/views/group_of_lines/_form.erb
+++ b/app/views/group_of_lines/_form.erb
@@ -1,9 +1,9 @@
<%= semantic_form_for [@referential, @group_of_line] do |form| %>
<%= form.inputs do %>
- <%= form.input :name %>
- <%= form.input :registration_number %>
+ <%= form.input :name, :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.group_of_lines.name") } %>
+ <%= form.input :registration_number, :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.group_of_lines.registration_number") } %>
<%= form.input :comment %>
- <%= form.input :objectid, :required => !@group_of_line.new_record?, :input_html => { :title => t("formtastic.titles.group_of_line.objectid")} %>
+ <%= form.input :objectid, :required => !@group_of_line.new_record?, :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.group_of_lines.objectid") } %>
<% end %>
<%= form.inputs do %>
diff --git a/app/views/journey_patterns/_form.html.erb b/app/views/journey_patterns/_form.html.erb
index 361f7f380..f57556577 100644
--- a/app/views/journey_patterns/_form.html.erb
+++ b/app/views/journey_patterns/_form.html.erb
@@ -1,11 +1,11 @@
<%= semantic_form_for [@referential, @line, @route, @journey_pattern] do |form| %>
<%= form.inputs do %>
- <%= form.input :name %>
+ <%= form.input :name, :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.journey_pattern.name") } %>
<%= form.input :published_name %>
- <%= form.input :registration_number %>
+ <%= form.input :registration_number, :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.journey_pattern.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?, :input_html => { :title => t("formtastic.titles.journey_pattern.objectid")} %>
+ <%= form.input :objectid, :required => !@journey_pattern.new_record?, :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.journey_pattern.objectid") } %>
<% end %>
<%= form.actions do %>
diff --git a/app/views/lines/_form.erb b/app/views/lines/_form.erb
index 489aeba97..eb31f8dc1 100644
--- a/app/views/lines/_form.erb
+++ b/app/views/lines/_form.erb
@@ -3,10 +3,10 @@
<%= form.inputs do %>
<%= form.input :network, :as => :select, :collection => Chouette::Network.all, :include_blank => false %>
<%= form.input :company, :as => :select, :collection => Chouette::Company.all, :include_blank => false%>
- <%= form.input :name %>
+ <%= form.input :name, :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.line.name") } %>
<%= form.input :published_name %>
- <%= form.input :registration_number, :input_html => { :title => t("formtastic.titles.line.registration_number")} %>
- <%= form.input :number %>
+ <%= form.input :registration_number, :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.line.registration_number")} %>
+ <%= form.input :number, :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.line.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 :color, :as => :string %>
<%= form.input :text_color %>
@@ -14,7 +14,7 @@
<%= 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?, :input_html => { :title => t("formtastic.titles.line.objectid")} %>
+ <%= form.input :objectid, :required => !@line.new_record?, :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.line.objectid")} %>
<%= form.input :group_of_line_tokens, :label => t('.group_of_lines'), :as => :text, :input_html => { :"data-pre" => ( @line.group_of_lines.map { |group_of_line| { :id => group_of_line.id, :name => group_of_line.name } } ).to_json } %>
<div class="footnotes_block">
diff --git a/app/views/networks/_form.erb b/app/views/networks/_form.erb
index bb87d9e46..cb9575664 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, :input_html => { :title => t("formtastic.titles.network.registration_number")} %>
+ <%= form.input :name, :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.network.name")} %>
+ <%= form.input :registration_number, :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.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?, :input_html => { :title => t("formtastic.titles.network.objectid")} %>
+ <%= form.input :objectid, :required => !@network.new_record?, :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.network.objectid")} %>
<% end %>
<%= form.actions do %>
diff --git a/app/views/routes/_form.html.erb b/app/views/routes/_form.html.erb
index b6c4a8c24..2aa9dd8b7 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?, :input_html => { :title => t("formtastic.titles.route.objectid")}%>
+ <%= form.input :objectid, :required => !@route.new_record?, :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.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/stop_areas/_form.html.erb b/app/views/stop_areas/_form.html.erb
index 9fd549e18..e34253828 100644
--- a/app/views/stop_areas/_form.html.erb
+++ b/app/views/stop_areas/_form.html.erb
@@ -2,23 +2,23 @@
<div class="row">
<div class="col-md-6">
<%= form.inputs do %>
- <%= form.input :id, :as => :hidden %>
- <%= form.input :name %>
- <%= form.input :stop_area_type, :as => :select, :input_html => { :disabled => !@stop_area.new_record? }, :collection => Chouette::StopArea.stop_area_types, :include_blank => false, :member_label => Proc.new { |stop_area_type| t("area_types.label.#{stop_area_type}") } %>
- <div class="location_info">
- <h3><%= t("stop_areas.stop_area.localisation") %></h3>
- <div id="prefetch">
+ <%= form.input :id, :as => :hidden %>
+ <%= form.input :name, :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.stop_area.name")} %>
+ <%= form.input :stop_area_type, :as => :select, :input_html => { :disabled => !@stop_area.new_record? }, :collection => Chouette::StopArea.stop_area_types, :include_blank => false, :member_label => Proc.new { |stop_area_type| t("area_types.label.#{stop_area_type}") } %>
+ <div class="location_info">
+ <h3><%= t("stop_areas.stop_area.localisation") %></h3>
+ <div id="prefetch">
<label><%= t('.geolocalize') %></label>
<input class="typeahead form-control input-lg" maxlength="255" type="text" placeholder="<%= t('.address') %>" />
</div>
<% unless @referential.projection_type_label.empty? %>
- <%= form.input :projection_xy, :label => t("projection_xy", :projection => @referential.projection_type_label), :input_html => { :title => t("formtastic.titles.stop_area.projection_xy")} %>
+ <%= 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")} %>
<% end %>
- <%= form.input :coordinates, :input_html => { :title => t("formtastic.titles.stop_area.coordinates")} %>
+ <%= form.input :coordinates, :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.stop_area.coordinates")} %>
<%= form.input :street_name %>
<%= form.input :country_code %>
- <%= form.input :zip_code %>
- <%= form.input :city_name %>
+ <%= form.input :zip_code, :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.stop_area.zip_code")} %>
+ <%= form.input :city_name, :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.stop_area.city_name")} %>
<% end %>
</div>
<div class="col-md-6">
@@ -30,11 +30,11 @@
<div class="stop_areas.stop_area.general_info">
<h3><%= t("stop_area.general") %></h3>
<%= form.inputs do %>
- <%= form.input :objectid, :required => !@stop_area.new_record?, :input_html => { :title => t("formtastic.titles.stop_area.objectid")} %>
- <%= form.input :registration_number, :input_html => { :title => t("formtastic.titles.stop_area.registration_number")} %>
+ <%= 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, :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.stop_area.registration_number")} %>
<%= form.input :fare_code, :as => :number %>
- <%= form.input :nearest_topic_name %>
- <%= form.input :comment, :as => :text, :input_html => { :rows => 5 } %>
+ <%= form.input :nearest_topic_name, :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.stop_area.nearest_topic_name")} %>
+ <%= form.input :comment, :as => :text, :input_html => { :rows => 5, :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.stop_area.comment") } %>
<%= form.input :time_zone, :include_blank => true %>
<%= form.input :url %>
<% end %>
diff --git a/app/views/time_tables/_form.erb b/app/views/time_tables/_form.erb
index 7dceab747..8cd614fa6 100644
--- a/app/views/time_tables/_form.erb
+++ b/app/views/time_tables/_form.erb
@@ -1,11 +1,11 @@
<%= semantic_form_for [@referential, @time_table] do |form| %>
<%= form.inputs do %>
- <%= form.input :comment %>
+ <%= form.input :comment, :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.time_table.comment")} %>
<%= form.input :version %>
<%= form.input :tag_search, :as => :tags, :input_html => { :id => "tag_search",: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?, :input_html => { :title => t("formtastic.titles.time_table.objectid")} %>
+ <%= form.input :objectid, :required => !@time_table.new_record?, :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.time_table.objectid")} %>
<% end %>
<h3 class="time_table_periods"><%= @time_table.human_attribute_name("periods") %></h3>
diff --git a/app/views/vehicle_journeys/_form.html.erb b/app/views/vehicle_journeys/_form.html.erb
index 0212ae4ea..3c175148f 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?, :input_html => { :title => t("formtastic.titles.vehicle_journey.objectid")} %>
+ <%= form.input :objectid, :required => !@vehicle_journey.new_record?, :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.vehicle_journey.objectid")} %>
<%= form.input :time_table_tokens, :label => t('.time_tables'), :as => :search_time_table, :json => referential_autocomplete_time_tables_path(@referential, :format => :json), :hint_text => t('search_hint'), :no_result_text => t('no_result_text'),:searching_text => t('searching_term'), :input_html => { :"data-pre" => Rabl::Renderer.new( 'autocomplete_time_tables/index', @vehicle_journey.time_tables, :view_path => 'app/views', :format => :json, :scope => :self ).render } %>
<%= form.input :footnote_ids, :as => :check_boxes, :collection => @line.footnotes.map { |f| [ "#{f.code}: #{f.label}", f.id.to_s]} %>
<li class="input">
diff --git a/config/locales/companies.yml b/config/locales/companies.yml
index d01c1c486..d6d2d6701 100644
--- a/config/locales/companies.yml
+++ b/config/locales/companies.yml
@@ -41,8 +41,14 @@ en:
formtastic:
titles:
company:
+ name: "Only alphanumerical or underscore characters."
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"
+ hub:
+ company:
+ name: "Only alphanumerical or underscore characters. Maximum length = 75."
+ registration_number: "Positif integer, unique key, of no more than 8 digits."
+ objectid: "[prefix]:Company:[unique_key] : prefix contains only alphanumerical or underscore characters, unique_key accepts also minus character. Maximum length of the unique key = 3."
fr:
companies:
@@ -92,8 +98,8 @@ fr:
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'"
hub:
company:
- name: "TEST"
- registration_number: "TEST"
- objectid: "TEST"
+ name: "Caractères autorisés : alphanumériques et 'souligné'. Longueur maximale = 75."
+ registration_number: "Entier positif, clé unique, d'un maximum de 8 chiffres."
+ 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'. Longueur maximale de la clé unique = 3."
diff --git a/config/locales/connection_links.yml b/config/locales/connection_links.yml
index 815a913f8..20d40d6d2 100644
--- a/config/locales/connection_links.yml
+++ b/config/locales/connection_links.yml
@@ -61,6 +61,9 @@ en:
titles:
connection_link:
objectid: "[prefix]:ConnectionLink:[unique_key] : prefix contains only alphanumerical or underscore characters, unique_key accepts also minus character"
+ hub:
+ connection_link:
+ link_distance: "At most 10000.0 meters."
fr:
connection_links:
@@ -125,4 +128,7 @@ fr:
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'"
+ hub:
+ connection_link:
+ link_distance: "Au plus 10000.0 mètres."
diff --git a/config/locales/group_of_lines.yml b/config/locales/group_of_lines.yml
index a573b2247..0da5de070 100644
--- a/config/locales/group_of_lines.yml
+++ b/config/locales/group_of_lines.yml
@@ -37,6 +37,11 @@ en:
titles:
group_of_line:
objectid: "[prefix]:GroupOfLine:[unique_key] : prefix contains only alphanumerical or underscore characters, unique_key accepts also minus character"
+ hub:
+ group_of_lines:
+ name: "Only alphanumerical or underscore characters. Maximum length = 75."
+ registration_number: "Positif integer, unique key, of no more than 8 digits."
+ objectid: "[prefix]:GroupOfLine:[unique_key] : prefix contains only alphanumerical or underscore characters, unique_key accepts also minus character. Maximum length of the unique key = 6."
fr:
group_of_lines:
@@ -77,4 +82,9 @@ fr:
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'"
+ hub:
+ group_of_lines:
+ name: "Caractères autorisés : alphanumériques et 'souligné'. Longueur maximale = 75."
+ registration_number: "Entier positif, clé unique, d'un maximum de 8 chiffres."
+ 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'. Longueur maximale de la clé unique = 6."
diff --git a/config/locales/journey_patterns.yml b/config/locales/journey_patterns.yml
index 2bf072df0..016f79ea0 100644
--- a/config/locales/journey_patterns.yml
+++ b/config/locales/journey_patterns.yml
@@ -43,6 +43,11 @@ en:
titles:
journey_pattern:
objectid: "[prefix]:JourneyPattern:[unique_key] : prefix contains only alphanumerical or underscore characters, unique_key accepts also minus character"
+ hub:
+ journey_pattern:
+ name: "Only alphanumerical or underscore characters. Maximum length = 75."
+ registration_number: "Positif integer, unique key, of no more than 8 digits."
+ objectid: "[prefix]:JourneyPattern:[unique_key] : prefix contains only alphanumerical or underscore characters, unique_key accepts also minus character. Maximum length of the unique key = 30."
fr:
journey_patterns:
@@ -89,3 +94,8 @@ fr:
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'"
+ hub:
+ journey_pattern:
+ name: "Caractères autorisés : alphanumériques et 'souligné'. Longueur maximale = 75."
+ registration_number: "Entier positif, clé unique, d'un maximum de 8 chiffres."
+ 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'. Longueur maximale de la clé unique = 30."
diff --git a/config/locales/lines.yml b/config/locales/lines.yml
index dee86690f..d2635541b 100644
--- a/config/locales/lines.yml
+++ b/config/locales/lines.yml
@@ -88,6 +88,12 @@ en:
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"
+ hub:
+ company:
+ name: "Only alphanumerical or underscore characters. Maximum length = 75."
+ registration_number: "Positif integer, unique key, of no more than 8 digits."
+ objectid: "[prefix]:Line:[unique_key] : prefix contains only alphanumerical or underscore characters, unique_key accepts also minus character. Maximum length of the unique key = 14."
+ number: "Only alphanumerical or underscore characters. Maximum length = 6."
fr:
lines:
@@ -179,3 +185,9 @@ fr:
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'"
+ hub:
+ line:
+ name: "Caractères autorisés : alphanumériques et 'souligné'. Longueur maximale = 75."
+ registration_number: "Entier positif, clé unique, d'un maximum de 8 chiffres."
+ 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'. Longueur maximale de la clé unique = 14."
+ number: "Caractères autorisés : alphanumériques et 'souligné'. Longueur maximale = 6."
diff --git a/config/locales/networks.yml b/config/locales/networks.yml
index 30cd399b9..c4abb1154 100644
--- a/config/locales/networks.yml
+++ b/config/locales/networks.yml
@@ -40,6 +40,11 @@ en:
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"
+ hub:
+ network:
+ name: "Only alphanumerical or underscore characters. Maximum length = 75."
+ registration_number: "Positif integer, unique key, of no more than 8 digits."
+ objectid: "[prefix]:GroupOfLine:[unique_key] : prefix contains only alphanumerical or underscore characters, unique_key accepts also minus character. Maximum length of the unique key = 3."
fr:
networks:
@@ -82,4 +87,9 @@ fr:
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'"
+ hub:
+ network:
+ name: "Caractères autorisés : alphanumériques et 'souligné'. Longueur maximale = 75."
+ registration_number: "Entier positif, clé unique, d'un maximum de 8 chiffres."
+ 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'. Longueur maximale de la clé unique = 3."
diff --git a/config/locales/routes.yml b/config/locales/routes.yml
index 45b82076c..333926da1 100644
--- a/config/locales/routes.yml
+++ b/config/locales/routes.yml
@@ -69,6 +69,9 @@ en:
titles:
route:
objectid: "[prefix]:Route:[unique_key] : prefix contains only alphanumerical or underscore characters, unique_key accepts also minus character"
+ hub:
+ route:
+ objectid: "[prefix]:Route:[unique_key] : prefix contains only alphanumerical or underscore characters, unique_key accepts also minus character. Maximum length of the unique key = 8."
fr:
routes:
@@ -140,5 +143,8 @@ fr:
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'"
+ hub:
+ 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'. Longueur maximale de la clé unique = 8."
diff --git a/config/locales/stop_areas.yml b/config/locales/stop_areas.yml
index bb08b8ace..0315e8aaa 100644
--- a/config/locales/stop_areas.yml
+++ b/config/locales/stop_areas.yml
@@ -115,6 +115,17 @@ en:
objectid: "[prefix]:StopArea:[unique_key] : prefix contains only alphanumerical or underscore characters, unique_key accepts also minus character"
coordinates: "latitude,longitude in WGS84 referential, dot for decimal separator"
projection_xy: "x,y in secondary referential, dot for decimal separator"
+ hub:
+ stop_area:
+ name: "Only alphanumerical or underscore characters. Maximum length = 75."
+ registration_number: "Positif integer, unique key, of no more than 8 digits. Mandatory for physical stops."
+ objectid: "[prefix]:StopArea:[unique_key] : prefix contains only alphanumerical or underscore characters, unique_key accepts also minus character. Maximum length of the unique key = 12."
+ nearest_topic_name: "Only alphanumerical or underscore characters. Maximum length = 255 for logical stops and 60 for physical stops."
+ city_name: "Only alphanumerical or underscore characters. Mandatory for physical stops. Maximum length = 75."
+ zip_code: "Positif integer 5 digits. Mandatory for physical stops."
+ comment: "Only alphanumerical or underscore characters. Maximum length = 255."
+ coordinates: "Coordinates are mandatory."
+ projection_xy: "x,y in secondary referential, dot for decimal separator"
fr:
stop_areas:
@@ -235,5 +246,16 @@ fr:
objectid: "[prefixe]:StopArea:[clé_unique] caractères autorisés : alphanumériques et 'souligné' pour le préfixe, la clé unique accepte en plus le 'moins'"
coordinates: "latitude,longitude dans le référentiel WGS84, le séparateur de décimales est 'point'"
projection_xy: "x,y dans le référentiel secondaire, le séparateur de décimales est 'point'"
+ hub:
+ stop_area:
+ name: "Caractères autorisés : alphanumériques et 'souligné'. Longueur maximale = 75."
+ registration_number: "Entier positif, clé unique, d'un maximum de 8 chiffres. Obligatoire pour les arrêts physiques."
+ objectid: "[prefixe]:StopArea:[clé_unique] caractères autorisés : alphanumériques et 'souligné' pour le préfixe, la clé unique accepte en plus le 'moins'. Longueur maximale de la clé unique = 12."
+ nearest_topic_name: "Caractères autorisés : alphanumériques et 'souligné'. Longueur maximale = 255 pour les arrêts logiques et 60 pour les arrêts physiques."
+ city_name: "Caractères autorisés : alphanumériques et 'souligné'. Obligatoire pour les arrêts physiques. Longueur maximale = 80."
+ zip_code: "Entier positif de 8 chiffres. Obligatoire pour les arrêts physiques."
+ comment: "Caractères autorisés : alphanumériques et 'souligné'. Longueur maximale = 255."
+ coordinates: "Les coordonnées sont obligatoires."
+ projection_xy: "x,y dans le référentiel secondaire, le séparateur de décimales est 'point'"
diff --git a/config/locales/time_tables.yml b/config/locales/time_tables.yml
index dd9845138..3e66709aa 100644
--- a/config/locales/time_tables.yml
+++ b/config/locales/time_tables.yml
@@ -85,6 +85,10 @@ en:
titles:
time_table:
objectid: "[prefix]:Timetable:[unique_key] : prefix contains only alphanumerical or underscore characters, unique_key accepts also minus character"
+ hub:
+ time_table:
+ comment: "Only alphanumerical or underscore characters. Maximum length = 75."
+ objectid: "[prefix]:Timetable:[unique_key] : prefix contains only alphanumerical or underscore characters, unique_key accepts also minus character. Maximum length of the unique key = 6."
placeholders:
time_table:
tag_search: "ex: Public hollidays,School holidays"
@@ -180,6 +184,10 @@ fr:
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'"
+ hub:
+ time_table:
+ comment: "Caractères autorisés : alphanumériques et 'souligné'. Longueur maximale = 75."
+ 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'. Longueur maximale de la clé unique = 6."
placeholders:
time_table:
tag_search: "ex: Jours fériés,Vacances scolaires"
diff --git a/config/locales/vehicle_journeys.yml b/config/locales/vehicle_journeys.yml
index 4ebbeb7f7..7906d5cdc 100644
--- a/config/locales/vehicle_journeys.yml
+++ b/config/locales/vehicle_journeys.yml
@@ -99,6 +99,9 @@ en:
titles:
vehicle_journey:
objectid: "[prefix]:VehicleJourney:[unique_key] : prefix contains only alphanumerical or underscore characters, unique_key accepts also minus character"
+ hub:
+ vehicle_journey:
+ objectid: "[prefix]:VehicleJourney:[unique_key] : prefix contains only alphanumerical or underscore characters, unique_key accepts also minus character. Maximum length of the unique key = 8."
fr:
vehicle_journeys:
@@ -201,4 +204,7 @@ fr:
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'"
+ hub:
+ 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'. Longueur maximale de la clé unique = 8."