diff options
| author | Xinhui | 2016-02-22 14:17:18 +0100 |
|---|---|---|
| committer | Xinhui | 2016-02-22 14:17:18 +0100 |
| commit | d49f47b4ac1db2cd88b96d830772bb7773924601 (patch) | |
| tree | 191c7b9cda9edf939792e7780df4e7460d685a4a /config | |
| parent | 633004afc5861a6e8158948ddfecd73bf4dd86a8 (diff) | |
| download | chouette-core-d49f47b4ac1db2cd88b96d830772bb7773924601.tar.bz2 | |
Merge model from ninoxe gem
Diffstat (limited to 'config')
| -rw-r--r-- | config/locales/ninoxe.en.yml | 23 | ||||
| -rw-r--r-- | config/locales/ninoxe.fr.yml | 23 |
2 files changed, 46 insertions, 0 deletions
diff --git a/config/locales/ninoxe.en.yml b/config/locales/ninoxe.en.yml new file mode 100644 index 000000000..134ef4f66 --- /dev/null +++ b/config/locales/ninoxe.en.yml @@ -0,0 +1,23 @@ +en: + activerecord: + copy: "Copy of %{name}" + errors: + models: + trident: + invalid_object_id: "invalid syntax, expected as [A-Za-z0-9_]:%{type}:[A-Za-z0-9_-]" + invalid_object_id_type: invalid type, must be %{type} + time_table_period: + start_must_be_before_end: end date must be after start date + time_table_date: + attributes: + date: + taken: dupplicate date for this timetable + vehicle_journey_at_stop: + arrival_must_be_before_departure: arrival time must be before departure time + timeband: + start_must_be_before_end: end date must be after start date + journey_frequency: + start_must_be_after_timeband: the date of departure must be greater or equal to the time bands + end_must_be_before_timeband: the end date must be less than or equal to the time bands + end_must_be_different_from_first: the end date must be different from first date + scheduled_headway_interval_greater_than_zero: interval must be greater than 0 diff --git a/config/locales/ninoxe.fr.yml b/config/locales/ninoxe.fr.yml new file mode 100644 index 000000000..3a823465d --- /dev/null +++ b/config/locales/ninoxe.fr.yml @@ -0,0 +1,23 @@ +fr: + activerecord: + copy: "Copie de %{name}" + errors: + models: + trident: + invalid_object_id: "syntaxe invalide, [A-Za-z0-9_]:%{type}:[A-Za-z0-9_-] attendu" + invalid_object_id_type: type invalide, %{type} attendu + time_table_period: + start_must_be_before_end: la date de fin doit être postérieure à la date de début + time_table_date: + attributes: + date: + taken: date déjà saisie pour ce calendrier + vehicle_journey_at_stop: + arrival_must_be_before_departure: "l'heure d'arrivée doit être antérieure à l'heure de départ" + timeband: + start_must_be_before_end: la date de fin doit être postérieure à la date de début + journey_frequency: + start_must_be_after_timeband: la date de départ doit être supérieure ou égal à la plage horaire + end_must_be_before_timeband: la date de fin doit être inférieur ou égal à la plage horaire + end_must_be_different_from_first: la date de fin doit être différent de la date de départ + scheduled_headway_interval_greater_than_zero: l'intervalle doit être supérieur à 0 |
