diff options
| author | Florent Peyraud | 2017-06-20 13:39:53 +0200 |
|---|---|---|
| committer | Florent Peyraud | 2017-06-20 13:39:53 +0200 |
| commit | b749813066da2353dfd5cf938f961234a68153ce (patch) | |
| tree | 1b91a9f154f835b2b73c922e15d01139ddeb79fd /config | |
| parent | 323934a122b589c8dcff9add8ab20a0f91a2da56 (diff) | |
| parent | bf1136bef6430b16732f42c8ce31ef046fe6e239 (diff) | |
| download | chouette-core-b749813066da2353dfd5cf938f961234a68153ce.tar.bz2 | |
Merge branch 'master' of github.com:AF83/stif-boiv
Diffstat (limited to 'config')
| -rw-r--r-- | config/locales/journey_patterns.en.yml | 6 | ||||
| -rw-r--r-- | config/locales/journey_patterns.fr.yml | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/config/locales/journey_patterns.en.yml b/config/locales/journey_patterns.en.yml index d62d79e58..80adc2337 100644 --- a/config/locales/journey_patterns.en.yml +++ b/config/locales/journey_patterns.en.yml @@ -24,6 +24,12 @@ en: form: warning: "Be careful, selection is also applied to the %{count} vehicle journeys associated to this journey pattern" activerecord: + errors: + models: + journey_pattern: + attributes: + stop_points: + minimum: 'Must at least have two stop points' models: journey_pattern: zero: "journey pattern" diff --git a/config/locales/journey_patterns.fr.yml b/config/locales/journey_patterns.fr.yml index 39005e464..0dceb2f43 100644 --- a/config/locales/journey_patterns.fr.yml +++ b/config/locales/journey_patterns.fr.yml @@ -24,6 +24,12 @@ fr: form: warning: "Attention, la sĂ©lection s'applique aussi aux %{count} courses de la mission" activerecord: + errors: + models: + journey_pattern: + attributes: + stop_points: + minimum: 'Une mission doit avoir au minimum deux arrĂȘts' models: journey_pattern: zero: "mission" |
