diff options
| author | jpl | 2017-07-18 15:01:17 +0200 | 
|---|---|---|
| committer | jpl | 2017-07-18 15:01:24 +0200 | 
| commit | 1039a32677434bac1816e48939db5f1040a6862d (patch) | |
| tree | 78bafe126aec4725b1dadee3fc3f1d4168e29739 /app/models/chouette/stop_point.rb | |
| parent | 6d2ff080cc989e8f74f7f90ed7d0b1828e4271c2 (diff) | |
| download | chouette-core-1039a32677434bac1816e48939db5f1040a6862d.tar.bz2 | |
Refs #4112: updating and fixing I18n
Diffstat (limited to 'app/models/chouette/stop_point.rb')
| -rw-r--r-- | app/models/chouette/stop_point.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/app/models/chouette/stop_point.rb b/app/models/chouette/stop_point.rb index 3dbf6be0d..8fe79dc0c 100644 --- a/app/models/chouette/stop_point.rb +++ b/app/models/chouette/stop_point.rb @@ -36,12 +36,12 @@ module Chouette      def stop_area_id_validation        if stop_area_id.nil? -        errors.add(:stop_area_id, I18n.t("errors.messages.empty")) +        errors.add(:stop_area_id, I18n.t("stop_areas.errors.empty"))        end      end      def self.area_candidates -      Chouette::StopArea.where( :area_type => ['Quay', 'BoardingPosition']) +      Chouette::StopArea.where(:area_type => ['Quay', 'BoardingPosition'])      end    end | 
