aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorZog2018-05-29 15:51:52 +0200
committerJohan Van Ryseghem2018-05-30 16:29:33 +0200
commit63a277b88de6703dcf4f32508099def1e9cbca19 (patch)
tree367488bc99b17d479a77a6b2773046470bf213ad /config
parent3e8d95ac8168205ac9526fb8663459d691d09c30 (diff)
downloadchouette-core-63a277b88de6703dcf4f32508099def1e9cbca19.tar.bz2
Refs #7161; Clean views and routes
Diffstat (limited to 'config')
-rw-r--r--config/locales/export_tasks.en.yml57
-rw-r--r--config/locales/export_tasks.fr.yml57
-rw-r--r--config/locales/stop_area_copies.en.yml14
-rw-r--r--config/locales/stop_area_copies.fr.yml14
-rw-r--r--config/routes.rb9
5 files changed, 0 insertions, 151 deletions
diff --git a/config/locales/export_tasks.en.yml b/config/locales/export_tasks.en.yml
deleted file mode 100644
index 505cf688e..000000000
--- a/config/locales/export_tasks.en.yml
+++ /dev/null
@@ -1,57 +0,0 @@
-en:
- export_tasks:
- actions:
- new: "New export"
- new:
- title: "New export"
- all: "All"
- flash: "Export task on queue, refresh page to see progression"
- fields_gtfs_export:
- warning: "Filter on stop areas export only GTFS stops and transfers files, these may contain extra attributes"
- activemodel:
- models:
- export_task:
- zero: "export"
- one: "export"
- other: "exports"
- neptune_export:
- zero: "export"
- one: "Neptune export"
- other: "exports"
- gtfs_export:
- zero: "export"
- one: "GTFS export"
- other: "exports"
- netex_export:
- zero: "export"
- one: "NeTEx export"
- other: "exports"
- attributes:
- export_task:
- name: "Export name"
- start_date: "Start date"
- end_date: "End date"
- start_date_greater_than: "Start date must be greater than or equal to %{tt_st_date}."
- end_date_less_than: "End date must be less than or equal to %{tt_ed_date}."
- end_date_greater_than_start_date: "End date must be greater than start date"
- extensions: "Extensions"
- created_at: "Created on"
- status: "Status"
- references_type: "Associated Data Type"
- reference_ids: "Associated Data"
- object_id_prefix: "Neptune Id prefix"
- max_distance_for_commercial: "Max distance for commercial stop"
- ignore_last_word: "ignore last word"
- ignore_end_chars: "ignore last chars"
- formtastic:
- titles:
- export_task:
- time_zone: "according to TZ encoding (see http://en.wikipedia.org/wiki/Tz_database)"
- object_id_prefix: "when prefix has this value, it will be removed to build GTFS id"
- start_date: "reduce import to vehicle journeys running from this date"
- end_date: "reduce import to vehicle journeys running until this date"
- dates:
- not_nul: "HUB Export interrupted. Start date and end date must be provided."
- max_distance_for_commercial: "Maximal distance to merge homonymous stops in commercial stop in meter"
- ignore_last_word: "ignore last word on stop name in homonymous detection (inappliable when just one word occurs)"
- ignore_end_chars: "ignore some chars at the end of stop names in homonymous detection"
diff --git a/config/locales/export_tasks.fr.yml b/config/locales/export_tasks.fr.yml
deleted file mode 100644
index 268f9b2ce..000000000
--- a/config/locales/export_tasks.fr.yml
+++ /dev/null
@@ -1,57 +0,0 @@
-fr:
- export_tasks:
- actions:
- new: "Nouvel export"
- new:
- title: "Nouvel export"
- all: "Tous"
- flash: "La demande d'export est mise en file d'attente, veuillez rafraichir régulièrement la page pour en suivre la progression"
- fields_gtfs_export:
- warning: "Le filtre sur arrêts exporte uniquement les fichiers GTFS stops et transfers gtfs, ceux-ci pouvant contenir des attributs supplémentaires"
- activemodel:
- models:
- export_task:
- zero: "export"
- one: "export"
- other: "exports"
- neptune_export:
- zero: "export"
- one: "export Neptune"
- other: "exports"
- gtfs_export:
- zero: "export"
- one: "export GTFS"
- other: "exports"
- netex_export:
- zero: "export"
- one: "export NeTEx"
- other: "exports"
- attributes:
- export_task:
- name: "Nom de l'export"
- start_date: "Date de début"
- end_date: "Date de fin"
- start_date_greater_than: "La date de début doit être postérieure ou égale à %{tt_st_date}."
- end_date_less_than: "La date de fin doit être antérieure ou égale à %{tt_ed_date}."
- end_date_greater_than_start_date: "La date de fin doit être postérieure à la date de début."
- extensions: "Extensions"
- created_at: "Créé le"
- status: "Status"
- references_type: "Type de données incluses"
- reference_ids: "Données incluses"
- object_id_prefix: "Préfixe d'identifiants"
- max_distance_for_commercial: "Distance max pour créer les zones"
- ignore_last_word: "ignorer le dernier mot"
- ignore_end_chars: "ignorer les n derniers caractères"
- formtastic:
- titles:
- export_task:
- time_zone: "selon le codage TZ (http://fr.wikipedia.org/wiki/Tz_database)"
- object_id_prefix: "lorsque le préfixe d'identifiant Netpune prend cette valeur, il n'est pas utilisé pour composer l'identifiant GTFS"
- start_date: "limite l'export aux courses circulant à partir de cette date"
- end_date: "limite l'export aux courses circulant jusqu'à cette date"
- dates:
- not_nul: "Export HUB interrompu. Les dates de début et de fin doivent êtres renseignées."
- max_distance_for_commercial: "Distance maximale entre deux arrêts homonymes pour créer les zones d'arrêt (en mètre)"
- ignore_last_word: "Ignorer le dernier mot pour détecter l'homonymie des noms d'arrêt (inapplicable quand le nom ne comporte qu'un mot)"
- ignore_end_chars: "Ignorer les n derniers caractères du nom de l'arrêt pour détecter l'homonymie"
diff --git a/config/locales/stop_area_copies.en.yml b/config/locales/stop_area_copies.en.yml
deleted file mode 100644
index 0e9053bae..000000000
--- a/config/locales/stop_area_copies.en.yml
+++ /dev/null
@@ -1,14 +0,0 @@
-en:
- stop_area_copies:
- new:
- success: "Clone succedeed"
- title:
- child: "Clone as child"
- parent: "Clone as parent"
- errors:
- copy_aborted: "Errors prohibited this copy from completing: "
- exception: "internal error"
- activemodel:
- attributes:
- stop_area_copy:
- area_type: "Area type"
diff --git a/config/locales/stop_area_copies.fr.yml b/config/locales/stop_area_copies.fr.yml
deleted file mode 100644
index 55543cfb3..000000000
--- a/config/locales/stop_area_copies.fr.yml
+++ /dev/null
@@ -1,14 +0,0 @@
-fr:
- stop_area_copies:
- new:
- success: "Clonage réussi"
- title:
- child: "Cloner pour créer un fils"
- parent: "Cloner pour créer un père"
- errors:
- copy_aborted: "Des erreurs ont empéchées le bon déroulement de la copie: "
- exception: "erreur interne"
- activemodel:
- attributes:
- stop_area_copy:
- area_type: "Type d'arrêt"
diff --git a/config/routes.rb b/config/routes.rb
index 5693b86f9..dc9a17482 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -94,13 +94,6 @@ ChouetteIhm::Application.routes.draw do
resources :vehicle_journeys, controller: 'referential_vehicle_journeys', only: [:index]
- resources :import_tasks, :only => [:new, :create]
- resources :export_tasks, :only => [:new, :create] do
- collection do
- get 'references'
- end
- end
-
resources :exports, :only => [:index, :show, :destroy] do
member do
get "exported_file"
@@ -130,8 +123,6 @@ ChouetteIhm::Application.routes.draw do
end
resources :stop_areas, controller: "referential_stop_areas" do
- resources :access_points
- resources :stop_area_copies
resources :stop_area_routing_lines
member do
get 'add_children'